@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&family=Sora:wght@500;600;700&display=swap");

:root {
  --atlantic-950: #061826;
  --atlantic-900: #0a2235;
  --atlantic-800: #12344a;
  --slate-700: #36576a;
  --slate-500: #698392;
  --slate-300: #b7c8d1;
  --cloud-100: #e8f0f4;
  --cloud-50: #f5f8fa;
  --white: #ffffff;
  --radar: #45c7e8;
  --radar-deep: #087f9e;
  --heat: #ff6b4a;
  --sun: #ffc857;
  --success: #3fd29c;
  --border: rgba(10, 34, 53, 0.14);
  --shadow-sm: 0 12px 36px rgba(6, 24, 38, 0.08);
  --shadow-lg: 0 28px 80px rgba(6, 24, 38, 0.16);
  --radius-sm: 0.65rem;
  --radius-md: 1.1rem;
  --radius-lg: 1.75rem;
  --max-width: 1180px;
  --header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

html[data-language="es"].js:not(.i18n-ready) body {
  visibility: hidden;
}

body {
  margin: 0;
  color: var(--atlantic-950);
  background: var(--cloud-50);
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(10, 34, 53, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 34, 53, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.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;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  color: var(--atlantic-950);
  background: rgba(69, 199, 232, 0.35);
}

:focus-visible {
  outline: 3px solid var(--heat);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--atlantic-950);
  border-radius: var(--radius-sm);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2.5rem), var(--max-width));
  margin-inline: auto;
}

