:root {
  --ink: #000;
  --paper: #f2f1ec;
  --white: #fff;
  --red: #ff2028;
  --muted: rgba(0, 0, 0, 0.58);
  --paper-muted: rgba(242, 241, 236, 0.62);
  --line: 2px solid var(--ink);
  --max: 1540px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    500 16px/1.55 Inter,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
::selection {
  background: var(--red);
  color: #fff;
}
.display {
  font-family: "Archivo Black", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 0.86;
  margin: 0;
}
.mono,
.label {
  font-family: "Space Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.label {
  color: var(--muted);
}
.wrap {
  width: min(var(--max), 100%);
  margin: auto;
  padding-inline: 40px;
}
.page-main {
  padding-top: 64px;
}
.rule {
  border: 0;
  border-top: var(--line);
  margin: 0;
}
.red {
  color: var(--red);
}
.site-header {
  height: 64px;
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 2px solid rgba(242, 241, 236, 0.22);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand img {
  width: 140px;
  height: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font:
    400 0.68rem "Space Mono",
    monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-muted);
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--red);
}
.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid currentColor;
  padding: 12px 16px;
  font:
    400 0.7rem "Space Mono",
    monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    background 0.18s,
    color 0.18s;
}
.header-cta:hover {
  background: var(--paper);
  color: var(--ink);
}
.menu-button {
  display: none;
  border: 2px solid var(--paper);
  color: var(--paper);
  background: transparent;
  padding: 8px 12px;
  font:
    400 0.7rem "Space Mono",
    monospace;
  letter-spacing: 0.1em;
}
.mobile-nav {
  display: none;
}
.page-head {
  min-height: clamp(360px, 56vh, 640px);
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding-block: clamp(70px, 9vw, 130px) 58px;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 241, 236, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 241, 236, 0.08) 1px, transparent 1px);
  background-size: calc(100% / 12) 62px;
  mask-image: linear-gradient(#000 0 80%, transparent);
}
.page-head .wrap {
  position: relative;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.page-head-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--paper-muted);
}
.page-head h1 {
  font-size: clamp(3.4rem, 10vw, 10rem);
  max-width: 9ch;
}
.page-head-copy {
  max-width: 46ch;
  color: var(--paper-muted);
  font-size: clamp(0.96rem, 1.5vw, 1.13rem);
}
.section {
  padding-block: clamp(72px, 9vw, 130px);
  border-bottom: var(--line);
}
.section-heading {
  font-size: clamp(2.2rem, 5.5vw, 6.1rem);
  max-width: 12ch;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(35px, 8vw, 150px);
}
.copy {
  max-width: 48ch;
  color: var(--muted);
  font-size: 1.04rem;
}
.copy p + p {
  margin-top: 1em;
}
.copy b {
  color: var(--ink);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 9px;
  background: var(--red);
}
.about-poster {
  min-height: 460px;
  background: var(--ink);
  color: var(--paper);
  border: var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.about-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8));
  z-index: 1;
}
.about-poster::after {
  content: "ZILVOX";
  position: absolute;
  right: -0.06em;
  bottom: -0.25em;
  z-index: 2;
  font:
    900 clamp(4rem, 12vw, 11rem)/0.75 "Archivo Black",
    sans-serif;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 241, 236, 0.32);
}
.about-poster img.founder-portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.1);
  z-index: 0;
}
.about-poster .mono {
  color: var(--paper-muted);
  position: relative;
  z-index: 3;
}
.spec-list {
  margin-top: 34px;
  border-top: var(--line);
}
.spec {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.spec .label {
  color: var(--red);
}
.about-poster {
  min-height: 460px;
  background: var(--ink);
  color: var(--paper);
  border: var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.about-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8));
  z-index: 1;
}
.about-poster::after {
  content: "ZILVOX";
  position: absolute;
  right: -0.06em;
  bottom: -0.25em;
  z-index: 2;
  font:
    900 clamp(4rem, 12vw, 11rem)/0.75 "Archivo Black",
    sans-serif;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 241, 236, 0.32);
}
.about-poster img.founder-portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.1);
  z-index: 0;
  transition: filter 0.18s ease-out;
}
.about-poster .mono {
  color: var(--paper-muted);
  position: relative;
  z-index: 3;
}
.spec-list {
  margin-top: 34px;
  border-top: var(--line);
}
.spec {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.spec .label {
  color: var(--red);
}
.stat-band {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-inline: 2px solid rgba(242, 241, 236, 0.22);
}
.stat {
  padding: 28px 20px;
  border-right: 2px solid rgba(242, 241, 236, 0.22);
}
.stat:last-child {
  border: 0;
}
.stat-value {
  font:
    900 clamp(2.2rem, 5vw, 5rem)/1 "Archivo Black",
    sans-serif;
}
.stat .label {
  color: var(--paper-muted);
  display: block;
  margin-top: 10px;
}
.portfolio-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 45px;
}
.portfolio-toolbar .label {
  margin-bottom: 8px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}
