/* =============================================================
   VIDAL SERRA · ABOGADOS — Barcelona
   Archetype: Newspaper editorial (cool newsprint, navy ink,
   one burgundy accent, multi-column body, hairline rules)
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  --paper:   #f2f1ec;
  --paper-2: #e7e5dd;
  --white:   #fbfaf7;
  --ink:     #0f1b2d;
  --ink-2:   #34405a;
  --mute:    #6b7386;
  --accent:  #7a1f2b;
  --accent-2:#5e1520;
  --line:    #0f1b2d;
  --line-soft: rgba(15, 27, 45, 0.18);

  --display: "Libre Caslon Display", "Didot", Georgia, serif;
  --serif:   "Newsreader", Georgia, "Times New Roman", serif;
  --sans:    "Public Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 44px);
  --maxw: 1220px;
  --demo-h: 30px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Reset & base ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--demo-h) + 70px); }
body { font-family: var(--serif); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; padding-top: var(--demo-h); font-optical-sizing: auto; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; hyphens: auto; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.04; letter-spacing: -0.01em; text-wrap: balance; }
h1 em, h2 em, h3 em { color: var(--accent); }
::selection { background: var(--accent); color: var(--white); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* 3. Utilities ------------------------------------------------- */
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 999; padding: .6rem 1rem; background: var(--ink); color: var(--white); font-family: var(--sans); font-size: 14px; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.smallcaps { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.kicker { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.meta { font-family: var(--sans); font-size: 13px; color: var(--mute); }
.rule { border: 0; border-top: 1px solid var(--line); }
.rule-thick { border: 0; border-top: 3px solid var(--line); }
.rule-double { border: 0; border-top: 4px double var(--line); }
.link { background-image: linear-gradient(var(--accent), var(--accent)); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: color .2s, background-size .3s; }
.link:hover { color: var(--accent); }
.more { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 24px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); font-family: var(--sans); font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: background .2s, border-color .2s, color .2s; }
.btn:hover, .btn:focus-visible { background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Demo bar */
.demo-bar { position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--demo-h); display: flex; align-items: center; justify-content: center; padding: 0 12px; background: var(--accent); color: var(--white); font-family: var(--sans); font-size: 12px; white-space: nowrap; overflow: hidden; }
.demo-bar > span { overflow: hidden; text-overflow: ellipsis; }
.demo-bar b { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }
.demo-long { display: none; }
@media (min-width: 720px) { .demo-long { display: inline; } }

/* 4. Masthead + sticky mini-bar -------------------------------- */
.topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.topline .meta { color: var(--ink-2); }
.topline .date { display: inline-block; }
.topline .date::first-letter { text-transform: uppercase; }
.masthead { text-align: center; padding: clamp(16px, 3vw, 30px) 0 clamp(12px, 2vw, 20px); }
.masthead .name { display: block; font-family: var(--display); font-size: clamp(2.6rem, 9.4vw, 7.4rem); line-height: .95; letter-spacing: -.02em; }
.masthead .name i { font-style: normal; color: var(--accent); }
.masthead .tag { margin-top: 10px; font-style: italic; color: var(--ink-2); font-size: clamp(.95rem, 1.6vw, 1.1rem); }
.mainnav { border-top: 3px solid var(--line); border-bottom: 1px solid var(--line); }
.mainnav ul { display: flex; justify-content: center; flex-wrap: wrap; }
.mainnav a { display: block; padding: 12px 18px; font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mainnav a:hover { color: var(--accent); }
.mainnav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
.mainnav li + li a { border-left: 1px solid var(--line-soft); }

.minibar { position: fixed; z-index: 60; left: 0; right: 0; top: var(--demo-h); background: var(--paper); border-bottom: 1px solid var(--line); transform: translateY(-110%); transition: transform .45s var(--ease); }
.minibar.is-visible { transform: none; }
.minibar .wrap { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.minibar .name { font-family: var(--display); font-size: 24px; white-space: nowrap; }
.minibar .name i { font-style: normal; color: var(--accent); }
.minibar nav { display: none; gap: 22px; }
.minibar nav a { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.minibar nav a:hover { color: var(--accent); }
.minibar .btn { min-height: 38px; padding: 0 14px; font-size: 11.5px; }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* 5. Front page ------------------------------------------------ */
.front { display: grid; gap: 0; border-bottom: 1px solid var(--line); }
.front > * { padding-block: 24px; }
.lead-story h1 { font-size: clamp(2.6rem, 6.6vw, 5.6rem); margin: 10px 0 16px; }
.deck { font-size: clamp(1.1rem, 1.9vw, 1.35rem); font-style: italic; color: var(--ink-2); line-height: 1.45; max-width: 52ch; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 18px 0; padding: 10px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.byline .meta b { color: var(--ink); }
.cols { columns: 1; column-gap: 34px; column-rule: 1px solid var(--line-soft); }
.cols p + p { margin-top: .9em; }
.cols p { text-align: left; }
.dropcap::first-letter { float: left; font-family: var(--display); font-size: 4.6em; line-height: .8; padding: .08em .1em 0 0; color: var(--accent); }
.fig { margin: 0; }
.fig .ph { overflow: hidden; background: var(--paper-2); }
.fig img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) sepia(.08); transition: transform 1.2s var(--ease); }
.fig:hover img { transform: scale(1.02); }
.fig figcaption { margin-top: 8px; font-family: var(--sans); font-size: 12.5px; color: var(--mute); line-height: 1.4; }
.fig figcaption b { color: var(--ink); }
.front-side { display: grid; gap: 22px; align-content: start; }
.brief { padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.brief:last-child { border-bottom: 0; }
.brief h3 { font-size: 1.5rem; margin: 6px 0 8px; }
.brief p { font-size: 1rem; color: var(--ink-2); }
.brief h3 a:hover { color: var(--accent); }

/* Ticker with figures (newspaper "indicadores") */
.indicators { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 3px solid var(--line); }
.ind { padding: 18px 16px 18px 0; border-right: 1px solid var(--line-soft); }
.ind:nth-child(2n) { border-right: 0; padding-left: 16px; }
.ind b { display: block; font-family: var(--display); font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1; }
.ind span { display: block; margin-top: 6px; font-family: var(--sans); font-size: 12.5px; color: var(--mute); line-height: 1.35; }

/* Section heads (like newspaper sections) */
.sec { padding-block: clamp(40px, 6vw, 72px); }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 10px; border-bottom: 3px solid var(--line); margin-bottom: 24px; }
.sec-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.sec-head .smallcaps { color: var(--mute); }

/* Practice grid (column rules) */
.areas { display: grid; grid-template-columns: 1fr; }
.area { padding: 22px 0; border-bottom: 1px solid var(--line-soft); display: grid; gap: 8px; }
.area .num { font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .1em; }
.area h3 { font-size: 1.7rem; }
.area h3 a:hover { color: var(--accent); }
.area p { font-size: 1rem; color: var(--ink-2); }

/* Pull quote */
.pull { margin: clamp(30px, 5vw, 56px) 0; padding: 26px 0; border-top: 3px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.pull p { font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.8rem); line-height: 1.15; max-width: 30ch; margin-inline: auto; }
.pull p::before { content: "«"; color: var(--accent); }
.pull p::after { content: "»"; color: var(--accent); }
.pull cite { display: block; margin-top: 14px; font-style: normal; }

/* Cases ("sentencias") */
.cases { display: grid; }
.case { padding: 20px 0; border-bottom: 1px solid var(--line-soft); display: grid; gap: 6px; }
.case .res { display: inline-block; justify-self: start; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; background: var(--ink); color: var(--white); }
.case .res.win { background: var(--accent); }
.case h3 { font-size: 1.35rem; }
.case p { font-size: 1rem; color: var(--ink-2); }

/* Opinion / CTA box */
.boxed { border: 1px solid var(--line); outline: 1px solid var(--line); outline-offset: 4px; padding: clamp(22px, 4vw, 40px); background: var(--white); }
.boxed h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 8px 0 12px; }

/* 6. Interior pages -------------------------------------------- */
.page-top { padding-top: clamp(24px, 4vw, 44px); padding-bottom: 20px; border-bottom: 3px solid var(--line); }
.page-top h1 { font-size: clamp(2.8rem, 7.4vw, 6rem); margin: 10px 0 14px; }

/* Areas page */
.area-block { display: grid; gap: 22px; padding-block: 34px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.area-block h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.area-block .cols p { font-size: 1.02rem; }
.area-side { display: grid; gap: 14px; align-content: start; }
.area-side ul { border-top: 1px solid var(--line); }
.area-side li { padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; display: flex; gap: 10px; }
.area-side li::before { content: "§"; color: var(--accent); font-family: var(--display); }
.fee { padding: 14px 16px; background: var(--white); border-left: 3px solid var(--accent); }
.fee b { font-family: var(--display); font-size: 1.5rem; font-weight: 400; display: block; }
.fee span { font-family: var(--sans); font-size: 12.5px; color: var(--mute); }
.contact-lawyer { font-family: var(--sans); font-size: 14px; }
.contact-lawyer b { font-family: var(--serif); font-size: 1.05rem; }
.index-list { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--line); }
.index-list a { padding: 12px 16px 12px 0; margin-right: 16px; font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.index-list a:hover { color: var(--accent); }
.index-list a span { color: var(--accent); margin-right: 6px; }

/* Team page */
.people { display: grid; }
.person { display: grid; grid-template-columns: 84px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line-soft); }
.person .ini { width: 84px; height: 104px; display: grid; place-items: center; background: var(--ink); color: var(--white); font-family: var(--display); font-size: 2.2rem; position: relative; }
.person .ini::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(251,250,247,.35); }
.person:nth-child(3n+2) .ini { background: var(--accent); }
.person h2 { font-size: 1.7rem; }
.person .role { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 4px 0 8px; }
.person p { font-size: 1rem; color: var(--ink-2); }
.person .langs { margin-top: 8px; }
.history li { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.history .y { font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--accent); }
.history p { font-size: 1rem; color: var(--ink-2); }

/* 7. Evaluador (signature feature) ----------------------------- */
.eval { background: var(--white); border: 1px solid var(--line); }
.eval-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 3px solid var(--line); }
.eval-head .smallcaps b { color: var(--accent); }
.eval-bar { height: 3px; background: var(--paper-2); }
.eval-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .5s var(--ease); }
.eval-body { padding: clamp(20px, 4vw, 36px); }
.q { display: grid; gap: 16px; }
.q[hidden] { display: none; }
.js .q:not([hidden]) { animation: qIn .5s var(--ease); }
@keyframes qIn { from { opacity: 0; transform: translateY(8px); } }
.q legend, .q h2 { font-family: var(--display); font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.1; margin-bottom: 4px; }
.q fieldset { border: 0; display: grid; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border: 1px solid var(--line-soft); cursor: pointer; transition: border-color .2s, background .2s; }
.choice label::before { content: attr(data-l); width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--ink); font-family: var(--sans); font-size: 12px; font-weight: 700; }
.choice label b { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; display: block; }
.choice label small { font-family: var(--sans); font-size: 13px; color: var(--mute); }
.choice label:hover { border-color: var(--ink); }
.choice input:checked + label { border-color: var(--accent); background: rgba(122,31,43,.05); box-shadow: inset 3px 0 0 var(--accent); }
.choice input:checked + label::before { background: var(--accent); border-color: var(--accent); color: var(--white); }
.choice input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.eval-nav { display: flex; justify-content: space-between; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--line-soft); }
.eval-nav[hidden] { display: none; }
.eval-nav .btn[disabled] { opacity: .35; pointer-events: none; }
.eval-err { font-family: var(--sans); font-size: 13.5px; color: var(--accent); min-height: 1.2em; }
.verdict { display: grid; gap: 18px; }
.verdict[hidden] { display: none; }
.verdict .stamp { justify-self: start; font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); border: 2px solid var(--accent); padding: 6px 10px; transform: rotate(-2deg); }
.verdict h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.verdict-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.verdict-grid > div { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.verdict-grid dt { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
.verdict-grid dd { font-size: 1.05rem; }
.verdict ol { counter-reset: s; display: grid; gap: 8px; }
.verdict ol li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 1rem; }
.verdict ol li::before { content: counter(s); font-family: var(--display); color: var(--accent); font-size: 1.3rem; line-height: 1.2; }
.urgent-note { padding: 12px 16px; background: rgba(122,31,43,.07); border-left: 3px solid var(--accent); font-size: 1rem; }
.urgent-note[hidden] { display: none; }
.disclaimer { font-family: var(--sans); font-size: 12.5px; color: var(--mute); }

/* Form */
.form { display: grid; gap: 16px; }
.form[hidden] { display: none; }
.form-row { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 10px 0; background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; font-family: var(--serif); font-size: 1.1rem; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%230f1b2d' stroke-width='1.5'/></svg>"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 22px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--accent); }
.field.is-invalid input { border-bottom: 2px solid var(--accent); }
.field .err { font-family: var(--sans); font-size: 12.5px; color: var(--accent); min-height: 1em; }
.check { display: flex; gap: 10px; align-items: flex-start; font-family: var(--sans); font-size: 13.5px; color: var(--ink-2); }
.check input { width: 18px; height: 18px; accent-color: var(--accent); margin-top: 2px; flex: none; }
.success { display: none; gap: 10px; border-top: 3px solid var(--line); padding-top: 18px; }
.success.is-visible { display: grid; }
.success h3 { font-size: 2rem; }
.office li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
.office li span:last-child { font-family: var(--sans); font-size: 14px; font-variant-numeric: tabular-nums; }
.office li.is-today { color: var(--accent); }
.office li.is-today span:first-child::after { content: " · hoy"; font-family: var(--sans); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--mute); }
.status.is-open i { background: #2f7a47; }

/* Credits */
.credits li { padding: 14px 0; border-bottom: 1px solid var(--line-soft); display: grid; gap: 4px; font-size: 1rem; }
.credits strong { font-family: var(--display); font-weight: 400; font-size: 1.2rem; }
.credits a { color: var(--accent); }

/* 8. Footer ---------------------------------------------------- */
.footer { margin-top: clamp(40px, 6vw, 72px); }
.footer .foot-grid { border-top: 4px double var(--line); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 30px; }
.foot-grid h2 { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.foot-grid p, .foot-grid li { font-size: 1rem; color: var(--ink-2); }
.foot-grid a:hover { color: var(--accent); }
.foot-grid .foot-name { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--ink); }
.foot-grid .meta { font-size: 12.5px; color: var(--mute); }
.foot-name i { font-style: normal; color: var(--accent); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 14px 0 26px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 12px; color: var(--mute); }
.foot-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* 9. Reveal ---------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.reveal-all [data-reveal] { opacity: 1 !important; transform: none !important; }
.reveal[data-split] { opacity: 1; transform: none; }
@view-transition { navigation: auto; }

/* 10. Responsive ----------------------------------------------- */
@media (min-width: 540px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .cols { columns: 2; }
  .indicators { grid-template-columns: repeat(4, 1fr); }
  .ind { padding: 18px 20px; border-right: 1px solid var(--line-soft); }
  .ind:nth-child(2n) { border-right: 1px solid var(--line-soft); padding-left: 20px; }
  .ind:first-child { padding-left: 0; }
  .ind:last-child { border-right: 0; }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .area { padding: 22px 22px 22px 0; }
  .area:nth-child(3n+2), .area:nth-child(3n) { padding-left: 22px; border-left: 1px solid var(--line-soft); }
  .cases { grid-template-columns: repeat(3, 1fr); }
  .case { padding: 20px 20px 20px 0; }
  .case + .case { padding-left: 20px; border-left: 1px solid var(--line-soft); }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .verdict-grid { grid-template-columns: 1fr 1fr; }
  .verdict-grid > div:nth-child(odd) { padding-right: 20px; }
  .verdict-grid > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-soft); }
  .people { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}
@media (min-width: 960px) {
  .minibar nav { display: flex; }
  .front { grid-template-columns: 8fr 4fr; }
  .front > .lead-story { padding-right: 32px; border-right: 1px solid var(--line); }
  .front > .front-side { padding-left: 32px; }
  .cols.three { columns: 3; }
  .area-block { grid-template-columns: 8fr 4fr; gap: 40px; }
  .split { display: grid; grid-template-columns: 7fr 5fr; gap: 44px; align-items: start; }
  .split > .side { position: sticky; top: calc(var(--demo-h) + 80px); }
}

/* 11. Reduced motion ------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* 12. Ajustes finos ------------------------------------------- */
.person p.langs { font-family: var(--sans); font-size: 12.5px; color: var(--mute); }
.q legend { padding-bottom: 12px; }
