.nav-links .nav-current {
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.hero {
  padding-top: 56px;
}

/* Homepage hero: quieter editorial type paired with an interactive studio display. */
.hero.hero-device {
  min-height: calc(100svh - 81px);
  grid-template-columns: 1.16fr .84fr;
  gap: clamp(28px, 3vw, 48px);
  align-items: center;
  padding: clamp(54px, 7vw, 92px) 0 clamp(72px, 8vw, 110px);
}

.hero-device .hero-title-wrap {
  max-width: 680px;
}

.hero-device h1 {
  margin: 25px 0 0;
  font-size: clamp(62px, 7vw, 112px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.055em;
}

.hero-device .actions {
  margin-top: 32px;
}

/* Shared homepage type scale: one family and one treatment per hierarchy. */
:root {
  --display-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --section-title-size: clamp(36px, 4.6vw, 62px);
  --section-title-leading: .92;
  --section-title-tracking: -.065em;
  --subtitle-size: 11px;
  --subtitle-tracking: .12em;
}

.hero-device h1,
.statement,
.section-heading h2,
.services-intro h2,
.mix h2,
.contact-intro h2,
.dialog-heading h2,
.project-center h3,
.service h3,
.hero-display-card h2 {
  font-family: var(--display-font);
}

.eyebrow,
.section-label,
.hero-display-brand {
  font-family: var(--display-font);
  font-size: var(--subtitle-size);
  letter-spacing: var(--subtitle-tracking);
}

.services-intro h2,
.mix h2,
.contact-intro h2,
.dialog-heading h2 {
  font-size: var(--section-title-size);
  line-height: var(--section-title-leading);
  letter-spacing: var(--section-title-tracking);
}

.hero-laptop-stage {
  position: relative;
  display: flex;
  justify-content: flex-end;
  perspective: 1600px;
}

.hero-laptop {
  --tilt-x: 1.5deg;
  --tilt-y: -3deg;
  --lift: 0px;
  --depth: 0px;
  position: relative;
  width: min(100%, 570px);
  transform: translate3d(0, var(--lift), var(--depth)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 420ms cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}

.hero-laptop-screen {
  position: relative;
  padding: clamp(7px, 1.2vw, 10px);
  border-radius: 18px 18px 10px 10px;
  background: linear-gradient(135deg, #1c2637 0%, #71808e 37%, #192536 68%, #aab3ba 100%);
  box-shadow: 0 30px 45px -23px rgba(39, 60, 87, .48), inset 0 1px 1px rgba(255, 255, 255, .35);
}

.hero-laptop-screen::before {
  content: '';
  position: absolute;
  z-index: 2;
  top: 1px;
  left: 50%;
  width: 52px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(5, 12, 21, .8);
}

.hero-display {
  position: relative;
  display: flex;
  align-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: clamp(22px, 4vw, 48px);
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(130deg, #e7edf1 0%, #fdfefe 45%, #d7e0e7 100%);
}

.hero-display::after {
  content: '';
  position: absolute;
  inset: -35% 34% -35% -26%;
  transform: rotate(23deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .48), transparent);
  pointer-events: none;
}

.hero-display-card {
  --screen-x: 0px;
  --screen-y: 0px;
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(22px, 3.5vw, 38px);
  border: 1px solid rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 45px -28px rgba(39, 60, 87, .45), 0 0 0 1px rgba(39, 60, 87, .1);
  transform: translate3d(var(--screen-x), var(--screen-y), 0);
  transition: transform 420ms cubic-bezier(.16, 1, .3, 1);
}

.hero-display-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(25px, 4vw, 38px);
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero-display-brand img {
  display: block;
  width: 32px;
  height: 22px;
  object-fit: contain;
}

.hero-display-card h2 {
  max-width: 360px;
  margin: 0;
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.05em;
}

.hero-display-card p {
  max-width: 380px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(13px, 1.25vw, 15px);
  line-height: 1.6;
}

.hero-laptop-base {
  position: absolute;
  z-index: -1;
  top: calc(100% - 7px);
  right: -5.5%;
  left: -5.5%;
  height: 29px;
  border-radius: 2px 2px 18px 18px;
  background: linear-gradient(180deg, #bac2c8 0%, #7a858e 30%, #d5dadd 40%, #858f97 100%);
  box-shadow: 0 23px 24px -17px rgba(39, 60, 87, .47), inset 0 1px rgba(255, 255, 255, .8);
}

.hero-laptop-base::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 38%;
  left: 38%;
  height: 3px;
  border-radius: 0 0 5px 5px;
  background: rgba(51, 62, 75, .42);
}

@media (max-width: 720px) {
  .hero.hero-device {
    display: grid;
    min-height: 0;
    padding: 72px 0 82px;
  }

  .hero-device h1 {
    font-size: clamp(58px, 16.5vw, 88px);
  }

  .hero-laptop-stage {
    justify-content: center;
    margin-top: 12px;
  }

  .hero-laptop {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-laptop,
  .hero-display-card {
    transition: none;
  }
}

.offering div > p.offering-fit {
  margin-top: 14px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.4;
}

.offering-fit strong {
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Keep the Work-page introduction on the same visual scale as Services. */
.archive-intro {
  grid-template-columns: 1.15fr .85fr;
  gap: 52px;
  padding: 72px 0 48px;
}

.archive-intro h1 {
  margin-top: 25px;
  font-size: clamp(58px, 8vw, 108px);
  line-height: .87;
}

.archive-intro h1 em {
  color: inherit;
}

.intro-copy {
  max-width: 340px;
  padding-bottom: 8px;
}

@media (max-width: 720px) {
  .archive-intro {
    gap: 32px;
    padding: 76px 0 48px;
  }
}

.comparison-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 10px;
  color: var(--archive-muted);
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.comparison-heading span:last-child {
  letter-spacing: 0;
  text-transform: none;
}

.offering {
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, .7fr);
}

@media (max-width: 720px) {
  .offering {
    grid-template-columns: 1fr;
  }

  .offering ul {
    grid-column: auto;
  }
}

.form-privacy {
  max-width: 460px;
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.form-privacy a,
.privacy-page a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-mix-readings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(39, 60, 87, .18);
}

.form-mix-readings span {
  display: grid;
  gap: 2px;
  font-size: 12px;
  line-height: 1.25;
}

.form-mix-readings b {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

body.project-dialog-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

.project-dialog {
  overscroll-behavior: contain;
  background: var(--paper);
}

.project-dialog::backdrop {
  background: rgba(39, 60, 87, .16);
  backdrop-filter: blur(8px);
}

.privacy-page {
  padding: 88px 0;
}

.privacy-page h1 {
  max-width: 760px;
  margin: 22px 0 28px;
  font-size: clamp(56px, 8vw, 108px);
  font-weight: 500;
  letter-spacing: -.075em;
  line-height: .87;
}

.privacy-intro {
  max-width: 440px;
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.privacy-date {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.privacy-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 44px;
  margin-top: 72px;
  border-top: 1px solid var(--line);
}

.privacy-sections section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.privacy-sections h2 {
  margin: 0 0 12px;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -.05em;
}

.privacy-sections p {
  max-width: 450px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .privacy-page {
    padding: 76px 0 64px;
  }

  .privacy-sections {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .form-mix-readings {
    grid-template-columns: 1fr;
  }
}
