/* Vernet Immigration Services & Attorney — prototipo de diseño
   Dirección: "The dark room". Un solo campo de Prussian Blue de arriba abajo; dentro, piezas iluminadas.
   Forma propia: el xamfrà del Eixample (esquina achaflanada). */

@font-face {
  font-family: "Source Serif 4";
  src: url("../assets/fonts/source-serif-4-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../assets/fonts/source-serif-4-latin-ext.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../assets/fonts/source-serif-4-latin-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../assets/fonts/hanken-grotesk-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* The room */
  --bg: #003153;            /* Prussian Blue, the ground of every page */
  --bg-deep: #00233c;
  --bg-step: #0a3e63;       /* one tone up: lit surfaces in the room */
  --bg-step-2: #12507c;
  --ink: #f3eee4;           /* ivory: the soft light ink */
  --muted: #c3d3df;         /* secondary text on blue (≥ 8:1) */
  --accent: #a9c4d6;        /* ice: once per screen at most */
  --ivory: #f3eee4;
  --white: #fbfaf7;
  --stone: #d9d4cb;
  --stone-deep: #c9c2b6;
  --on-light: #00233c;      /* ink on ivory / stone */
  --on-light-soft: #3d4a55;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Five steps, no more */
  --t-display: clamp(3rem, 1rem + 8.4vw, 9.5rem);
  --t-1: clamp(2.25rem, 1.3rem + 3.4vw, 4.5rem);
  --t-2: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem);
  --t-body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --t-small: 0.9375rem;

  --gutter: clamp(20px, 3.4vw, 56px);
  --max: 1440px;
  --section: clamp(112px, 13vw, 220px);
  --cut: 22px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--bg-deep); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--accent);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

::selection { background: var(--accent); color: var(--bg-deep); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.light :focus-visible { outline-color: var(--bg); }
html { scrollbar-color: var(--bg-step-2) var(--bg-deep); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--ivory); color: var(--bg); padding: 12px 18px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 40px); }
.xamfra {
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
}

/* ---------- Prototype notice ---------- */
.proto-note { background: var(--bg-deep); color: var(--muted); font-size: 0.875rem; padding: 9px var(--gutter); text-align: center; }
.proto-note strong { color: var(--ink); font-weight: 600; }
.pending {
  --c: 5px;
  display: inline-block; vertical-align: middle;
  font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; line-height: 1; letter-spacing: 0;
  padding: 7px 10px; background: var(--bg-step-2); color: var(--ink);
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
}
.light .pending { background: var(--stone); color: var(--on-light); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  transition: transform 420ms var(--ease-drawer), background-color 300ms var(--ease-out);
}
.site-header.is-scrolled { background: var(--bg-deep); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); min-height: 88px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; color: var(--ink); }
.logo { display: block; height: 70px; width: auto; overflow: visible; }
.logo text { text-rendering: geometricPrecision; }
.brand-name { font-family: var(--serif); font-weight: 400; font-size: 1.875rem; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.8125rem; color: var(--muted); margin-top: 7px; }
.nav-main { display: flex; gap: clamp(18px, 2vw, 36px); }
.nav-main a, .lang a {
  position: relative; text-decoration: none; color: var(--muted); padding: 10px 0;
  transition: color 200ms var(--ease-out);
}
.nav-main a {
  font-size: 0.9875rem;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.55em;
  text-decoration-color: transparent;
  transition: color 200ms var(--ease-out), text-decoration-color 300ms var(--ease-out);
}
.nav-main a[aria-current="page"] { color: var(--ink); text-decoration-color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .nav-main a:hover, .lang a:hover { color: var(--ink); }
  .nav-main a:hover { text-decoration-color: currentColor; }
}
.lang { display: flex; gap: 12px; font-size: 0.875rem; }
.lang a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.menu-toggle { display: none; background: none; border: 0; color: inherit; font: inherit; font-size: 0.9375rem; padding: 12px 0 12px 12px; cursor: pointer; align-items: center; gap: 10px; }
.menu-toggle svg { width: 22px; height: 22px; }

/* ---------- Buttons and links ---------- */
.btn {
  --cut: 7px;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px; padding: 0 28px;
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
  background: var(--ivory); color: var(--bg);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  transition: background-color 220ms var(--ease-out), transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; transition: transform 260ms var(--ease-out); }
.btn-quiet { background: var(--bg-step); color: var(--ink); }
.light .btn { background: var(--bg); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--white); }
  .btn-quiet:hover { background: var(--bg-step-2); }
  .light .btn:hover { background: var(--bg-deep); }
  .btn:hover svg { transform: translateX(4px); }
}

.link {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.45em;
  transition: text-decoration-color 320ms var(--ease-out);
}
.link svg { width: 18px; height: 18px; transition: transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-color: transparent; }
  .link:hover svg { transform: translateX(4px); }
}

/* ---------- Section heads ---------- */
.section { padding-block: var(--section); }
.h-section { font-size: var(--t-1); line-height: 1.04; letter-spacing: -0.02em; }
.lede { font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.3125rem); line-height: 1.55; color: var(--muted); max-width: 36em; }

/* ---------- Hero: the plan in the dark, the name along the floor ---------- */
.hero { position: relative; min-height: calc(100svh - 88px - 38px); display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; isolation: isolate; }
.hero-plan { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-plan img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  filter: grayscale(1) invert(1) contrast(1.35) brightness(0.9);
  mix-blend-mode: screen; opacity: 0.2;
  transform: scale(1.08); transform-origin: 60% 40%;
  animation: plan-drift 28s var(--ease-in-out) infinite alternate;
}
/* taste-skill-ignore: neutral scrim over the archival plan so the name reads */
.hero-plan::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: var(--bg); opacity: 0.86; mask-image: linear-gradient(to bottom, transparent, #000 70%); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 70%); } /* taste-skill-ignore */
@keyframes plan-drift { from { transform: scale(1.08) translate3d(0, 0, 0); } to { transform: scale(1.16) translate3d(-2%, -1.5%, 0); } }

.hero-top { padding-top: clamp(40px, 6vw, 96px); }
.hero-top .grid { align-items: start; }
.hero-intro { grid-column: 1 / span 6; font-size: clamp(1.25rem, 1.05rem + 0.75vw, 1.75rem); line-height: 1.4; font-family: var(--serif); font-weight: 300; color: var(--ink); }
.hero-intro strong { font-weight: 400; color: var(--accent); }
.hero-side { grid-column: 9 / span 4; justify-self: end; text-align: right; display: grid; gap: 14px; font-size: var(--t-small); color: var(--muted); }
.hero-side b { color: var(--ink); font-weight: 600; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-name { padding-bottom: clamp(28px, 4vw, 56px); }
.hero h1 {
  font-size: clamp(3rem, 0.4rem + 10.1vw, 10.25rem);
  line-height: 0.92; letter-spacing: -0.035em; font-weight: 300;
  color: var(--ink);
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero h1 .line > span { display: block; }
.hero h1 .line:nth-child(2) { color: var(--accent); }
.hero-sub { margin-top: clamp(16px, 2vw, 28px); font-family: var(--serif); font-weight: 300; font-size: var(--t-2); line-height: 1.2; letter-spacing: -0.01em; color: var(--muted); }
.hero-caption { margin-top: 22px; display: flex; justify-content: space-between; gap: 24px; font-size: 0.875rem; color: var(--muted); }

/* ---------- Staircase statement ---------- */
.stair { display: grid; align-items: center; position: relative; padding-block: clamp(96px, 11vw, 176px) clamp(48px, 6vw, 96px); }
.stair .grid { align-items: start; row-gap: 56px; }
.stair-map { grid-column: 8 / span 5; grid-row: 1 / span 2; align-self: center; }
.stair-bio { grid-column: 1 / span 7; align-self: start; margin-top: -24px; max-width: 46em; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.25rem); line-height: 1.6; color: var(--muted); }
.spain-map { width: 100%; height: auto; overflow: visible; }
.map-esp { fill: var(--bg-step); }
.map-prt { fill: var(--bg-deep); }
.map-pin text { fill: var(--ink); font-family: var(--sans); font-size: 26px; font-weight: 600; }
.pin-dot { fill: var(--accent); }
.map-pin.is-main .pin-dot { fill: var(--ivory); }
.pin-ring { fill: none; stroke: var(--accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pin-pulse 2.8s var(--ease-out) infinite; }
.map-pin.is-main .pin-ring { stroke: var(--ivory); }
@keyframes pin-pulse { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.2); opacity: 0; } }
.stair-map figcaption { margin-top: 18px; font-size: var(--t-small); color: var(--muted); }
.stair-text { grid-column: 1 / span 7; font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 0.85rem + 1.75vw, 2.375rem); line-height: 1.15; letter-spacing: -0.02em; }
.stair-text span { display: block; }
.stair-text span:nth-child(2) { padding-left: 6vw; color: var(--accent); }
.stair-text span:nth-child(3) { padding-left: 12vw; }
.stair-text span:nth-child(4) { padding-left: 18vw; color: var(--accent); }
.stair-text span:nth-child(5) { padding-left: 24vw; }
.stair-pics { grid-column: 10 / span 3; display: grid; gap: 16px; }
.stair-pics figure img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; filter: brightness(0.82) contrast(1.06) saturate(0.9); }
.stair-pics figcaption { margin-top: 8px; font-size: 0.8125rem; color: var(--muted); }
.stair-note { grid-column: 1 / span 5; font-size: var(--t-small); color: var(--muted); max-width: 34em; }
.stair-note b { color: var(--ink); font-weight: 600; }

