@font-face {
  font-family: "DM Sans";
  src: url("dm-sans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("instrument-serif-latin.woff2") format("woff2");
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f8f8f5;
  --ink: #171c21;
  --muted: #4e5860;
  --line: #d9dfdf;
  --deep: #10161b;
  --deep-ink: #f8fbfd;
  --deep-muted: #c1ccd3;
  --accent: #83e0ee;
  --accent-dark: #075d72;
  --gutter: clamp(1.25rem, 5vw, 5.25rem);
  --max: 83rem;
  --header: 4.75rem;
  --ease: cubic-bezier(.2,.65,.3,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 1.5rem); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 "DM Sans", Arial, sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.02; letter-spacing: -.06em; font-weight: 600; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 2px solid #0b92a9; outline-offset: 5px; }
[hidden] { display: none !important; }
.skip { position: fixed; top: .75rem; left: .75rem; z-index: 10; padding: .75rem 1rem; background: #fff; color: #111; transform: translateY(-150%); }
.skip:focus { transform: none; }
.wrap { width: min(calc(100% - var(--gutter) * 2), var(--max)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 3; color: var(--deep-ink); background: var(--deep); border-bottom: 1px solid #ffffff24; }
.header-inner { display: grid; align-items: center; grid-template-columns: 1fr auto 1fr; min-height: var(--header); gap: 2rem; }
.wordmark { display: inline-flex; width: max-content; }
.wordmark img { width: 9.3rem; height: auto; }
.header-contact { font-size: .92rem; font-weight: 550; text-decoration: none; }
.header-contact { justify-self: end; color: inherit; background: transparent; border: 1px solid #ffffff52; padding: .56rem 1rem; transition: background 180ms var(--ease), border-color 180ms var(--ease); }
.header-contact:hover { background: #ffffff15; border-color: #ffffff92; }
.section-label { font-size: .82rem; font-weight: 650; line-height: 1.4; letter-spacing: .105em; text-transform: uppercase; }
.hero-lead { max-width: 31rem; font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.65rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.15rem; padding: .8rem 1.25rem; border: 1px solid transparent; text-decoration: none; font-weight: 700; line-height: 1.25; transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease); }
.button-main { background: var(--accent); color: #111c22; }
.button-main:hover { background: #bbf3fa; }
.plain-link { width: fit-content; text-decoration: underline; text-underline-offset: .27em; text-decoration-thickness: 1px; text-decoration-color: currentColor; font-weight: 600; transition: color 200ms var(--ease), text-decoration-color 200ms var(--ease); }
.plain-link:hover { color: var(--accent-dark); }
.hero-escena { color: var(--deep-ink); background: var(--deep); }
.hero-escena .section-label, .site-footer .section-label { color: var(--accent); }
.hero-escena .plain-link:hover, .site-footer .plain-link:hover { color: var(--accent); }
.hero-escena { position: relative; isolation: isolate; display: grid; align-content: center; min-height: clamp(38rem, 49vw, 49rem); }
.hero-escena::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, #0d1115 0%, #0d1115f5 13%, #0d1115b0 39%, #0d111528 65%, #0d111504 100%); }
.hero-picture { position: absolute; z-index: -2; inset: 0 0 0 16%; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-escena .hero-content { padding-block: clamp(3.8rem, 6vw, 7rem); }
.hero-escena h1 { max-width: 12ch; margin: 1.12rem 0 1.3rem; font-size: clamp(4rem, 7.45vw, 7.65rem); letter-spacing: -.085em; line-height: .94; }
.hero-escena .hero-lead { color: #e0e8ec; max-width: 26rem; margin-bottom: 1.8rem; }
.clients { background: #fff; border-bottom: 1px solid var(--line); }
.clients-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(2rem, 5vw, 6rem); padding-block: 1.7rem; }
.clients h2 { color: #50595e; font-size: .88rem; line-height: 1.35; font-weight: 600; letter-spacing: 0; }
.clients-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); place-items: center; gap: 1.25rem clamp(.7rem, 2.2vw, 2rem); }
.clients-list img { width: min(100%, 8.4rem); height: 2.72rem; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1); }
.section { padding-block: clamp(4.6rem, 8.25vw, 8.3rem); }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(1.8rem, 3vw, 3rem); }
.section-header .section-label { margin-bottom: .75rem; color: var(--accent-dark); }
.section-header > p { max-width: 28rem; color: var(--muted); }
.section h2, .site-footer h2 { font-size: clamp(2.55rem, 5.35vw, 5.4rem); }
.service-list { border-top: 1px solid var(--line); }
.service h3, .project h3 { font-size: clamp(1.5rem, 2.3vw, 2.18rem); letter-spacing: -.055em; }
.service p, .detail-content p { color: var(--muted); max-width: 29rem; }
.service .plain-link, .detail-content .plain-link { display: inline-block; font-size: .9rem; }
.escena .service-list { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.escena .service { padding: 1.8rem clamp(.9rem, 2.5vw, 2.25rem) 2rem; border-left: 1px solid var(--line); }
.escena .service:first-child { padding-left: 0; border-left: 0; }
.escena .service p { margin: .8rem 0 1.15rem; min-height: 3.1rem; }
.project-band { background: #eaf0f0; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.project a { display: block; text-decoration: none; }
.project-picture { display: block; aspect-ratio: 1.85; overflow: hidden; background: #dbe0de; }
.project-picture img { width: 100%; height: 100%; object-fit: cover; transition: transform 540ms var(--ease); }
.project a:is(:hover, :focus-visible) img { transform: scale(1.025); }
.project-meta { display: block; margin: .9rem 0 .38rem; color: var(--muted); font-size: .875rem; }
.project a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.blog-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.blog-list li { border-bottom: 1px solid var(--line); }
.blog-list a { display: block; padding: 1.1rem 0; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 550; text-decoration: none; transition: color 180ms var(--ease); }
.blog-list a:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.site-footer { background: var(--deep); color: var(--deep-ink); padding-block: clamp(3.5rem, 6vw, 6.5rem) 1.5rem; }
.contact-row { display: flex; align-items: end; justify-content: space-between; gap: 1.7rem; padding-bottom: clamp(2.6rem, 5vw, 5rem); }
.contact-row .section-label { margin-bottom: .9rem; }
.contact-actions { display: grid; justify-items: end; gap: 1rem; overflow-wrap: anywhere; }
.footer-base { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding-top: 1.4rem; border-top: 1px solid #ffffff35; }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; color: var(--deep-muted); font-size: .88rem; }
.footer-links a { text-underline-offset: .22em; }
details { scroll-margin-top: .4rem; border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; cursor: pointer; list-style: none; font-size: clamp(1.25rem, 2.35vw, 1.85rem); letter-spacing: -.04em; font-weight: 650; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--accent-dark); }
.expand-mark { display: grid; place-items: center; flex: 0 0 1rem; height: 1rem; }
.expand-mark::before, .expand-mark::after { content: ""; grid-area: 1 / 1; width: .9rem; height: 1px; background: currentColor; }
.expand-mark::after { transform: rotate(90deg); transition: transform 190ms var(--ease); }
details[open] .expand-mark::after { transform: rotate(0); }
.detail-content { padding-bottom: 1.25rem; }
.detail-content p { margin-bottom: .7rem; }
@media (max-width: 61rem) {
.hero-escena { min-height: 37rem; }
.service h3 { font-size: clamp(1.28rem, 2.6vw, 1.87rem); }
}
@media (max-width: 48rem) {
.hero-escena { min-height: clamp(28rem, 63svh, 34rem); }
.hero-picture { inset: 0; }
.hero-picture img { object-position: 59% center; }
.hero-escena::after { background: linear-gradient(90deg, #0d1115f0, #0d1115b3 55%, #0d111563), linear-gradient(0deg, #0d1115d6, transparent 58%); }
.hero-escena h1 { font-size: clamp(2.85rem, 11.2vw, 5.05rem); line-height: .98; margin-block: .82rem 1.12rem; }
.hero-escena .hero-content { padding-block: clamp(2.5rem, 7svh, 4.25rem); }
.hero-escena .hero-lead { margin-bottom: 1.35rem; }
.hero-escena .actions { gap: .7rem 1.05rem; }
.hero-escena .actions .button { padding-inline: 1rem; }
}
@media (max-width: 46rem) {
:root { --header: 4.1rem; }
.header-inner { grid-template-columns: 1fr auto; gap: 0 1rem; }
.header-inner .wordmark img { width: 7.9rem; }
.header-contact { display: none; }
.clients-inner { grid-template-columns: 1fr; gap: .8rem; padding-block: 1.4rem; }
.clients-list { gap: 1rem; }
.clients-list img { height: 2.3rem; }
.section-header { flex-direction: column; align-items: start; gap: .85rem; }
.escena .service-list { display: block; }
.escena .service { padding: 1.12rem 0 1.25rem; border: 0; }
.escena .service + .service { border-top: 1px solid var(--line); }
.escena .service p { min-height: auto; margin: .5rem 0 .65rem; }
.project-grid { grid-template-columns: 1fr; gap: 1.75rem; }
.contact-row { flex-direction: column; align-items: start; }
.contact-actions { justify-items: start; }
.footer-links, .footer-base { align-items: start; }
.footer-base { flex-direction: column; }
}
@media (prefers-reduced-motion: no-preference) {
.enter { animation: enter 500ms var(--ease) both; }
details[open] .detail-content { animation: enter 220ms var(--ease); }
@keyframes enter { from { opacity: .66; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
*, *::before, *::after { transition: none !important; animation: none !important; }
.project a:is(:hover, :focus-visible) img { transform: none; }
}
