.section-intro em {
  font: italic 400 1.11em/.98 var(--rs-serif);
  letter-spacing: -.04em;
}
.service-section, .case-grid, .detail-grid {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: clamp(2rem, 6vw, 7rem);
}
.section-intro h2 { margin-block: .9rem 1.25rem; }
.section-intro > p:last-child, .side-note p, .detail-item p, .case-grid p:not(.section-label) {
  max-width: 57ch;
  color: var(--rs-muted);
  line-height: 1.65;
}
.section-intro > p:last-child { max-width: 36ch; }
.service-list { border-top: 2px solid var(--rs-ink); }
.service { position: relative; padding: 1.4rem 3.8rem 1.55rem 0; border-bottom: 1px solid var(--rs-rule); }
.service h3 { font-size: clamp(1.35rem, 2.15vw, 2.05rem); letter-spacing: -.045em; font-weight: 580; line-height: 1.2; }
.service p { max-width: 55ch; margin: .42rem 0 0; color: var(--rs-muted); }
.service h3 a { color: inherit; text-decoration: none; }
.service h3 a::after { content: ""; position: absolute; inset: 0; }
.service h3 span { position: absolute; right: .2rem; color: var(--rs-red); font-size: 1.45rem; font-weight: 450; }
.service:hover h3 a, .service:focus-within h3 a { color: var(--rs-red); text-decoration: underline; text-underline-offset: .2em; }
.digital { background: #f2f1eb; }
.case-band, .detail-band { border-top: 1px solid var(--rs-rule); background: white; padding-block: clamp(3.1rem, 6vw, 6rem); }
.case-grid { align-items: center; }
.case-grid h2 { margin-block: .75rem 1.3rem; }
.case-grid .case-lead { color: var(--rs-ink); font-size: clamp(1.2rem, 2vw, 1.8rem); letter-spacing: -.035em; line-height: 1.25; margin-bottom: .8rem; }
.case-grid .underlink, .side-note .underlink { display: inline-block; margin-top: 1.1rem; }
.case-grid figure a { display: block; background: #eaeae4; padding: clamp(.75rem, 2.5vw, 2.3rem); }
.case-grid img { display: block; width: 100%; height: auto; }
.case-grid figcaption { margin-top: .5rem; font-size: .8rem; color: var(--rs-muted); }
.developer-inner p:not(.section-label) { max-width: 58ch; }
.light-link { gap: .7rem; }
.detail-top { padding-block: 2rem clamp(3rem, 6vw, 6rem); }
.crumb { display: flex; align-items: center; gap: .65rem; color: var(--rs-muted); font-size: .9rem; }
.crumb a { text-underline-offset: .2em; }
.detail-top h1 { margin: clamp(2rem, 4vw, 4rem) 0 1.35rem; font-size: clamp(3.15rem, 6.5vw, 6.8rem); font-weight: 580; line-height: 1; letter-spacing: -.063em; }
.detail-intro { max-width: 62ch; margin-bottom: 1.55rem; font-size: clamp(1.12rem, 1.7vw, 1.45rem); }
.detail-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); align-items: start; }
.detail-grid h2 { margin: 0 0 1.25rem; font-size: clamp(2rem, 3.35vw, 3.3rem); }
.detail-item { border-top: 1px solid var(--rs-rule); padding: 1.2rem 0; }
.detail-item h3 { font-size: 1.3rem; letter-spacing: -.035em; font-weight: 620; margin-bottom: .3rem; }
.side-note { padding: clamp(1.4rem, 3vw, 3rem); border-top: 3px solid var(--rs-red); background: var(--rs-paper); }
.side-note h2 { font: italic 400 clamp(2rem, 3vw, 3rem)/1.05 var(--rs-serif); letter-spacing: -.03em; }
@media (max-width: 740px) {
  .service-section, .case-grid, .detail-grid { grid-template-columns: minmax(0,1fr); gap: 1.7rem; }
  .section-intro > p:last-child { max-width: 55ch; }
  .section-intro h2 br { display: none; }
  .cover h1 { font-size: clamp(3.8rem, 13.5vw, 6rem); }
  .service { padding: 1.05rem 2rem 1.25rem 0; }
  .detail-top h1 { overflow-wrap: break-word; }
  .legal-footer__inner { flex-wrap: wrap; }
  .legal-footer__links { justify-content: flex-start; }
}