.portfolio-card {
  border: var(--line);
  background: var(--ink);
  color: var(--paper);
  padding: 0;
  text-align: left;
  overflow: hidden;
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: end;
}
.portfolio-card:nth-child(6n + 1),
.portfolio-card:nth-child(6n + 4) {
  grid-column: span 7;
}
.portfolio-card:nth-child(6n + 2),
.portfolio-card:nth-child(6n + 5) {
  grid-column: span 5;
}
.portfolio-card:nth-child(6n + 3),
.portfolio-card:nth-child(6n + 6) {
  grid-column: span 6;
}
.portfolio-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  transition:
    filter 0.35s,
    transform 0.45s;
}
.portfolio-card:hover img {
  filter: grayscale(0) contrast(1.05);
  transform: scale(1.025);
}
.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.9));
}
.project-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  background: var(--red);
  padding: 7px 9px;
  font:
    400 0.62rem "Space Mono",
    monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.project-meta {
  position: relative;
  z-index: 1;
  padding: 18px;
  width: 100%;
}
.project-meta .mono {
  color: var(--paper-muted);
}
.project-meta h2 {
  margin: 5px 0 0;
  font:
    900 clamp(1.25rem, 2.4vw, 2rem)/0.95 "Archivo Black",
    sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.025em;
}
.play {
  position: absolute;
  z-index: 2;
  right: 15px;
  bottom: 15px;
  width: 44px;
  height: 44px;
  background: var(--paper);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 1rem;
}
.archive {
  margin: 38px 0 0;
  text-align: center;
  color: var(--muted);
}
.archive a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.services-list {
  border-top: var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: 64px minmax(190px, 0.9fr) 1.2fr 34px;
  gap: 24px;
  align-items: center;
  padding: 29px 0;
  border-bottom: var(--line);
  transition:
    background 0.18s,
    color 0.18s;
}
.service-row:hover {
  background: var(--ink);
  color: var(--paper);
  padding-inline: 20px;
  margin-inline: -20px;
}
.service-row .label {
  color: var(--red);
}
.service-row h2 {
  font:
    900 clamp(1.35rem, 3vw, 2.8rem)/0.95 "Archivo Black",
    sans-serif;
  text-transform: uppercase;
  margin: 0;
}
.service-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}
.service-row:hover p {
  color: var(--paper-muted);
}
.service-go {
  font-size: 1.3rem;
  text-align: right;
  color: var(--red);
}
.tool-run {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: 28px 0;
  white-space: nowrap;
}
.tool-run span {
  display: inline-block;
  font:
    900 clamp(2rem, 5vw, 5.8rem)/1 "Archivo Black",
    sans-serif;
  text-transform: uppercase;
  animation: tools 26s linear infinite;
}
.tool-run b {
  color: var(--red);
  font-weight: inherit;
}
@keyframes tools {
  to {
    transform: translateX(-50%);
  }
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(36px, 9vw, 160px);
}
.contact-list {
  margin-top: 38px;
  border-top: 2px solid rgba(242, 241, 236, 0.28);
}
.contact-list a,
.contact-location {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(242, 241, 236, 0.28);
  color: var(--paper);
}
.contact-list a:hover {
  color: var(--red);
}
.contact-list strong {
  font:
    800 0.93rem "Archivo Black",
    sans-serif;
  text-transform: uppercase;
}
.contact-location {
  align-items: flex-start;
}
.contact-location strong {
  font-size: 0.76rem;
  text-align: right;
}
.contact-panel {
  padding: clamp(24px, 4vw, 46px);
  border: 2px solid var(--paper);
}
.field {
  border-bottom: 1px solid rgba(242, 241, 236, 0.46);
  padding-bottom: 11px;
  margin-bottom: 20px;
}
.field label {
  display: block;
  color: var(--paper-muted);
  margin-bottom: 7px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--paper);
  outline: 0;
  font-size: 1rem;
}
.field textarea {
  min-height: 115px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(242, 241, 236, 0.37);
}
.field select {
  appearance: none;
  border-radius: 0;
  color-scheme: dark;
  cursor: pointer;
}
.field select:invalid,
.field select option:first-child {
  color: rgba(242, 241, 236, 0.5);
}
.send {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.send:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.form-note {
  color: var(--paper-muted);
  font-size: 0.76rem;
  margin: 18px 0 0;
}
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 78px 0 0;
}
.footer-word {
  font:
    900 clamp(4rem, 12vw, 11rem)/0.78 "Archivo Black",
    sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}
