/* =========================================================
   PÁGINAS INTERNAS — mismo lenguaje que la home
   (usa los colores y medidas de site.css)
   ========================================================= */
body.page { background: var(--h-bg); }
body.page main { max-width: none; margin: 0; padding: 0 var(--h-left); }

/* ---------- encabezado de página ---------- */
.p-kicker { margin: 0 0 clamp(12px, 1.4vw, 20px); font-weight: 700; font-size: calc(clamp(13px, 1.3vw, 19px)); letter-spacing: .5em; text-transform: uppercase; }
.p-title { margin: 0; font: 700 clamp(44px, 7.4vw, 124px)/.95 "Inlove", sans-serif; letter-spacing: -.01em; text-wrap: balance; }
.p-title--grad { display: inline-block; padding-bottom: .24em; margin-bottom: -.16em; background: linear-gradient(45deg, #841743, #791546, #6f1449, #64124c, #59114f, #381557, #2a0e3c);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.p-lead { margin: clamp(18px, 2vw, 28px) 0 0; max-width: 36ch; font-weight: 300; font-size: clamp(19px, 1.7vw, 26px); line-height: 1.45; color: var(--h-ink); text-wrap: pretty; }
.p-lead-note { display: block; margin-top: .5em; }
.p-label { margin: 0 0 10px; font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--h-muted); }

/* ---------- contacto ---------- */
.c-hero { padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 5vw, 72px); }

.c-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start;
  padding: clamp(8px, 1vw, 16px) 0 clamp(24px, 3vw, 40px); }

.c-form { display: grid; gap: clamp(28px, 3vw, 40px); }
.c-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.c-field { display: block; }
.c-field span { display: block; margin-bottom: 6px; font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--h-muted); transition: color .25s; }
.c-field input, .c-field textarea { display: block; width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .3); border-radius: 0;
  background: transparent; color: var(--h-ink); font: 400 clamp(18px, 1.6vw, 22px)/1.5 "Raleway", sans-serif; resize: vertical; transition: border-color .3s; }