/* ---------- Two audiences: statement cell, dark rows ---------- */
.audiences { display: grid; grid-template-columns: 1fr 1fr; min-height: 64svh; }
.aud { padding: clamp(48px, 6vw, 112px) clamp(28px, 5vw, 96px); display: flex; flex-direction: column; gap: 28px; }
.aud-light { background: var(--ivory); color: var(--on-light); }
.aud-dark { background: var(--bg-deep); }
.aud h2 { font-size: clamp(2.25rem, 1.2rem + 3.2vw, 4.25rem); line-height: 1.02; letter-spacing: -0.02em; }
.aud h2 span { display: block; }
.aud h2 span:nth-child(2) { text-align: right; }
.aud > p { max-width: 30em; }
.aud-light > p { color: var(--on-light-soft); }
.aud-dark > p { color: var(--muted); }
.aud ul { display: grid; margin-top: auto; }
.aud li {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem); line-height: 1.25;
  padding: 18px 0;
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
}
.aud-light li:nth-child(odd) { background: transparent; }
.aud li small { font-family: var(--sans); font-size: 0.875rem; font-weight: 500; white-space: nowrap; }
.aud-light li small { color: var(--on-light-soft); }
.aud-dark li small { color: var(--muted); }
.aud .link { align-self: flex-start; margin-top: auto; }

/* ---------- Practice areas: stacking sheets (folders in a drawer) ---------- */
.areas-head .grid { align-items: end; row-gap: 24px; }
.areas-head h2 { grid-column: 1 / span 7; }
.areas-head p { grid-column: 9 / span 4; color: var(--muted); }
.sheets { margin-top: clamp(56px, 7vw, 104px); }
.areas { padding-bottom: 0; }
.sheet {
  --cut: 34px;
  --top: 104px;
  position: sticky; top: var(--top);
  min-height: max(440px, calc(82svh - var(--top)));
  padding: 26px clamp(28px, 4.4vw, 72px) clamp(36px, 4.4vw, 72px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 40px);
  grid-template-rows: auto 1fr auto; row-gap: 32px;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%, 0 var(--cut));
}
.sheet:nth-child(1) { --top: 104px; background: var(--ivory); color: var(--on-light); }
.sheet:nth-child(2) { --top: 172px; background: var(--stone); color: var(--on-light); }
.sheet:nth-child(3) { --top: 240px; background: var(--bg-step); }
.sheet:nth-child(4) { --top: 308px; background: var(--bg-deep); }
.sheet:nth-child(5) { --top: 376px; background: var(--ivory); color: var(--on-light); }
.sheet + .sheet { margin-top: 12vh; }
.sheet-tab { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; font-size: var(--t-small); font-weight: 600; }
.sheet-tab span:last-child { font-weight: 500; }
.sheet-text { grid-column: 8 / span 5; align-self: end; font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.375rem); line-height: 1.5; max-width: 26em; }
.sheet.light .sheet-text { color: var(--on-light-soft); }
.sheet:not(.light) .sheet-text { color: var(--muted); }
.sheet h3 { grid-column: 1 / span 7; align-self: end; font-size: clamp(2.5rem, 1.2rem + 4.2vw, 5.5rem); line-height: 0.98; letter-spacing: -0.03em; }
.sheet ul { grid-column: 8 / span 5; align-self: end; display: grid; gap: 4px; }
.sheet li { font-size: 1.0625rem; padding: 8px 0; }
.sheet .link { grid-column: 8 / span 5; justify-self: start; }
.sheet-plate { grid-column: 1 / span 7; align-self: end; }
.sheet-plate img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; mix-blend-mode: multiply; opacity: 0.55; filter: grayscale(1) contrast(1.1); }
.sheet.light .sheet-tab span { color: var(--on-light-soft); }
.sheet:not(.light) .sheet-tab span { color: var(--muted); }

