@font-face {
  font-family: "Spectral Indigo";
  src: url("fonts/Spectral-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Indigo";
  src: url("fonts/HankenGrotesk-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --navy: #14182e;
  --ivory: #f6f3e9;
  --muted: #49505e;
  --accent: #41479a;
  --line: #cac9be;
  --serif: "Spectral Indigo", Georgia, serif;
  --sans: "Hanken Indigo", system-ui, sans-serif;
  --gutter: clamp(1.375rem, 5.2vw, 5rem);
  --section-space: clamp(4.5rem, 9.2vw, 9rem);
  --section-gap: clamp(2.75rem, 5.3vw, 5.25rem);
  --nav-height: clamp(4rem, 5.5vw, 4.875rem);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--navy); background: var(--ivory); font: 400 1rem/1.5 var(--sans); }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .23em; }
:where(section,main,div,article,h2,h3)[id] { scroll-margin-top: calc(var(--nav-height) + .75rem); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
main:focus:not(:focus-visible) { outline: 0; }
[hidden] { display: none !important; }
.container { width: min(82.5rem, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link { position: fixed; top: .5rem; left: var(--gutter); z-index: 100; padding: .7rem 1rem; background: var(--ivory); transform: translateY(-165%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--ivory); border-bottom: 1px solid var(--line); }
.site-header.is-away:not(:focus-within) { transform: translateY(-102%); }
.masthead { height: var(--nav-height); display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand-home, .foot-brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.wordmark { width: clamp(9.6rem, 14vw, 12.1rem); height: auto; }
.wide-navigation, .header-tools, .language-switch { display: flex; align-items: center; }
.wide-navigation { margin-left: auto; gap: clamp(1.05rem, 2.05vw, 2.3rem); }
.header-tools { gap: clamp(1rem, 2vw, 2rem); }
.wide-navigation a, .language-switch a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; }
.wide-navigation a, .menu-disclosure summary { font-size: .946rem; }
.wide-navigation a:hover, .compact-navigation a:hover, .language-switch a:hover { text-decoration: underline; }
.language-switch { gap: .25rem; font-size: .77rem; font-weight: 550; }
.language-switch span { color: #777b83; }
.language-switch a { min-width: 1.55rem; justify-content: center; }
.language-switch a[aria-current] { text-decoration: underline; text-underline-offset: .4em; }
.action, .text-link { display: inline-flex; align-items: center; width: fit-content; min-height: 44px; gap: .6em; font-family: var(--sans); line-height: 1.4; text-decoration: none; }
.action { background: var(--navy); color: var(--ivory); padding: .77rem 1.25rem; font-size: 1rem; font-weight: 550; }
.action:hover { background: #303653; }
.action:focus-visible { outline-color: var(--accent); }
.wide-contact .action { font-size: .9rem; padding: .6rem 1.05rem; }
.text-link { color: var(--accent); }
.text-link:hover { text-decoration: underline; }
.menu-disclosure { display: none; }
.home-header { background: var(--navy); color: var(--ivory); border-color: #393c4b; }
.home-header .language-switch span { color: #b5b7c6; }
.home-header .wide-contact .action { background: transparent; border: 1px solid #8b8c96; }
.home-header .wide-contact .action:hover { background: #2d3147; }
.home-header .action:focus-visible, .opening .action:focus-visible { outline-color: var(--ivory); }
.opening, .foot-window { position: relative; isolation: isolate; overflow: hidden; clip-path: inset(0); background: var(--navy); }
.opening { color: var(--ivory); }
.opening-pigment, .foot-pigment { position: absolute; inset: 0; pointer-events: none; background-repeat: no-repeat; background-size: cover; }
.opening-pigment {
  background-image: linear-gradient(90deg, rgba(13,17,38,.86), rgba(13,17,38,.54) 43%, rgba(13,17,38,.08) 79%), url('/assets/design/assets/paint-relief.jpg');
  background-position: center 53%;
}
.foot-window { height: clamp(2.75rem, 4.7vw, 4.5rem); }
.foot-pigment {
  background-image: linear-gradient(0deg, rgba(20,24,46,.56), transparent 82%), url('/assets/design/recorrido/assets/pintura-tall.jpg');
  background-position: center bottom;
}
@supports (clip-path: inset(0)) {
  @media (prefers-reduced-motion: no-preference) {
    .opening-pigment, .foot-pigment { position: fixed; inset: 0 0 auto; height: 100vh; height: 100lvh; }
  }
}
.opening-stage, .opening-statement { position: relative; }
.opening-stage { min-height: calc(100vh - var(--nav-height) - 1px); min-height: calc(100dvh - var(--nav-height) - 1px); display: flex; align-items: center; }
.opening-copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(1.65rem, 2.5vw, 2.25rem); padding-block: clamp(4rem, 7.5vw, 7rem); }
.opening h1 { font-size: clamp(2.75rem, 6.8vw, 5.5rem); line-height: 1; letter-spacing: -.025em; }
.opening h1 span { display: block; }
.opening-introduction { max-width: min(100%, clamp(34rem, 49vw, 45rem)); font-size: 1.125rem; line-height: 1.55; color: #dedee9; }
.opening-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.65rem; }
.opening-actions .action, .home-header .compact-navigation .action { color: var(--navy); background: var(--ivory); }
.opening-actions .action:hover, .home-header .compact-navigation .action:hover { background: #fffdf6; }
.opening-actions .text-link { color: var(--ivory); text-decoration: underline; text-underline-offset: .45em; text-decoration-color: #9d9eae; }
.opening-actions .text-link:hover { text-decoration-color: currentColor; }
.opening-statement { display: flex; align-items: center; min-height: 47svh; padding-block: clamp(3.75rem, 6vw, 6rem); background: linear-gradient(0deg, rgba(20,24,46,.9), rgba(20,24,46,.12) 84%, transparent); }
.opening-statement h2 { max-width: 32ch; font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.opening-statement p { max-width: 64ch; margin-top: 1.35rem; color: #dedee9; font-size: 1.125rem; line-height: 1.6; }
.client-band { background: var(--navy); color: var(--ivory); }
.client-marks { list-style: none; padding: .65rem var(--gutter); margin: 0 auto; max-width: 99rem; min-height: clamp(5.5rem, 7.7vw, 7rem); display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); align-items: center; justify-items: center; }
.client-marks li { display: grid; place-items: center; width: 100%; height: 3.6rem; }
.client-marks img { max-height: 100%; object-fit: contain; filter: brightness(0) invert(1); opacity: .84; }
.client-marks li:nth-child(1) img { width: 4.4rem; max-height: none; }
.client-marks li:nth-child(2) img { width: 5.05rem; }
.client-marks li:nth-child(3) img { width: 6.5rem; }
.client-marks li:nth-child(4) img { width: 7.15rem; }
.client-marks li:nth-child(5) img { width: 6.15rem; transform: translateY(-1.5px); }
.client-marks li:first-child { align-content: center; }
.site-foot { background: var(--navy); color: var(--ivory); }
.foot-grid { display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: center; gap: 2rem; padding-block: var(--section-gap); }
.foot-grid .wordmark { width: clamp(9rem, 12.8vw, 11rem); }
.foot-grid address { display: grid; gap: .6rem; font-style: normal; }
.foot-grid address span, .legal { font-size: .93rem; }
.foot-grid address span { color: #d0d2df; }
.foot-grid a { width: fit-content; text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
@media(max-width: 890px) {
  .wide-navigation, .wide-contact { display: none; }
  .menu-disclosure { display: block; }
  .menu-disclosure summary { cursor: pointer; display: flex; align-items: center; min-height: 44px; gap: .6rem; list-style: none; }
  .menu-disclosure summary::-webkit-details-marker { display: none; }
  .menu-disclosure summary i { width: 14px; height: 8px; border-block: 1px solid currentColor; }
  .compact-navigation { position: absolute; top: 100%; inset-inline: 0; border-block: 1px solid var(--line); background: var(--ivory); padding: .9rem var(--gutter) 1.6rem; display: grid; gap: 0; max-height: calc(100dvh - var(--nav-height)); overflow: auto; }
  .compact-navigation a:not(.action) { padding-block: .7rem; min-height: 44px; text-decoration: none; }
  .compact-navigation .action { margin-top: .75rem; }
  .home-header .compact-navigation { background: var(--navy); border-color: #393c4b; }
}
@media(max-width: 760px) {
  :root { --nav-height: 3.9rem; }
  .brand-home .wordmark { width: clamp(7.45rem, 32vw, 9.7rem); }
  .header-tools { gap: clamp(.7rem, 3.6vw, 1.6rem); }
  .opening-pigment { background-position: 58% 38%; }
  .opening-copy { padding-block: 3.75rem; gap: 1.6rem; }
  .opening-introduction, .opening-statement p { font-size: 1.0625rem; }
  .opening-actions { gap: .5rem 1.25rem; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media(max-width: 540px) {
  .client-marks { padding: .75rem var(--gutter); grid-template-columns: repeat(6,minmax(0,1fr)); min-height: 7.6rem; row-gap: .2rem; }
  .client-marks li { grid-column: span 2; height: 2.65rem; }
  .client-marks li:nth-child(4) { grid-column: 2 / span 2; }
  .client-marks li:nth-child(5) { grid-column: 4 / span 2; }
  .client-marks li:nth-child(1) img { width: 3.25rem; }
  .client-marks li:nth-child(2) img { width: 3.7rem; }
  .client-marks li:nth-child(3) img { width: 5rem; }
  .client-marks li:nth-child(4) img { width: 5.1rem; }
  .client-marks li:nth-child(5) img { width: 4.6rem; }
}
@media(prefers-reduced-motion: no-preference) { .site-header { transition: transform .18s ease-out; } }