.section {
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.section--white {
  background: var(--white);
}

.section--dark {
  color: var(--white);
  background: var(--atlantic-950);
}

.section--tight {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(18rem, 0.52fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading--single {
  display: block;
  max-width: 760px;
}

.section-heading p {
  margin: 0;
  color: var(--slate-700);
  font-size: 1.05rem;
}

.section--dark .section-heading p {
  color: var(--slate-300);
}

.eyebrow,
.mono-label,
.meta,
.chip,
.filter-button,
.signal-label {
  font-family: "IBM Plex Mono", monospace;
}

.eyebrow {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin: 0 0 1rem;
  color: var(--radar-deep);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.9rem;
  height: 2px;
  content: "";
  background: currentColor;
}

.section--dark .eyebrow {
  color: var(--radar);
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: inherit;
  font-family: "Sora", sans-serif;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 7.2vw, 6.4rem);
}

h2 {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4.5vw, 4.2rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.text-balance {
  text-wrap: balance;
}

.accent {
  color: var(--radar-deep);
}

.section--dark .accent {
  color: var(--radar);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: var(--atlantic-950);
  border-bottom: 1px solid transparent;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(245, 248, 250, 0.93);
  border-color: var(--border);
  box-shadow: 0 8px 30px rgba(6, 24, 38, 0.06);
  backdrop-filter: blur(18px);
}

.site-nav {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  color: var(--atlantic-950);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: var(--atlantic-950);
  background:
    radial-gradient(circle at 70% 30%, var(--heat) 0 11%, transparent 12%),
    linear-gradient(135deg, var(--radar), var(--cloud-100));
  border: 1px solid rgba(6, 24, 38, 0.18);
  border-radius: 50%;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.42);
}

.nav-links {
  display: flex;
  gap: 0.2rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.91rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(69, 199, 232, 0.14);
}

.nav-links .nav-cta {
  margin-left: 0.35rem;
  color: var(--white);
  background: var(--atlantic-950);
}

.nav-links .nav-cta:hover {
  color: var(--atlantic-950);
  background: var(--radar);
}

.language-menu-item {
  display: flex;
  align-items: center;
  margin-left: 0.25rem;
}

.language-switcher {
  display: inline-flex;
  padding: 0.18rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.language-switcher button {
  display: grid;
  width: 2rem;
  height: 2rem;
  padding: 0;
  place-items: center;
  color: var(--slate-500);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  font-weight: 500;
}

.language-switcher button:hover {
  color: var(--atlantic-950);
}

.language-switcher button[aria-pressed="true"] {
  color: var(--white);
  background: var(--atlantic-950);
}

.standalone-language {
  position: fixed;
  z-index: 10;
  top: 1rem;
  right: 1rem;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 160ms ease;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.1rem;
  color: var(--white);
  background: var(--atlantic-950);
  border: 1px solid var(--atlantic-950);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  color: var(--atlantic-950);
  background: var(--radar);
  border-color: var(--radar);
  transform: translateY(-2px);
}

.button--secondary {
  color: var(--atlantic-950);
  background: transparent;
  border-color: var(--border);
}

.button--secondary:hover {
  border-color: var(--atlantic-950);
  background: var(--white);
}

.section--dark .button {
  color: var(--atlantic-950);
  background: var(--radar);
  border-color: var(--radar);
}

.section--dark .button:hover {
  background: var(--white);
  border-color: var(--white);
}

.section--dark .button--secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
}

.text-link {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link::after {
  content: "↗";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translate(2px, -2px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  padding: calc(var(--header-height) + 4rem) 0 4rem;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: -20rem;
  right: -20rem;
  width: 54rem;
  height: 54rem;
  content: "";
  background: radial-gradient(circle, rgba(69, 199, 232, 0.2), transparent 68%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(24rem, 0.8fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-lead {
  max-width: 640px;
  margin: 0 0 2rem;
  color: var(--slate-700);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.65;
}

.availability {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  margin: 0 0 1.5rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.availability::before {
  width: 0.55rem;
  height: 0.55rem;
  content: "";
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(63, 210, 156, 0.15);
}

.hero-note {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 2rem;
  color: var(--slate-500);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
}

.hero-note::before {
  width: 2rem;
  height: 1px;
  content: "";
  background: var(--slate-300);
}

.telemetry {
  position: relative;
  min-height: 570px;
  padding: 1.1rem;
  color: var(--white);
  background: var(--atlantic-950);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.telemetry::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(69, 199, 232, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 199, 232, 0.16) 1px, transparent 1px);
  background-size: 36px 36px;
}

.telemetry-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.2rem 0.9rem;
  color: var(--slate-300);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.telemetry-status {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
}

.telemetry-status::before {
  width: 0.48rem;
  height: 0.48rem;
  content: "";
  background: var(--success);
  border-radius: 50%;
}

.radar-canvas {
  position: relative;
  height: 330px;
  background:
    radial-gradient(circle at 64% 44%, rgba(255, 107, 74, 0.92) 0 3%, rgba(255, 200, 87, 0.65) 4% 9%, rgba(69, 199, 232, 0.28) 10% 19%, transparent 20%),
    radial-gradient(circle at 64% 44%, transparent 0 30%, rgba(69, 199, 232, 0.2) 30.4% 30.7%, transparent 31% 42%, rgba(69, 199, 232, 0.14) 42.4% 42.7%, transparent 43%),
    linear-gradient(145deg, rgba(18, 52, 74, 0.85), rgba(6, 24, 38, 0.55));
  border: 1px solid rgba(69, 199, 232, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.radar-canvas::before,
.radar-canvas::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(69, 199, 232, 0.35);
  border-radius: 46% 54% 39% 61%;
  transform: rotate(-18deg);
}

.radar-canvas::before {
  inset: 18% 11% 14% 25%;
}

.radar-canvas::after {
  inset: 30% 22% 26% 40%;
  border-color: rgba(255, 200, 87, 0.55);
}

.radar-coordinate {
  position: absolute;
  z-index: 2;
  color: rgba(255, 255, 255, 0.72);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
}

.radar-coordinate--top {
  top: 0.75rem;
  left: 0.8rem;
}

.radar-coordinate--bottom {
  right: 0.8rem;
  bottom: 0.7rem;
}

.radar-sweep {
  position: absolute;
  top: 44%;
  left: 64%;
  width: 44%;
  height: 1px;
  background: linear-gradient(90deg, var(--radar), transparent);
  transform-origin: left;
  animation: radar-sweep 7s linear infinite;
}

.radar-sweep::before {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--radar);
}

@keyframes radar-sweep {
  to {
    transform: rotate(360deg);
  }
}

.weather-reading {
  position: absolute;
  z-index: 3;
  top: 1rem;
  right: 1rem;
  padding: 0.72rem 0.8rem;
  background: rgba(6, 24, 38, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.weather-reading strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.4rem;
}

.weather-reading span {
  color: var(--slate-300);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  text-transform: uppercase;
}

.pipeline {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.pipeline-step {
  position: relative;
  min-height: 82px;
  padding: 0.8rem;
  background: rgba(18, 52, 74, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
}

.pipeline-step:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -0.55rem;
  width: 0.65rem;
  height: 1px;
  content: "";
  background: var(--radar);
}

.pipeline-step span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--radar);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  text-transform: uppercase;
}

.pipeline-step strong {
  font-size: 0.72rem;
  line-height: 1.35;
}

.proof-strip {
  position: relative;
  z-index: 4;
  margin-top: -1px;
  color: var(--white);
  background: var(--atlantic-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  min-height: 116px;
  padding: 1.65rem 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-list li:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-list span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--radar);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-list strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 0.97rem;
  line-height: 1.35;
}

.featured-grid {
  display: grid;
  gap: 1.3rem;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(19rem, 0.88fr);
  min-height: 480px;
  color: var(--atlantic-950);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.project-feature:nth-child(even) {
  grid-template-columns: minmax(19rem, 0.88fr) minmax(0, 1.12fr);
}

.project-feature:nth-child(even) .project-feature__visual {
  order: 2;
}

.project-feature__visual {
  position: relative;
  min-height: 430px;
  background: var(--atlantic-900);
  overflow: hidden;
}

.project-feature__visual img,
.project-feature__visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-feature:hover .project-feature__visual img {
  transform: scale(1.025);
}

.project-feature__visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(135deg, transparent 40%, rgba(6, 24, 38, 0.38));
}

.visual-badge {
  position: absolute;
  z-index: 3;
  top: 1rem;
  left: 1rem;
  padding: 0.55rem 0.72rem;
  color: var(--white);
  background: rgba(6, 24, 38, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.project-feature__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4rem);
}

.project-feature__content h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.project-feature__content > p {
  margin: 0 0 1.4rem;
  color: var(--slate-700);
}

.project-kicker {
  margin: 0 0 0.85rem;
  color: var(--radar-deep);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}

.metrics li {
  padding: 0.45rem 0.62rem;
  color: var(--atlantic-800);
  background: var(--cloud-100);
  border-radius: 0.45rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
}

.case-visual {
  position: relative;
  display: grid;
  height: 100%;
  place-items: center;
  padding: 2rem;
  background:
    linear-gradient(145deg, rgba(69, 199, 232, 0.16), transparent 55%),
    var(--atlantic-950);
  overflow: hidden;
}

.case-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.44;
  background-image:
    linear-gradient(rgba(69, 199, 232, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 199, 232, 0.18) 1px, transparent 1px);
  background-size: 34px 34px;
}

.heat-map {
  position: relative;
  z-index: 2;
  width: min(92%, 420px);
  aspect-ratio: 1.2;
  background:
    radial-gradient(circle at 70% 68%, var(--heat) 0 4%, rgba(255, 200, 87, 0.85) 5% 14%, rgba(69, 199, 232, 0.28) 15% 28%, transparent 29%),
    radial-gradient(circle at 35% 38%, rgba(69, 199, 232, 0.7), transparent 28%),
    var(--atlantic-800);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 46% 54% 58% 42% / 42% 37% 63% 58%;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  transform: rotate(-7deg);
}

.heat-map::before,
.heat-map::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: inherit;
}

.heat-map::before {
  inset: 14%;
}

.heat-map::after {
  inset: 30%;
  border-color: rgba(255, 200, 87, 0.58);
}

.heat-map-label {
  position: absolute;
  z-index: 3;
  right: 1.2rem;
  bottom: 1.2rem;
  max-width: 13rem;
  padding: 0.75rem;
  color: var(--white);
  background: rgba(6, 24, 38, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.67rem;
  backdrop-filter: blur(9px);
}

.all-projects-link {
  display: flex;
  justify-content: center;
  margin-top: 2.2rem;
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2.5rem, 7vw, 7rem);
}

.experience-intro {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  align-self: start;
}

.experience-intro p {
  color: var(--slate-700);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.5rem;
  padding: 0 0 2.7rem;
}

.timeline-item:not(:last-child)::before {
  position: absolute;
  top: 1.2rem;
  bottom: 0;
  left: 7px;
  width: 1px;
  content: "";
  background: var(--border);
}

.timeline-item::after {
  position: absolute;
  top: 0.45rem;
  left: 3px;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--radar);
  border: 2px solid var(--cloud-50);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--radar-deep);
}

.timeline-date {
  padding-left: 1.8rem;
  color: var(--slate-500);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
}

.timeline-content h3 {
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
}

.timeline-company {
  margin: 0 0 0.75rem;
  color: var(--radar-deep);
  font-size: 0.85rem;
  font-weight: 700;
}

.timeline-content > p:last-child {
  margin-bottom: 0;
  color: var(--slate-700);
}

.speaking-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  min-height: 530px;
  background: var(--atlantic-900);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.speaking-teaser__image {
  position: relative;
  min-height: 460px;
}

.speaking-teaser__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.speaking-teaser__image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent 50%, rgba(10, 34, 53, 0.7));
}

.speaking-teaser__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.8rem);
}