/* ---------- How we work ---------- */
.method .grid { row-gap: 48px; }
.method-head { grid-column: 1 / span 4; position: sticky; top: 140px; align-self: start; }
.method-head p { margin-top: 24px; color: var(--muted); }
.steps { grid-column: 6 / span 7; display: grid; gap: 12px; counter-reset: none; }
.steps li {
  --cut: 14px;
  background: var(--bg-step);
  padding: clamp(24px, 2.6vw, 40px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px 32px; align-items: baseline;
}
.steps h3 { font-size: var(--t-2); line-height: 1.15; letter-spacing: -0.01em; }
.steps p { color: var(--muted); }

/* ---------- About: drop-cap biography ---------- */
.about .grid { row-gap: 40px; }
.about-facts { grid-column: 1 / span 2; display: grid; gap: 22px; align-self: start; padding-top: 0.4em; font-size: var(--t-small); }
.about-facts dt { color: var(--muted); }
.about-facts dd { margin: 2px 0 0; font-weight: 600; }
.about-text { grid-column: 1 / span 8; grid-row: 1; }

/* ---------- Reviews ---------- */
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.reviews-nav { display: flex; gap: 8px; }
.rev-btn {
  --cut: 8px; width: 54px; height: 54px; display: grid; place-items: center; cursor: pointer; border: 0;
  background: var(--bg-step); color: var(--ink);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  transition: background-color 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.rev-btn svg { width: 22px; height: 22px; }
.rev-btn:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .rev-btn:hover { background: var(--bg-step-2); } }
.reviews-note { margin-top: 20px; font-size: var(--t-small); color: var(--muted); }
.reviews-note .pending { margin-right: 8px; }
.reviews-track {
  margin-top: clamp(40px, 5vw, 72px);
  display: grid; grid-auto-flow: column; grid-auto-columns: min(440px, 82vw); gap: clamp(16px, 2vw, 28px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.reviews-track::-webkit-scrollbar { display: none; }
.review {
  --cut: 26px; scroll-snap-align: start;
  background: var(--ivory); color: var(--on-light);
  padding: clamp(32px, 3vw, 44px); min-height: 340px;
  display: flex; flex-direction: column; gap: 6px;
}
.review-pro { background: var(--stone); }
.review-name { font-family: var(--serif); font-weight: 400; font-size: var(--t-2); line-height: 1.15; }
.review-meta { font-size: var(--t-small); color: var(--on-light-soft); font-weight: 600; }
.review-role { font-size: var(--t-small); color: var(--on-light-soft); }
.review-text { margin: 24px 0 0; font-size: 1.0625rem; line-height: 1.65; }
.review-text p::before { content: "\201C"; }
.review-text p::after { content: "\201D"; }
.about-text h2 { margin-bottom: 40px; }
.about-text p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 1rem + 1.55vw, 2.375rem); line-height: 1.22; letter-spacing: -0.01em; color: var(--muted); }
.about-text p + p { margin-top: 1.1em; }
.about-text p b { color: var(--ink); font-weight: 400; }
.dropcap {
  float: left; font-family: var(--serif); font-weight: 300; color: var(--accent);
  font-size: 4.9em; line-height: 0.74; margin: 0.06em 0.12em 0 -0.04em;
}
.about-text .link { margin-top: 48px; }

/* ---------- Contact: the email as display type ---------- */
.contact { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto auto; background: var(--ivory); color: var(--on-light); padding: clamp(40px, 5vw, 72px) 0 clamp(32px, 4vw, 56px); position: relative; z-index: 2; }
.contact-top .grid { row-gap: 24px; }
.contact-top h2 { grid-column: 1 / span 7; font-size: var(--t-2); line-height: 1.25; letter-spacing: -0.01em; font-weight: 300; }
.contact-top p { grid-column: 9 / span 4; color: var(--on-light-soft); font-size: var(--t-small); }
.contact-mail { align-self: end; padding-bottom: 6vh; }
.contact-mail a {
  display: block; text-decoration: none;
  font-family: var(--serif); font-weight: 300; letter-spacing: -0.035em; line-height: 1;
  font-size: clamp(2.25rem, 0.2rem + 8.05vw, 9.6rem);
  white-space: nowrap; color: var(--bg);
  transition: color 320ms var(--ease-out);
}
.contact-mail a span { display: inline-block; }
@media (hover: hover) and (pointer: fine) { .contact-mail a:hover { color: var(--bg-step-2); } }
.contact-info { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; font-size: var(--t-small); color: var(--on-light-soft); }
.contact-info b { color: var(--on-light); font-weight: 600; }
.contact-info a { color: var(--on-light); }
.consult-line {
  margin-top: clamp(28px, 3vw, 44px); padding-top: clamp(24px, 2.6vw, 36px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 40px); row-gap: 16px; align-items: center;
}
.consult-line .consult-copy { grid-column: 1 / span 8; font-size: var(--t-small); color: var(--on-light-soft); max-width: 60em; }
.consult-line .consult-copy b { color: var(--on-light); font-weight: 600; }
.consult-line .btn { grid-column: 10 / span 3; justify-self: end; min-height: 48px; padding: 0 22px; font-size: 0.9375rem; }

/* ---------- Footer: columns above, wordmark below ---------- */
.site-footer { background: var(--bg-deep); display: grid; grid-template-rows: auto auto auto; padding: 56px 0 28px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; font-size: 0.9375rem; }
.footer-cols h3 { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.footer-cols li { padding: 3px 0; color: var(--muted); overflow-wrap: anywhere; }
.footer-cols a { text-decoration: none; color: var(--muted); transition: color 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .footer-cols a:hover { color: var(--ink); } }
.footer-mark { align-self: end; padding-top: 48px; }
.footer-mark .logo-footer { height: auto; width: 180px; color: var(--ink); }
.footer-mark p {
  font-family: var(--serif); font-weight: 300; line-height: 0.78; letter-spacing: -0.05em;
  font-size: clamp(5rem, 31.5vw, 30rem); color: var(--ink); white-space: nowrap; margin-left: -0.04em;
}
.footer-legal { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 0.8125rem; color: var(--muted); }
.footer-legal a { color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 128px) clamp(56px, 7vw, 104px); }
.page-hero .grid { row-gap: 32px; align-items: end; }
.page-hero h1 { grid-column: 1 / span 8; font-size: clamp(3.25rem, 1rem + 8vw, 9rem); line-height: 0.92; letter-spacing: -0.035em; }
.page-hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.page-hero h1 .line > span { display: block; }
.page-hero .lede { grid-column: 9 / span 4; }

/* ---------- Services ---------- */
.area-bar { position: sticky; top: 88px; z-index: 40; background: var(--bg-deep); transition: top 420ms var(--ease-drawer); }
.has-hidden-header .area-bar { top: 0; }
.area-bar .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.area-bar .wrap::-webkit-scrollbar { display: none; }
.area-bar a {
  --cut: 8px; flex: 0 0 auto; text-decoration: none; font-size: 0.9375rem; font-weight: 600;
  padding: 12px 18px; color: var(--muted);
  transition: background-color 240ms var(--ease-out), color 240ms var(--ease-out);
}
.area-bar a.is-active { background: var(--ivory); color: var(--bg); }
@media (hover: hover) and (pointer: fine) { .area-bar a:not(.is-active):hover { color: var(--ink); background: var(--bg-step); } }
.legend { padding-top: 28px; font-size: var(--t-small); color: var(--muted); }
.legend .pending { margin-right: 8px; }

.area { padding-block: clamp(88px, 10vw, 168px); }
.area + .area { padding-top: 0; }
.area .grid { row-gap: 40px; }
.area-head { grid-column: 1 / span 4; align-self: start; position: sticky; top: 176px; }
.area-head h2 { font-size: clamp(2.25rem, 1.3rem + 2.6vw, 3.75rem); line-height: 1.02; letter-spacing: -0.02em; }
.area-ref { margin-top: 18px; font-size: var(--t-small); color: var(--muted); }
.area-count { margin-top: 4px; font-size: var(--t-small); font-weight: 600; }
.area-note { margin-top: 20px; font-size: var(--t-small); color: var(--muted); max-width: 26em; }
.procedures { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.procedures li {
  --cut: 12px;
  background: var(--bg-step); padding: 22px 24px;
  font-size: 1.0625rem; line-height: 1.4; font-weight: 500;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  transition: background-color 240ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .procedures li:hover { background: var(--bg-step-2); } }
.area-light { background: var(--ivory); color: var(--on-light); padding-top: clamp(88px, 10vw, 168px) !important; }
.area-light .area-ref, .area-light .area-note { color: var(--on-light-soft); }
.area-light .procedures li { background: var(--white); }
@media (hover: hover) and (pointer: fine) { .area-light .procedures li:hover { background: var(--stone); } }
.area-light .pending { background: var(--stone); color: var(--on-light); }
.area-light + .area { padding-top: clamp(88px, 10vw, 168px); }

/* ---------- Team ---------- */
.lead-member .grid { row-gap: 48px; align-items: start; }
.lead-photo { grid-column: 1 / span 5; position: sticky; top: 120px; }
.lead-photo .frame { --cut: 28px; background: var(--bg-step); }
.lead-photo img { width: 100%; aspect-ratio: 415 / 567; object-fit: cover; }
.lead-photo figcaption { margin-top: 16px; font-size: var(--t-small); color: var(--muted); }
.lead-text { grid-column: 7 / span 6; }
.lead-text h2 { font-size: var(--t-1); line-height: 1.02; letter-spacing: -0.02em; }
.lead-text .role { margin-top: 14px; font-weight: 600; color: var(--accent); }
.lead-text p.bio { margin-top: 28px; font-family: var(--serif); font-weight: 300; font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem); line-height: 1.4; color: var(--muted); }
.lead-text p.bio b { color: var(--ink); font-weight: 400; }
.lead-text p.bio + p.bio { margin-top: 1em; }
.lead-path { margin-top: 48px; display: grid; gap: 10px; }
.lead-path li { --cut: 12px; background: var(--bg-step); padding: 20px 24px; display: grid; grid-template-columns: 9rem 1fr; gap: 16px; align-items: baseline; }
.lead-path .when { font-family: var(--serif); font-size: 1.375rem; color: var(--ink); }
.lead-path .what { color: var(--muted); }
.lead-path li.is-key { background: var(--ivory); color: var(--on-light); }
.lead-path li.is-key .when { color: var(--bg); }
.lead-path li.is-key .what { color: var(--on-light-soft); }
.team-rest .grid { row-gap: 48px; }
.team-rest-head { grid-column: 1 / span 12; }
.team-rest ul { grid-column: 1 / span 12; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 40px); }
.member .photo { --cut: 22px; aspect-ratio: 4 / 5; background: var(--bg-step); display: grid; place-items: center; overflow: hidden; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.member .initials { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 2rem + 3vw, 5rem); color: var(--muted); }
.member .name { display: block; margin-top: 20px; font-family: var(--serif); font-weight: 300; font-size: var(--t-2); line-height: 1.15; }
.member .job { display: block; margin-top: 6px; color: var(--muted); }
.member .pending { margin-top: 12px; }
.member .bio-short { display: block; margin-top: 14px; font-size: var(--t-small); line-height: 1.55; color: var(--muted); max-width: 32em; }

