@font-face { font-family: 'Bebas Neue'; src: url(fonts/bebas-neue-400-latin.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Bebas Neue'; src: url(fonts/bebas-neue-400-latin-ext.woff2) format('woff2'); font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: 'Lora'; font-style: italic; src: url(fonts/lora-400-italic-latin.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Lora'; font-style: italic; src: url(fonts/lora-400-italic-latin-ext.woff2) format('woff2'); font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: 'Space Mono'; src: url(fonts/space-mono-400-latin.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Space Mono'; src: url(fonts/space-mono-400-latin-ext.woff2) format('woff2'); font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }

:root {
  --night: #12100e;        /* casi negro, cálido: nunca negro puro */
  --wall: #e8e2d7;          /* yeso */
  --wall-2: #dcd4c6;
  --ink: #16130f;
  --mute: #6d665b;
  --line: rgba(22, 19, 15, .16);
  --pigment: #eb0c77;       /* el rosa de los destacados de Instagram: el único color */
  --display: 'Bebas Neue', Impact, sans-serif;
  --serif: 'Lora', Georgia, serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --pad: clamp(16px, 5vw, 72px);
  --chrome: linear-gradient(180deg, #fff 0%, #cfcfcf 38%, #6e6e6e 52%, #e9e9e9 64%, #9a9a9a 100%);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--wall) var(--grain); color: var(--ink); font: 17px/1.6 var(--serif); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.display { font-family: var(--display); font-weight: 400; line-height: .9; letter-spacing: .01em; margin: 0; font-size: clamp(56px, 9vw, 150px); }
.display.huge { font-size: clamp(64px, 12vw, 200px); }
.label, .mono, .kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.label { color: var(--mute); margin: 0 0 20px; }
.chrome { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wall .chrome, .contact .chrome { background: none; color: var(--pigment); font-family: var(--serif); font-style: italic; font-size: .82em; text-transform: none; letter-spacing: 0; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border: 1px solid currentColor; border-radius: 99px; background: var(--ink); color: var(--wall); border-color: var(--ink); font: 13px var(--mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background .25s, color .25s, transform .25s; }
.btn:hover { background: var(--pigment); border-color: var(--pigment); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 11px; }
.link { font: 13px var(--mono); letter-spacing: .08em; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link:hover { color: var(--pigment); }

/* Cabecera: blanca sobre la noche, tinta sobre la pared */
.top { position: fixed; inset: 0 0 auto; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 18px var(--pad); color: #f2efe9; transition: background .35s, color .35s, padding .35s; }
.top .btn { background: transparent; color: inherit; border-color: currentColor; }
.top .btn:hover { background: var(--pigment); border-color: var(--pigment); color: #fff; }
.top.on-wall { background: rgba(232, 226, 215, .86); backdrop-filter: blur(10px); color: var(--ink); padding-block: 12px; border-bottom: 1px solid var(--line); }
.brand { font: 26px/1 var(--display); letter-spacing: .04em; text-decoration: none; white-space: nowrap; margin: 0; }
.brand em { font: italic 19px var(--serif); letter-spacing: 0; margin-left: 2px; }
.nav { grid-column: 1; grid-row: 1; display: flex; gap: 26px; }
.top .brand { grid-column: 2; grid-row: 1; }
.top > .btn, .menu { grid-column: 3; grid-row: 1; justify-self: end; }
.nav a { font: 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; opacity: .75; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.menu { display: none; background: none; border: 0; width: 34px; height: 34px; position: relative; padding: 0; }
.menu i { position: absolute; left: 6px; right: 6px; height: 1.5px; background: currentColor; transition: transform .3s, top .3s; }
.menu i:first-child { top: 13px; } .menu i:last-child { top: 20px; }
.menu[aria-expanded="true"] i:first-child { top: 16px; transform: rotate(45deg); }
.menu[aria-expanded="true"] i:last-child { top: 16px; transform: rotate(-45deg); }

/* Entrada: texto a la izquierda, él pintando en vertical a la derecha */
.hero { position: relative; min-height: 100svh; background: var(--night); color: #f2efe9; display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: clamp(24px, 5vw, 80px); padding: 110px var(--pad) clamp(40px, 8vh, 90px); overflow: hidden; }
.hero .kicker { color: #9d978d; margin: 0 0 18px; }
.hero h1 { font-size: clamp(54px, 8vw, 132px); }
.hero h1 .chrome { background: none; color: var(--pigment); -webkit-text-fill-color: currentColor; }
.lead { font-style: italic; font-size: clamp(17px, 1.5vw, 21px); color: #bdb7ac; margin: 22px 0 0; max-width: 36ch; }
.hero-ctas { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.btn-light { background: #f2efe9; color: var(--night); border-color: #f2efe9; }
.hero .link { color: #f2efe9; }
.hero-media { justify-self: end; height: min(78svh, 820px); aspect-ratio: 9 / 16; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }

/* Secciones de pared */
.wall, .relief-feature, .contact { padding: clamp(80px, 13vh, 160px) var(--pad); }
.section-head { margin-bottom: clamp(40px, 7vh, 80px); }
.intro { max-width: 46ch; font-size: 19px; color: var(--mute); margin: 24px 0 0; }

/* Disciplinas: lista editorial */
.disc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 5vw, 80px); border-top: 1px solid var(--line); }
.disc-list a { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; gap: 24px; padding: clamp(18px, 3vh, 30px) 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .35s, color .35s; }
.disc-list .n { font: 12px var(--mono); color: var(--pigment); }
.disc-list .t { font: clamp(40px, 4.6vw, 76px)/.9 var(--display); }
.disc-list .d { grid-column: 2; color: var(--mute); font-size: 15px; }
.disc-list a:hover { padding-left: 18px; color: var(--pigment); }
.relief-word { filter: url(#relief); }

/* Obra */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); }
.piece { margin: 0; }
.piece img, .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; height: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.ph { background: var(--wall-2) var(--grain); }
.piece:hover .ph, .piece:hover img { transform: scale(1.015); }
figcaption { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; }
figcaption b { font: 26px/1 var(--display); font-weight: 400; }
figcaption span { font: 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }

/* Murales en relieve */
.relief-feature { background: var(--wall-2) var(--grain); display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.relief-stage { position: relative; }
.relief-stage { margin: 0; justify-self: center; }
.relief-stage img { width: min(100%, 480px); aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 50% 30%; box-shadow: 0 30px 60px -30px rgba(18,16,14,.45); }
.relief-stage figcaption { margin-top: 14px; color: var(--mute); font-size: 11px; }
.relief-text p:not(.label) { color: #4b453c; max-width: 42ch; margin: 28px 0 34px; }

/* Encargos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: s; }
.steps li { border-top: 1px solid var(--ink); padding-top: 22px; }
.step-n { font: italic 22px var(--serif); color: var(--pigment); }
.steps h3 { font: 40px/1 var(--display); margin: 18px 0 10px; font-weight: 400; }
.steps p { margin: 0; color: var(--mute); font-size: 16px; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); border-top: 1px solid var(--line); }
.contact-head .link { display: inline-block; margin-top: 30px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; align-content: start; }
.form .full { grid-column: 1 / -1; }
.form label > span, .form legend { display: block; font: 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.form input:not([type=radio]), .form textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(22,19,15,.35); padding: 10px 0; font: 17px var(--serif); color: var(--ink); border-radius: 0; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--pigment); }
.form textarea { resize: vertical; }
.form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form legend { padding: 0; margin-bottom: 12px; width: 100%; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 99px; font: 12px var(--mono); letter-spacing: .06em; cursor: pointer; transition: all .2s; }
.chip input:checked + span { background: var(--ink); color: var(--wall); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--pigment); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form-note { margin: 0; font-size: 14px; color: var(--mute); }
.hp { position: absolute; left: -9999px; }

/* Pie */
.foot { background: var(--night); color: #cfc9be; padding: clamp(56px, 9vh, 100px) var(--pad) 28px; }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-cols a { display: block; text-decoration: none; margin-top: 8px; }
.foot-cols a:hover { color: #fff; }
.foot .brand { color: #fff; margin-bottom: 12px; }
.foot .mono { color: #8a847a; }
.foot-legal { margin: 64px 0 0; color: #6f6a61; font-size: 11px; }
.foot-legal a { color: inherit; }

/* Aparición */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 22px; padding: var(--pad); background: var(--night); color: #f2efe9; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav a { font: 54px/1 var(--display); letter-spacing: .02em; opacity: 1; }
  .nav.open { opacity: 1; pointer-events: auto; }
  .menu { display: block; }
  .top .btn-sm { display: none; }
  .top:has(.nav.open) { color: #f2efe9; background: transparent; border-color: transparent; }
  .grid { grid-template-columns: 1fr 1fr; }
  .disc-list { grid-template-columns: 1fr; }
  .relief-feature, .contact { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; padding-top: 0; }
  .hero-media { position: absolute; inset: 0; height: auto; aspect-ratio: auto; }
  .hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(18,16,14,.45), transparent 22%, rgba(18,16,14,.5) 45%, rgba(18,16,14,.94) 66%); }
  .hero-text { position: relative; z-index: 1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .steps, .form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
}

/* Marca: la silueta de SNAP (sigue el color del texto) + ARTE en trazo fino */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.mark { display: block; width: 104px; aspect-ratio: 5 / 1; background: currentColor; -webkit-mask: url(img/snap-mark.png) center / contain no-repeat; mask: url(img/snap-mark.png) center / contain no-repeat; }
.arte-word { display: block; width: 50px; height: 16px; overflow: visible; }
.foot .mark { width: 130px; }
.foot .arte-word { width: 62px; height: 20px; }
@media (max-width: 560px) { .mark { width: 86px; } .arte-word { width: 42px; height: 13px; } }

/* Iconos de los destacados de Instagram, dentro de un aro como allí */
.disc-list a { grid-template-columns: 30px 64px 1fr; }
.disc-list .d { grid-column: 3; }
.ico { position: relative; width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid currentColor; align-self: center; grid-row: span 2; transition: color .3s, transform .5s cubic-bezier(.2,.7,.2,1); }
.ico::after { content: ''; position: absolute; inset: 3px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.disc-list a:hover .ico { color: var(--pigment); transform: rotate(-8deg) scale(1.06); }
@media (max-width: 560px) { .disc-list a { grid-template-columns: 22px 52px 1fr; gap: 16px; } .ico { width: 52px; height: 52px; } }

/* ARTE, pequeño y centrado debajo del logo */
.brand { flex-direction: column; gap: 9px; }
.arte-word { width: 30px; height: 7px; }
.foot .brand { align-items: flex-start; }
.foot .arte-word { width: 46px; height: 11px; }
@media (max-width: 560px) { .arte-word { width: 27px; height: 6.3px; } }
