/* Gatos Consulting site: one small design system (navy and aqua, the platform's colours). Dark first, with light bands. No framework. */
@font-face { font-family: Inter; font-weight: 400; font-style: normal; font-display: swap; src: url(../assets/fonts/inter-400.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 500; font-style: normal; font-display: swap; src: url(../assets/fonts/inter-500.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-style: normal; font-display: swap; src: url(../assets/fonts/inter-600.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 700; font-style: normal; font-display: swap; src: url(../assets/fonts/inter-700.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 800; font-style: normal; font-display: swap; src: url(../assets/fonts/inter-800.woff2) format('woff2'); }
@font-face { font-family: 'Inter Fallback'; src: local(Arial); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; }

:root {
  --navy: #0A3D62; --navy-900: #031422; --navy-850: #041a2c; --navy-800: #06233b; --navy-700: #0a2f4d;
  --aqua: #3FC1C9; --aqua-300: #86dde2; --aqua-700: #0d6a74;
  --paper: #f3f8fb; --paper-2: #e6f0f6; --ink: #0b2a3f;
  --fg: #e8f4fa; --muted: #a4bfce; --line: rgba(255, 255, 255, .13); --card: rgba(255, 255, 255, .045);
  --radius: 12px; --radius-sm: 8px; --shadow: 0 30px 80px -24px rgba(0, 0, 0, .6);
  --font: Inter, 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px); --hdr: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--navy-900); }
body { margin: 0; font-family: var(--font); background: var(--navy-900); color: var(--fg); line-height: 1.6; font-size: 1rem; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { max-width: 100%; display: block; } img { height: auto; }
a { color: var(--aqua); text-decoration: none; } a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #fff; color: #031422; padding: 10px 16px; border-radius: 8px; font-weight: 600; } .skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* type */
.eyebrow { margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--aqua); }
.display { margin: 0; font-size: clamp(2.5rem, 7.2vw, 5.4rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; text-wrap: balance; }
.h1 { margin: 0; font-size: clamp(2.2rem, 5.6vw, 4rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.h2 { margin: 0; font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1.07; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
.h3 { margin: 0 0 8px; font-size: 1.2rem; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.lead { margin: 22px 0 0; font-size: clamp(1.08rem, 1.7vw, 1.35rem); line-height: 1.5; color: var(--muted); max-width: 40em; text-wrap: pretty; }
.grad { background: linear-gradient(100deg, var(--aqua) 10%, #bff3f6 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
p { margin: 0 0 1em; text-wrap: pretty; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: var(--radius); border: 1px solid transparent; font: 600 1rem/1 var(--font); cursor: pointer; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; text-decoration: none !important; min-height: 48px; }
.btn.primary { background: var(--aqua); color: #04202f; box-shadow: 0 10px 30px -10px rgba(63, 193, 201, .7); } .btn.primary:hover { background: #5bd0d7; transform: translateY(-1px); }
.btn.ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .04); } .btn.ghost:hover { border-color: var(--aqua); background: rgba(63, 193, 201, .1); }
.btn.dark { background: var(--navy); color: #fff; } .btn.dark:hover { background: #0d4a78; }
.btn.sm { min-height: 38px; padding: .55em 1.05em; font-size: .9rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(3, 20, 34, .78); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: var(--hdr); }
.brand img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { color: #cfe3ee; font-size: .92rem; font-weight: 500; white-space: nowrap; } .nav-links a:hover, .nav-links a[aria-current] { color: #fff; text-decoration: none; }
.nav-links a[aria-current] { box-shadow: 0 2px 0 var(--aqua); padding-bottom: 4px; }
.nav-links .btn { color: #04202f; } .nav-links .btn:hover { color: #04202f; }
/* the sections of the NautiQA page: a menu under "NautiQA" in this one header (opens on hover with a mouse, on a click of the arrow, and from the keyboard) */
.has-sub { position: relative; display: flex; align-items: center; gap: 3px; }
.sub-toggle { width: 26px; height: 26px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #cfe3ee; cursor: pointer; } .sub-toggle:hover { color: #fff; background: rgba(255, 255, 255, .09); }
.sub-toggle svg { width: 12px; height: 8px; max-width: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; } .has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.sub { display: none; position: absolute; left: 50%; top: calc(100% + 19px); transform: translateX(-50%); z-index: 110; grid-template-columns: 1fr 1fr; gap: 2px 8px; width: max-content; min-width: 340px; padding: 10px; background: rgba(3, 20, 34, .98); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; box-shadow: 0 28px 60px -14px rgba(0, 0, 0, .65); }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.has-sub.open .sub { display: grid; }
@media (hover: hover) and (min-width: 941px) { .has-sub:hover .sub { display: grid; } }
.nav-links .sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .9rem; color: #cfe3ee; box-shadow: none; } .nav-links .sub a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-links .sub a.on, .nav-links .sub a[aria-current] { color: #04202f; background: var(--aqua); box-shadow: none; padding-bottom: 9px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; place-items: center; }
.burger span { display: block; width: 20px; height: 2px; background: #fff; margin: 3px auto; border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); } .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; } .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 940px) {
  .burger { display: grid; }
  .nav-links { position: absolute; left: 0; right: 0; top: var(--hdr); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 22px; background: rgba(3, 20, 34, .98); border-bottom: 1px solid var(--line); display: none; margin: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 15px 2px; font-size: 1.05rem; border-bottom: 1px solid var(--line); } .nav-links a[aria-current] { box-shadow: none; color: var(--aqua); }
  .nav-links .btn { margin-top: 16px; border-bottom: 0; }
  .has-sub { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); } .has-sub > a { flex: 1; border-bottom: 0; }
  .sub-toggle { width: 46px; height: 46px; }
  .sub { position: static; transform: none; flex-basis: 100%; width: auto; min-width: 0; padding: 0 0 12px 14px; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .sub::before { display: none; }
  .nav-links .sub a { padding: 11px 6px; font-size: 1rem; border-bottom: 0; }
}

/* sections and tones */
section { position: relative; }
.pad { padding: clamp(64px, 9vw, 120px) 0; }
.tone-deep { background: radial-gradient(1100px 520px at 85% -10%, rgba(63, 193, 201, .14), transparent 62%), linear-gradient(180deg, var(--navy-850), var(--navy-800)); }
.tone-navy { background: linear-gradient(180deg, var(--navy-800), #0a3558 140%); }
.tone-light { background: var(--paper); color: var(--ink); --fg: var(--ink); --muted: #4b6b80; --line: rgba(10, 61, 98, .16); --card: #fff; }
.tone-light .eyebrow { color: var(--aqua-700); } .tone-light a:not(.btn) { color: #0a6e78; } .tone-light .grad { background: linear-gradient(100deg, #1b8a93, #0A3D62); -webkit-background-clip: text; background-clip: text; }
.tone-light .btn.ghost { color: var(--navy); border-color: rgba(10, 61, 98, .35); background: transparent; } .tone-light .btn.ghost:hover { background: rgba(10, 61, 98, .06); border-color: var(--navy); }
.sec-head { max-width: 46em; margin-bottom: clamp(28px, 5vw, 56px); } .sec-head.center { margin-inline: auto; text-align: center; } .sec-head.center .lead { margin-inline: auto; }

/* cards, grids */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; } .grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; } .grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .grid3, .grid4 { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 640px) { .grid3, .grid2, .grid4 { grid-template-columns: 1fr; } }
/* the "How we work" row (Home, About) and the two-column blocks (the NautiQA teaser on Home, "Who we are" on About): they were inline styles with no small-screen rule, so on a phone the row pushed the page wider than the screen. Now they stack. */
.chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 560px) { .chain { grid-template-columns: minmax(0, 1fr); } }
.split { display: grid; gap: clamp(28px, 5vw, 72px); } .split.teaser { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; } .split.about { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
@media (max-width: 860px) { .split.teaser, .split.about { grid-template-columns: minmax(0, 1fr); } }
.card { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); } .card p { color: var(--muted); margin: 0; } .card p + p { margin-top: .7em; }
.card .kick { display: block; margin-bottom: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); } .tone-light .card .kick { color: var(--aqua-700); }
.card ul { margin: 10px 0 0; padding-left: 1.15em; color: var(--muted); } .card li + li { margin-top: .35em; }
.ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(63, 193, 201, .14); color: var(--aqua); margin-bottom: 16px; } .tone-light .ico { background: rgba(10, 61, 98, .08); color: var(--navy); }
.ico svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* the video window */
.clip { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: var(--navy-800); border: 1px solid rgba(63, 193, 201, .3); box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .03) inset; aspect-ratio: 16 / 9; isolation: isolate; }
.clip .poster, .clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip video { opacity: 0; transition: opacity .5s; } .clip.playing video { opacity: 1; }
.clip .pp { position: absolute; right: 12px; top: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 10px; background: rgba(3, 20, 34, .78); border: 1px solid rgba(255, 255, 255, .35); color: #fff; cursor: pointer; display: grid; place-items: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.clip .pp:hover { border-color: var(--aqua); } .clip .pp svg { width: 18px; height: 18px; fill: currentColor; } .clip .pp .i-play { display: none; } .clip.paused .pp .i-play { display: block; } .clip.paused .pp .i-pause { display: none; }
/* the Sound on button (the hero film only): next to the pause button, aqua while the sound is on */
.clip .snd { position: absolute; right: 64px; top: 12px; z-index: 3; height: 44px; padding: 0 16px 0 12px; border-radius: 10px; background: rgba(3, 20, 34, .78); border: 1px solid rgba(255, 255, 255, .35); color: #fff; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font: 600 .88rem/1 var(--font); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s, border-color .2s, color .2s; }
.clip .snd:hover { border-color: var(--aqua); } .clip .snd svg { width: 22px; height: 22px; flex: none; } .clip .snd .f { fill: currentColor; stroke: none; } .clip .snd .s { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.clip .snd .i-snd-on { display: none; } .clip.sound .snd .i-snd-on { display: block; } .clip.sound .snd .i-snd-off { display: none; }
.clip .snd[aria-pressed="true"] { background: var(--aqua); border-color: var(--aqua); color: #04202f; }
.clip .snd[aria-pressed="false"] { animation: sndHint 2.4s ease-in-out 1.6s 3; } @keyframes sndHint { 0%, 100% { box-shadow: 0 0 0 0 rgba(63, 193, 201, 0); } 50% { box-shadow: 0 0 0 7px rgba(63, 193, 201, .32); } }
.no-js .clip .snd { display: none; }
@media (max-width: 420px) { .clip .snd { right: 60px; top: 8px; height: 40px; padding: 0 12px 0 9px; font-size: .82rem; } .clip .pp { right: 8px; top: 8px; width: 40px; height: 40px; } }
.clip .tag { position: absolute; left: 12px; top: 12px; z-index: 3; padding: 5px 11px; border-radius: 6px; background: rgba(3, 20, 34, .82); border: 1px solid rgba(255, 255, 255, .3); color: #e8f4fa; font-size: .74rem; font-weight: 600; letter-spacing: .02em; }
.tone-light .clip { box-shadow: 0 40px 90px -30px rgba(3, 20, 34, .55), 0 0 0 1px rgba(10, 61, 98, .1); }
.note { margin: 12px 2px 0; font-size: .8rem; color: var(--muted); }

/* reveal on scroll (off without script and with reduced motion) */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); } .js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); } .faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 1.12rem; font-weight: 600; } .faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 14px; height: 14px; border-right: 2px solid var(--aqua); border-bottom: 2px solid var(--aqua); transform: rotate(45deg); transition: transform .25s; margin-right: 4px; } .faq details[open] summary::after { transform: rotate(-135deg); }
.faq .ans { padding: 0 0 24px; color: var(--muted); max-width: 52em; } .faq .ans p:last-child { margin-bottom: 0; }

/* forms */
.form { display: grid; gap: 16px; } .form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } @media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; margin-bottom: 6px; font-size: .86rem; font-weight: 600; color: #cfe3ee; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; min-height: 48px; }
.form textarea { min-height: 110px; resize: vertical; } .form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(63, 193, 201, .25); }
.form option { color: #031422; } .form .hidden-field { display: none; } .form-note { font-size: .86rem; color: var(--muted); margin: 0; }

/* prose (legal pages) */
.pg-hero { padding: clamp(56px, 8vw, 100px) 0 24px; } .pg-sec { padding: 24px 0 clamp(48px, 6vw, 80px); }
.prose { max-width: 74ch; } .prose h2 { font-size: 1.4rem; margin: 2em 0 .5em; letter-spacing: -.01em; } .prose p, .prose li { color: #cfe3ee; line-height: 1.75; } .prose ul { padding-left: 1.2em; }
.draft { padding: 14px 16px; border-radius: 10px; background: rgba(245, 158, 11, .12); border: 1px dashed #f59e0b; color: #fcd34d !important; font-size: .92rem; }
.fill-in { padding: 1px 7px; border-radius: 6px; background: rgba(245, 158, 11, .15); color: #fcd34d; border: 1px dashed #f59e0b; font-size: .92em; }

/* footer */
.site-footer { background: #020e18; border-top: 1px solid var(--line); padding: 56px 0 30px; color: #9db8c8; font-size: .92rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; } @media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .foot { grid-template-columns: 1fr; } }
.foot h2 { margin: 0 0 14px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; } .foot a { display: block; color: #9db8c8; padding: 5px 0; } .foot a:hover { color: #fff; }
.foot img { height: 44px; width: auto; margin-bottom: 16px; } .foot p { margin: 0 0 8px; }
.fine { margin: 38px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: .82rem; color: #7f9db0; max-width: 80ch; }

/* waves */
.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 84px; overflow: hidden; pointer-events: none; z-index: 0; }
.waves svg { width: 200%; max-width: none; height: 100%; animation: wave 16s linear infinite; }       /* max-width: none, or the rule for every svg (max-width: 100%) keeps the wave half as wide as it should be, and the animation then pulls it away from the right edge */ .waves path { fill: none; stroke: var(--aqua); stroke-width: 2; opacity: .55; } .waves path:nth-child(2) { opacity: .3; } .waves path:nth-child(3) { opacity: .16; }
@keyframes wave { to { transform: translateX(-50%); } }
/* the closing call to action */
.final { position: relative; padding: clamp(72px, 10vw, 130px) 0 clamp(110px, 13vw, 170px); overflow: hidden; background: radial-gradient(900px 480px at 80% 0%, rgba(63, 193, 201, .22), transparent 62%), linear-gradient(180deg, var(--navy-800), #0a3558); }
.final .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; position: relative; z-index: 1; } @media (max-width: 860px) { .final .grid { grid-template-columns: 1fr; } }
.final .panel { padding: 26px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(3, 20, 34, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.final ul.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; } .final ul.ticks li { padding-left: 30px; position: relative; color: #cfe3ee; }
.final ul.ticks li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--aqua); border-bottom: 2px solid var(--aqua); transform: rotate(-45deg); }