/* ---------- Mobile menu, toast ---------- */
.mobile-menu[hidden] { display: none; }
.mobile-menu { position: fixed; left: 0; right: 0; bottom: 0; z-index: 49; background: var(--bg-deep); overflow-y: auto; }
.mobile-menu nav { padding: 28px var(--gutter) 64px; display: grid; gap: 2px; }
.mobile-menu nav > a { font-family: var(--serif); font-weight: 300; font-size: 2.125rem; line-height: 1.2; text-decoration: none; padding: 8px 0; }
.mobile-menu nav > a[aria-current="page"] { color: var(--accent); }
.mobile-menu .lang { margin-top: 24px; gap: 16px; font-size: 1rem; }
.toast {
  --cut: 10px; position: fixed; left: 50%; bottom: 28px; z-index: 80;
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  background: var(--ivory); color: var(--bg); padding: 14px 20px; font-size: 0.9375rem; max-width: calc(100vw - 32px);
  transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Motion: content is visible without JS ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity 900ms var(--ease-out), transform 1000ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js .mask-line > span { transform: translateY(105%); }
.js .mask-line.is-in > span { transform: none; transition: transform 1100ms var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms); }
.js .wipe { position: relative; }
.js .wipe::after { content: ""; position: absolute; inset: 0; background: var(--bg); transform-origin: bottom; transition: transform 1300ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); pointer-events: none; }
.js .wipe.is-in::after { transform: scaleY(0); }
.js .wipe img { transform: scale(1.12); }
.js .wipe.is-in img { transform: none; transition: transform 1800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-plan img, .pin-ring { animation: none; }
  .js .reveal, .js .mask-line > span, .js .wipe img { transform: none; }
  .js .wipe::after { display: none; }
  .js .reveal { opacity: 0; }
  .js .reveal.is-in { opacity: 1; transition: opacity 400ms linear; }
  .site-header.is-hidden { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-main, .site-header .lang { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 980px) {
  .hero-intro, .hero-side, .stair-text, .stair-bio, .stair-pics, .stair-map, .stair-note, .areas-head h2, .areas-head p,
  .method-head, .steps, .about-facts, .about-text, .contact-top h2, .contact-top p,
  .page-hero h1, .page-hero .lede, .area-head, .procedures, .lead-photo, .lead-text { grid-column: 1 / -1; }
  .hero-side { justify-self: start; text-align: left; }
  .stair-pics { grid-template-columns: 1fr 1fr; }
  .audiences { grid-template-columns: 1fr; }
  .sheet h3, .sheet ul, .sheet .link, .sheet-plate { grid-column: 1 / -1; }
  .method-head, .area-head, .lead-photo { position: static; }
  .lead-photo { max-width: 460px; }
  .about-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-row: 2; }
  .team-rest ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consult-line .consult-copy, .consult-line .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 720px) {
  :root { --cut: 16px; }
  .proto-note { text-align: left; }
  .site-header .wrap { min-height: 72px; }
  .area-bar { top: 72px; }
  .logo { height: 50px; }
  .reviews-nav { display: none; }
  .hero { min-height: calc(100svh - 72px - 58px); }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4.5rem); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-sub { margin-top: clamp(16px, 2vw, 28px); font-family: var(--serif); font-weight: 300; font-size: var(--t-2); line-height: 1.2; letter-spacing: -0.01em; color: var(--muted); }
.hero-caption { flex-direction: column; gap: 4px; }
  .stair-text { font-size: 6.2vw; }
  .stair-text span:nth-child(2) { padding-left: 5vw; }
  .stair-text span:nth-child(3) { padding-left: 10vw; }
  .stair-text span:nth-child(4) { padding-left: 15vw; }
  .stair-text span:nth-child(5) { padding-left: 20vw; }
  .sheet { min-height: max(480px, calc(100svh - var(--top) - 16px)); row-gap: 20px; }
  .sheet:nth-child(1) { --top: 84px; } .sheet:nth-child(2) { --top: 136px; } .sheet:nth-child(3) { --top: 188px; } .sheet:nth-child(4) { --top: 240px; } .sheet:nth-child(5) { --top: 292px; }
  .sheet-tab { flex-direction: column; gap: 2px; }
  .sheet-plate { display: none; }
  .steps li { grid-template-columns: 1fr; }
  .procedures { grid-template-columns: 1fr; }
  .lead-path li { grid-template-columns: 1fr; gap: 4px; }
  .team-rest ul { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .contact-mail a { font-size: 11.2vw; white-space: normal; }
  .contact-mail a span { display: block; }
  .contact-info { flex-direction: column; gap: 10px; }
  .footer-cols { gap: 28px 20px; }
  .about-facts { grid-template-columns: 1fr 1fr 1fr; gap: 12px; font-size: 0.8125rem; }
}

/* ---------- Audience pages ---------- */
.aud-page .aud { min-height: 52svh; }
.aud-page .aud h2 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.5rem); }
.aud-page .aud h2 span:nth-child(2) { text-align: left; }
.todo { padding-block: var(--section); }
.todo .grid { row-gap: 24px; align-items: end; }
.todo h2 { grid-column: 1 / span 7; }
.todo p { grid-column: 9 / span 4; color: var(--muted); }
.todo .link { grid-column: 9 / span 4; justify-self: start; }
@media (max-width: 980px) { .todo h2, .todo p, .todo .link { grid-column: 1 / -1; } }