.footer-word.outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--paper);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 70px;
  padding: 30px 0;
  border-top: 2px solid rgba(242, 241, 236, 0.22);
}
.footer-grid a {
  display: block;
  color: var(--paper-muted);
  font:
    400 0.74rem "Space Mono",
    monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 0;
}
.footer-grid a:hover {
  color: var(--red);
}
.footer-bottom {
  border-top: 1px solid rgba(242, 241, 236, 0.22);
  padding: 19px 0;
  color: var(--paper-muted);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 36px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.video-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
}
.video-modal-box {
  position: relative;
  width: min(1080px, 100%);
  background: #000;
  border: 1px solid rgba(242, 241, 236, 0.68);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.2s ease-out;
}
.video-modal.open .video-modal-box {
  transform: none;
}
.video-modal-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  color: var(--paper);
  padding: 18px 20px 16px;
}
.video-modal-kicker {
  color: var(--red);
}
.video-modal-title {
  margin: 5px 0 0;
  font:
    900 clamp(1.25rem, 3vw, 2.4rem)/0.94 "Archivo Black",
    sans-serif;
  text-transform: uppercase;
}
.video-modal-meta {
  margin: 7px 0 0;
  color: var(--paper-muted);
  font-size: 0.82rem;
}
.video-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.video-modal-actions a,
.close-modal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(242, 241, 236, 0.58);
  padding: 0 11px;
  color: var(--paper);
  background: transparent;
  font:
    400 0.62rem "Space Mono",
    monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.video-modal-actions a:hover,
