:root {
  --ink: #f2f0eb;
  --muted: #9d9993;
  --line: #292929;
  --frame: #3b3b3b;
  --paper: #070707;
  --panel: #0d0d0d;
  --orange: #ff8000;
  --orange-bright: #ff9900;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 162px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", "Neue Haas Grotesk Text Pro", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
}

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

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

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

.shell {
  width: min(100% - 96px, 1600px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 60;
  top: 0;
  min-height: 142px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 7, 0.94);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: clamp(110px, 18vw, 280px);
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-bright));
  transform-origin: left;
  animation: header-line-in 1100ms 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  width: 78px;
  height: 84px;
  display: grid;
  place-items: center;
}

.brand img {
  width: 72px;
  height: 77px;
  object-fit: contain;
}

nav {
  display: flex;
  gap: clamp(22px, 3vw, 52px);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav a,
.footer a,
.contact__details a {
  position: relative;
}

nav a::after,
.footer a::after,
.contact__details a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: var(--orange);
  transition: right 280ms ease;
}

nav a:hover::after,
nav a:focus-visible::after,
.footer a:hover::after,
.footer a:focus-visible::after,
.contact__details a:hover::after,
.contact__details a:focus-visible::after {
  right: 0;
}

.hero {
  position: relative;
  min-height: calc(100svh - 142px);
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
  align-items: center;
  gap: clamp(48px, 8vw, 140px);
  padding-block: clamp(56px, 7vw, 112px);
  isolation: isolate;
  overflow: hidden;
}

.hero__copy,
.hero__visual {
  position: relative;
}

.hero__copy {
  z-index: 4;
}