/* ---------- Services overview (home) ---------- */
.svc-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 40px); row-gap: 20px; align-items: end; }
.svc-head h2 { grid-column: 1 / span 7; }
.svc-head .lede { grid-column: 1 / span 6; grid-row: 2; }
.svc-grid { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.svc-grid li { grid-column: span 5; }
.svc-grid li:nth-child(4n+1), .svc-grid li:nth-child(4n) { grid-column: span 7; }
.svc-card {
  --cut: 26px;
  display: flex; flex-direction: column; gap: 14px; height: 100%; min-height: 300px;
  padding: clamp(28px, 2.8vw, 44px); text-decoration: none;
  background: var(--bg-step); color: var(--ink);
  transition: background-color 260ms var(--ease-out);
}
.svc-grid li:nth-child(4n+1) .svc-card, .svc-grid li:nth-child(4n) .svc-card { background: var(--ivory); color: var(--on-light); }
.svc-card h3 { font-size: var(--t-2); line-height: 1.12; letter-spacing: -0.01em; }
.svc-card p { color: var(--muted); max-width: 30em; }
.svc-grid li:nth-child(4n+1) .svc-card p, .svc-grid li:nth-child(4n+1) .svc-count, .svc-grid li:nth-child(4n) .svc-card p, .svc-grid li:nth-child(4n) .svc-count { color: var(--on-light-soft); }
.svc-count { font-size: var(--t-small); color: var(--muted); font-weight: 600; }
.svc-more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.svc-more svg { width: 18px; height: 18px; transition: transform 260ms var(--ease-out); }
.svc-card:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) {
  .svc-card:hover { background: var(--bg-step-2); }
  .svc-grid li:nth-child(4n+1) .svc-card:hover, .svc-grid li:nth-child(4n) .svc-card:hover { background: var(--white); }
  .svc-card:hover .svc-more svg { transform: translateX(4px); }
}
@media (max-width: 980px) {
  .svc-head h2, .svc-head .lede { grid-column: 1 / -1; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid li { grid-column: span 1; }
}
@media (max-width: 720px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { min-height: 0; }
}

@media (max-width: 980px) { .stair-map { grid-row: auto; } .stair-bio { margin-top: -32px; } }

.procedures .proc-sub { grid-column: 1 / -1; background: none !important; clip-path: none; padding: 22px 0 4px; font-family: var(--serif); font-weight: 300; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); color: var(--ink); }
.procedures .proc-sub:first-child { padding-top: 0; }
.area-light .proc-sub { color: var(--on-light); }

/* ---------- Detail layer (lower home) ---------- */
.svc-card { position: relative; overflow: hidden; isolation: isolate; min-height: 380px; }
.svc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bg-deep); clip-path: inset(100% 0 0 0);
  transition: clip-path 620ms var(--ease-out);
}
.svc-grid li:nth-child(4n+1) .svc-card::before, .svc-grid li:nth-child(4n) .svc-card::before { background: var(--stone); }
.svc-top { display: flex; align-items: baseline; gap: 10px; }
.svc-num { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 2.2rem + 2.4vw, 4.75rem); line-height: 0.9; letter-spacing: -0.03em; }
.svc-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.svc-preview li {
  --c: 6px; font-size: 0.875rem; font-weight: 500; padding: 8px 12px;
  background: var(--bg-deep); color: var(--muted);
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
}
.svc-grid li:nth-child(4n+1) .svc-preview li, .svc-grid li:nth-child(4n) .svc-preview li { background: var(--stone); color: var(--on-light); }
.svc-plate { position: absolute; right: -6%; bottom: -10%; width: 72%; z-index: -1; mix-blend-mode: multiply; opacity: 0.18; filter: grayscale(1) contrast(1.2); pointer-events: none; transition: transform 1200ms var(--ease-out), opacity 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .svc-card:hover { background: inherit; }
  .svc-card:hover::before { clip-path: inset(0 0 0 0); }
  .svc-grid li:nth-child(4n+1) .svc-card:hover, .svc-grid li:nth-child(4n) .svc-card:hover { background: var(--ivory); }
  .svc-grid li:nth-child(2n+2):not(:nth-child(4n)) .svc-card:hover { background: var(--bg-step); }
  .svc-grid li:nth-child(4n+1) .svc-card:hover .svc-preview li, .svc-grid li:nth-child(4n) .svc-card:hover .svc-preview li { background: var(--ivory); }
  .svc-card:hover .svc-plate { transform: scale(1.06) translate(-2%, -2%); opacity: 0.26; }
}

.marquee { overflow: hidden; padding-block: clamp(28px, 3vw, 44px); background: var(--bg-deep); }
.marquee-track { display: flex; width: max-content; gap: 0; animation: marquee 48s linear infinite; }
.marquee-track span {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 3rem); line-height: 1; color: var(--ink);
  padding-inline: clamp(20px, 2.4vw, 40px); white-space: nowrap; display: inline-flex; align-items: center; gap: clamp(20px, 2.4vw, 40px);
}
.marquee-track span::after { content: ""; width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); margin-left: clamp(20px, 2.4vw, 40px); }
.marquee-track span:nth-child(even) { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee-track { animation-play-state: paused; } }

.facts { margin: clamp(40px, 5vw, 64px) 0 clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fact { --cut: 14px; background: var(--bg-step); padding: clamp(20px, 2vw, 28px); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; }
.fact dt { font-size: var(--t-small); color: var(--muted); }
.fact dd { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); line-height: 1.1; color: var(--ink); }

.review { position: relative; transition: transform 360ms var(--ease-out); }
.review::before { content: "\201C"; position: absolute; top: 6px; right: 26px; font-family: var(--serif); font-weight: 300; font-size: 7rem; line-height: 1; color: var(--stone-deep); pointer-events: none; }
.review-pro::before { color: var(--white); }
@media (hover: hover) and (pointer: fine) { .review:hover { transform: translateY(-6px); } }

.contact { position: relative; isolation: isolate; overflow: hidden; }
.contact-plan { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.contact-plan img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; mix-blend-mode: multiply; opacity: 0.09; filter: grayscale(1) contrast(1.3); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .svc-card::before { transition: none; }
}
@media (max-width: 980px) {
  .svc-grid li, .svc-grid li:nth-child(4n+1), .svc-grid li:nth-child(4n) { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr 1fr; }
}

