:root {
  --navy: #061d36;
  --navy-deep: #031426;
  --navy-soft: #0b2e51;
  --paper: #e7dbc5;
  --paper-light: #f0e6d4;
  --paper-deep: #d8c7aa;
  --ink: #101820;
  --muted: #5e5a52;
  --ink-muted: #41433f;
  --paper-copy: rgba(240, 230, 212, 0.86);
  --blue: #1468ff;
  --blue-bright: #4f8cff;
  --rust: #9b422f;
  --rust-dark: #713226;
  --green: #8abf64;
  --violet: #7763d9;
  --orange: #dc6d47;
  --line-dark: rgba(16, 24, 32, 0.32);
  --line-light: rgba(240, 230, 212, 0.24);
  --rail-width: 114px;
  --content-max: 1400px;
  --display: 'Bitter', Georgia, serif;
  --hero-display: 'Bodoni Moda', 'Times New Roman', serif;
  --sans: 'Inter', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  min-width: 0;
  overflow-x: hidden;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--blue);
  color: #fff;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-size: 1.35rem;
  font-weight: 300;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  color: #fff;
  background: var(--blue);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.site-rail {
  position: fixed;
  z-index: 100;
  inset: 0 auto 0 0;
  width: var(--rail-width);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  color: var(--paper-light);
  background: transparent;
  border-right: 1px solid var(--line-light);
  backdrop-filter: none;
}

.rail-brand-row {
  min-height: 112px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line-light);
}

.rail-brand {
  width: 72px;
  min-height: 76px;
  display: grid;
  place-items: center;
  color: var(--paper-light);
  text-decoration: none;
  position: relative;
}

.rail-brand img {
  width: 72px;
  height: 76px;
  object-fit: contain;
  transform: translateY(17px);
}

.menu-toggle {
  display: none;
}

.rail-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1rem 0.65rem 0;
}

.rail-links a {
  min-height: clamp(58px, 8.2vh, 82px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: rgba(240, 230, 212, 0.74);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  border-left: 0;
  transition: color 180ms ease, transform 180ms ease;
}

.rail-links a:hover,
.rail-links a:focus-visible,
.rail-links a.active {
  color: #fff;
  background: transparent;
  transform: translateY(-2px);
}

.rail-links a .material-symbols-rounded {
  font-size: 1.62rem;
}

.rail-footer {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.5rem 1.35rem 1.75rem;
  color: rgba(240, 230, 212, 0.78);
  font-size: 0.7rem;
  line-height: 1.65;
  text-align: left;
  letter-spacing: 0;
  border-top: 0;
}

.section,
.site-footer {
  margin-left: var(--rail-width);
}

.hero {
  position: relative;
  background: var(--navy);
}

.hero-stage {
  position: relative;
  height: 84svh;
  min-height: 720px;
  max-height: 920px;
  overflow: hidden;
  isolation: isolate;
  color: var(--paper-light);
  background: var(--navy);
}

.hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  background: var(--navy);
}

.hero-art img {
  width: calc(100% + 34px);
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.02) saturate(1.02);
  transform: none;
}