.digital-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 7rem);
}
.digital-pair section { border-top: 1px solid var(--rs-rule); padding-top: 1.25rem; }
.digital-pair h2 { margin-top: 0; font-size: clamp(1.85rem, 3vw, 3rem); }
.digital-pair p { margin: .9rem 0 1.1rem; max-width: 47ch; color: var(--rs-muted); }
.site-nav [aria-current="page"] { text-decoration: underline; text-underline-offset: .25em; }
@media (max-width: 740px) {
  .digital-pair { grid-template-columns: 1fr; }
}

/* Reportaje fotográfico y páginas de servicio */
.illustrated-service {
  display: grid;
  grid-template-columns: clamp(78px, 8vw, 118px) minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: clamp(1rem, 1.7vw, 1.6rem);
  align-content: center;
  padding-block: 1.15rem;
}
.service-thumb {
  grid-row: span 2;
  align-self: center;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.28;
  object-fit: cover;
}
.photo-show { object-fit: contain; background: #deded1; }
.illustrated-service h3 { align-self: end; }
.illustrated-service p { font-size: .98rem; line-height: 1.5; }
.digital-pair section { border-top: 0; padding-top: 0; }
.digital-preview {
  width: 100%;
  aspect-ratio: 2.18;
  overflow: hidden;
  margin-bottom: 1.4rem;
  background: #deded4;
}
.digital-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.preview-codigo img { object-position: 50% 48%; }
.preview-web, .detail-photo-web .detail-image-frame {
  background: #dddcd1;
  padding: clamp(.85rem, 2vw, 2rem) clamp(1.05rem, 2.8vw, 2.8rem) 0;
}
.preview-web img, .detail-photo-web .detail-image-frame img {
  height: auto; box-shadow: 0 2px 16px #30302324;
}
.detail-top { padding-bottom: clamp(2.2rem, 4vw, 4rem); }
.detail-hero {
  margin-top: clamp(1.4rem, 3.3vw, 3.4rem);
  display: grid; align-items: center;
  grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  gap: clamp(1.7rem, 5vw, 5rem);
}
.detail-copy h1 { margin: 0 0 1.2rem; line-height: .98; }
.detail-copy h1 em { display: block; font: italic 400 1.08em/1.04 var(--rs-serif); letter-spacing: -.045em; }
.detail-copy .detail-intro { max-width: 43ch; color: #45483e; line-height: 1.54; }
.detail-photo { min-width: 0; }
.detail-image-frame {
  aspect-ratio: 1.57; overflow: hidden;
  background: #222621;
}
.detail-image-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail-photo-show .detail-image-frame { display: block; aspect-ratio: auto; cursor: zoom-in; }
.detail-photo-show .detail-image-frame img { height: auto; }
.detail-photo-movil .detail-image-frame { aspect-ratio: 1.85; }
.detail-photo-web .detail-image-frame { aspect-ratio: 1.66; }
.detail-photo figcaption, .software-example figcaption {
  margin-top: .55rem; color: var(--rs-muted); font-size: .76rem; line-height: 1.5;
}
.detail-photo figcaption a { text-underline-offset: 2px; }
.stream-listen {
  display: flex; align-items: center; gap: .85rem; width: 100%; min-height: 48px;
  margin-top: .5rem; border: 0; padding: .25rem 0; background: none;
  color: white; font: 600 clamp(1rem, 1.45vw, 1.28rem)/1.3 var(--rs-sans, sans-serif); text-align: left; cursor: pointer;
}
.stream-listen-icon { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 50%; background: #faf9f6; color: #171a17; font: 700 1rem/1 Arial,sans-serif; }
.stream-listen:hover .stream-listen-icon { background: #ffd8d4; }
.stream-listen:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.stream-listen .levels { margin-inline-start: auto; }
.continuity-preview { display: grid; gap: .55rem; background: #101318; color: #f4f5f7; padding: clamp(.85rem, 2vw, 1.8rem); text-decoration: none; cursor: zoom-in; }
.continuity-mast { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0 0 .4rem; }
.continuity-mast strong { font-size: clamp(1.05rem, 1.7vw, 1.55rem); }
.continuity-mast > span { color: #c5cbd1; font-size: .85rem; }
/* Two excerpts of the actual 1440 × 900 continuity screen. The link opens the full capture. */
.continuity-panel { display: block; position: relative; aspect-ratio: 548 / 188; overflow: hidden; }
.continuity-panel img { position: absolute; display: block; width: 262.774%; height: auto; max-width: none; left: -33.94%; top: -42.55%; }
.continuity-next img { left: -135.77%; }
.habitat-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, .55fr); gap: 2rem; align-items: center; }
.habitat-case p { max-width: 54ch; color: var(--rs-muted); }
.habitat-case p + p { margin-top: 1em; }
.habitat-case > img { width: 100%; height: auto; max-width: 22rem; justify-self: center; }
@media (max-width: 620px) {
  .habitat-case { grid-template-columns: 1fr; gap: 1.2rem; }
  .habitat-case > img { max-width: 15rem; justify-self: start; }
}
.software-example { margin-top: 1rem; }
.software-example img { display: block; width: 100%; height: auto; }
.underlink:hover, .crumb a:hover { color: var(--rs-red); }
@media (max-width: 740px) {
  .detail-hero { grid-template-columns: 1fr; }
  .detail-top { padding-top: 1.3rem; }
  .detail-copy h1 em { display: inline; }
  .detail-copy .detail-intro { max-width: 48ch; }
  .illustrated-service { grid-template-columns: 68px minmax(0,1fr); gap: 0 .8rem; padding-right: 1.55rem; }
  .service-thumb { aspect-ratio: .9; }
  .illustrated-service p { font-size: .93rem; }
  .digital-preview { margin-bottom: .95rem; }
}
@media (max-width: 355px) {
  .illustrated-service { grid-template-columns: 54px minmax(0,1fr); }
}

.service-actions {display:flex;align-items:center;flex-wrap:wrap;gap:.75rem 1.25rem;}
.service-spread {padding-block:clamp(2.8rem,5vw,5rem);border-block-start:1px solid var(--rs-rule);background:#f2f1eb;}
.service-spread h2 {margin:0 0 1.1rem;}
.service-spread .section-label {margin:0 0 .7rem;color:var(--rs-red);}
.spread-intro {max-width:57ch;color:var(--rs-muted);line-height:1.6;margin:0 0 1rem;}
.work-pair {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1.5rem,4vw,4rem);margin-top:2rem;}
.work-pair img {display:block;width:100%;height:auto;background:#deded4;border:1px solid var(--rs-rule);}
.work-pair h3,.archive-player h3 {font-size:clamp(1.35rem,2vw,1.9rem);letter-spacing:-.04em;line-height:1.2;}
.work-pair h3 {margin-top:1rem;}
.work-pair p {max-width:52ch;color:var(--rs-muted);margin:.55rem 0 .9rem;}
.archive-player {background:#1c241f;color:#fff;padding:clamp(1.05rem,2.2vw,2rem);border-top:3px solid var(--rs-red);color-scheme:dark;}
.archive-player audio {display:block;width:100%;margin:1rem 0;}
.archive-index {font-weight:600;margin-bottom:.5rem;}
#archivo-indice button {display:flex;align-items:baseline;gap:.85rem;width:100%;border:0;border-top:1px solid #626a60;background:none;color:#fff;min-height:44px;text-align:left;padding:.65rem .1rem;}
#archivo-indice button:hover {background:#2e3830;}
#archivo-indice time {font-variant-numeric:tabular-nums;color:#bfd2bd;flex:none;}
#archivo-estado:not(:empty) {margin-top:.7rem;}
@media(max-width:740px){.work-pair {grid-template-columns:1fr;}.service-spread .detail-grid{gap:1.3rem;}}

.software-second-case {margin-top:1.45rem;padding-top:1.25rem;border-top:1px solid var(--rs-rule);}
.listener-paths {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.5rem,3vw,3rem);}
.listener-paths article {border-top:1px solid var(--rs-rule);padding-top:1rem;}
.listener-paths h3 {font-size:1.25rem;letter-spacing:-.03em;}
.listener-paths p {margin:.45rem 0 .8rem;color:var(--rs-muted);}
@media (max-width:740px) {.listener-paths {grid-template-columns:1fr;}}

.portfolio-brand {background:var(--rs-paper);border-top:1px solid var(--rs-rule);padding-block:clamp(2.6rem,5vw,5rem);}
.portfolio-brand h2 {margin:.5rem 0 1rem;}
.portfolio-brand h2 + p {color:var(--rs-muted);max-width:60ch;}
.brand-variants {margin-top:1.6rem;display:grid;grid-template-columns:2fr 1fr;}
.brand-lockup,.brand-symbol {display:grid;place-items:center;min-width:0;padding:clamp(1rem,3.5vw,3.5rem);}
.brand-lockup {background:white;border:1px solid var(--rs-rule);}
.brand-symbol {background:#04384e;}
.brand-variants img {display:block;max-width:100%;height:auto;}
.brand-symbol img {width:54%;max-width:145px;}
.work-pair .software-art {display:grid;place-items:center;width:100%;aspect-ratio:1.6;background:white;border:1px solid var(--rs-rule);overflow:hidden;}
.work-pair .software-art img {width:100%;height:auto;border:0;background:none;}
.work-pair .software-art-ha img {width:76%;}
@media (max-width:480px){.brand-variants{grid-template-columns:2.3fr 1fr;}.brand-lockup,.brand-symbol{padding:.7rem;}.brand-symbol img{width:68%;}}

.client-jump { display: inline-flex; align-items: center; min-height: 44px; margin: .45rem 0 0; font-size: .94rem; }
.detail-hero .client-jump { display: flex; width: fit-content; }
.stream-clients { background: #f2f1ec; border-block-start: 1px solid var(--rs-rule); padding-block: clamp(2.6rem, 4.8vw, 5rem); }
.stream-clients h2 { margin: 0; }
.stream-clients h2 em { font: italic 400 1.1em/.95 var(--rs-serif); letter-spacing: -.035em; }
.clients-intro { max-width: 63ch; margin: .9rem 0 1.8rem; color: var(--rs-muted); }
.client-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; list-style: none; padding: 0; margin: 0; background: var(--rs-rule); border: 1px solid var(--rs-rule); }
.client-list li { min-width: 0; background: white; }
.client-card { display: flex; align-items: center; gap: clamp(.75rem, 1.45vw, 1.5rem); min-height: 109px; padding: .85rem clamp(.8rem, 1.4vw, 1.45rem); height: 100%; text-decoration: none; }
.client-mark { display: grid; place-items: center; flex: none; width: clamp(66px, 6.3vw, 94px); height: 66px; padding: 4px; }
.client-mark img { display: block; max-width: 100%; max-height: 58px; width: auto; height: auto; }
.client-mark--radio-murta, .client-mark--canal4 { background: #0d438d; }
.client-mark--capdepera img { width: 52px; height: 52px; }
.client-info { min-width: 0; }
.client-info strong { display: block; font-size: clamp(1.03rem, 1.45vw, 1.45rem); line-height: 1.2; letter-spacing: -.04em; font-weight: 620; }
.client-info > span { display: block; color: var(--rs-muted); font-size: .88rem; line-height: 1.4; margin-top: .35em; }
a.client-card:hover .client-info strong, a.client-card:focus-visible .client-info strong { color: var(--rs-red); text-decoration: underline; text-underline-offset: .17em; }
a.client-card:focus-visible { outline-offset: -4px; }
.client-wordmark { display: block; width: min(100%, 190px); height: auto; }
.client-hospitality-title { margin: 2rem 0 1rem; font-weight: 580; font-size: clamp(1.4rem, 2.1vw, 2rem); letter-spacing: -.04em; }
.client-hospitality { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.client-hospitality .client-mark { width: clamp(92px, 9.5vw, 150px); }
.client-mark--cappuccino { background: #232624; padding: .55rem; }
@media (max-width: 1000px) {
  .client-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-list:not(.client-hospitality) li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .client-list { grid-template-columns: 1fr; }
  .client-card { min-height: 80px; padding: .55rem .8rem; gap: 1rem; }
  .client-mark { width: 72px; height: 56px; }
  .client-mark img { max-height: 50px; }
  .client-hospitality .client-mark { width: 85px; }
}