.hero__visual {
  z-index: 2;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.work > .section-heading .eyebrow,
.studio__label .eyebrow,
.contact > .eyebrow {
  color: var(--orange);
}

.hero h1 {
  max-width: 720px;
  margin: 32px 0 34px;
  font-size: clamp(48px, 5.25vw, 92px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero__text {
  max-width: 560px;
  margin: 0 0 44px;
  color: #c4c2bc;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--orange);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 200ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  border-color: var(--ink);
}

.hero__visual {
  justify-self: end;
  width: min(100%, 720px);
  margin: 0;
}

.hero__visual > img {
  width: 100%;
  height: auto;
  border: 1px solid var(--frame);
  border-radius: 5px;
}

.hero__visual figcaption {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 16px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-index {
  min-height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-index span:last-child,
.project__number {
  color: var(--orange);
}

.work {
  padding-block: clamp(110px, 12vw, 210px);
}

.section-heading {
  display: grid;
  grid-template-columns: 2fr 5fr 3fr;
  gap: 40px;
  align-items: start;
  margin-bottom: clamp(130px, 16vw, 260px);
}

.section-heading h2,
.studio h2,
.contact h2 {
  margin: 0;
  font-size: clamp(42px, 5.4vw, 86px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child {
  max-width: 430px;
  margin: 5px 0 0;
  color: #b3b1ab;
  font-size: 16px;
  line-height: 1.65;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: clamp(160px, 20vw, 320px);
}

.project {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 38px);
  align-items: end;
}

.project__figure {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--frame);
  border-radius: 5px;
  overflow: hidden;
}

.project__figure img {
  width: 100%;
  height: auto;
}

.project--right .project__figure {
  grid-column: 5 / 13;
  grid-row: 1;
}

.project--left .project__figure {
  grid-column: 1 / 9;
  grid-row: 1;
}

.project--right .project__meta {
  grid-column: 1 / 4;
  grid-row: 1;
}

.project--left .project__meta {
  grid-column: 10 / 13;
  grid-row: 1;
}

.project__meta {
  min-height: 190px;
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: 1fr auto;
  gap: 18px 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.project__number,
.project__year {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.project__meta h3 {
  max-width: 330px;
  margin: -4px 0 18px;
  font-size: clamp(22px, 2vw, 34px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.project__meta p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.project__year {
  grid-column: 2;
}

.studio {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: clamp(60px, 10vw, 180px);
  padding-block: clamp(120px, 15vw, 240px);
  border-top: 1px solid var(--line);
}

.studio__label img {
  width: min(180px, 70%);
  height: auto;
  margin-top: 64px;
}

.studio__copy h2 {
  max-width: 1050px;
  margin-bottom: clamp(54px, 7vw, 100px);
}

.studio__copy > p {
  max-width: 720px;
  margin: 0 0 28px;
  color: #c4c2bc;
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.5;
}

.scope-list {
  max-width: 720px;
  margin: 80px 0 0;
}

.scope-list div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
}

.scope-list div:last-child {
  border-bottom: 1px solid var(--line);
}

.scope-list dt {
  color: var(--muted);
  font-size: 11px;
}

.scope-list dd {
  margin: 0;
  font-size: 14px;
}

.contact {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 96px);
  padding-block: clamp(120px, 14vw, 220px);
  border-top: 1px solid var(--line);
}

.contact__intro {
  grid-column: 1 / 6;
}

.contact__intro > .eyebrow {
  color: var(--orange);
  margin-bottom: 34px;
}

.contact__intro h2 {
  max-width: 900px;
}

.contact__intro > p:not(.eyebrow) {
  max-width: 600px;
  margin: 44px 0 50px;
  color: #b3b1ab;
  font-size: 18px;
  line-height: 1.6;
}

.email-link {
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--orange);
  font-size: clamp(18px, 2.1vw, 32px);
  letter-spacing: -0.02em;
  transition: border-color 200ms ease;
}

.email-link:hover,
.email-link:focus-visible {
  border-color: var(--ink);
}

.contact__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.contact__details p {
  margin: 30px 0 0;
}

.contact-form {
  grid-column: 7 / 13;
  align-self: end;
  display: grid;
  gap: 28px;
  padding-top: 6px;
}

.contact-form label {
  display: grid;
  gap: 11px;
}

.contact-form label > span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--frame);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  line-height: 1.5;
  transition: border-color 220ms ease;
}

.contact-form input {
  min-height: 48px;
}

.contact-form textarea {
  min-height: 170px;
  padding: 13px 0;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
}

.form-submit {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: 10px;
}

.form-submit p {
  max-width: 350px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.form-submit p a {
  border-bottom: 1px solid var(--frame);
}

.form-submit button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0 10px;
  border: 0;
  border-bottom: 1px solid var(--orange);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 200ms ease, color 200ms ease;
}

.form-submit button:hover,
.form-submit button:focus-visible {
  border-color: var(--ink);
  color: var(--orange);
}

.form-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-direct {
  grid-column: 7 / 13;
  align-self: end;
  padding: clamp(34px, 4vw, 58px);
  border: 1px solid var(--frame);
  border-radius: 5px;
}

.contact-direct h3 {
  margin: 26px 0 24px;
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.contact-direct > p:not(.eyebrow) {
  max-width: 470px;
  margin: 0 0 42px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.mail-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0 10px;
  border-bottom: 1px solid var(--orange);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: border-color 200ms ease, color 200ms ease;
}

.mail-button:hover,
.mail-button:focus-visible {
  border-color: var(--ink);
  color: var(--orange);
}

.footer {
  min-height: 120px;
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__legal {
  display: flex;
  gap: 18px;
}

.legal-page {
  min-height: 100svh;
}

.legal-header {
  min-height: 142px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.legal-back {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-content {
  max-width: 1060px;
  padding-block: clamp(90px, 12vw, 180px);
}

.legal-content > .eyebrow {
  color: var(--orange);
}

.legal-content h1 {
  margin: 30px 0 clamp(90px, 11vw, 160px);
  font-size: clamp(58px, 9vw, 140px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.legal-content section {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 2fr);
  gap: 38px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.legal-content section:last-child {
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0;
  color: var(--orange);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-content p,
.legal-content address {
  max-width: 680px;
  margin: 0;
  color: #c4c2bc;
  font-size: 16px;
  font-style: normal;
  line-height: 1.7;
}

.legal-content p + p {
  margin-top: 20px;
}

.legal-content a {
  border-bottom: 1px solid var(--frame);
}

.legal-footer {
  min-height: 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thank-you {
  min-height: calc(100svh - 142px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 90px;
}

.thank-you > .eyebrow {
  color: var(--orange);
}

.thank-you h1 {
  max-width: 1120px;
  margin: 32px 0 42px;
  font-size: clamp(54px, 8vw, 128px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.thank-you > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 48px;
  color: #b3b1ab;
  font-size: 18px;
  line-height: 1.65;
}

.intro-reveal {
  animation: intro-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.intro-reveal--late {
  animation-delay: 140ms;
}

.hero-motion {
  --pointer-x: 0;
  --pointer-y: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  perspective: 1100px;
}

.motion-object {
  position: absolute;
  will-change: transform;
  transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-orbit {
  top: 8%;
  left: 42%;
  width: clamp(180px, 19vw, 320px);
  aspect-ratio: 1;
  transform: translate3d(
      calc(var(--pointer-x) * -34px),
      calc(var(--pointer-y) * -24px),
      0
    )
    rotateX(calc(62deg + var(--pointer-y) * 11deg))
    rotateZ(calc(-18deg + var(--pointer-x) * 10deg));
  opacity: 0.62;
}

.motion-orbit span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 128, 0, 0.44);
  border-radius: 50%;
}

.motion-orbit span:nth-child(2) {
  inset: 16%;
  border-color: rgba(255, 255, 255, 0.17);
  transform: rotateX(68deg) rotateY(18deg);
}

.motion-orbit span:nth-child(3) {
  inset: 34%;
  border-color: rgba(255, 153, 0, 0.6);
  box-shadow: 0 0 30px rgba(255, 128, 0, 0.08);
}

.motion-frame {
  left: 34%;
  bottom: 14%;
  width: clamp(72px, 8vw, 132px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: translate3d(
      calc(var(--pointer-x) * 44px),
      calc(var(--pointer-y) * 30px),
      0
    )
    rotateX(calc(58deg + var(--pointer-y) * -13deg))
    rotateZ(calc(42deg + var(--pointer-x) * 13deg));
}

.motion-frame span {
  position: absolute;
  inset: 24%;
  border: 1px solid rgba(255, 128, 0, 0.75);
}

.motion-axis {
  right: 3%;
  bottom: 10%;
  width: 120px;
  height: 120px;
  transform: translate3d(
      calc(var(--pointer-x) * -28px),
      calc(var(--pointer-y) * -34px),
      0
    )
    rotate(calc(var(--pointer-x) * 9deg));
  opacity: 0.55;
}

.motion-axis i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 60px;
  background: linear-gradient(var(--orange), transparent);
  transform-origin: top;
}

.motion-axis i:nth-child(2) {
  transform: rotate(120deg);
}

.motion-axis i:nth-child(3) {
  transform: rotate(240deg);
}

@keyframes header-line-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes intro-in {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(44px);
  transition:
    opacity 850ms ease,
    transform 1050ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.motion-ready .project__figure {
  opacity: 0.78;
  transition:
    opacity 900ms ease,
    transform 1150ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.motion-ready .project--right .project__figure {
  transform: translate3d(58px, 34px, 0) scale(0.975) rotate(0.45deg);
}

.motion-ready .project--left .project__figure {
  transform: translate3d(-58px, 34px, 0) scale(0.975) rotate(-0.45deg);
}

.motion-ready .project.is-visible .project__figure {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0);
}

@media (max-width: 980px) {
  .shell {
    width: min(100% - 48px, 900px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .hero__copy {
    max-width: 720px;
  }

  .hero__visual {
    justify-self: center;
    width: min(100%, 680px);
  }

  .motion-orbit {
    left: auto;
    right: -4%;
    top: 2%;
  }

  .motion-frame {
    left: 4%;
    bottom: 43%;
  }

  .section-heading {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .section-heading > p:last-child {
    max-width: 600px;
  }

  .project--right .project__figure,
  .project--left .project__figure {
    grid-column: 4 / 13;
    grid-row: 1;
  }

  .project--right .project__meta,
  .project--left .project__meta {
    grid-column: 1 / 4;
    grid-row: 1;
  }

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

  .studio__label img {
    width: 120px;
    margin-top: 30px;
  }

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

  .contact__intro,
  .contact-form,
  .contact-direct {
    grid-column: 1;
  }

  .contact-form,
  .contact-direct {
    margin-top: 45px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 122px;
  }

  .shell {
    width: calc(100% - 40px);
  }

  .site-header {
    min-height: 104px;
  }

  .brand {
    width: 52px;
    height: 62px;
  }

  .brand img {
    width: 50px;
    height: 54px;
  }

  nav {
    gap: 18px;
    font-size: 10px;
  }

  .hero {
    min-height: auto;
    padding-block: 68px 90px;
  }

  .motion-orbit {
    width: 180px;
    right: -78px;
    top: 1%;
    opacity: 0.44;
  }

  .motion-frame,
  .motion-axis {
    display: none;
  }

  .hero h1 {
    margin-block: 25px 28px;
    font-size: clamp(43px, 13vw, 62px);
  }

  .hero__visual figcaption {
    grid-template-columns: 26px 1fr;
  }

  .hero__visual figcaption span:last-child {
    display: none;
  }

  .project-index {
    min-height: 68px;
  }

  .work {
    padding-block: 90px 130px;
  }

  .section-heading {
    margin-bottom: 120px;
  }

  .project-list {
    gap: 130px;
  }

  .project {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .project__figure,
  .project__meta {
    width: 100%;
  }

  .project__meta {
    min-height: 150px;
  }

  .project__meta p:last-child {
    max-width: 260px;
  }

  .studio {
    gap: 60px;
    padding-block: 110px 130px;
  }

  .studio__copy > p {
    font-size: 18px;
  }

  .scope-list {
    margin-top: 58px;
  }

  .contact {
    padding-block: 110px;
  }

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

  .form-submit {
    align-items: flex-start;
    flex-direction: column;
  }

  .email-link {
    font-size: 17px;
  }

  .footer {
    grid-template-columns: 1fr auto;
    min-height: 150px;
  }

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

  .footer__legal {
    order: 3;
    grid-column: 1 / -1;
  }

  .legal-header {
    min-height: 104px;
  }

  .legal-content {
    padding-block: 80px 120px;
  }

  .legal-content section {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

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

/* Particle scorpion — v4 */
.hero-particles {
  inset: -4% -7% -2%;
  z-index: 1;
  overflow: hidden;
  opacity: 1;
  perspective: none;
  contain: layout paint;
}

.hero-particles__canvas {
  display: block;
  width: 100%;
  height: 100%;
  filter: saturate(0.94) contrast(1.08);
  mix-blend-mode: screen;
}

.hero__copy {
  z-index: 3;
}

.hero__visual {
  z-index: 2;
}

@media (max-width: 980px) {
  .hero-particles {
    inset: -2% -18% 34% -10%;
    opacity: 0.88;
  }
}

@media (max-width: 640px) {
  .hero-particles {
    inset: -2% -38% 50% -24%;
    opacity: 0.78;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-particles {
    opacity: 0.62;
  }
}

/* Abstract foreground particle field — v5 */
.hero-particles {
  inset: -2% -4% 1%;
  z-index: 6;
  opacity: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles__canvas {
  filter:
    brightness(2.32)
    saturate(1.08)
    contrast(1.18)
    drop-shadow(0 0 1.5px rgba(255, 139, 63, 0.46));
  mix-blend-mode: screen;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pill-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  padding: 0 24px;
  border: 1px solid var(--frame);
  border-radius: 999px;
  color: #d3d0ca;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    border-color 220ms ease,
    color 220ms ease,
    background-color 220ms ease;
}

.contact__details .pill-link::after {
  display: none;
}

.pill-link:hover,
.pill-link:focus-visible {
  border-color: var(--orange);
  background: rgba(255, 128, 0, 0.04);
  color: var(--ink);
}

.pill-link__arrow {
  position: relative;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}

.pill-link__arrow::before {
  content: "";
  position: absolute;
  width: 11px;
  height: 1px;
  top: 7px;
  left: 1px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: center;
}

.pill-link__arrow::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  top: 1px;
  right: 1px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

@media (max-width: 980px) {
  .hero-particles {
    inset: -1% -12% 36% -8%;
    opacity: 0.84;
  }
}

@media (max-width: 640px) {
  .hero-particles {
    display: none;
  }

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

  .pill-link {
    min-height: 44px;
    padding-inline: 20px;
  }
}

/* The particle field is intentionally desktop-only. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
  .hero-particles {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-particles {
    opacity: 0.48;
  }
}