.speaking-teaser__copy h3 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.speaking-teaser__copy p {
  color: var(--slate-300);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(17rem, 0.64fr) minmax(0, 1.36fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.portrait-frame {
  position: relative;
  padding: 0.8rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transform: rotate(-1.5deg);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--radius-lg) - 0.5rem);
  object-fit: cover;
  object-position: 52% center;
}

.portrait-caption {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0.25rem 0.1rem;
  color: var(--slate-500);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.63rem;
}

.about-copy h2 {
  max-width: 17ch;
  margin-bottom: 1.5rem;
}

.about-copy > p {
  color: var(--slate-700);
  font-size: 1.05rem;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.chip {
  padding: 0.42rem 0.62rem;
  color: var(--atlantic-800);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.67rem;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  color: var(--white);
  background:
    radial-gradient(circle at 85% 10%, rgba(69, 199, 232, 0.22), transparent 34%),
    var(--atlantic-950);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contact-panel h2 {
  max-width: 16ch;
  margin-bottom: 1rem;
}

.contact-panel p {
  max-width: 650px;
  margin: 0;
  color: var(--slate-300);
}

.contact-panel .button--secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
}

.contact-panel .button--secondary:hover {
  color: var(--atlantic-950);
  background: var(--white);
  border-color: var(--white);
}

.footer {
  padding: 2.2rem 0;
  color: var(--slate-500);
  background: var(--cloud-50);
  border-top: 1px solid var(--border);
}

.footer-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer p {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.page-hero {
  position: relative;
  padding: calc(var(--header-height) + 5rem) 0 5rem;
  overflow: hidden;
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  top: 2rem;
  right: -9rem;
  width: 32rem;
  height: 32rem;
  content: "";
  background: radial-gradient(circle, rgba(69, 199, 232, 0.2), transparent 66%);
}

.page-hero h1 {
  max-width: 15ch;
  font-size: clamp(3rem, 7vw, 6.2rem);
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--slate-700);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.archive-intro {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.archive-intro p {
  margin: 0;
  color: var(--slate-700);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem;
}

.filter-button {
  min-height: 42px;
  padding: 0.55rem 0.8rem;
  color: var(--slate-700);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.67rem;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--white);
  background: var(--atlantic-950);
  border-color: var(--atlantic-950);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  position: relative;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 28px rgba(6, 24, 38, 0.045);
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.project-card:hover {
  border-color: rgba(8, 127, 158, 0.45);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.project-card[hidden] {
  display: none;
}

.project-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.3rem;
}

.project-glyph {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: var(--atlantic-950);
  background:
    radial-gradient(circle at 70% 35%, var(--heat) 0 10%, transparent 11%),
    linear-gradient(145deg, rgba(69, 199, 232, 0.8), var(--cloud-100));
  border-radius: 45% 55% 38% 62% / 49% 42% 58% 51%;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  font-weight: 500;
}

.project-card .meta {
  color: var(--slate-500);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.project-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.project-card p {
  margin: 0 0 1.2rem;
  color: var(--slate-700);
  font-size: 0.91rem;
}

.project-card .skills {
  margin: auto 0 1.1rem;
}

.project-card .chip {
  padding: 0.32rem 0.45rem;
  font-size: 0.58rem;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.card-actions a {
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.card-actions a:hover {
  color: var(--radar-deep);
}

.case-study {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  border-top: 1px solid var(--border);
}

.case-study__aside {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.case-study__aside img,
.case-study__aside video,
.case-study__aside .case-visual {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.case-study__aside .case-visual {
  min-height: 0;
}

.case-study__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.signal {
  padding: 0.8rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.signal-label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--slate-500);
  font-size: 0.58rem;
  text-transform: uppercase;
}

.signal strong {
  font-size: 0.83rem;
}

.case-study__copy h2 {
  max-width: 18ch;
  margin-bottom: 1.3rem;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.case-study__lead {
  margin-bottom: 2rem;
  color: var(--slate-700);
  font-size: 1.1rem;
}

.case-section {
  padding: 1.6rem 0;
  border-top: 1px solid var(--border);
}

.case-section h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.case-section p {
  margin: 0;
  color: var(--slate-700);
}

.case-section ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--slate-700);
}

.case-actions {
  margin-top: 2rem;
}

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.speaker-card {
  display: grid;
  grid-template-columns: 12rem 1fr;
  min-height: 270px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.speaker-card__image {
  position: relative;
  min-height: 100%;
  background: var(--atlantic-900);
}

.speaker-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-card__body {
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
}

.speaker-card__body h3 {
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
}

.speaker-card__body p {
  margin: 0 0 1rem;
  color: var(--slate-700);
  font-size: 0.87rem;
}

.speaker-card__body .meta {
  margin-bottom: 0.65rem;
  color: var(--radar-deep);
  font-size: 0.6rem;
  text-transform: uppercase;
}

.speaker-card__body .card-actions {
  margin-top: auto;
}

.publication-list {
  display: grid;
  gap: 0.8rem;
}

.publication {
  display: grid;
  grid-template-columns: 9rem 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.publication .meta {
  color: var(--radar-deep);
  font-size: 0.63rem;
  text-transform: uppercase;
}

.publication h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.publication p {
  margin: 0;
  color: var(--slate-700);
  font-size: 0.82rem;
}

.publication .button {
  min-height: 42px;
  padding: 0.55rem 0.8rem;
  font-size: 0.76rem;
}

.note {
  padding: 1rem 1.1rem;
  color: var(--atlantic-800);
  background: rgba(69, 199, 232, 0.11);
  border-left: 3px solid var(--radar-deep);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.86rem;
}

.note--spaced {
  margin-top: 1.25rem;
}

.text-muted-on-dark {
  color: var(--slate-300);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .hero-grid,
  .section-heading,
  .experience-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .telemetry {
    min-height: 530px;
  }

  .experience-intro {
    position: static;
  }

  .proof-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-list li:nth-child(2) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .proof-list li:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .project-feature,
  .project-feature:nth-child(even),
  .speaking-teaser,
  .case-study {
    grid-template-columns: 1fr;
  }

  .project-feature:nth-child(even) .project-feature__visual {
    order: 0;
  }

  .case-study__aside {
    position: static;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .speaker-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(calc(100% - 1.5rem), var(--max-width));
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(var(--header-height) - 1px);
    right: 0.75rem;
    left: 0.75rem;
    display: none;
    padding: 0.7rem;
    background: rgba(245, 248, 250, 0.98);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
  }

  .site-header.is-open .nav-links {
    display: grid;
  }

  .nav-links a {
    width: 100%;
    border-radius: 0.5rem;
  }

  .nav-links .nav-cta {
    margin: 0.35rem 0 0;
  }

  .language-menu-item {
    margin: 0.35rem 0;
    padding: 0.2rem 0.55rem;
  }

  .site-header.is-open .menu-button span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .site-header.is-open .menu-button span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero {
    padding-top: calc(var(--header-height) + 3rem);
  }

  .hero-grid {
    gap: 3rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .telemetry {
    min-height: 500px;
    padding: 0.8rem;
  }

  .radar-canvas {
    height: 300px;
  }

  .pipeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .pipeline-step {
    min-height: 70px;
  }

  .pipeline-step:nth-child(2)::after {
    display: none;
  }

  .proof-list {
    grid-template-columns: 1fr;
  }

  .proof-list li,
  .proof-list li:nth-child(2),
  .proof-list li:last-child {
    min-height: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .project-feature__visual {
    min-height: 300px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .timeline-date {
    padding-left: 1.8rem;
  }

  .speaking-teaser__image {
    min-height: 330px;
  }

  .contact-panel,
  .publication {
    grid-template-columns: 1fr;
  }

  .contact-panel .button-row {
    justify-content: flex-start;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .speaker-card {
    grid-template-columns: 1fr;
  }

  .speaker-card__image {
    min-height: 260px;
  }

  .publication {
    gap: 0.7rem;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .pipeline {
    gap: 0.35rem;
  }

  .pipeline-step {
    padding: 0.62rem;
  }

  .case-study__meta {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