/* ---------- Illustrations: scale and globe ---------- */
.about-art { grid-column: 9 / span 4; grid-row: 1; align-self: center; justify-self: end; width: min(100%, 360px); }
.scale { width: 100%; height: auto; overflow: visible; }
.sc-line { stroke: var(--ink); stroke-width: 2; }
.sc-thin { stroke: var(--accent); stroke-width: 1.25; }
.sc-dot { fill: var(--accent); }
.sc-base { fill: var(--bg-step); stroke: var(--ink); stroke-width: 2; }
.sc-bowl { fill: var(--bg-step); stroke: var(--accent); stroke-width: 1.75; }
.sc-beam { transform-box: view-box; transform-origin: 160px 92px; animation: sc-tilt 7s var(--ease-in-out) infinite alternate; }
.sc-pan-l { animation: sc-left 7s var(--ease-in-out) infinite alternate; }
.sc-pan-r { animation: sc-right 7s var(--ease-in-out) infinite alternate; }
@keyframes sc-tilt { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@keyframes sc-left { from { transform: translateY(6px); } to { transform: translateY(-6px); } }
@keyframes sc-right { from { transform: translateY(-6px); } to { transform: translateY(6px); } }

.svc { position: relative; overflow: hidden; isolation: isolate; }
.svc-globe { position: absolute; z-index: -1; top: clamp(-120px, -6vw, -40px); right: clamp(-260px, -14vw, -80px); width: clamp(420px, 58vw, 900px); pointer-events: none; opacity: 0.22; }
.svc-globe svg { width: 100%; height: auto; overflow: visible; }
.gl-disc { fill: var(--bg-step); }
.gl-rim { stroke: var(--ink); stroke-width: 1.75; }
.gl-par { stroke: var(--accent); stroke-width: 1; opacity: 0.7; }
.gl-mer { stroke: var(--accent); stroke-width: 1; opacity: 0.85; transform-box: fill-box; transform-origin: center; animation: gl-spin 24s linear infinite; animation-delay: var(--d); }
@keyframes gl-spin { 0% { transform: scaleX(1); } 25% { transform: scaleX(0); } 50% { transform: scaleX(-1); } 75% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
.gl-pin { fill: var(--ivory); }
.gl-ping { stroke: var(--ivory); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pin-pulse 2.8s var(--ease-out) infinite; }

@media (prefers-reduced-motion: reduce) {
  .sc-beam, .sc-pan-l, .sc-pan-r, .gl-mer, .gl-ping { animation: none; }
}
@media (max-width: 980px) {
  .about-art { grid-column: 1 / -1; grid-row: auto; justify-self: start; width: 100%; max-width: 520px; order: 2; }
  .svc-globe { width: 520px; right: -220px; top: -40px; opacity: 0.18; }
  .svc-head .lede { grid-row: auto; }
}

/* ---------- Emblem (replaces the scale) ---------- */
.emblem { width: 100%; height: auto; overflow: visible; }
.em-outer { stroke: var(--ink); stroke-width: 1.25; }
.em-inner { stroke: var(--accent); stroke-width: 1; opacity: 0.8; }
.em-text { fill: var(--ink); font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; }
.em-ring { transform-box: view-box; transform-origin: 200px 200px; animation: em-rotate 90s linear infinite; }
@keyframes em-rotate { to { transform: rotate(360deg); } }
.em-line { stroke: var(--ink); stroke-width: 1.4; }
.em-fine { stroke: var(--accent); stroke-width: 0.9; }
.em-dot { fill: var(--accent); }
.em-beam { transform-box: view-box; transform-origin: 200px 136px; animation: sc-tilt 8s var(--ease-in-out) infinite alternate; }
.em-pan-l { animation: em-left 8s var(--ease-in-out) infinite alternate; }
.em-pan-r { animation: em-right 8s var(--ease-in-out) infinite alternate; }
@keyframes em-left { from { transform: translateY(5px); } to { transform: translateY(-5px); } }
@keyframes em-right { from { transform: translateY(-5px); } to { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .em-ring, .em-beam, .em-pan-l, .em-pan-r { animation: none; } }

/* ---------- Section divider ---------- */
.divider { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); padding-block: clamp(8px, 2vw, 24px); }
.divider-line { flex: 1; height: 1px; background: var(--ink); opacity: 0.22; } /* taste-skill-ignore: client-requested divider */
.divider-mark { width: 40px; height: 16px; flex: none; }
.divider-mark path { fill: none; stroke: var(--accent); stroke-width: 1.2; }
.divider-mark circle { fill: var(--accent); }
.js .divider .divider-line { transform: scaleX(0); transition: transform 1400ms var(--ease-out); }
.js .divider .divider-line:first-child { transform-origin: right; }
.js .divider .divider-line:last-child { transform-origin: left; }
.js .divider.is-in .divider-line { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .js .divider .divider-line { transform: none; } }

/* ---------- Photography (replaces drawings) ---------- */
.svc-photo { position: absolute; inset: 0 0 auto auto; z-index: -1; width: min(64vw, 980px); height: min(78%, 860px); margin: 0; pointer-events: none; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: grayscale(1) contrast(1.15) brightness(0.9); mix-blend-mode: luminosity; opacity: 0.28; }
.svc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 45%), linear-gradient(0deg, var(--bg) 0%, transparent 40%); } /* taste-skill-ignore: neutral scrim over photo */
.about-photo { --cut: 26px; background: var(--bg-step); }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 50%; filter: grayscale(0.85) contrast(1.08) brightness(0.92); }
@media (max-width: 980px) { .svc-photo { width: 100%; height: 420px; } }

/* ---------- About: scale photograph and display figures ---------- */
@font-face {
  font-family: "Bodoni Moda";
  src: url("../assets/fonts/bodoni-moda-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
.about-text { grid-column: 1 / span 7; }
.about-art { grid-column: 8 / span 5; width: 100%; }
.about-photo { background: var(--bg-deep); }
.about-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 50%; filter: saturate(0.85) contrast(1.05) brightness(0.92); }
.fact dd { font-family: "Bodoni Moda", var(--serif); font-weight: 400; font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.125rem); letter-spacing: -0.005em; line-height: 1.05; }
.fact:nth-child(-n+2) dd { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.875rem); }
.about .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Photo band (home) and page photo (services) ---------- */
.photo-band { padding-block: 0 clamp(24px, 3vw, 48px); }
.band-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); align-items: end; }
.band-main { grid-column: 1 / span 8; margin: 0; }
.band-side { grid-column: 9 / span 4; margin: 0; }
.band-main img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 55% 50%; filter: saturate(0.85) contrast(1.05) brightness(0.94); }
.band-side img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; filter: saturate(0.85) contrast(1.05) brightness(0.94); }
.page-photo { margin-top: 0; margin-bottom: clamp(40px, 5vw, 72px); }
.page-photo img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: 60% 45%; filter: saturate(0.85) contrast(1.05) brightness(0.94); }
@media (max-width: 720px) {
  .band-main, .band-side { grid-column: 1 / -1; }
  .band-side img { aspect-ratio: 16 / 10; }
  .page-photo img { aspect-ratio: 4 / 3; }
}

/* ---------- Reviews background photograph ---------- */
.reviews { position: relative; overflow: hidden; isolation: isolate; }
.reviews-photo { position: absolute; z-index: -1; top: 0; right: 0; width: min(62vw, 960px); height: 82%; margin: 0; pointer-events: none; }
.reviews-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; filter: grayscale(1) contrast(1.1) brightness(0.95); mix-blend-mode: luminosity; opacity: 0.26; }
.reviews-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 50%), linear-gradient(0deg, var(--bg) 0%, transparent 45%), linear-gradient(180deg, var(--bg) 0%, transparent 18%); } /* taste-skill-ignore: neutral scrim over photo */
@media (max-width: 720px) { .reviews-photo { width: 100%; height: 60%; } }

/* =====================================================================
   Variante clara (prototipo): fondo blanco cálido / marfil, detalles en Prussian Blue.
   Se activa con ?tema=claro y se recuerda en el navegador; ?tema=azul vuelve a la versión azul.
   ===================================================================== */
