/* ============================================================
   SRIMOTRIX Tech — one-page site
   Plain CSS. Mobile-first. No build step, no framework.

   1  Tokens + themes      6  Hero
   2  Reset                7  Capabilities
   3  Typography           8  Portfolio
   4  Layout + chrome      9  About / Contact / Footer
   5  Buttons + links     10  Breakpoints
   ============================================================ */

/* --- 1. Tokens ---------------------------------------------- */
:root {
  color-scheme: light dark;

  /* Dark palette values live here so they are written exactly once and the
     two selectors that apply them below can never drift apart. */
  --d-paper: #0a0a0a;
  --d-wash: #101010;
  --d-ink: #f2f2f2;
  --d-muted: #a8a8a8;
  --d-decor: #7a7a7a; /* NON-TEXT only */
  --d-line: #2b2b2b;
  --d-grid: #1c1c1c;
  --d-field: #727272;
  --d-veil: rgb(10 10 10 / 0.82);

  /* Active palette — light unless a rule below reassigns it */
  --paper: #fff;
  --wash: #fafafa;
  --ink: #0a0a0a;
  --muted: #6b6b6b;
  --decor: #8a8a8a; /* NON-TEXT only: 3.45:1, fails AA for body text */
  --line: #e8e8e8;
  --grid: #f0f0f0;
  --field: #8a8a8a;
  --veil: rgb(255 255 255 / 0.82);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-display: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: 1.25rem;
  --measure: 78rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark scheme, applied in two cases:
     1. the OS asks for dark and the visitor has not overridden it
     2. the visitor explicitly picked dark via the header toggle
   Case 1 needs no JavaScript, so dark mode works with scripting off. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: var(--d-paper);
    --wash: var(--d-wash);
    --ink: var(--d-ink);
    --muted: var(--d-muted);
    --decor: var(--d-decor);
    --line: var(--d-line);
    --grid: var(--d-grid);
    --field: var(--d-field);
    --veil: var(--d-veil);
  }
}

/* Equal specificity to the rule above, so it must stay after it to win. */
:root[data-theme="dark"] {
  --paper: var(--d-paper);
  --wash: var(--d-wash);
  --ink: var(--d-ink);
  --muted: var(--d-muted);
  --decor: var(--d-decor);
  --line: var(--d-line);
  --grid: var(--d-grid);
  --field: var(--d-field);
  --veil: var(--d-veil);
  color-scheme: dark;
}

:root[data-theme="light"] {
  color-scheme: light;
}

