:root {
  --blue: #0789cc;
  --navy: #102d40;
  --sand: #d8c5aa;
  --clay: #a78262;
  --paper: #f7f5f1;
  --gray: #52616a;
  --line: #dcdedb;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family:
    Inter,
    Manrope,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
.wrap {
  width: min(1280px, calc(100% - 96px));
  margin: auto;
}
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #f7f5f1f5;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav-wrap {
  width: min(1400px, calc(100% - 64px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 29px;
  font-weight: 750;
  letter-spacing: -1.2px;
}
.brand img {
  object-fit: contain;
}
nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 13px;
  font-weight: 550;
}
nav > a:not(.button):hover,
.text-link:hover {
  color: var(--blue);
}
.menu {
  display: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 15px 21px;
  border: 1px solid var(--navy);
  border-radius: 5px;
  background: var(--navy);
  color: white;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  transition: background 0.2s;
}
.button:hover {
  background: #1b4861;
}
.button.small {
  padding: 12px 17px;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: center;
  padding-top: 75px;
  padding-bottom: 74px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 650;
  margin: 0 0 25px;
  color: var(--gray);
}
h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}
h1 {
  font-size: clamp(35px, 3.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -1.9px;
  font-weight: 720;
  margin-bottom: 25px;
}
h2 {
  font-size: clamp(29px, 3vw, 43px);
  line-height: 1.17;
  letter-spacing: -1.3px;
  font-weight: 650;
  margin-bottom: 26px;
}
h3 {
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.4px;
  font-weight: 650;
  margin-bottom: 15px;
}
p {
  margin-bottom: 19px;
}
.lead {
  font-size: 17px;
  color: #344e5e;
}
.secondary,
.prose p,
.intro,
.elements p,
.features p {
  color: var(--gray);
}
.secondary {
  font-size: 14px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  margin: 29px 0 25px;
}
.text-link {
  font-size: 13px;
  font-weight: 650;
  border-bottom: 1px solid #b4bab9;
  padding-bottom: 5px;
}
.status {
  font-size: 11px;
  line-height: 1.5;
  color: var(--gray);
  display: flex;
  gap: 9px;
  margin-bottom: 0;
}
.status span {
  width: 6px;
  height: 6px;
  background: var(--clay);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.hero-media {
  margin: 0;
  background: var(--sand);
  border: 1px solid #c7b79f;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 18px 45px #102d400a;
}
.media-label {
  display: flex;
  justify-content: space-between;
  padding: 20px 21px;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.2px;
}
.hero-media video {
  width: 100%;
  height: auto;
  display: block;
  background: var(--paper);
}
figcaption {
  font-size: 11px;
  padding: 17px 21px;
  color: #384d56;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.challenge {
  background: var(--sand);
  padding: 64px 0;
}
.challenge .eyebrow {
  color: #695544;
}
.challenge h2 {
  max-width: 440px;
}
.challenge .prose p {
  color: #3f4d52;
}
.prose p:last-child {
  margin-bottom: 0;
}
.section {
  padding-top: 90px;
  padding-bottom: 90px;
}
.section-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: end;
  margin-bottom: 46px;
}
.section-top h2 {
  margin-bottom: 0;
}
.intro {
  max-width: 490px;
  margin-bottom: 0;
}
.elements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.elements article {
  border-top: 1px solid #c6c7bf;
  padding-top: 25px;
}
.number {
  font-size: 36px;
  letter-spacing: -1.5px;
  font-weight: 500;
  color: var(--clay);
  display: block;
  margin-bottom: 25px;
}
.elements p,
.features p {
  font-size: 14px;
}
.note {
  margin: 30px 0 0;
  border-left: 3px solid var(--blue);
  padding: 10px 18px;
  font-size: 13px;
  color: var(--gray);
  background: #ebeeec;
}
.design {
  background: #efeae1;
}
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 38px;
}
.features article {
  padding: 25px 23px 19px;
  background: var(--paper);
  border: 1px solid #e0d9cc;
  border-radius: 5px;
}
.feature-mark {
  font-size: 12px;
  color: #856242;
  display: block;
  margin-bottom: 32px;
  font-weight: 650;
}
.features h3 {
  font-size: 18px;
}
.origin {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 100px;
  align-items: center;
}
.origin-date {
  border-left: 2px solid var(--clay);
  padding: 20px 0 20px 38px;
}
.origin-date span {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gray);
}
.origin-date strong {
  font-weight: 500;
  font-size: 90px;
  line-height: 1.1;
  letter-spacing: -5px;
  display: block;
  color: var(--clay);
  margin: 24px 0 28px;
}
.origin .prose {
  max-width: 650px;
}
.development {
  background: var(--navy);
  color: var(--paper);
}
.development .eyebrow,
.development .intro {
  color: #c2ccd0;
}
.reference {
  margin: 27px 0 0;
  font-size: 12px;
  border-left: 2px solid var(--clay);
  padding-left: 17px;
}
.reference strong {
  display: block;
  font-size: 23px;
  color: #ead8bf;
  font-weight: 500;
  margin-top: 3px;
}
.worklines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  border-top: 1px solid #46606c;
  padding-top: 29px;
}
.worklines span {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #bda88c;
}
.worklines h3 {
  font-size: 20px;
  margin-top: 13px;
  font-weight: 500;
}
.development-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 32px;
  color: #c2ccd0;
  font-size: 14px;
}
.development-copy p {
  margin: 0;
}
.disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 450px;
  margin-top: 30px;
}
.disciplines span {
  border: 1px solid #d0c4b2;
  background: #eee8de;
  border-radius: 3px;
  font-size: 11px;
  padding: 7px 11px;
}
.collab-call {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 33px;
  margin-top: 48px;
  background: var(--sand);
  border-radius: 5px;
}
.collab-call h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.collab-call p {
  font-size: 14px;
  color: #48545a;
  margin: 0;
}
.collab-call .button {
  flex-shrink: 0;
}
.contact {
  background: #e9e1d4;
}
.contact h2 {
  font-size: 42px;
}
.contact p {
  max-width: 490px;
  color: #485760;
}
.contact-email {
  font-size: clamp(30px, 3.5vw, 45px);
  font-weight: 550;
  letter-spacing: -1.4px;
  display: inline-block;
  margin-top: 18px;
  border-bottom: 1px solid #a88a66;
}
.contact-email span {
  color: var(--blue);
  margin-left: 17px;
}
.contact-email-label {
  display: block;
  font-size: 12px;
  color: var(--gray);
  margin-top: 8px;
}
.contact-details {
  padding-top: 15px;
}
.contact-details > div {
  padding-bottom: 15px;
  margin-bottom: 22px;
  border-bottom: 1px solid #c9beae;
}
.contact-details span {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #695d4d;
}
.contact-details p {
  margin: 10px 0 0;
}
.contact-details .contact-note {
  font-size: 12px;
  line-height: 1.7;
}
footer {
  background: var(--navy);
  color: var(--paper);
  padding: 30px 0;
}
footer > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
footer .brand {
  font-size: 25px;
}
footer p,
footer > .wrap > a:last-child {
  font-size: 11px;
  color: #c0cbd0;
  margin: 0;
}
.skip {
  position: fixed;
  top: -100px;
  left: 15px;
  background: white;
  padding: 10px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
@media (min-width: 1550px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}
@media (max-width: 1100px) {
  .nav-wrap {
    width: calc(100% - 40px);
  }
  nav {
    gap: 15px;
    font-size: 11px;
  }
  .wrap {
    width: calc(100% - 60px);
  }
  .hero {
    gap: 30px;
  }
  .split,
  .section-top,
  .origin {
    gap: 50px;
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  h1 {
    font-size: 40px;
  }
  .actions {
    gap: 18px;
  }
  .hero-media {
    align-self: center;
  }
}
@media (max-width: 780px) {
  html {
    scroll-padding-top: 90px;
  }
  .nav-wrap {
    min-height: 74px;
  }
  .brand {
    font-size: 25px;
  }
  .brand img {
    height: 38px;
    width: 30px;
  }
  .menu {
    display: flex;
    align-items: center;
    gap: 15px;
    background: transparent;
    border: 1px solid #cdd0ca;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--navy);
  }
  nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 20px 25px;
    border-bottom: 1px solid var(--line);
    align-items: stretch;
    font-size: 15px;
    gap: 0;
  }
  nav.open {
    display: flex;
    flex-direction: column;
  }
  nav a {
    padding: 12px 0;
  }
  nav .button {
    margin-top: 10px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 45px;
    padding-bottom: 50px;
    gap: 35px;
  }
  h1 {
    font-size: 40px;
    letter-spacing: -1.4px;
    max-width: 600px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1.7px;
  }
  .lead {
    font-size: 16px;
  }
  .hero-media {
    max-width: 620px;
    width: 100%;
  }
  .split,
  .section-top,
  .origin {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .section,
  .challenge {
    padding-top: 55px;
    padding-bottom: 55px;
  }
  .section-top {
    margin-bottom: 32px;
  }
  .elements {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .elements article {
    display: grid;
    grid-template-columns: 45px 1fr;
    column-gap: 18px;
    padding-top: 20px;
  }
  .number {
    font-size: 29px;
    grid-row: span 2;
    margin: 0;
  }
  .elements h3 {
    margin: 5px 0 12px;
  }
  .elements p {
    grid-column: 2;
    margin-bottom: 5px;
  }
  .features {
    gap: 12px;
  }
  .features article {
    padding: 20px 17px;
  }
  .features h3 {
    font-size: 17px;
  }
  .feature-mark {
    margin-bottom: 20px;
  }
  .origin {
    gap: 35px;
  }
  .origin-date strong {
    font-size: 64px;
    letter-spacing: -3px;
    line-height: 1.1;
    margin: 15px 0;
  }
  .origin-date strong br {
    display: none;
  }
  .origin-date {
    padding: 0 0 0 22px;
  }
  .worklines {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .worklines > div {
    border-bottom: 1px solid #37525f;
    padding-bottom: 10px;
  }
  .worklines h3 {
    margin-bottom: 10px;
  }
  .development-copy {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-top: 25px;
  }
  .collab-call {
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
    gap: 25px;
    margin-top: 30px;
  }
  .contact h2 {
    font-size: 35px;
  }
  .contact-details {
    padding-top: 15px;
  }
  .contact-email {
    font-size: 38px;
  }
  footer > .wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 400px) {
  h1 {
    font-size: 34px;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .contact-email {
    font-size: 33px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
/* Brand refinement: river blue leads, earth tones support. */
:root {
  --action-blue: #087bb6;
  --ice: #e7f3f9;
}
header {
  border-top: 4px solid var(--blue);
}
.brand-emphasis {
  color: var(--blue);
}
.hero > .hero-copy > .eyebrow {
  color: var(--action-blue);
}
.button {
  background: var(--action-blue);
  border-color: var(--action-blue);
}
.button:hover {
  background: #06699c;
  border-color: #06699c;
}
.button.small {
  background: var(--navy);
  border-color: var(--navy);
}
.button.small:hover {
  background: var(--action-blue);
  border-color: var(--action-blue);
}
.text-link {
  color: var(--action-blue);
  border-bottom-color: #0789cc66;
}
.hero-media {
  border-top: 5px solid var(--blue);
}
.media-label {
  background: var(--ice);
  color: var(--navy);
}
.number {
  color: var(--blue);
}
.elements article {
  border-top: 3px solid var(--blue);
}
.features article {
  border-top: 3px solid var(--blue);
}
.feature-mark {
  color: var(--action-blue);
}
.collaboration > .eyebrow,
#funcionamiento > .section-top .eyebrow {
  color: var(--action-blue);
}
.development {
  border-top: 6px solid var(--blue);
}
.worklines span {
  color: #77c7ed;
}
.contact-email {
  color: var(--action-blue);
  border-bottom-color: var(--blue);
}
footer {
  border-top: 4px solid var(--blue);
}
.hero-media video {
  max-height: 570px;
  object-fit: contain;
  background: #eae7e1;
}
@media (max-width: 780px) {
  .hero-media video {
    max-height: 520px;
  }
}

.contact-email {
  font-size: clamp(25px, 3vw, 42px);
  letter-spacing: -1px;
  overflow-wrap: anywhere;
}
.contact-email span {
  margin-left: 8px;
}
@media (max-width: 400px) {
  .contact-email {
    font-size: 25px;
  }
}
/* Match the media card to the original portrait video, without letterboxing. */
.hero-media {
  width: min(100%, 360px);
  justify-self: center;
}
.hero-media video {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 9/16;
  object-fit: cover;
}
@media (max-width: 780px) {
  .hero-media {
    width: min(100%, 360px);
    margin-inline: auto;
  }
  .hero-media video {
    max-height: none;
  }
}
.media-label {
  gap: 10px;
  align-items: center;
  letter-spacing: 0.8px;
  font-size: 8px;
}
.media-label span:last-child {
  white-space: nowrap;
}
footer .social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #c0cbd0;
}
footer .social-link:hover {
  color: white;
}
.elements article {
  display: flex;
  flex-direction: column;
}
.element-image {
  width: 100%;
  margin: 10px auto 0;
  padding-top: 10px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.element-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  border-radius: 5px;
}
.elements article > p {
  flex: 1;
}
@media (max-width: 780px) {
  .elements article {
    display: grid;
    grid-template-columns: 45px 1fr;
  }
  .element-image {
    grid-column: 1/-1;
    width: min(100%, 520px);
    margin: 15px auto 10px;
  }
  .elements article > p {
    grid-column: 2;
  }
}
/* Feather only the image perimeter into the warm page background. */
.element-image img {
  border-radius: 0;
  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      #000 9%,
      #000 91%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      #000 12%,
      #000 88%,
      transparent 100%
    );
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      #000 9%,
      #000 91%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      #000 12%,
      #000 88%,
      transparent 100%
    );
  mask-composite: intersect;
}

/* Keep language selection available on desktop and beside the mobile menu. */
.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  order: 3;
}
nav {
  order: 2;
  gap: 18px;
}
.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 5px;
  gap: 2px;
}
.language-switch button {
  padding: 5px 7px;
  border-radius: 3px;
  color: var(--gray);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}
.language-switch button:hover {
  color: var(--action-blue);
}
.language-switch button[aria-pressed="true"] {
  background: var(--action-blue);
  color: white;
}
@media (min-width: 781px) and (max-width: 1250px) {
  .nav-wrap {
    gap: 14px;
  }
  nav {
    gap: 12px;
    font-size: 11px;
  }
  .brand {
    font-size: 25px;
    gap: 8px;
  }
}
@media (max-width: 400px) {
  .header-controls {
    gap: 7px;
  }
  .menu {
    gap: 7px;
    padding: 8px;
  }
  .language-switch button {
    padding-inline: 5px;
  }
  .nav-wrap {
    gap: 8px;
  }
}

.language-switch button {
  border: 0;
  background: transparent;
  cursor: pointer;
}
@media (max-width: 780px) {
  nav {
    gap: 0;
  }
}
@media (max-width: 400px) {
  .nav-wrap > .brand {
    font-size: 20px;
    gap: 6px;
  }
  .nav-wrap > .brand img {
    width: 24px;
    height: 30px;
  }
}

.cookie-settings-wrap {
  padding-block: 12px;
}
.cookie-settings {
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: var(--action-blue);
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
}
.cookie-notice {
  position: fixed;
  z-index: 30;
  inset: auto 20px 20px auto;
  width: min(560px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--blue);
  border-radius: 7px;
  box-shadow: 0 10px 40px #102d4033;
}
.cookie-notice[hidden] {
  display: none;
}
.cookie-notice h2 {
  font-size: 22px;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}
.cookie-notice p {
  font-size: 14px;
  color: var(--gray);
}
.cookie-notice a {
  color: var(--action-blue);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-actions .button {
  flex: 1;
  cursor: pointer;
}