html[data-theme="claro"] {
  --bg: #fbfaf7;
  --bg-deep: #f3eee4;
  --bg-step: #ece5d8;
  --bg-step-2: #e2d9c8;
  --ink: #00233c;
  --muted: #4c5966;
  --accent: #003153;
  /* las superficies de contraste pasan a ser azules */
  --ivory: #003153;
  --white: #00233c;
  --stone: #0a3e63;
  --stone-deep: #12507c;
  --on-light: #fbfaf7;
  --on-light-soft: #c3d3df;
  background: var(--bg-deep);
  scrollbar-color: var(--accent) var(--bg-deep);
}
html[data-theme="claro"] .btn { color: #fbfaf7; }
html[data-theme="claro"] .btn-quiet { background: var(--bg-step); color: var(--ink); }
html[data-theme="claro"] .hero-plan img { filter: grayscale(1) contrast(1.25); mix-blend-mode: multiply; opacity: 0.16; }
html[data-theme="claro"] .hero h1 .line:nth-child(2) { color: var(--accent); opacity: 0.85; }
html[data-theme="claro"] .svc-photo img,
html[data-theme="claro"] .reviews-photo img { mix-blend-mode: multiply; opacity: 0.16; filter: grayscale(1) contrast(1.1); }
html[data-theme="claro"] .contact-plan img { filter: grayscale(1) invert(1) contrast(1.2); mix-blend-mode: screen; opacity: 0.08; }
html[data-theme="claro"] .svc-plate { mix-blend-mode: screen; filter: grayscale(1) invert(1); opacity: 0.12; }
html[data-theme="claro"] .contact-mail a { color: #fbfaf7; }
html[data-theme="claro"] .light :focus-visible { outline-color: #a9c4d6; }
html[data-theme="claro"] .light .btn { background: #fbfaf7; color: var(--accent); }
html[data-theme="claro"] .light .btn:hover { background: #ffffff; }
html[data-theme="claro"] .map-pin.is-main .pin-dot { fill: var(--accent); }
html[data-theme="claro"] .map-pin.is-main .pin-ring { stroke: var(--accent); }
html[data-theme="claro"] .site-header.is-scrolled { background: var(--bg); }
html[data-theme="claro"] .slide-dots button::before { background: #fbfaf7; }
html[data-theme="claro"] .review::before { color: var(--stone-deep); }
html[data-theme="claro"] .marquee-track span::after { background: var(--accent); }

.theme-switch { margin-left: 10px; white-space: nowrap; }
.theme-switch a { color: var(--ink); font-weight: 600; }

/* =====================================================================
   Versión clara y fotográfica (inspiración: Newland Chase, Eres, Cuatrecasas)
   ===================================================================== */
html[data-theme="claro"] { --paper: #ffffff; --paper-2: #f4f1ec; --navy: #003153; --navy-deep: #00233c; --text-soft: #55606b; }
html[data-theme="claro"] body { background: var(--paper); }
html[data-theme="claro"] .site-header { background: var(--paper); }
html[data-theme="claro"] .site-header.is-scrolled { background: var(--paper); }
html[data-theme="claro"] .proto-note { background: var(--paper-2); }

/* Declaración */
.intro { padding-block: clamp(48px, 6vw, 96px) clamp(32px, 4vw, 56px); text-align: center; }
.intro-statement { font-family: var(--serif); font-weight: 300; font-size: clamp(1.875rem, 1.1rem + 2.6vw, 3.25rem); line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); max-width: 22em; margin-inline: auto; }
.intro-statement strong { display: block; font-weight: 500; color: var(--navy); }
.intro-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 0.4em; text-decoration-thickness: 1px; }
.intro-link svg { width: 18px; height: 18px; transition: transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .intro-link:hover svg { transform: translateX(4px); } }

/* Hero: carrusel + panel azul */
.hs-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; }
.hs-media { grid-column: 1 / span 8; position: relative; overflow: hidden; background: var(--navy-deep); min-height: clamp(380px, 46vw, 640px); }
.hs-slides, .hs-slide { position: absolute; inset: 0; margin: 0; }
.hs-slide { opacity: 0; transition: opacity 1400ms var(--ease-in-out); }
.hs-slide.is-active { opacity: 1; }
.hs-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8000ms linear; }
.hs-slide.is-active img { transform: scale(1); }
.hs-slide figcaption { position: absolute; left: 24px; bottom: 58px; color: #fff; font-size: 0.875rem; font-weight: 600; padding: 6px 12px; background: rgba(0, 35, 60, 0.62); }
.hs-dots { position: absolute; left: 24px; bottom: 22px; display: flex; gap: 8px; z-index: 2; }
.hs-dots button { width: 34px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.hs-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; transform: translateY(-50%); background: #fff; opacity: 0.45; transition: opacity 300ms var(--ease-out); }
.hs-dots button[aria-current="true"]::before { opacity: 1; }
.hs-panel { grid-column: 9 / span 4; background: var(--navy); color: #fbfaf7; padding: clamp(32px, 3.4vw, 56px); display: flex; flex-direction: column; gap: 18px; }
.hs-title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.875rem, 1rem + 1.55vw, 2.625rem); line-height: 1.02; letter-spacing: -0.02em; color: #fbfaf7; }
.hs-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hs-title .line > span { display: block; }
.hs-title .line:nth-child(2) { color: #a9c4d6; }
.hs-sub { font-family: var(--serif); font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem); color: #c3d3df; }
.hs-text { color: #dfe7ee; font-size: 1rem; line-height: 1.6; }
.hs-links { margin-top: auto; display: grid; }
.hs-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; color: #fbfaf7; text-decoration: none; font-weight: 600; font-size: 0.9875rem; background: linear-gradient(#ffffff33, #ffffff33) top / 100% 1px no-repeat; transition: color 200ms var(--ease-out); } /* taste-skill-ignore: list separators */
.hs-links a svg { width: 18px; height: 18px; transition: transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .hs-links a:hover { color: #a9c4d6; } .hs-links a:hover svg { transform: translateX(4px); } }

/* Servicios con fotografía */
.psvc { background: var(--paper-2); margin-top: clamp(56px, 7vw, 112px); }
.psvc-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 40px); row-gap: 20px; align-items: end; }
.psvc-head h2 { grid-column: 1 / span 5; color: var(--navy); }
.psvc-head .lede { grid-column: 7 / span 6; color: var(--text-soft); max-width: none; }
.pcards { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.pcard { display: flex; flex-direction: column; height: 100%; background: var(--paper); color: var(--ink); text-decoration: none; transition: transform 360ms var(--ease-out); }
.pcard-img { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.pcard-body { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2vw, 28px); flex: 1; border-top: 3px solid var(--navy); } /* taste-skill-ignore: brand blue rule on card */
.pcard-count { font-size: 0.875rem; font-weight: 600; color: var(--navy); }
.pcard h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.625rem); line-height: 1.15; color: var(--ink); font-weight: 400; }
.pcard-text { font-size: 0.9875rem; line-height: 1.55; color: var(--text-soft); }
.pcard-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); }
.pcard-more svg { width: 18px; height: 18px; transition: transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover { transform: translateY(-6px); }
  .pcard:hover .pcard-img img { transform: scale(1.06); }
  .pcard:hover .pcard-more svg { transform: translateX(4px); }
}

/* Banda fotográfica con panel */
.band { position: relative; margin-top: 0; }
.band-photo { margin: 0; height: clamp(420px, 52vw, 720px); overflow: hidden; }
.band-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.band-wrap { position: absolute; inset: auto 0 clamp(32px, 4vw, 64px) 0; }
.band-panel { max-width: 520px; background: var(--navy); color: #fbfaf7; padding: clamp(28px, 3vw, 48px); }
.band-panel h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); line-height: 1.08; letter-spacing: -0.015em; color: #fbfaf7; }
.band-panel p { margin-top: 16px; color: #dfe7ee; }
.band-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; color: #fbfaf7; font-weight: 600; text-decoration: underline; text-underline-offset: 0.4em; text-decoration-thickness: 1px; }
.band-link svg { width: 18px; height: 18px; }
html[data-theme="claro"] .band + .marquee { background: var(--paper); }

/* Ajustes de secciones existentes en claro */
html[data-theme="claro"] .about .h-section, html[data-theme="claro"] .reviews .h-section { color: var(--navy); }
html[data-theme="claro"] .dropcap { color: var(--navy); }
html[data-theme="claro"] .fact { background: var(--paper-2); }
html[data-theme="claro"] .fact dd { color: var(--navy); }
html[data-theme="claro"] .reviews { background: var(--paper-2); }
html[data-theme="claro"] .site-footer { background: var(--navy-deep); --ink: #fbfaf7; --muted: #c3d3df; color: #fbfaf7; }
html[data-theme="claro"] .site-footer a { color: #c3d3df; }

@media (prefers-reduced-motion: reduce) {
  .hs-slide img { transform: none; transition: none; }
  .hs-slide { transition: opacity 600ms linear; }
}
@media (max-width: 1100px) { .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .hs-media, .hs-panel { grid-column: 1 / -1; }
  .hs-media { min-height: 360px; }
  .psvc-head h2, .psvc-head .lede { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .pcards { grid-template-columns: 1fr; }
  .band-wrap { position: static; margin-top: -48px; }
  .band-photo { height: 320px; }
}
html[data-theme="claro"] .page-hero h1 { color: var(--navy); }
html[data-theme="claro"] .area-head h2 { color: var(--navy); }
html[data-theme="claro"] .area-bar { background: var(--paper); }
html[data-theme="claro"] .area-bar a.is-active { background: var(--navy); color: #fbfaf7; }
html[data-theme="claro"] .procedures li { background: var(--paper-2); }
html[data-theme="claro"] .lead-text h2, html[data-theme="claro"] .team-rest .h-section { color: var(--navy); }

/* Ajustes: logo mayor, frase de entrada discreta, título principal grande */
.logo { height: 96px; }
.site-header .wrap { min-height: 120px; }
html { scroll-padding-top: 128px; }
.area-bar { top: 120px; }
.intro { padding-block: clamp(28px, 3.4vw, 48px) clamp(20px, 2.4vw, 32px); }
.intro-statement { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem); line-height: 1.35; color: var(--text-soft); max-width: none; }
.intro-statement strong { display: inline; font-weight: 400; color: var(--text-soft); }
.intro-link { margin-top: 12px; font-size: 0.9375rem; }
.hs-title { font-size: clamp(2.75rem, 1.4rem + 3.4vw, 5rem); line-height: 0.98; letter-spacing: -0.03em; }
.hs-title .line:nth-child(2) { color: #fbfaf7; }
.hs-title .line:nth-child(3) { color: #a9c4d6; }
.hs-sub { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); }
@media (max-width: 720px) {
  .logo { height: 68px; }
  .site-header .wrap { min-height: 88px; }
  .area-bar { top: 88px; }
}

.intro-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.5rem, 1.2rem + 3.8vw, 5rem); line-height: 1; letter-spacing: -0.03em; color: var(--navy); }
.intro-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.intro-title .line > span { display: block; }
.intro .intro-link { margin-top: 18px; }
.contact-top h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); line-height: 1.12; letter-spacing: -0.015em; }
html[data-theme="claro"] .procedures li { color: var(--ink); box-shadow: inset 0 2px 0 var(--navy); } /* taste-skill-ignore: brand blue top rule, same as service cards */
html[data-theme="claro"] .procedures .proc-sub { box-shadow: none; color: var(--navy); } /* taste-skill-ignore */
html[data-theme="claro"] .area-count { color: var(--navy); }

/* Contacto: el plano de Cerdà difuminado de fondo, como en el antiguo inicio */
html[data-theme="claro"] .contact-plan img {
  object-position: 50% 42%;
  filter: grayscale(1) invert(1) contrast(1.35) brightness(0.9);
  mix-blend-mode: screen; opacity: 0.22;
  transform: scale(1.08); transform-origin: 60% 40%;
  animation: plan-drift 28s var(--ease-in-out) infinite alternate;
}
html[data-theme="claro"] .contact-plan::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--navy) 0%, transparent 55%); opacity: 0.85; } /* taste-skill-ignore: neutral scrim so the email reads */
.contact-plan { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html[data-theme="claro"] .contact-plan img { animation: none; } }

/* Logo más contenido, título del despacho grande, lema bajo el carrusel */
.logo { height: 78px; }
.site-header .wrap { min-height: 104px; }
.area-bar { top: 104px; }
.intro-title { font-size: clamp(2.25rem, 0.9rem + 3.6vw, 4.5rem); }
.lema { padding-block: clamp(56px, 7vw, 104px) clamp(48px, 6vw, 88px); text-align: center; }
.lema-text { font-family: var(--serif); font-weight: 300; font-size: clamp(1.625rem, 1.1rem + 1.7vw, 2.75rem); line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); max-width: 24em; margin-inline: auto; }
.lema-text em { font-style: italic; color: var(--navy); }
.lema + .psvc { margin-top: 0; }
@media (max-width: 720px) { .logo { height: 60px; } .site-header .wrap { min-height: 84px; } .area-bar { top: 84px; } }

/* Título del despacho: composición editorial, alineado a la izquierda */
.intro { text-align: left; padding-block: clamp(40px, 5vw, 80px) clamp(32px, 4vw, 56px); }
.intro .wrap.intro-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 40px); align-items: end; }
.intro-main { grid-column: 1 / span 10; }
.intro-bar { display: block; width: 56px; height: 4px; background: var(--navy); margin-bottom: 22px; }
.intro-meta { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.intro-title { font-size: clamp(2.75rem, 0.75rem + 6.6vw, 8.5rem); line-height: 0.96; letter-spacing: -0.035em; }
.intro-sub { margin-top: 18px; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem); color: var(--text-soft); }
.intro .intro-link { grid-column: 11 / span 2; justify-self: end; margin-top: 0; white-space: nowrap; }
@media (max-width: 980px) {
  .intro-main, .intro .intro-link { grid-column: 1 / -1; justify-self: start; }
  .intro .intro-link { margin-top: 22px; }
}