/* --- 2. Reset ----------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 3rem;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  overflow-x: hidden;
}

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

ul,
ol {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* --- 3. Typography ------------------------------------------ */
h1,
h2,
h3 {
  font-weight: 400;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

/* Mono is the technical voice: labels, figures, specs, dimensions. */
.mono,
.section-label,
.card-spec,
.work-spec,
.work-year,
.figure-cap,
.stats dt,
.stats dd,
.envelope dt,
.envelope dd,
.field label,
.subhead,
.footer-reg {
  font-family: var(--font-mono);
  font-variant-ligatures: none;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

/* --- 4. Layout + chrome ------------------------------------- */
.container {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  border-top: 1px solid var(--line);
  padding-block: 5rem;
}

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

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.section-label::after {
  content: "";
  flex: 1;
  max-width: 4rem;
  height: 1px;
  background: var(--line);
}

.section-title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  line-height: 1.03;
  letter-spacing: -0.022em;
  max-width: 34rem;
}

.section-intro {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 24rem;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.subhead {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* Scroll progress hairline */
.progress {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  height: 2px;
  width: 0;
  background: var(--ink);
  transition: width 0.1s linear;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Header — mobile: two static rows, so the nav needs no toggle state. */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner {
  display: grid;
  grid-template-areas:
    "brand toggle"
    "nav   nav";
  grid-template-columns: 1fr auto;
  grid-template-rows: 3.5rem auto;
  align-items: center;
  column-gap: 1rem;
}

/* Lockup: mark + wordmark, both artwork. font-size is only the em basis
   the two pieces are scaled against. */
.wordmark {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1rem;
  line-height: 1;
}

/* Sized in em so the mark tracks the wordmark; currentColor makes it follow
   the theme, which a black PNG could not do on the dark background. */
.mark {
  flex: none;
  width: 1.45em;
  height: 1.45em;
  fill: currentColor;
}

/* Height-driven; width follows the 2055x248 aspect. The lower arm of the X
   descends below the other caps, so the box is taller than the cap height. */
.wordmark-art {
  flex: none;
  height: 1.15em;
  width: auto;
  fill: currentColor;
}

.nav-row {
  grid-area: nav;
  border-top: 1px solid var(--line);
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 2.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.nav-list a {
  transition: color 0.2s var(--ease);
}

.nav-list a:hover {
  color: var(--ink);
}

.theme-toggle {
  grid-area: toggle;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--field);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.theme-toggle:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.theme-toggle[hidden] {
  display: none;
}

/* --- 5. Buttons + links ------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.875rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    opacity 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover {
  opacity: 0.85;
}

.btn--ghost {
  border-color: var(--field);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.link {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  transition: background-size 0.3s var(--ease);
}

.link:hover {
  background-size: 0 1px;
  background-position: 100% 100%;
}

/* --- 6. Hero ------------------------------------------------ */
/* Blueprint grid, fading out downward. Pure gradients, no image request. */
.hero {
  position: relative;
  padding-block: 3rem 4.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero > * {
  position: relative;
}

.hero-grid {
  display: grid;
  gap: 3rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 7vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.024em;
}

.hero-title em {
  color: var(--muted);
}

.hero-lead {
  margin-top: 1.75rem;
  max-width: 32rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Motor figure */
.hero-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.rotor-wrap {
  position: relative;
  width: min(100%, 26rem);
  aspect-ratio: 1;
}

.rotor {
  width: 100%;
  height: 100%;
  color: var(--ink);
}

.rotor .hair,
.rotor .yoke {
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.5;
  vector-effect: non-scaling-stroke;
}

.rotor .dash {
  stroke-dasharray: 4 4;
  opacity: 0.35;
}

.rotor .mag {
  stroke: currentColor;
  stroke-width: 1;
  stroke-opacity: 0.6;
  vector-effect: non-scaling-stroke;
}

.rotor .mag--n {
  fill: currentColor;
  fill-opacity: 0.1;
}

.rotor .tooth {
  fill: currentColor;
  fill-opacity: 0.06;
  stroke: currentColor;
  stroke-width: 1;
  stroke-opacity: 0.55;
  vector-effect: non-scaling-stroke;
}

.rotor .shaft {
  fill: currentColor;
  fill-opacity: 0.09;
  stroke: currentColor;
  stroke-width: 1;
  stroke-opacity: 0.55;
  vector-effect: non-scaling-stroke;
}

/* Outrunner: the outer bell carrying the magnets turns; the stator stays
   fixed, so the rotating mass sits on the outside. */
.rotor__spin {
  transform-origin: 200px 200px;
  animation: spin 44s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.figure-cap {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
}

/* Stats strip */
.stats {
  margin-top: 3.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1rem;
}

.stats dt {
  font-size: 0.64rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.stats dd {
  margin-top: 0.4rem;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  color: var(--ink);
}

.stats .num {
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.stats dd i {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--muted);
}

/* --- 7. Capabilities ---------------------------------------- */
/* 1px gap over a line-coloured background draws the hairlines. The lead card
   spans two columns, so five cards tile a 6-cell grid with no empty filler. */
.cards {
  margin-top: 3.5rem;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  overflow: hidden;
}

.card {
  position: relative;
  background: var(--paper);
  padding: 1.75rem 1.5rem;
  transition: background-color 0.25s var(--ease);
}

.card:hover {
  background: var(--wash);
}

.card-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.card-icon {
  width: 30px;
  height: 30px;
  margin-top: 1.5rem;
  color: var(--ink);
  opacity: 0.85;
}

.card h3 {
  margin-top: 1.25rem;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Two classes to outrank `.card p` without reaching for !important */
.card .card-spec {
  margin-top: 1.25rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* The lead card is twice as wide, so cap the measure rather than let lines run */
.card--lead p {
  max-width: 32rem;
}

/* --- 8. Portfolio ------------------------------------------- */
.work-list {
  margin-top: 3.5rem;
  border-top: 1px solid var(--line);
}

.work-row {
  display: grid;
  grid-template-areas:
    "thumb meta"
    "main  main";
  grid-template-columns: auto 1fr;
  column-gap: 1.25rem;
  row-gap: 1rem;
  align-items: start;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s var(--ease);
}

.work-row:hover {
  background: var(--wash);
}

.work-thumb {
  grid-area: thumb;
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.4rem;
  color: var(--ink);
  opacity: 0.8;
  transition:
    border-color 0.25s var(--ease),
    opacity 0.25s var(--ease);
}

.work-row:hover .work-thumb {
  border-color: var(--field);
  opacity: 1;
}

.work-main {
  grid-area: main;
  display: block;
}

.work-row h3 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.work-desc {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--muted);
}

.work-spec {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.work-meta {
  grid-area: meta;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.875rem;
}

.work-year {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.work-row .arrow {
  flex-shrink: 0;
  color: var(--decor);
  transition:
    transform 0.3s var(--ease),
    color 0.3s var(--ease);
}

.work-row:hover .arrow {
  transform: translate(3px, -3px);
  color: var(--ink);
}

/* --- 9. About / Contact / Footer ---------------------------- */
.split {
  display: grid;
  gap: 3.5rem;
}

.prose {
  margin-top: 1.75rem;
  max-width: 34rem;
  display: grid;
  gap: 1.15rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.about-aside {
  display: grid;
  gap: 2.5rem;
  align-content: start;
}

.tags {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tags li {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Spec table — reads like a datasheet */
.envelope {
  margin-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.envelope > div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.envelope dt {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  white-space: nowrap;
}

.envelope dd {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: right;
}

.contact-details {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.5rem;
}

.contact-details dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.contact-details dd {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-email {
  font-size: 1.1rem;
  color: var(--ink);
}

/* <address> defaults to italic in every browser */
.postal {
  font-style: normal;
  margin-bottom: 0.6rem;
}

/* Icon-only links. The accessible name lives in aria-label on the anchor and the
   glyph is aria-hidden, so nothing here is announced as "link, link, link". */
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.social-link svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.social-link:hover {
  color: var(--ink);
  border-color: var(--field);
  transform: translateY(-2px);
}

.form {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.5rem;
  background: var(--paper);
}

.field-grid {
  display: grid;
  gap: 1.5rem;
}

/* Direct children only — a descendant selector here also caught the second
   field inside .field-grid and pushed Email 2rem below Name. */
.form > .field {
  margin-top: 2rem;
}

.field label {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.field input,
.field textarea {
  margin-top: 0.5rem;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--field);
  background: transparent;
  padding-bottom: 0.625rem;
  font-size: 1rem;
  transition: border-color 0.2s var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}

.field textarea {
  resize: vertical;
}

.form .btn {
  margin-top: 2.5rem;
  width: 100%;
}

.form-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.honeypot {
  display: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--wash);
  padding-block: 3rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-tagline {
  margin-top: 0.625rem;
  max-width: 20rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem 3rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-nav a {
  width: fit-content;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-reg {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
}

/* ============================================================
   10. Breakpoints
   ============================================================ */

/* --- >= 40em ------------------------------------------------ */
@media (min-width: 40em) {
  :root {
    --gutter: 2rem;
  }

  .section {
    padding-block: 7rem;
  }

  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .hero {
    padding-block: 4rem 6rem;
  }

  .hero-lead {
    margin-top: 2rem;
    font-size: 1.1rem;
  }

  .hero-actions {
    margin-top: 2.5rem;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .stats {
    margin-top: 4.5rem;
    grid-template-columns: repeat(4, 1fr);
  }

  .stats .num {
    font-size: 2.1rem;
  }

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

  .card {
    padding: 2.25rem 2rem;
  }

  .card--lead {
    grid-column: span 2;
  }

  .work-row {
    grid-template-areas: "thumb main meta";
    grid-template-columns: auto 1fr auto;
    column-gap: 2rem;
    align-items: center;
    padding-block: 2.25rem;
  }

  .work-thumb {
    width: 4rem;
    height: 4rem;
    padding: 0.55rem;
  }

  .work-row h3 {
    font-size: 1.4rem;
  }

  .work-desc {
    max-width: 34rem;
  }

  .form {
    padding: 2.5rem;
  }

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

  .form .btn {
    width: auto;
  }

  .footer-top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer-nav {
    display: flex;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* --- >= 48em: fixed single-row header --------------------- */
@media (min-width: 48em) {
  html {
    scroll-padding-top: 6rem;
  }

  .site-header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 50;
    background: var(--veil);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
  }

  .header-inner {
    grid-template-areas: "brand nav toggle";
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 4.75rem;
    column-gap: 2rem;
  }

  .wordmark {
    font-size: 1.15rem;
  }

  .nav-row {
    border-top: 0;
    margin-inline: 0;
    padding-inline: 0;
    justify-self: end;
  }

  .nav-list {
    height: auto;
    gap: 2.25rem;
    font-size: 0.9rem;
  }

  .nav-contact a {
    display: inline-flex;
    background: var(--ink);
    color: var(--paper);
    border-radius: 999px;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    transition: opacity 0.2s var(--ease);
  }

  .nav-contact a:hover {
    opacity: 0.82;
    color: var(--paper);
  }

  .hero {
    padding-top: 9.5rem;
  }
}

/* --- >= 64em ---------------------------------------------- */
@media (min-width: 64em) {
  .hero {
    padding-top: 11rem;
  }

  /* Copy left, motor right */
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 4rem;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .split {
    grid-template-columns: repeat(12, 1fr);
    gap: 5rem;
  }

  .split > :first-child {
    grid-column: span 7;
  }

  .split > :last-child {
    grid-column: span 5;
  }

  .split--contact > :first-child {
    grid-column: span 5;
  }

  .split--contact > :last-child {
    grid-column: span 7;
  }

}

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

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

  .rotor__spin {
    animation: none;
  }
}