.c-field textarea { min-height: 150px; }
.c-field input::placeholder, .c-field textarea::placeholder { color: #737373; }
.c-field input:focus, .c-field textarea:focus { outline: none; border-bottom-color: var(--h-accent); }
.c-field:focus-within span { color: var(--h-ink); }
.c-field span em { font-style: normal; font-weight: 400; letter-spacing: .06em; text-transform: none; color: #737373; }
.c-send { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.c-send .h-btn { cursor: pointer; font-family: "Raleway", sans-serif; width: 50%; margin-left: auto; padding-top: 12px; padding-bottom: 12px; }
.c-error { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--h-ink); font-size: 15px; font-style: italic; }
.c-error::before { content: ""; flex: none; width: 20px; height: 20px;
  background: var(--h-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3Cpath d='M7 7l6 6M13 7l-6 6' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3Cpath d='M7 7l6 6M13 7l-6 6' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

.c-info { display: grid; gap: clamp(28px, 3vw, 40px); padding-top: 6px; }
.c-info p:not(.p-label) { margin: 0; font-size: calc(17px - 1pt); }
.c-mail { color: var(--h-ink); font-weight: 600; font-size: calc(clamp(17px, 1.4vw, 21px) - 1pt); overflow-wrap: anywhere; transition: color .25s; }
.c-mail:hover { color: var(--h-accent); }
.c-info .h-socials { flex-direction: column; gap: 10px; font-size: calc(13px - 1pt); }

.c-done { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.c-dot { width: 56px; height: 56px; border-radius: 50%; margin-right: 18px; background: conic-gradient(from 200deg, #841743, #6f1449, #59114f, #381557, #2a0e3c, #64124c, #841743);
  animation: c-spin 6s linear infinite; }
@keyframes c-spin { to { transform: rotate(360deg); } }

@media (max-width: 899px) {
  .c-grid { grid-template-columns: 1fr; }
  .c-info { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .c-elsewhere { display: none; }
}
@media (max-width: 599px) {
  .c-row { grid-template-columns: 1fr; }
  .c-send { flex-direction: column; align-items: stretch; }
  .c-send .h-btn { width: 100%; }
}

/* ---------- about ---------- */
.a-hero { padding: clamp(56px, 8vw, 120px) 0 clamp(32px, 4vw, 56px); }
.a-main { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.a-intro { margin: 0; font-weight: 300; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.35; text-wrap: pretty; }
.a-body { margin-top: clamp(20px, 2vw, 28px); max-width: 58ch; font-size: 18px; line-height: 1.65; color: #d9d9d9; }
.a-body p + p { margin-top: 1em; }
.a-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3vw, 44px); }
.a-photo { margin: 0; justify-self: end; width: 100%; max-width: 440px; }
.a-photo img, .a-photo-ph { display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.a-photo-ph { background: conic-gradient(from 200deg, #841743, #6f1449, #59114f, #381557, #2a0e3c, #64124c, #841743); }

.a-facts { display: grid; grid-template-columns: 22fr 34fr 22fr 22fr; gap: clamp(20px, 3vw, 40px); margin-top: clamp(64px, 8vw, 120px);
  padding: clamp(28px, 3vw, 40px) 0; border-top: 1px solid rgba(255, 255, 255, .3); border-bottom: 1px solid rgba(255, 255, 255, .3); }
.a-fact strong { display: block; font: 700 clamp(30px, 3.4vw, 54px)/1 "Inlove", sans-serif;
  color: #A3225A; padding-bottom: .06em; }
.a-fact span { display: block; max-width: 22ch; text-wrap: balance; margin-top: 10px; font-size: 15px; line-height: 1.4; color: #d9d9d9; }

.a-exp { margin-top: clamp(56px, 7vw, 104px); }
.a-exp ul { list-style: none; margin: 0; padding: 0; }
.a-exp li { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(0, 1.4fr) minmax(0, 1.6fr); gap: 20px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.a-years { font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--h-muted); }
.a-exp strong { font: 700 clamp(22px, 2vw, 30px)/1.2 "Inlove", sans-serif; }
.a-role { font-size: 17px; color: #d9d9d9; }

@media (max-width: 899px) {
  .a-main { grid-template-columns: 1fr; }
  .a-photo { order: -1; justify-self: start; max-width: 260px; }
  .a-facts { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
}
@media (max-width: 599px) {
  .a-exp li { grid-template-columns: 1fr; gap: 6px; }
  .a-cta .h-btn { flex: 1 1 100%; text-align: center; }
}

/* ---------- proyectos ---------- */
.w-hero { padding: clamp(56px, 8vw, 120px) 0 clamp(32px, 4vw, 56px); }
body.page .filters { display: flex; flex-wrap: wrap; gap: 10px; margin: clamp(24px, 3vw, 40px) 0 0; }
body.page .filters button { padding: 11px 20px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: transparent; color: var(--h-ink);
  font: 600 12px "Raleway", sans-serif; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
body.page .filters button sup { margin-left: 6px; font-size: 9px; letter-spacing: 0; color: var(--h-muted); vertical-align: super; }
body.page .filters button:hover { border-color: #A3225A; color: #fff; }
body.page .filters button.is-active { background: #A3225A; border-color: #A3225A; color: #fff; }
body.page .filters button.is-active sup { color: rgba(255, 255, 255, .7); }
body.page .work { padding: 0 0 clamp(40px, 6vw, 96px); }
body.page .work-grid { margin-top: clamp(40px, 5vw, 72px); gap: clamp(48px, 6vw, 88px) clamp(20px, 2.4vw, 32px); }
body.page .card-media { border-radius: 0; background: #141414; }
body.page .card-media::after { background: linear-gradient(45deg, #841743, #64124c, #2a0e3c); mix-blend-mode: multiply; }
body.page .card:hover .card-media::after { opacity: .55; }
body.page .card-meta { padding-top: 18px; align-items: baseline; }
body.page .card-meta h3 { margin: 0; font: 700 clamp(22px, 2vw, 32px)/1.1 "Inlove", sans-serif; color: var(--h-ink); transition: color .3s; }
body.page .card:hover .card-meta h3 { color: #A3225A; }
body.page .card-meta span { font: 600 12px "Raleway", sans-serif; letter-spacing: .16em; color: var(--h-muted); }

/* ---------- detalle de proyecto ---------- */
body.page .project-head { padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 5vw, 72px); }
body.page .project-head .p-lead { max-width: 44ch; }
body.page .facts { display: flex; flex-wrap: wrap; gap: 20px clamp(40px, 5vw, 88px); margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; border-top: 0; }
body.page .facts dt { margin-bottom: 8px; font: 600 12px "Raleway", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--h-muted); }
body.page .facts dd { margin: 0; font-size: 17px; color: var(--h-ink); }
body.page .facts a { color: var(--h-ink); text-decoration: none; border-bottom: 1px solid #A3225A; }
body.page .facts a:hover { color: #A3225A; }
body.page .b-image img, body.page .b-gallery img, body.page .b-video video { border-radius: 0; }
body.page figcaption { font-size: 14px; color: var(--h-muted); }
body.page .b-title { color: var(--h-muted); }
body.page .b-body { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: #d9d9d9; }
body.page .b-body strong { color: var(--h-ink); }
body.page .b-quote .q-mark { fill: #A3225A; }
body.page .swatch code { color: var(--h-muted); }
body.page .next-project { margin: 0 calc(var(--h-left) * -1); border-top: 0; }
body.page .next-project strong { font-family: "Inlove", sans-serif; font-size: clamp(30px, 4.2vw, 64px); color: var(--h-ink); transition: color .3s; }
body.page .next-project strong { padding-bottom: .2em; margin-bottom: -.2em; }
body.page .next-project:hover strong { background: none; color: #737373; }
@media (max-width: 899px) { body.page .work-grid { grid-template-columns: 1fr; } body.page .card-meta { flex-direction: column; gap: 6px; } }

/* ---------- off the clock ---------- */
.oc { padding: clamp(40px, 5vw, 72px) 0 clamp(40px, 6vw, 96px); }
.oc-grid { columns: 3; column-gap: clamp(16px, 2vw, 28px); }
.oc-item { break-inside: avoid; margin: 0 0 clamp(16px, 2vw, 28px); }
.oc-item[hidden] { display: none; }
.oc-open { display: block; width: 100%; padding: 0; border: 0; background: #141414; cursor: zoom-in; overflow: hidden; }
.oc-open img { display: block; width: 100%; height: auto; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.oc-open:hover img { transform: scale(1.03); }
.oc-item figcaption { margin-top: 10px; font-size: 14px; color: var(--h-muted); }
.oc-lb { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: clamp(16px, 4vw, 56px); background: rgba(5, 5, 5, .96); }
.oc-lb[hidden] { display: none; }
.oc-lb figure { margin: 0; display: grid; justify-items: center; gap: 14px; max-height: 100%; }
.oc-lb img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; }
.oc-lb figcaption { font-size: 15px; color: var(--h-muted); text-align: center; }
.oc-lb-nav { width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: transparent; color: #fff; font-size: 20px; cursor: pointer; transition: background .3s, border-color .3s; }
.oc-lb-nav:hover { background: #A3225A; border-color: #A3225A; }
.oc-lb-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.oc-lb-close span { position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; background: #fff; }
.oc-lb-close span:first-child { transform: rotate(45deg); } .oc-lb-close span:last-child { transform: rotate(-45deg); }
@media (max-width: 899px) { .oc-grid { columns: 2; } .oc-lb { grid-template-columns: 1fr; } .oc-lb-nav { display: none; } }
@media (max-width: 520px) { .oc-grid { columns: 2; column-gap: 12px; } .oc-item { margin-bottom: 12px; } .oc-item figcaption { font-size: 12px; } }

/* ---------- bloques extra del proyecto ---------- */
body.page .block.is-bleed { max-width: none; margin-left: calc(var(--h-left) * -1); margin-right: calc(var(--h-left) * -1); }
body.page .block.is-bleed figcaption { padding: 0 var(--h-left); }

.b-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 88px); align-items: center; }
.b-split--right .b-split-media { order: 2; }
.b-split-media { margin: 0; }
.b-split-media img { display: block; width: 100%; height: auto; }
.b-split-text { max-width: 46ch; }
.b-split-text .b-title { margin: 0 0 14px; }

.b-browser-stage { display: grid; gap: clamp(20px, 3vw, 48px); align-items: start; }
.b-browser.has-both .b-browser-stage { grid-template-columns: 1fr clamp(180px, 20vw, 300px); }
.b-win { border-radius: 10px; overflow: hidden; background: #1c1c1c; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.b-win-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #1c1c1c; border-bottom: 1px solid #2a2a2a; }
.b-win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.b-win-bar span { margin: 0 auto; padding: 3px 16px; border-radius: 6px; background: #262626; font-size: 12px; color: var(--h-muted); transform: translateX(-20px); }
.b-win-view { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #fff; }
.b-win-view img { display: block; width: 100%; height: auto; transform: translateY(0); transition: transform 6s cubic-bezier(.45, 0, .2, 1); }
.b-phone { border: 8px solid #1c1c1c; border-radius: 34px; overflow: hidden; background: #1c1c1c; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.b-phone .b-win-view { aspect-ratio: 9 / 19.5; border-radius: 26px; }

.b-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px clamp(24px, 4vw, 64px); padding: clamp(24px, 3vw, 40px) 0; border-top: 1px solid rgba(255, 255, 255, .3); }
.b-stats strong { display: block; font: 700 clamp(36px, 3.6vw, 56px)/1 "Inlove", sans-serif; color: #A3225A; }
.b-stats span { display: block; margin-top: 10px; font-size: 15px; color: #d9d9d9; text-wrap: balance; }

@media (max-width: 899px) {
  .b-split { grid-template-columns: 1fr; }
  .b-split--right .b-split-media { order: 0; }
  .b-browser.has-both .b-browser-stage { grid-template-columns: 1fr; }
  .b-phone { width: 62%; margin: 0 auto; }
}
body.page .block.is-bleed img { display: block; width: 100%; max-height: 92vh; object-fit: cover; }

/* pie de páginas internas: la frase más chica que el mail */
body.page .h-contact h2 { font: 600 clamp(14px, 1.2vw, 17px)/1.3 "Raleway", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #A3225A; }
body.page .h-mail { font-size: clamp(18px, 2.6vw, 38px); white-space: nowrap; }
@media (max-width: 520px) { body.page .h-mail { font-size: 5.2vw; } }
@media (max-width: 899px) { .b-stats { grid-template-columns: 1fr 1fr; } }

/* flechas lineales */
.ln-arrow { display: inline-block; width: 1.1em; height: auto; vertical-align: middle; overflow: visible; }
.ln-arrow--out { width: .7em; vertical-align: .05em; }
.next-project .ln-arrow { width: .7em; margin-left: .15em; vertical-align: .08em; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.next-project:hover .ln-arrow { transform: translateX(.12em); }
.next-project:hover .ln-arrow path { stroke: #737373; }
.oc-lb-nav { display: grid; place-items: center; }
.oc-lb-nav .ln-arrow { width: 22px; }
.h-btn .ln-arrow { width: 1.3em; }
.h-btn .ln-arrow--out { width: .8em; }

/* ---------- logofolio ---------- */
.b-logos { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: clamp(10px, 1.2vw, 18px); }
.b-logo { margin: 0; }
.b-logo-cell { display: grid; place-items: center; aspect-ratio: 1; padding: 8%; background: #141414; transition: background .4s; }
.b-logos--light .b-logo-cell { background: #f2f2f2; }
.b-logos--none .b-logo-cell { background: transparent; outline: 1px solid rgba(255, 255, 255, .12); outline-offset: -1px; }
.b-logo-cell img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.b-logo:hover .b-logo-cell img { transform: scale(1.05); }
.b-logo figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 10px; font-size: 14px; }
.b-logo figcaption strong { font-weight: 600; color: var(--h-ink); }
.b-logo figcaption span { font-size: 12px; color: var(--h-muted); text-align: right; }
@media (max-width: 899px) { .b-logos { grid-template-columns: repeat(min(var(--cols, 4), 3), 1fr); } }
@media (max-width: 520px) { .b-logos { grid-template-columns: repeat(2, 1fr); } .b-logo figcaption { flex-direction: column; gap: 2px; } .b-logo figcaption span { text-align: left; } }
.b-logos[style*="--cols:2"] .b-logo-cell { padding: 10%; }

/* navegación al pie del proyecto: todos + siguiente */
.p-nav { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(56px, 8vw, 112px) 0 clamp(24px, 3vw, 40px); }
.p-nav a { display: inline-flex; align-items: center; gap: 12px; font: 600 10px "Raleway", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--h-ink); text-decoration: none; transition: color .3s; }
.p-nav .ln-arrow { width: 20px; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.p-nav a:hover { color: #737373; }
.p-nav a:hover .ln-arrow--right { transform: translateX(4px); }
.p-nav a:hover .ln-arrow--left { transform: translateX(-4px); }
@media (max-width: 520px) { .b-logos .b-logo-cell, .b-logos[style*="--cols:2"] .b-logo-cell { padding: 4%; } }
@media (max-width: 520px) { .b-logo figcaption span { font-size: 10px; } }

/* logos en blanco/gris; el color se descubre al pasar el mouse (desktop) o al llegar al centro de la pantalla (mobile) */
.b-logo-cell img { filter: grayscale(1) brightness(1.45); transition: filter .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.b-logos--light .b-logo-cell img { filter: grayscale(1) brightness(.35); }
@media (hover: hover) { .b-logo:hover .b-logo-cell img { filter: none; } }
@media (hover: none) { .b-logo.is-on .b-logo-cell img { filter: none; } }
@media (max-width: 520px) { body.page .project-head .p-title { font-size: 56px; } }

/* ---------- off the clock: series ---------- */
.oc-sec { padding: clamp(32px, 4vw, 56px) 0; }
.oc-sec + .oc-sec { padding-top: clamp(24px, 3vw, 40px); }
.oc-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; margin-bottom: clamp(20px, 2.4vw, 32px); }
.oc-sec-head .p-label { margin: 0; }
.oc-quote { margin: 0; font: 500 clamp(18px, 1.6vw, 24px)/1.35 "Raleway", sans-serif; color: var(--h-ink); }
.oc-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.oc-strip span { display: block; aspect-ratio: 5 / 7; overflow: hidden; background: #141414; }
.oc-strip img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.oc-strip:hover img { transform: scale(1.04); }
.oc-more { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; font: 600 10px "Raleway", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--h-ink); text-decoration: none; }
.oc-more .ln-arrow { width: 20px; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.oc-more:hover { color: #737373; } .oc-more:hover .ln-arrow { transform: translateX(4px); }

.oc-series { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(28px, 3.4vw, 56px) clamp(14px, 1.6vw, 24px); }
.oc-card { display: block; color: var(--h-ink); text-decoration: none; }
.oc-card-media { display: block; aspect-ratio: 5 / 7; overflow: hidden; background: #141414; }
.oc-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .oc-card:hover .oc-card-media img { transform: scale(1.03); } }
.oc-card-meta { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.oc-card-meta strong { font: 700 clamp(18px, 1.5vw, 22px)/1.15 "Inlove", sans-serif; }
.oc-card-meta span { font-size: 12px; color: var(--h-muted); white-space: nowrap; }

.oc-hero { padding-bottom: clamp(20px, 2.4vw, 32px); }
.oc-count { margin: 18px 0 0; font: 600 11px "Raleway", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--h-muted); }
.oc-lb-count { position: absolute; left: 24px; top: 30px; font: 600 11px "Raleway", sans-serif; letter-spacing: .16em; color: var(--h-muted); }
.oc-item img { height: auto; }

@media (max-width: 1100px) { .oc-series { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .oc-strip { grid-template-columns: repeat(2, 1fr); }
  .oc-series { gap: 28px 12px; }
  .oc-card-meta { flex-direction: column; gap: 2px; }
  .oc-card-meta strong { font-size: 16px; }
}
.oc-grid--ill .oc-open { border: 1px solid #3a3a3a; }
.oc-card-media, .oc-strip span, .oc-open { border-radius: 4px; }
.oc-strip { display: flex; align-items: flex-start; }
.oc-strip span { flex-shrink: 1; flex-basis: 0; min-width: 0; }

@media (max-width: 520px) { .oc-strip { display: grid; grid-template-columns: repeat(2, 1fr); align-items: start; } }
.oc-strip span { border: 1px solid #3a3a3a; }
.swatch em { display: block; text-align: center; margin-top: 14px; font: 600 10px "Raleway", sans-serif; font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--h-ink); }
.swatch em + code { margin-top: 6px; }
@media (max-width: 520px) { .b-palette { grid-template-columns: repeat(4, 1fr); gap: 20px 12px; } .swatch em { font-size: 8px; letter-spacing: .1em; } .swatch code { font-size: 10px; } }
.b-palette { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; }
@media (max-width: 520px) { .b-palette { grid-template-columns: none; grid-auto-columns: minmax(0, 1fr); gap: 8px; } .swatch em { font-size: 7px; letter-spacing: .06em; line-height: 1.3; margin-top: 8px; } .swatch code { font-size: 8px; letter-spacing: -.02em; } }
body.page .b-gallery .grid { align-items: start; } body.page .b-gallery .grid img { height: auto; }
.g-phone { display: flex; justify-content: center; align-self: stretch; align-items: flex-start; }
.g-phone .b-phone { width: 72%; margin: 0; }
.g-phone .b-win-view img { width: 100%; height: auto; object-fit: initial; }
/* desktop + celular: misma altura */
@media (min-width: 900px) {
  .b-browser.has-both .b-browser-stage { grid-template-columns: 1fr .32fr; align-items: stretch; }
  .b-browser.has-both .b-phone { display: flex; }
  .b-browser.has-both .b-phone .b-win-view { aspect-ratio: auto; flex: 1; }
}
.b-phone { border-color: #4a4a4a; background: #4a4a4a; }
@media (min-width: 900px) { .b-browser.has-both .b-phone .b-win-view img { position: absolute; top: 0; left: 0; } }
.b-row-in { display: flex; gap: var(--gap, 24px); align-items: flex-start; }
.b-row-in span { display: block; flex-shrink: 1; flex-basis: 0; min-width: 0; overflow: hidden; }
body.page .b-row-in img { display: block; width: 100%; height: 100%; object-fit: cover; }
.b-phone { border-radius: 20px; } .b-phone .b-win-view { border-radius: 13px; }
@media (min-width: 900px) { .b-browser.has-both .b-browser-stage { grid-template-columns: 1fr .38fr; } }
@media (max-width: 520px) {
  .b-palette { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row; grid-auto-columns: auto; row-gap: 18px; }
  .b-row-in { flex-wrap: wrap; gap: 12px; }
  .b-row-in span:last-child:nth-child(n+3) { flex-basis: 100%; }
}
@media (max-width: 899px) { .b-browser .b-phone { width: 100%; } }
@media (max-width: 899px) { .b-browser.has-both .b-phone { display: none; } }

/* ---------- Mosaico (cliente con muchas piezas) ---------- */
.mz-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.mz-filters button { font: 600 11px/1 "Raleway", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--h-muted); background: none; border: 1px solid #333; border-radius: 40px; padding: 10px 16px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.mz-filters button:hover { color: var(--h-ink); border-color: #666; }
.mz-filters button.is-on { color: #050505; background: var(--h-ink); border-color: var(--h-ink); }
.mz-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 250px); grid-auto-flow: dense; gap: 16px; }
.mz-item { position: relative; display: block; padding: 0; border: 0; background: #141414; border-radius: 4px; overflow: hidden; cursor: zoom-in; animation: mzIn .45s ease both; }
.mz-item[hidden] { display: none; }
.mz--w { grid-column: span 2; } .mz--t { grid-row: span 2; } .mz--l { grid-column: span 2; grid-row: span 2; }
.mz-item img, .mz-item video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.mz-item:hover img, .mz-item:hover video, .mz-item:focus-visible img { transform: scale(1.04); }
.mz-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; text-align: left; background: linear-gradient(transparent, rgba(5,5,5,.85)); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.mz-item:hover .mz-cap, .mz-item:focus-visible .mz-cap { opacity: 1; transform: none; }
.mz-cap em, .mz-lb-cap em { display: block; font: 600 10px/1.3 "Raleway", sans-serif; font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--h-accent); }
.mz-cap strong, .mz-lb-cap strong { display: block; font: 500 15px/1.3 "Raleway", sans-serif; color: var(--h-ink); margin-top: 4px; }
.mz-cap span, .mz-lb-cap span { display: block; font-size: 12px; color: var(--h-muted); margin-top: 2px; }
@keyframes mzIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
.mz-lb { position: fixed; inset: 0; z-index: 200; background: rgba(5,5,5,.96); display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: 1fr auto; align-items: center; padding: 56px 24px 24px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.mz-lb.is-open { opacity: 1; pointer-events: auto; }
.mz-lb-media { height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; }
.mz-lb-media img, .mz-lb-media video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.mz-lb-nav { background: none; border: 0; color: var(--h-ink); cursor: pointer; padding: 12px; justify-self: center; }
.mz-lb-nav .ln-arrow { width: 34px; height: 14px; }
.mz-lb-x { position: absolute; top: 18px; right: 22px; width: 32px; height: 32px; background: none; border: 0; cursor: pointer; }
.mz-lb-x span { position: absolute; left: 4px; right: 4px; top: 50%; height: 1.5px; background: var(--h-ink); transform: rotate(45deg); }
.mz-lb-x span + span { transform: rotate(-45deg); }
.mz-lb-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: end; padding: 18px 64px 0; }
.mz-lb-count { font: 500 12px "Raleway", sans-serif; letter-spacing: .12em; color: var(--h-muted); }
@media (max-width: 700px) {
  .mz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; gap: 10px; }
  .mz-cap { opacity: 1; transform: none; padding: 30px 10px 8px; }
  .mz-cap strong { font-size: 12px; } .mz-cap span { display: none; }
  .mz-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--pad, 20px) * -1); padding-inline: var(--pad, 20px); scrollbar-width: none; }
  .mz-filters button { flex: none; }
  .mz-lb { grid-template-columns: 1fr; padding: 56px 12px 16px; }
  .mz-lb-nav { display: none; } .mz-lb-foot { padding: 14px 4px 0; }
}

/* ---------- Texto + imágenes (texto fijo a la izquierda) ---------- */
.b-feature { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ft-sticky { position: sticky; top: 120px; }
.ft-kicker { font: 600 11px/1.3 "Raleway", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--h-accent); margin: 0 0 14px; }
.ft-title { font: 500 clamp(26px, 2.6vw, 40px)/1.1 "Raleway", sans-serif; color: var(--h-ink); margin: 0 0 18px; letter-spacing: -.01em; }
.ft-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ft-m { width: 100%; height: auto; display: block; border-radius: 4px; }
.ft-m.is-wide { grid-column: 1 / -1; }
@media (max-width: 800px) {
  .b-feature { grid-template-columns: 1fr; gap: 24px; }
  .ft-sticky { position: static; }
  .ft-media { gap: 10px; }
}
.ft-media { align-items: start; }
.block + .b-feature { margin-top: clamp(72px, 9vw, 140px); }
/* Encabezado en columna (plantilla Cliente) */
.p-colhead { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.p-colhead .project-head { padding: 0; margin: 0; max-width: none; }
.p-colhead .p-title { font-size: clamp(40px, 5vw, 76px); }
.p-colhead .facts { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
.p-intro { margin-top: 36px; padding-top: 28px; border-top: 1px solid #222; }
.p-intro .b-title { margin: 0 0 12px; }
@media (max-width: 800px) { .p-colhead { grid-template-columns: 1fr; gap: 28px; } .p-colhead .ft-sticky { position: static; } }
.project.is-colhead .p-colhead { padding-top: clamp(96px, 8vw, 128px); }
.project.is-colhead .p-colhead .project-head { padding: 0; min-height: 0; }
.p-colhead .facts { margin-top: 32px; margin-bottom: 0; }
.p-colhead + .block { margin-top: clamp(72px, 9vw, 140px); }
.b-feature.is-textonly { display: block; max-width: 560px; }
.b-feature.is-textonly .ft-sticky { position: static; }
.b-feature.is-textonly + .block { margin-top: clamp(28px, 3vw, 44px); }
.b-feature.is-textonly { margin-left: 0; margin-right: auto; }
body.page .b-image video { width: 100%; height: auto; display: block; border-radius: 4px; }
.b-scroll-hint { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font: 500 10px/1 "Raleway", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--h-muted); }
.b-scroll-hint .ln-arrow { width: 16px; height: 8px; transform: rotate(90deg); }
@media (hover: none) { .b-scroll-hint { display: none; } }
.b-scroll-hint { font-size: 9px; }
.b-scroll-hint { justify-content: flex-end; text-align: right; }
.b-scroll-hint .h-touch { display: none; }
@media (hover: none), (pointer: coarse), (max-width: 700px) { .b-scroll-hint { display: flex; } .b-scroll-hint .h-mouse { display: none; } .b-scroll-hint .h-touch { display: inline; } }
.web-full { position: fixed; inset: 0; z-index: 200; background: rgba(5,5,5,.97); opacity: 0; transition: opacity .25s; }
.web-full.is-open { opacity: 1; }
.web-full-scroll { position: absolute; inset: 60px 0 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 12px 24px; }
.web-full-scroll img { width: 100%; height: auto; display: block; border-radius: 4px; }
.web-full .mz-lb-x { z-index: 2; }
body.page .b-row-in video { display: block; width: 100%; height: 100%; object-fit: cover; }
.b-stats.b-stats--sm { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.b-stats.b-stats--sm strong { font-size: clamp(20px, 1.8vw, 28px); line-height: 1.15; hyphens: auto; }
@media (max-width: 800px) { .b-stats.b-stats--sm { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.block.is-small { max-width: 460px; margin-left: auto; margin-right: auto; }
.b-gallery.has-border img, .b-gallery.has-border .b-row-in span { border: 1px solid #3a3a3a; }
.b-gallery .g-item { margin: 0; }
.b-gallery .g-item img { width: 100%; display: block; }
.b-gallery .g-item figcaption { margin-top: 10px; font: 500 12px/1.4 "Raleway", sans-serif; color: var(--h-muted); }
@media (max-width: 520px) {
  .b-row-in.is-many span, .b-row-in.is-many span:last-child:nth-child(n+3) { flex: 0 0 calc((100% - 12px) / 2); }
}
@media (max-width: 700px) { body.page .b-image.zoom-mobile img { aspect-ratio: 4 / 3; object-fit: cover; } }
@media (min-width: 801px) { .b-text--split + .block.is-small { margin-left: calc((100% - var(--gap)) / 3 + var(--gap)); margin-right: 0; } }
/* imágenes de proyectos: mismo redondeo que Off the clock */
body.page .b-image img, body.page .b-image video, body.page .b-gallery .grid > img, body.page .b-gallery .g-item img, body.page .b-row-in span { border-radius: 4px; }
body.page .b-image.has-border img, body.page .b-image.has-border video { border: 1px solid #3a3a3a; }
/* proyectos: sin capa de color en hover, solo un zoom suave */
body.page .card-media::after { display: none; }
body.page .card-media { overflow: hidden; }
body.page .card-media img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
body.page .card:hover .card-media img { transform: scale(1.04); filter: none; }