/* Páginas legales y 404 (solo producción) */
.legal { padding-block: 0 clamp(72px, 9vw, 140px); }
.legal-body { grid-column: 1 / span 8; max-width: 70ch; }
.legal-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.1rem); line-height: 1.15; color: var(--navy); margin: 2.2em 0 0.6em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li, .legal-body dd, .legal-body td { color: var(--text-soft); line-height: 1.7; }
.legal-body p + p { margin-top: 1em; }
.legal-body ul { padding-left: 1.2em; display: grid; gap: 0.6em; }
.legal-body a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.legal-data { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin-top: 1.2em; padding-top: 1.2em; border-top: 1px solid rgba(0, 49, 83, 0.18); }
.legal-data dt { font-weight: 600; color: var(--ink); }
.legal-table { width: 100%; border-collapse: collapse; margin-top: 1.4em; font-size: 0.9375rem; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid rgba(0, 49, 83, 0.18); }
.legal-table th { font-weight: 600; color: var(--ink); }
.legal-updated { margin-top: 3em; font-size: 0.875rem; color: var(--muted); }
.notfound-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 8px; }
@media (max-width: 980px) { .legal-body { grid-column: 1 / -1; } }
@media (max-width: 720px) { .legal-data { grid-template-columns: 1fr; gap: 2px; } .legal-data dd { margin-bottom: 12px; } }