.hero-motion {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: calc(100% + 34px);
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.hero-motion-layer {
  position: absolute;
  left: 0;
  display: block;
  width: 62.5%;
  height: 62.5%;
  max-width: none;
  object-fit: fill;
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero-motion-layer.is-ready {
  opacity: var(--motion-opacity);
}

.hero-motion-clouds {
  --motion-opacity: 0.72;
  top: 0;
  width: 70%;
  -webkit-mask-image:
    linear-gradient(to bottom, #000 0%, #000 27%, transparent 43%),
    linear-gradient(to right, #000 0%, #000 60%, transparent 90%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, #000 0%, #000 27%, transparent 43%),
    linear-gradient(to right, #000 0%, #000 60%, transparent 90%);
  mask-composite: intersect;
}

.hero-motion-clouds.is-ready {
  animation: cloud-drift 10s ease-in-out infinite alternate;
}

.hero-motion-water {
  --motion-opacity: 0.62;
  top: 20.8%;
  clip-path: polygon(0 0, 68% 0, 43% 100%, 0 100%);
  -webkit-mask-image:
    linear-gradient(to right, #000 0%, #000 80%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, #000 0%, #000 80%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 88%, transparent 100%);
  mask-composite: intersect;
}

.hero-motion-water.is-ready {
  animation: water-swell 6s ease-in-out infinite;
}

@keyframes cloud-drift {
  from {
    transform: translate3d(-1.25%, 0, 0) scale(1.025);
  }

  to {
    transform: translate3d(1.25%, -0.5%, 0) scale(1.04);
  }
}

@keyframes water-swell {
  0%, 100% {
    transform: translate3d(-0.5%, 0, 0) scale(1.015);
  }

  50% {
    transform: translate3d(0.5%, -0.75%, 0) scale(1.035);
  }
}

.hero-copy {
  position: absolute;
  z-index: 3;
  top: clamp(15.3rem, 26.4svh, 16.8rem);
  left: calc(var(--rail-width) + 3.85rem);
  width: min(42vw, 620px);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.48);
}

.eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 7ch;
  color: var(--paper-light);
  width: max-content;
  font-family: var(--display);
  font-size: clamp(7.4rem, 8.9vw, 8.85rem);
  font-weight: 700;
  line-height: 0.79;
  letter-spacing: -0.065em;
  white-space: nowrap;
  color: transparent;
  background-color: var(--paper-light);
  background-image: url('assets/paper-texture.png');
  background-size: 360px 360px;
  background-blend-mode: multiply;
  background-clip: text;
  -webkit-background-clip: text;
  word-spacing: 0.09em;
  transform: scaleX(0.9);
  transform-origin: left center;
}

.hero-lead {
  max-width: 22ch;
  margin-top: 1.6rem;
  color: var(--paper-light);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.6rem, 1.82vw, 1.82rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.hero-meta {
  margin-top: 1.65rem;
  color: rgba(240, 230, 212, 0.84);
  font-size: 0.9rem;
}

.hero-meta a {
  color: var(--blue-bright);
  font-weight: 700;
  text-decoration: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.6rem;
  text-shadow: none;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.85rem 1.55rem;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(240, 230, 212, 0.48);
  border-radius: 6px;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  min-width: 242px;
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #0757dc;
  border-color: #0757dc;
}

.button-secondary {
  min-width: 139px;
  color: var(--paper-light);
  background: rgba(3, 20, 38, 0.54);
  backdrop-filter: blur(10px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--navy-deep);
  background: var(--paper-light);
  border-color: var(--paper-light);
}

.career-markers {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.career-marker {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 190px;
  padding: 0;
  color: #fff;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.career-marker:hover,
.career-marker:focus-visible,
.career-marker.is-active {
  z-index: 3;
  background: transparent;
  transform: translateY(-3px);
}

.marker-pin {
  width: 44px;
  height: 52px;
  flex: 0 0 44px;
  display: block;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.28));
}

.career-marker strong,
.career-marker small {
  display: block;
}

.career-marker strong {
  font-size: 0.8rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.career-marker small {
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  line-height: 1.2;
}

.marker-product-hunt {
  top: 19%;
  left: 52%;
}

.marker-hero {
  top: 40.8%;
  left: 51.3%;
}

.marker-products {
  top: 59.8%;
  left: 39.1%;
}

.marker-security {
  top: 72.7%;
  left: 48.8%;
}

.paper-surface {
  background-color: var(--paper);
  background-image: url('assets/paper-texture-v2.png');
  background-repeat: repeat;
  background-size: 400px 272px;
  background-blend-mode: normal;
}

.hero-paper-edge {
  position: relative;
  z-index: 5;
  height: 48px;
  margin: -12px 0 0 var(--rail-width);
  clip-path: polygon(0 9px, 7% 5px, 16% 11px, 27% 6px, 39% 12px, 51% 7px, 63% 13px, 76% 7px, 88% 12px, 100% 8px, 100% 100%, 0 100%);
}

.journey-strip {
  position: relative;
  z-index: 5;
  min-height: 176px;
  display: grid;
  grid-template-columns: minmax(300px, 0.65fr) minmax(650px, 1.7fr);
  gap: clamp(2rem, 2.9vw, 3rem);
  margin-left: var(--rail-width);
  margin-top: -12px;
  padding: 3.55rem clamp(2rem, 4vw, 4rem) 1.1rem 3.9rem;
  clip-path: polygon(0 8px, 7% 5px, 16% 11px, 27% 6px, 39% 12px, 51% 7px, 63% 13px, 76% 7px, 88% 12px, 100% 8px, 100% 100%, 0 100%);
  border-top: 0;
  border-bottom: 1px solid rgba(16, 24, 32, 0.32);
}

.journey-intro {
  display: block;
}

.journey-intro h2 {
  font-family: var(--display);
  font-size: clamp(2.35rem, 2.65vw, 2.85rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.journey-intro > p:last-child {
  max-width: 25ch;
  color: var(--muted);
  padding-top: 0.2rem;
  font-size: 0.77rem;
  line-height: 1.45;
}

.journey-steps {
  width: min(100%, 730px);
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  align-items: end;
  justify-self: start;
  list-style: none;
  transform: translate(10px, -28px);
}

.journey-steps li {
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  padding: 0 0 1.8rem;
  border-bottom: 2px solid rgba(255, 227, 170, 0.94);
  box-shadow: 0 5px 12px -8px rgba(235, 181, 82, 0.95);
}

.journey-steps li:last-child {
  border-bottom: 0;
  box-shadow: none;
}

.journey-node {
  position: absolute;
  left: -8px;
  bottom: -9px;
  z-index: 2;
  color: var(--navy-deep) !important;
  font-size: 1rem !important;
  font-variation-settings: 'FILL' 1;
  text-shadow: 0 0 0 var(--paper-light), 0 0 5px rgba(235, 181, 82, 0.7);
}

.journey-node-final {
  left: -13px;
  bottom: -14px;
  color: var(--navy) !important;
  font-size: 1.7rem !important;
}

.journey-steps strong,
.journey-steps small {
  display: block;
}

.journey-steps strong {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  transform: translateX(-10px);
}

.journey-steps small {
  margin-top: 0.16rem;
  color: var(--muted);
  font-size: 0.63rem;
  transform: translateX(-10px);
}

.section {
  padding: clamp(4.5rem, 7vw, 7rem) clamp(2rem, 6vw, 7rem);
}

.section-shell {
  width: min(100%, var(--content-max));
  margin: 0 auto;
}

.section-heading {
  max-width: 1120px;
}

.section-heading .eyebrow,
.research-heading .eyebrow,
.contact-copy .eyebrow,
.recognition .eyebrow {
  margin-bottom: 1.4rem;
  color: var(--rust);
}

.section-heading h2,
.research-heading h2,
.contact-copy h2 {
  font-family: var(--display);
  font-size: clamp(3rem, 5.5vw, 6.3rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-heading h2 em,
.research-heading h2 em {
  color: var(--blue);
  font-style: normal;
}

.about-grid {
  display: block;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.about-copy {
  max-width: 800px;
  font-family: var(--sans);
  font-size: clamp(1.08rem, 1.35vw, 1.3rem);
  line-height: 1.68;
  letter-spacing: -0.012em;
}

.about-copy p + p {
  margin-top: 1.25rem;
}

.about-note {
  max-width: 920px;
  margin-top: clamp(3rem, 5vw, 5rem);
  padding-top: 1.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.65;
  border-top: 1px solid var(--line-dark);
}

.principles {
  border-top: 1px solid var(--ink);
}

.principles > div {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-dark);
}

.principles span {
  color: var(--rust);
  font-size: 0.68rem;
  font-weight: 700;
}

.principles p {
  font-size: 0.82rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 3vw, 3rem);
  margin-top: clamp(5rem, 9vw, 9rem);
}

.metrics > div {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 1.1rem;
  border-top: 1px solid var(--ink);
}

.metrics dt {
  font-family: var(--display);
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.metrics dd {
  max-width: 180px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.recognition {
  margin-top: clamp(5rem, 9vw, 9rem);
}

.recognition h3 {
  max-width: 14ch;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.recognition-list {
  border-top: 1px solid var(--ink);
}

.recognition-list > div,
.recognition-list > a {
  display: grid;
  grid-template-columns: 4rem minmax(180px, 0.7fr) 1.3fr auto;
  gap: 1.5rem;
  align-items: center;
  min-height: 72px;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-dark);
  text-decoration: none;
}

.recognition-list > a {
  transition: color 180ms ease, padding-left 180ms ease;
}

.recognition-list > a:hover,
.recognition-list > a:focus-visible {
  color: var(--blue);
  padding-left: 0.65rem;
}

.recognition-list span:first-child {
  color: var(--ink-muted);
  font-size: 0.74rem;
  font-weight: 600;
}

.recognition-list small {
  color: var(--ink-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.recognition-list strong {
  font-size: 0.95rem;
}

.recognition-list .material-symbols-rounded {
  color: var(--blue);
  font-size: 1.1rem;
}

.work-section {
  color: var(--paper-light);
  background: var(--navy-deep);
}

.section-heading-light .eyebrow {
  color: var(--blue-bright);
}

.section-heading-light h2 {
  max-width: 11ch;
}

.work-ledger {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.work-entry {
  display: grid;
  grid-template-columns: 0.55fr 1.25fr 1.45fr auto;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  min-height: 230px;
  padding: 1.6rem 0 3rem;
  border-top: 1px solid var(--line-light);
}

.work-entry:last-child {
  border-bottom: 1px solid var(--line-light);
}

.work-index,
.work-title p {
  color: rgba(240, 230, 212, 0.74);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.work-title h3 {
  color: var(--paper-light);
  font-family: var(--display);
  font-size: clamp(3.5rem, 6.7vw, 7.4rem);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.07em;
}

.work-title h3 a {
  text-decoration: none;
}

.work-title p {
  margin-top: 1.2rem;
  line-height: 1.5;
}

.work-description {
  max-width: 52ch;
  color: var(--paper-copy);
  font-family: var(--sans);
  font-size: clamp(0.98rem, 1.18vw, 1.12rem);
  line-height: 1.68;
  letter-spacing: -0.01em;
}

.work-link {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.work-link:hover,
.work-link:focus-visible {
  background: #0757dc;
  transform: translate(2px, -2px);
}

.work-link-muted {
  color: rgba(240, 230, 212, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.projects-intro {
  display: block;
}

.projects-intro > p {
  max-width: 43ch;
  justify-self: end;
  color: var(--muted);
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.6;
}

.project-list {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--ink);
}

.project-list a {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(220px, 1.3fr) auto;
  gap: 1.5rem;
  align-items: center;
  min-height: 74px;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-dark);
  text-decoration: none;
  transition: color 180ms ease, padding-left 180ms ease;
}

.project-list a:hover,
.project-list a:focus-visible {
  color: var(--blue);
  padding-left: 0.7rem;
}

.project-list small {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-list strong {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.project-list p {
  color: var(--ink-muted);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
}

.research-section {
  color: var(--paper-light);
  background: var(--rust-dark);
}

.research-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.55fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.research-section .section-shell {
  padding-block: clamp(1rem, 2vw, 2rem);
}

.research-heading .eyebrow {
  color: #f5a28a;
}

.research-heading h2 em {
  color: #f5a28a;
}

.research-heading h2 {
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.research-heading > p {
  max-width: 30ch;
  color: var(--paper-copy);
  font-family: var(--sans);
  font-size: 1.03rem;
  line-height: 1.7;
}

.finding-list {
  margin-top: clamp(4rem, 8vw, 8rem);
  border-top: 1px solid var(--line-light);
}

.finding-list > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) minmax(220px, 1.3fr) auto;
  gap: 2rem;
  align-items: center;
  min-height: 68px;
  border-bottom: 1px solid var(--line-light);
}

.finding-list span,
.finding-list small {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.finding-list span {
  color: #ffc0ad;
}

.finding-list p {
  color: var(--paper-light);
  font-family: var(--sans);
  font-size: 0.98rem;
  line-height: 1.5;
}

.finding-list small {
  color: rgba(240, 230, 212, 0.72);
}

.press-section .section-heading h2 {
  max-width: 9ch;
}

.press-list {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--ink);
}

.press-list a {
  display: grid;
  grid-template-columns: minmax(130px, 0.32fr) minmax(240px, 1fr) auto;
  gap: 2rem;
  align-items: center;
  min-height: 82px;
  border-bottom: 1px solid var(--line-dark);
  text-decoration: none;
  transition: color 180ms ease, padding-left 180ms ease;
}

.press-list a:hover,
.press-list a:focus-visible {
  color: var(--blue);
  padding-left: 0.65rem;
}

.press-list a > span:first-child {
  color: var(--ink-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-transform: uppercase;
}

.press-list strong {
  font-family: var(--display);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.35;
}

.contact-section {
  min-height: 58svh;
  display: flex;
  align-items: center;
  color: var(--paper-light);
  background: var(--navy-deep);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.55fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: end;
}

.contact-copy .eyebrow {
  color: var(--blue-bright);
}

.contact-copy h2 {
  max-width: 9ch;
  font-size: clamp(4rem, 9vw, 10rem);
}

.contact-side > p {
  max-width: 32ch;
  color: var(--paper-copy);
  font-family: var(--sans);
  font-size: 1.03rem;
  line-height: 1.7;
}

.contact-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.2rem;
  padding: 1rem 0;
  color: var(--paper-light);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  text-decoration: none;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.contact-email:hover,
.contact-email:focus-visible {
  color: var(--blue-bright);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(240, 230, 212, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #fff;
}

.social-links .material-symbols-rounded {
  font-size: 0.95rem;
}

.site-footer {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem clamp(2rem, 5vw, 5rem);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-top: 1px solid var(--line-dark);
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.site-footer .material-symbols-rounded {
  font-size: 1rem;
}

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

.reveal.is-pending {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 750ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

.reveal-on-load {
  opacity: 0;
  transform: translateY(18px);
  animation: enter-hero 820ms 160ms cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}

@keyframes enter-hero {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 1360px) and (min-width: 1241px) {
  .journey-strip {
    grid-template-columns: minmax(380px, 0.8fr) minmax(570px, 1.3fr);
  }

  .journey-intro {
    grid-template-columns: minmax(180px, 0.9fr) minmax(170px, 1fr);
  }
}

@media (max-width: 1240px) and (min-width: 901px) {
  :root {
    --rail-width: 92px;
  }

  .rail-brand-row {
    min-height: 92px;
  }

  .rail-links a {
    min-height: 82px;
  }

  .journey-strip {
    grid-template-columns: 1fr;
  }

  .journey-intro {
    grid-template-columns: minmax(200px, 0.7fr) minmax(220px, 1fr);
  }

  .hero-copy {
    left: calc(var(--rail-width) + 2.5rem);
    width: min(51vw, 570px);
  }

  .hero-copy h1 {
    font-size: clamp(5rem, 9.4vw, 7.4rem);
  }

  .marker-product-hunt,
  .marker-security {
    display: none;
  }

  .marker-hero {
    left: 58%;
  }

  .marker-products {
    left: 50%;
  }

  .work-entry {
    grid-template-columns: 0.4fr 1.05fr 1.3fr auto;
  }
}

@media (max-aspect-ratio: 4/3) and (min-width: 901px) {
  .hero-stage {
    min-height: 760px;
    max-height: none;
  }

  .hero-art img {
    object-position: 52% center;
    transform: none;
  }

  .hero-copy {
    top: 9rem;
    left: calc(var(--rail-width) + 2.5rem);
    width: min(54vw, 620px);
  }

  .career-markers {
    display: none;
  }

}

@media (min-aspect-ratio: 2/1) and (min-width: 901px) {
  .hero-stage {
    height: 720px;
  }

  .hero-copy {
    top: 8.8rem;
  }

  .hero-art img {
    object-fit: contain;
    object-position: right center;
  }

  .hero-motion {
    right: 0;
    left: auto;
    width: 1280px;
  }
}

@media (max-width: 980px) {
  .hero-paper-edge {
    margin-left: var(--rail-width);
  }

  .journey-strip {
    grid-template-columns: 1fr;
  }

  .journey-intro {
    grid-template-columns: minmax(200px, 0.7fr) minmax(220px, 1fr);
  }

  .about-grid,
  .research-heading,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .work-entry {
    grid-template-columns: 0.35fr 0.9fr 1.2fr auto;
  }

  .projects-intro {
    grid-template-columns: 1fr;
  }

  .projects-intro > p {
    justify-self: start;
  }

  .project-list a {
    grid-template-columns: minmax(170px, 0.8fr) minmax(180px, 1fr) auto;
  }

  .project-list small {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-paper-edge {
    height: 34px;
    margin-left: 0;
    clip-path: polygon(0 7px, 14% 4px, 28% 8px, 43% 5px, 58% 9px, 73% 5px, 87% 8px, 100% 6px, 100% 100%, 0 100%);
  }

  :root {
    --rail-width: 0px;
  }

  html {
    scroll-padding-top: 72px;
  }

  .site-rail {
    inset: 0 0 auto;
    width: 100%;
    height: 72px;
    display: block;
    background: rgba(3, 20, 38, 0.94);
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .rail-brand-row {
    width: 100%;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 101;
    padding: 0 1rem;
    background: rgba(3, 20, 38, 0.96);
    border-bottom: 0;
  }

  .rail-brand {
    width: 46px;
    min-height: 46px;
  }

  .rail-brand img {
    transform: none;
  }

  .rail-brand .material-symbols-rounded {
    font-size: 3rem;
  }

  .menu-toggle {
    min-width: 92px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
    color: var(--paper-light);
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .menu-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .rail-links {
    position: fixed;
    z-index: 100;
    inset: 72px 0 0;
    width: 100%;
    height: calc(100dvh - 72px);
    min-height: calc(100vh - 72px);
    display: flex;
    justify-content: flex-start;
    padding: 1rem;
    overflow-y: auto;
    background: var(--navy-deep);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 320ms cubic-bezier(0.2, 0.75, 0.25, 1), visibility 0s 320ms;
  }

  .site-rail.is-open .rail-links {
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
  }

  .rail-links a {
    min-height: 76px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0 1rem;
    font-family: var(--display);
    font-size: 1.35rem;
    border-left: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .rail-links a:hover,
  .rail-links a:focus-visible,
  .rail-links a.active {
    border-left: 0;
  }

  .rail-links a .material-symbols-rounded {
    font-size: 1.55rem;
  }

  .rail-footer {
    display: none;
  }

  .section,
  .site-footer {
    margin-left: 0;
  }

  .hero-stage {
    height: 920px;
    min-height: 920px;
    max-height: none;
    padding-top: 72px;
  }

  .hero-art {
    top: 72px;
  }

  .hero-motion {
    display: none;
  }

  .hero-art img {
    object-position: 52% center;
    filter: brightness(0.92) saturate(0.96);
    transform: translateY(52px);
  }

  .hero-copy {
    top: 8.7rem;
    left: 1rem;
    right: 1rem;
    width: auto;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(4.25rem, 20vw, 7.4rem);
    letter-spacing: -0.07em;
    white-space: normal;
    transform: scaleX(0.9);
  }

  .hero-lead {
    max-width: 20ch;
    margin-top: 0.9rem;
    font-size: clamp(1.45rem, 6vw, 2rem);
  }

  .hero-meta {
    max-width: 33ch;
    margin-top: 1rem;
    font-size: 0.7rem;
  }

  .hero-actions {
    max-width: 310px;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 1.15rem;
  }

  .button {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: 0.75rem 1rem;
  }

  .button-secondary {
    justify-content: center;
  }

  .career-markers {
    top: auto;
    bottom: 0;
    height: 88px;
    display: flex;
    gap: 0.55rem;
    padding: 0.65rem 1rem;
    overflow-x: auto;
    background: rgba(3, 20, 38, 0.84);
    border-top: 1px solid var(--line-light);
    backdrop-filter: blur(12px);
    scrollbar-width: none;
    pointer-events: auto;
  }

  .career-markers::-webkit-scrollbar {
    display: none;
  }

  .career-marker {
    position: static;
    min-width: 188px;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.06);
  }

  .career-marker:hover,
  .career-marker:focus-visible,
  .career-marker.is-active {
    transform: none;
  }

  .journey-strip {
    gap: 2rem;
    margin-top: 0;
    padding: 2.8rem 1.1rem 3.2rem;
    clip-path: none;
    border-top: 1px solid var(--line-dark);
  }

  .journey-intro {
    display: block;
  }

  .journey-intro h2 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .journey-intro > p:last-child {
    max-width: 32ch;
  }

  .journey-steps {
    width: 100%;
    grid-template-columns: 1fr;
    overflow: visible;
    padding: 0;
    transform: none;
  }

  .journey-steps li {
    min-height: 68px;
    justify-content: center;
    margin-left: 0.55rem;
    padding: 0 0 0 2.25rem;
    border-bottom: 0;
    border-left: 2px solid rgba(255, 227, 170, 0.94);
    box-shadow: none;
  }

  .journey-steps li:last-child {
    border-left-color: transparent;
  }

  .journey-node,
  .journey-node-final {
    top: 50%;
    bottom: auto;
    left: -9px;
    transform: translateY(-50%);
  }

  .journey-node-final {
    left: -14px;
  }

  .journey-steps strong,
  .journey-steps small {
    max-width: none;
    transform: none;
  }

  .section {
    padding: 5.5rem 1.1rem;
  }

  .section-heading h2,
  .research-heading h2,
  .contact-copy h2 {
    font-size: clamp(3rem, 15vw, 5.4rem);
  }

  .about-grid {
    margin-top: 3rem;
  }

  .about-copy {
    font-size: 1.04rem;
    line-height: 1.68;
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1rem;
    margin-top: 4.5rem;
  }

  .metrics > div {
    min-height: 128px;
  }

  .metrics dt {
    font-size: 4.2rem;
  }

  .recognition {
    margin-top: 5rem;
  }

  .recognition-list > div,
  .recognition-list > a {
    grid-template-columns: 5.3rem 1fr auto;
    gap: 0.75rem;
  }

  .recognition-list small {
    display: none;
  }

  .work-ledger {
    margin-top: 4rem;
  }

  .work-entry {
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    min-height: 0;
    padding: 1.5rem 0 4rem;
  }

  .work-index,
  .work-description {
    grid-column: 1 / -1;
  }

  .work-title h3 {
    font-size: clamp(3.7rem, 20vw, 6.5rem);
  }

  .work-description {
    font-size: 1.08rem;
  }

  .work-link {
    align-self: start;
  }

  .projects-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-list {
    margin-top: 4rem;
  }

  .project-list a {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.7rem;
    align-items: start;
    padding: 1rem 0;
  }

  .project-list strong {
    font-size: 1.7rem;
  }

  .project-list p {
    grid-column: 1;
    margin-top: -0.35rem;
    line-height: 1.4;
  }

  .project-list small {
    display: none;
  }

  .project-list .material-symbols-rounded {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }

  .research-heading {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .finding-list > div {
    grid-template-columns: 5.6rem 1fr auto;
    gap: 0.75rem;
  }

  .finding-list p {
    font-size: 0.98rem;
  }

  .press-list a {
    grid-template-columns: 6.2rem 1fr auto;
    gap: 0.8rem;
    min-height: 92px;
  }

  .press-list strong {
    font-size: 1rem;
    line-height: 1.35;
  }

  .contact-section {
    min-height: 720px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-email {
    overflow-wrap: anywhere;
  }

  .site-footer {
    min-height: 110px;
    flex-wrap: wrap;
    padding: 1.4rem 1rem;
  }
}

@media (max-width: 520px) {
  .hero-stage {
    height: 880px;
    min-height: 880px;
  }

  .metrics dd {
    font-size: 0.62rem;
  }

  .recognition-list > div,
  .recognition-list > a {
    min-height: 78px;
  }

  .finding-list > div {
    grid-template-columns: 5rem 1fr;
    padding: 0.75rem 0;
  }

  .finding-list small {
    display: none;
  }

  .press-list a {
    grid-template-columns: 1fr auto;
    gap: 0.4rem 0.7rem;
    padding: 0.85rem 0;
  }

  .press-list a > span:first-child {
    grid-column: 1 / -1;
  }

  .site-footer span:nth-child(2) {
    display: none;
  }
}

@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,
  .reveal-on-load {
    opacity: 1;
    transform: none;
  }

  .hero-motion {
    display: none;
  }

}