.close-modal:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}
.close-modal {
  gap: 8px;
}
.video-modal-stage {
  position: relative;
  border-top: 1px solid rgba(242, 241, 236, 0.18);
  border-bottom: 1px solid rgba(242, 241, 236, 0.18);
  background: #080808;
}
.video-modal video {
  border: 0;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: #080808;
  object-fit: contain;
  transition: opacity 0.18s ease-out;
}
.video-modal.is-portrait .video-modal-box {
  width: min(1040px, 100%);
}
.video-modal.is-portrait .video-modal-stage {
  display: grid;
  place-items: center;
  height: min(68vh, 610px);
  isolation: isolate;
  overflow: hidden;
  background: #080808;
}
.video-modal.is-portrait .video-modal-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -36px;
  background: var(--video-poster) center / cover no-repeat;
  filter: blur(28px) brightness(0.3) saturate(0.78);
  transform: scale(1.08);
  opacity: 0.9;
}
.video-modal.is-portrait .video-modal-stage::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 28% 72%, rgba(0, 0, 0, 0.42));
}
.video-modal.is-portrait video {
  position: relative;
  z-index: 1;
  place-self: center;
  width: min(340px, 38vh, 100%);
  height: auto;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  box-shadow: 0 0 0 1px rgba(242, 241, 236, 0.16);
}
.video-modal.is-portrait .video-loading {
  z-index: 2;
  background: rgba(8, 8, 8, 0.56);
}
.video-loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #080808;
  color: var(--paper-muted);
}
.video-loading span {
  width: 5px;
  height: 5px;
  background: var(--red);
  animation: video-loading 0.72s ease-in-out infinite alternate;
}
.video-loading span:nth-child(2) {
  animation-delay: 0.12s;
}
.video-loading span:nth-child(3) {
  animation-delay: 0.24s;
}
.video-modal:not(.is-loading) .video-loading {
  display: none;
}
.video-modal.is-loading video {
  opacity: 0;
}
.video-modal.is-error .video-loading {
  display: flex;
  padding: 24px;
  text-align: center;
}
@keyframes video-loading {
  to { transform: scale(1.8); }
}
.video-modal-note {
  margin: 0;
  padding: 11px 20px;
  color: var(--paper-muted);
  font-size: 0.58rem;
}
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.24s ease-out,
    transform 0.24s ease-out;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 900px) {
  .wrap {
    padding-inline: 20px;
  }
  .main-nav,
  .header-cta {
    display: none;
  }
  .menu-button {
    display: block;
  }
  .mobile-nav {
    position: fixed;
    z-index: 19;
    inset: 64px 0 0;
    background: var(--ink);
    color: var(--paper);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition:
      transform 0.2s cubic-bezier(0.2, 0, 0, 1),
      opacity 0.16s ease-out,
      visibility 0s linear 0.2s;
  }
  .mobile-nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .mobile-nav a {
    font:
      900 clamp(2.1rem, 9vw, 4.2rem)/1 "Archivo Black",
      sans-serif;
    text-transform: uppercase;
    padding: 13px 0;
    border-bottom: 1px solid rgba(242, 241, 236, 0.2);
  }
  .page-head-top {
    font-size: 0.62rem;
  }
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .portfolio-card:nth-child(n) {
    grid-column: span 6;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 2px solid rgba(242, 241, 236, 0.22);
  }
  .service-row {
    grid-template-columns: 38px 1fr 30px;
  }
  .service-row p {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:last-child {
    grid-column: span 2;
  }
  .about-poster {
    min-height: 360px;
  }
}
@media (max-width: 560px) {
  .brand img {
    width: 118px;
  }
  .page-head h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }
  .page-head-top span:last-child {
    display: none;
  }
  .portfolio-grid {
    gap: 16px;
  }
  .portfolio-card:nth-child(n) {
    grid-column: span 12;
    min-height: 330px;
  }
  .stat {
    padding: 22px 14px;
  }
  .spec {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid > div:last-child {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .section-heading {
    font-size: clamp(2.1rem, 11vw, 4.3rem);
  }
  .video-modal-bar {
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }
  .video-modal-actions {
    width: 100%;
  }
  .video-modal-actions a,
  .close-modal {
    flex: 1;
  }
  .video-modal-note {
    padding: 10px 16px;
  }
}

/* Interaction pass: clear feedback without shifting the layout. */
.main-nav a,
.contact-list a,
.footer-grid a {
  transition: color 0.18s ease-out;
}
.button,
.header-cta,
.portfolio-card,
.service-row {
  transition:
    background 0.18s ease-out,
    color 0.18s ease-out,
    border-color 0.18s ease-out;
}
.button:focus-visible,
.header-cta:focus-visible,
.portfolio-card:focus-visible,
.main-nav a:focus-visible,
.contact-list a:focus-visible,
.portfolio-play:focus-visible,
.project-detail-link:focus-visible,
.close-modal:focus-visible,
.video-modal-actions a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

/* Shared resilience rules: content never creates horizontal scroll on a phone. */
html,
body {
  overflow-x: clip;
}
body.is-locked {
  overflow: hidden;
}
.contact-layout > *,
.split > *,
.portfolio-card,
.career-row > * {
  min-width: 0;
}
@media (max-width: 760px) {
  .career-row > .label:nth-child(3) {
    display: block;
    grid-column: 2;
    grid-row: 2;
  }
  .career-row .service-go {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}
@media (hover: hover) and (pointer: fine) {
  .about-poster:hover img.founder-portrait {
    filter: grayscale(0) contrast(1.03);
  }
  .button:hover {
    background: var(--ink);
    color: var(--paper);
  }
  .button.send:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
  }
  .portfolio-card img {
    transition:
      filter 0.18s ease-out,
      transform 0.18s ease-out;
  }
  .portfolio-card:hover .play {
    background: var(--red);
    color: #fff;
  }
  .service-row:hover {
    padding-inline: 0;
    margin-inline: 0;
  }
  .tool-run:hover span {
    animation-play-state: paused;
  }
}
.button:active,
.header-cta:active,
.portfolio-card:active,
.service-row:active,
.contact-list a:active {
  transform: scale(0.98);
}

/* Conversion and case-study additions. */
.process-section {
  background: var(--paper);
}
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--line);
}
.process-list li {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.22);
}
.process-list strong {
  max-width: 34ch;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.35;
}
.application-callout {
  margin-top: 40px;
  padding: clamp(24px, 4vw, 44px);
  border: var(--line);
  display: grid;
  grid-template-columns: 0.7fr 1fr auto;
  align-items: center;
  gap: 28px;
}
.application-callout p {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
}
.form-status {
  min-height: 1.5em;
  margin: 16px 0 0;
  color: var(--paper);
  font-size: 0.82rem;
}
.form-status.is-error {
  color: #ffb7ba;
}
.form-status.is-success {
  color: #a7edc3;
}
@media (max-width: 560px) {
  .process-list li,
  .application-callout {
    grid-template-columns: 1fr;
  }
  .process-list li {
    gap: 8px;
  }
  .application-callout {
    gap: 18px;
  }
}
