:root {
  color-scheme: light;
  --paper: #f8f8f4;
  --white: #fff;
  --ink: #142332;
  --muted: #42515d;
  --navy: #0c1823;
  --accent: #276478;
  --mist: #b8e1e9;
  --rule: #cdd7d7;
  --width: 1248px;
  --side: clamp(1.25rem, 5vw, 5.25rem);
  --section: clamp(4.5rem, 9vw, 9rem);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 100%;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body, h1, h2, h3, p { margin: 0; }
body { line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #29899f; outline-offset: 5px; }
.wrap { width: min(var(--width), calc(100% - var(--side) * 2)); margin-inline: auto; }
.section { padding-block: var(--section); }
h1, h2, h3 { line-height: 1.06; font-weight: 600; letter-spacing: -.055em; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 5.3vw, 5.15rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.9rem); letter-spacing: -.045em; }
p + p { margin-top: 1rem; }
.eyebrow {
  font-size: .875rem;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 1.4rem;
}
.accent { color: var(--accent); }
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 10; background: white; color: var(--navy); padding: .65rem 1rem; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 5; top: 0; background: #fff; color: var(--ink); border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 80px; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: clamp(10rem, 20vw, 13.5rem); height: auto; }
.footer-brand { position: relative; }
.footer-logo-filter { position: absolute; }
.footer-brand img { clip-path: inset(0 77.5% 0 0); }
.footer-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/oceanis-logo.png") center / 100% auto no-repeat;
  clip-path: inset(0 0 0 22.5%);
  filter: url(#footer-logo-white);
  pointer-events: none;
}
nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.65rem); }
nav a { font-size: .94rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
nav a:hover { color: var(--accent); }
.nav-actions, .nav-socials { display: flex; align-items: center; }
.nav-actions { gap: clamp(.55rem, 1.4vw, 1.15rem); }
.nav-socials { gap: .2rem; }
.nav-socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.nav-socials a:hover { background: #eaf0ee; }
.nav-contact, .menu-toggle { border: 1px solid #aabbbb; padding: .58rem 1.2rem; border-radius: 3rem; }
.nav-contact:hover, .menu-toggle:hover { border-color: var(--accent); }
.menu-toggle { display: none; font: inherit; font-size: .875rem; color: var(--ink); background: transparent; cursor: pointer; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(610px, 74svh, 830px); background: var(--navy); color: white; overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 63%; z-index: -2; filter: saturate(.82); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #08162096 0%, #0816206b 34%, #08162036 61%, transparent 100%), linear-gradient(0deg, #08162022, transparent 43%); }
.hero-inner { padding-block: clamp(3.75rem, 6vw, 6.5rem); }
.perspective .eyebrow, .contact .eyebrow { color: var(--mist); }
.hero h1 { font-size: clamp(3.5rem, 6vw, 6.2rem); max-width: 19ch; text-wrap: initial; line-height: .99; text-shadow: 0 2px 12px #08162079; }
.hero h1 em { display: block; font-style: normal; color: #c9edf2; }
.hero-copy { max-width: 47ch; margin-top: 1.7rem; color: #f1f7f9; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.5; text-shadow: 0 1px 8px #081620a3; }
.button { display: inline-flex; min-height: 50px; justify-content: center; align-items: center; border-radius: 3rem; padding: .8rem 1.4rem; font-size: .95rem; font-weight: 700; text-decoration: none; transition: background-color .2s; }
.button-light { background: #e0f1f2; color: #132a35; }
.button-light:hover { background: white; }
.contact .button { margin-top: 2rem; }
.intro-grid { display: grid; grid-template-columns: 1.35fr .75fr; gap: clamp(2rem, 9vw, 9rem); align-items: end; }
.intro-text { font-size: clamp(1.05rem, 1.5vw, 1.23rem); color: var(--muted); }
.text-link { display: inline-block; text-decoration-thickness: 1px; text-underline-offset: .38em; font-weight: 700; color: var(--accent); }
.text-link:hover { text-decoration-thickness: 2px; }
.trust-list-title { margin-top: 1.5rem; color: var(--ink); }
.trust-list { list-style: none; padding: 0; margin: .65rem 0 0; }
.trust-list li + li { margin-top: .4rem; }
.services { background: #eaf0ee; }
.services-grid { display: grid; grid-template-columns: .92fr 1fr; gap: clamp(2rem, 9vw, 9rem); }
.services-grid h2 + .eyebrow { margin-block: 1.15rem 0; }
.services-grid > div:first-child > p:not(.eyebrow) { font-size: 1.13rem; max-width: 42ch; margin-top: 1rem; color: var(--muted); }
.service-list article { border-top: 1px solid #b8c7c7; padding-block: 1.35rem; }
.service-list article:last-child { border-bottom: 1px solid #b8c7c7; }
.service-list p, .case-grid p, .work-grid article > p:last-child, .team-grid article > p:last-child, .why-grid p { color: var(--muted); margin-top: .65rem; }
.perspective { background: #183344; color: #fff; padding-block: clamp(3.5rem, 6.5vw, 6.5rem); }
.perspective-inner { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(2rem, 8vw, 7rem); align-items: end; }
.perspective h2 { font-size: clamp(2.5rem, 4.75vw, 4.75rem); }
.perspective-inner > div:last-child { color: #dbe9ee; font-size: 1.06rem; }
.projects { background: #fff; }
.case-title { font-size: clamp(2rem, 4.35vw, 4.75rem); }
.feature { display: grid; grid-template-columns: 1.35fr 1fr; margin-top: 2.3rem; background: #edf2f1; }
.feature-image { width: 100%; height: 100%; min-height: 330px; aspect-ratio: 1024 / 614; object-fit: cover; object-position: 30% center; }
.feature-copy { align-self: center; padding: clamp(1.5rem, 4vw, 4rem); }
.feature-copy h3 { font-size: clamp(1.75rem, 3vw, 3.25rem); }
.feature-copy p { color: var(--muted); margin-top: 1rem; }
.case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.15rem, 3vw, 2.5rem); margin-top: 2.8rem; }
.case-grid article, .why-grid article { border-top: 1px solid var(--rule); padding-top: 1.15rem; }
.case-grid h3 { font-size: clamp(1.15rem, 1.7vw, 1.55rem); }
.more-work { margin-top: var(--section); }
.work-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.work-intro p { margin-top: 1rem; color: var(--muted); }
.work-grid, .team-grid, .why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.3rem, 3vw, 3rem); margin-top: 2.5rem; }
.work-image { display: grid; place-items: center; aspect-ratio: 1.48; background: #edf0ee; overflow: hidden; }
.work-image img { width: 100%; height: 100%; object-fit: cover; }
.work-vida img { width: 61%; height: auto; aspect-ratio: 1; border-radius: 50%; }
.work-grid .eyebrow { margin: 1.2rem 0 .8rem; min-height: 2.8em; }
.why { background: #eaf0ee; }
.why-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1.4rem clamp(2rem, 5vw, 5rem); align-items: start; }
.why-intro > .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.why h2 { max-width: 18ch; }
.why-wave { width: min(100%, 24rem); height: auto; aspect-ratio: 1; object-fit: cover; object-position: 64% center; justify-self: center; }
.team { background: var(--paper); }
.team-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.team-intro > div { display: grid; align-content: center; padding: clamp(1.5rem, 3.6vw, 3.5rem); }
.team-intro > div:first-child { background: #183344; color: #fff; }
.team-intro > div:first-child .eyebrow { color: var(--mist); }
.team-intro h2 { font-size: clamp(2.15rem, 4.5vw, 4.65rem); }
.team-intro .intro-text { background: #e4edec; }
.team-grid img { width: 100%; height: auto; aspect-ratio: 1.13; object-fit: cover; }
.portrait-carlota { object-position: 50% 36%; }
.portrait-laura { object-position: 50% 28%; }
.portrait-alfredo { object-position: 50% 48%; }
.team-grid h3 { margin-top: 1.2rem; }
.role { color: var(--accent); font-weight: 700; margin-top: .45rem; }
.clients { margin-top: clamp(4rem, 8vw, 7rem); }
.clients h2 { font-size: clamp(2.1rem, 4vw, 3.9rem); max-width: 19ch; }
.client-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; margin: 1.8rem 0 0; }
.client-list li { border-top: 1px solid var(--rule); min-height: 96px; display: grid; place-items: center; padding: .8rem 1rem; }
.client-list img { width: min(100%, 10rem); height: 3.1rem; object-fit: contain; }
.client-list .logo-gaes { mix-blend-mode: darken; }
.contact { background: var(--navy); color: white; }
.contact-inner { display: grid; grid-template-columns: 1fr .7fr; gap: clamp(2.5rem, 10vw, 11rem); align-items: center; padding-block: clamp(3.6rem, 7vw, 7rem); }
.contact-inner p:not(.eyebrow) { margin-top: 1.3rem; font-size: 1.12rem; color: #dce9ee; max-width: 44ch; }
.contact-inner .contact-invite { color: var(--mist); font-weight: 700; }
.contact-invite + .email { margin-top: 1rem; }
.contact-inner img { width: 100%; height: clamp(275px, 34vw, 445px); object-fit: cover; object-position: center 58%; filter: saturate(.75); }
.contact-photo { margin: 0; }
.contact-photo figcaption { margin-top: .8rem; color: #dce9ee; font-size: .95rem; }
.email { max-width: 100%; overflow-wrap: anywhere; }
.site-footer { color: #dce9ee; background: var(--navy); border-top: 1px solid #ffffff30; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.6rem; font-size: .9rem; }
.footer-inner .text-link { color: var(--mist); }
@media (max-width: 900px) {
  .intro-grid, .services-grid, .perspective-inner { gap: 2.35rem; }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { grid-template-columns: 1.15fr 1fr; }
}
@media (max-width: 780px) {
  .header-inner { min-height: 67px; }
  .menu-toggle { display: inline-flex; }
  nav { display: none; position: absolute; inset: 100% 0 auto; padding: 1.2rem var(--side) 1.45rem; background: #fff; border-bottom: 1px solid var(--rule); }
  nav.open { display: grid; justify-items: start; gap: 1rem; }
  nav a { font-size: 1rem; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 5rem; }
  .hero { min-height: 600px; }
  .hero-image { object-position: 54% center; }
  .hero::before { background: linear-gradient(90deg, #08162099, #0816206e 65%, #08162045); }
  .hero h1 { font-size: clamp(2.75rem, 8.5vw, 4.4rem); }
  .intro-grid, .services-grid, .perspective-inner, .feature, .work-grid, .team-intro, .team-grid, .why-grid, .contact-inner { grid-template-columns: 1fr; }
  .intro-grid, .services-grid, .perspective-inner { gap: 1.45rem; }
  .why-intro { grid-template-columns: 1fr; gap: 1.75rem; }
  .why-wave { justify-self: start; }
  .work-grid, .team-grid { gap: 2.5rem; }
  .work-grid .eyebrow { min-height: 0; }
  .feature-image { height: auto; min-height: 0; aspect-ratio: 1.65; }
  .team-grid img { max-height: 28rem; }
  .client-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-list li { min-height: 80px; }
  .contact-inner img { height: 270px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 2.5rem; }
  .case-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
