@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk-300.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b0b0b;
  --graphite: #1a1a1a;
  --bone: #f3efe7;
  --ash: #a7a29a;
  --orange: #ff5a1f;
  --red: #e92d20;
  --lime: #d7ff3f;
  --line: rgba(243, 239, 231, 0.18);
  --page-pad: clamp(1.2rem, 3.5vw, 4rem);
  --radius: clamp(1.1rem, 2vw, 2rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--orange) var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--bone);
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  cursor: default;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 1000;
  padding: 0.75rem 1rem;
  transform: translate(-50%, -150%);
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.cursor {
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.cursor--dot {
  width: 6px;
  height: 6px;
  background: var(--bone);
}

.cursor--ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(243, 239, 231, 0.7);
  transition: width 250ms var(--ease), height 250ms var(--ease), background 250ms ease, border-color 250ms ease;
}

.cursor--ring.is-hovering {
  width: 64px;
  height: 64px;
  border-color: var(--orange);
  background: rgba(255, 90, 31, 0.12);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 1.2rem var(--page-pad);
  border-bottom: 1px solid transparent;
  transition: padding 300ms ease, background 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
}

.site-header.is-scrolled {
  padding-block: 0.75rem;
  border-color: var(--line);
  background: rgba(11, 11, 11, 0.82);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: max-content;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand__name {
  font-size: 0.67rem;
  font-weight: 600;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.desktop-nav {
  display: flex;
  gap: clamp(1.6rem, 3vw, 3.6rem);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.desktop-nav a {
  position: relative;
  padding: 0.4rem 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.availability {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.availability__dot {
  position: relative;
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(215, 255, 63, 0.4);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 0.45rem rgba(215, 255, 63, 0); }
}

.menu-toggle {
  display: none;
  justify-self: end;
  padding: 0.55rem;
  border: 0;
  border-radius: 50%;
  background: var(--bone);
  cursor: pointer;
}

.menu-toggle img {
  transition: transform 300ms var(--ease);
}

.menu-toggle[aria-expanded="true"] img {
  transform: rotate(90deg);
}

.mobile-menu {
  position: fixed;
  z-index: -1;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 8rem var(--page-pad) 2.5rem;
  background: var(--orange);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.5rem);
  transition: opacity 300ms ease, visibility 300ms ease, transform 450ms var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu nav {
  display: grid;
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(11, 11, 11, 0.25);
  font-size: clamp(2.8rem, 13vw, 5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
}

.mobile-menu nav span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0;
}

.mobile-menu p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 8.5rem var(--page-pad) 2rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 11%;
  right: 8%;
  width: 22vw;
  aspect-ratio: 1;
  border: 1px solid rgba(243, 239, 231, 0.08);
  border-radius: 50%;
}

.hero__eyebrow {
  display: flex;
  justify-content: space-between;
  width: 50%;
  margin-bottom: auto;
  color: var(--ash);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.hero__title {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: clamp(4rem, 8vh, 7rem) 0 2rem;
  font-size: clamp(4.3rem, 11.4vw, 11rem);
  font-weight: 600;
  line-height: 0.76;
  letter-spacing: -0.085em;
  text-transform: uppercase;
}

.hero__line {
  display: flex;
  align-items: center;
  width: max-content;
}

.hero__line--offset {
  margin-left: 13vw;
}

.hero__line--accent {
  margin-left: auto;
  padding-right: 0.05em;
  color: var(--orange);
}

.hero__spark {
  display: grid;
  place-items: center;
  width: clamp(3.7rem, 6.4vw, 7rem);
  aspect-ratio: 1;
  margin-right: 0.12em;
  border-radius: 50%;
  background: var(--lime);
  transform: rotate(-10deg);
}

.hero__spark img {
  width: 42%;
}

.hero__footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding-left: 13vw;
}

.hero__intro {
  max-width: 30rem;
  margin: 0;
  color: var(--ash);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
}

.round-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: clamp(8rem, 10vw, 10rem);
  aspect-ratio: 1;
  padding: 1.2rem;
  border-radius: 50%;
  background: var(--bone);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
  transition: background 250ms ease, transform 250ms var(--ease);
}

.round-cta:hover {
  background: var(--lime);
}

.hero__stamp {
  position: absolute;
  top: 14%;
  right: var(--page-pad);
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  transform: rotate(4deg);
}

.hero__stamp > span {
  color: var(--orange);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 600;
  line-height: 0.7;
  letter-spacing: -0.08em;
}

.hero__stamp small {
  padding-bottom: 0.15rem;
  color: var(--ash);
  font-size: 0.58rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(11, 11, 11, 0.22);
  background: var(--orange);
  color: var(--ink);
}

.ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 1rem 0;
  animation: ticker 24s linear infinite;
}

.ticker span {
  padding: 0 1.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ticker i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--ink);
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.section {
  padding: clamp(6rem, 11vw, 10rem) var(--page-pad);
}

.work {
  background: var(--bone);
  color: var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 3fr;
  align-items: start;
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.kicker {
  margin: 0;
  font-size: 0.67rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.section-heading h2 {
  grid-column: 2;
  margin: -0.15em 0 0;
  font-size: clamp(3.2rem, 7.5vw, 8rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

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

.section-heading__aside {
  grid-column: 2;
  max-width: 27rem;
  margin: 2.2rem 0 0 auto;
  color: #5f5a54;
  font-size: 0.95rem;
}

.projects {
  display: grid;
  gap: clamp(5rem, 10vw, 10rem);
}

.project:nth-child(even) {
  width: 82%;
  margin-left: auto;
}

.project__topline {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.9rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.project__visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
}

.project__visual > * {
  transition: transform 800ms var(--ease);
}

.project:hover .project__visual > * {
  transform: translateY(-0.6rem) rotate(0deg) scale(1.025);
}

.project__visual--orbita {
  background: #ff612a;
}

.browser {
  width: 72%;
  overflow: hidden;
  border-radius: 0.6rem;
  box-shadow: 0 2.5rem 6rem rgba(59, 12, 0, 0.28);
  transform: rotate(-3deg);
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  height: 1.9rem;
  padding: 0 0.7rem;
  background: var(--bone);
  color: #6f6b65;
  font-size: 0.42rem;
}

.browser__bar i {
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: #c9c4bc;
}

.browser__bar span {
  margin: 0 auto;
}

.orbita-page {
  position: relative;
  height: clamp(12rem, 28vw, 28rem);
  overflow: hidden;
  background: #25204e;
  color: #f7f1e9;
}

.orbita-page__brand {
  position: absolute;
  top: 1.4rem;
  left: 1.5rem;
  z-index: 2;
  font-size: clamp(0.8rem, 1.4vw, 1.4rem);
  font-weight: 600;
}

.orbita-page__copy {
  position: absolute;
  z-index: 2;
  bottom: 1.4rem;
  left: 1.5rem;
  font-size: clamp(1.7rem, 4.7vw, 5.2rem);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.07em;
}

.orbita-page__shape {
  position: absolute;
  top: -18%;
  right: -10%;
  width: 66%;
  aspect-ratio: 1;
  border: clamp(1.1rem, 3.2vw, 3.4rem) solid #d7ff3f;
  border-radius: 50%;
}

.orbita-page__shape::after {
  content: "";
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background: #ff612a;
}

.project__floating-word {
  position: absolute;
  right: -2%;
  bottom: 2%;
  color: var(--bone);
  font-size: clamp(3rem, 10vw, 11rem);
  font-weight: 700;
  line-height: 0.7;
  letter-spacing: -0.1em;
  mix-blend-mode: difference;
  pointer-events: none;
}

.project__visual--noir {
  display: flex;
  gap: 7%;
  background: #d9d4ca;
}

.noir-poster {
  position: relative;
  width: 48%;
  height: 80%;
  overflow: hidden;
  background: #111;
  color: #ece8e0;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.18);
  transform: rotate(-2deg);
}

.noir-poster__micro,
.noir-poster__bottom {
  position: absolute;
  z-index: 2;
  font-size: clamp(0.3rem, 0.65vw, 0.65rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.noir-poster__micro { top: 5%; left: 5%; }
.noir-poster__bottom { right: 5%; bottom: 5%; text-align: right; }

.noir-poster strong {
  position: absolute;
  z-index: 2;
  right: -0.03em;
  bottom: 6%;
  left: -0.03em;
  font-size: clamp(3rem, 11vw, 11rem);
  line-height: 0.7;
  letter-spacing: -0.1em;
}

.noir-poster__object {
  position: absolute;
  top: 6%;
  left: 30%;
  width: 52%;
  height: 67%;
  border-radius: 45% 45% 15% 15%;
  background: linear-gradient(100deg, #2c2c2c, #6b6860 48%, #1a1a1a 75%);
  transform: rotate(13deg);
}

.noir-poster__object i {
  position: absolute;
  top: -2%;
  left: 14%;
  width: 72%;
  height: 17%;
  border: 0.35rem solid #77736a;
  border-radius: 50%;
  background: #0a0a0a;
}

.noir-label {
  color: #111;
  font-size: clamp(1.4rem, 3.2vw, 3.4rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.project__visual--aura {
  background: #cc2b21;
}

.aura-word {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #e9a11c;
  font-size: clamp(6rem, 22vw, 22rem);
  font-weight: 700;
  line-height: 0.7;
  letter-spacing: -0.13em;
  transform: translate(-50%, -50%);
}

.project:hover .aura-word {
  transform: translate(-50%, -53%) scale(1.03);
}

.aura-device {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 27%;
  aspect-ratio: 9 / 16;
  padding: 1.2rem;
  overflow: hidden;
  border: 0.35rem solid #111;
  border-radius: clamp(1rem, 2vw, 2.2rem);
  background: #f1d7a5;
  color: #3c2217;
  box-shadow: 0 2rem 4rem rgba(65, 5, 0, 0.35);
  transform: rotate(5deg);
}

.aura-device__nav {
  z-index: 2;
  display: flex;
  justify-content: space-between;
  font-size: clamp(0.35rem, 0.7vw, 0.7rem);
  font-weight: 600;
  text-transform: uppercase;
}

.aura-device__nav i { font-style: normal; font-weight: 400; }

.aura-device__sun {
  position: absolute;
  top: 17%;
  left: 12%;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e75b2f;
}

.aura-device__sun::after {
  content: "";
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: #f5b847;
}

.aura-device strong {
  z-index: 2;
  margin-top: auto;
  font-size: clamp(0.8rem, 2.15vw, 2.2rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.aura-device small {
  z-index: 2;
  margin-top: 0.7rem;
  font-size: clamp(0.28rem, 0.55vw, 0.55rem);
  line-height: 1.35;
}

.project__caption {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 2rem;
  padding-top: 1.25rem;
}

.project__caption h3 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.project__caption p {
  max-width: 32rem;
  margin: 0;
  color: #65615b;
  font-size: 0.9rem;
}

.project__link {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border: 1px solid rgba(11, 11, 11, 0.25);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 250ms ease, border-color 250ms ease, transform 250ms var(--ease);
}

.project__link:hover {
  border-color: var(--orange);
  background: var(--orange);
  transform: rotate(45deg);
}

.work__note {
  margin: 5rem 0 0;
  color: #77716a;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 3fr;
  overflow: hidden;
}

.about::after {
  content: "";
  position: absolute;
  right: -15vw;
  bottom: -30vw;
  width: 52vw;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.about__number {
  color: var(--orange);
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.about__content {
  position: relative;
  z-index: 2;
}

.about__content > h2 {
  max-width: 68rem;
  margin: 2rem 0 clamp(5rem, 10vw, 9rem);
  font-size: clamp(3.3rem, 7.5vw, 8rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.about__content > h2 span {
  color: var(--orange);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.about__lead {
  margin: 0;
  color: var(--ash);
  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1.35;
}

.about__services > span {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--ash);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.about__services ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about__services li {
  display: flex;
  gap: 1.2rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
}

.about__services b {
  color: var(--orange);
  font-size: 0.62rem;
  font-weight: 500;
}

.process {
  background: var(--red);
  color: var(--bone);
}

.section-heading--light h2 em {
  color: var(--lime);
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(243, 239, 231, 0.35);
}

.process-card {
  min-height: 25rem;
  padding: 1.5rem;
  border-right: 1px solid rgba(243, 239, 231, 0.35);
}

.process-card:last-child {
  border-right: 0;
}

.process-card--accent {
  background: var(--lime);
  color: var(--ink);
}

.process-card__day {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.process-card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin: 3.5rem 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.process-card:not(.process-card--accent) .process-card__icon img {
  filter: invert(1);
}

.process-card h3 {
  margin: 7rem 0 1rem;
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
}

.process-card p {
  max-width: 22rem;
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.75;
}

.contact {
  padding-block: clamp(7rem, 13vw, 13rem);
  text-align: center;
}

.contact__label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 3rem;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact__title {
  margin: 0;
  font-size: clamp(3.5rem, 9vw, 9.5rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.08em;
}

.contact__title span {
  color: var(--orange);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 4rem;
}

.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding: 1.3rem 1.5rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  font-size: clamp(0.9rem, 1.5vw, 1.25rem);
  font-weight: 600;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
}

.copy-button img,
.site-footer__social img,
.menu-toggle img,
.process-card--accent img {
  filter: none;
}

.copy-button img,
.site-footer__social img {
  filter: invert(1);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: 3rem var(--page-pad) 1.5rem;
  border-top: 1px solid var(--line);
}

.site-footer > p {
  margin: 0;
  color: var(--ash);
  font-size: 0.85rem;
}

.site-footer__social {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
}

.site-footer__social a {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 200ms ease, background 200ms ease;
}

.site-footer__social a:hover {
  border-color: var(--orange);
  background: var(--orange);
}

.site-footer__social a:hover img { filter: none; }

.site-footer__meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  margin-top: 4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--ash);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer__meta a {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 0.35rem;
  text-align: right;
}

.site-footer__meta a img { filter: invert(1); }

.project-dialog {
  width: min(52rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--bone);
  color: var(--ink);
  overflow: auto;
}

.project-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.project-dialog[open] {
  animation: dialog-in 420ms var(--ease);
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(2rem) scale(0.97); }
}

.project-dialog__close {
  position: sticky;
  z-index: 2;
  top: 1rem;
  float: right;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin: 1rem;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.project-dialog__close img { filter: invert(1); }

.project-dialog__content {
  padding: clamp(2rem, 6vw, 5rem);
}

.project-dialog__content .dialog-kicker {
  display: block;
  margin-bottom: 2rem;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.project-dialog__content h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.08em;
}

.project-dialog__content > p {
  max-width: 38rem;
  margin: 0 0 3rem;
  color: #5f5a54;
  font-size: 1.05rem;
}

.dialog-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(11, 11, 11, 0.18);
}

.dialog-meta span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.dialog-meta strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
}

.toast {
  position: fixed;
  z-index: 1002;
  right: 1.5rem;
  bottom: 1.5rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  transition: opacity 250ms ease, transform 350ms var(--ease);
}

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

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 700ms ease, transform 900ms var(--ease);
}

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

.hero__line:nth-child(2) { transition-delay: 90ms; }
.hero__line:nth-child(3) { transition-delay: 180ms; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

@media (pointer: fine) {
  body, a, button { cursor: none; }
  .cursor { opacity: 1; }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .site-header > .availability { display: none; }
  .menu-toggle, .mobile-menu { display: flex; }

  .hero__eyebrow { width: 70%; }
  .hero__stamp { top: 18%; }
  .hero__footer { padding-left: 0; }

  .project:nth-child(even) { width: 90%; }
  .section-heading { grid-template-columns: 1fr 4fr; }
  .about { grid-template-columns: 1fr 4fr; }

  .process__grid { grid-template-columns: 1fr; }
  .process-card {
    display: grid;
    grid-template-columns: 0.5fr 0.5fr 1fr 2fr;
    gap: 1rem;
    align-items: center;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(243, 239, 231, 0.35);
  }
  .process-card__icon, .process-card h3 { margin: 0; }
}

@media (max-width: 640px) {
  :root { --page-pad: 1.15rem; }

  .site-header { padding-top: 0.85rem; }
  .brand__name { display: none; }

  .hero {
    min-height: 100svh;
    padding-top: 7rem;
  }

  .hero__eyebrow {
    width: 100%;
    font-size: 0.58rem;
  }

  .hero__eyebrow span:last-child { display: none; }

  .hero__title {
    margin-top: auto;
    margin-bottom: 3rem;
    font-size: clamp(4rem, 20vw, 6.4rem);
    line-height: 0.8;
  }

  .hero__line--offset { margin-left: 0; }
  .hero__line--accent { margin-left: 0; }
  .hero__spark { width: 3.5rem; }
  .hero__spark img { width: 45%; }

  .hero__footer {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .hero__intro { max-width: 13.5rem; font-size: 0.86rem; }
  .round-cta { width: 6.5rem; padding: 0.9rem; font-size: 0.63rem; }
  .round-cta img { width: 1.2rem; }
  .hero__stamp { top: 17%; right: 1.2rem; }
  .hero__stamp > span { font-size: 2.7rem; }

  .section { padding-block: 5.5rem; }

  .section-heading {
    display: block;
    margin-bottom: 4rem;
  }

  .section-heading .kicker { margin-bottom: 1.8rem; }
  .section-heading h2 { font-size: clamp(3.3rem, 17vw, 5.2rem); }
  .section-heading__aside { margin: 1.5rem 0 0; }

  .projects { gap: 5rem; }
  .project:nth-child(even) { width: 100%; }
  .project__topline { font-size: 0.54rem; }
  .project__visual { aspect-ratio: 4 / 5; }
  .browser { width: 92%; }
  .orbita-page { height: 15rem; }
  .orbita-page__copy { font-size: 2.6rem; }
  .project__floating-word { font-size: 4.7rem; }
  .project__visual--noir { flex-direction: column; gap: 1.2rem; }
  .noir-poster { width: 70%; height: 76%; }
  .noir-poster strong { font-size: 5.5rem; }
  .noir-label { position: absolute; right: 7%; bottom: 7%; font-size: 1.6rem; }
  .aura-word { font-size: 8rem; }
  .aura-device { width: 52%; padding: 0.8rem; }
  .aura-device strong { font-size: 1.35rem; }
  .project__caption { gap: 1rem; }
  .project__caption p { font-size: 0.78rem; }

  .about { display: block; }
  .about__number { margin-bottom: 3rem; }
  .about__content > h2 { margin-bottom: 4rem; font-size: 3.7rem; }
  .about__grid { grid-template-columns: 1fr; gap: 4rem; }

  .process__grid { border-top: 0; }
  .process-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    padding: 1.5rem 0;
  }
  .process-card__icon { justify-self: end; }
  .process-card h3 { grid-column: 1 / -1; margin-top: 2.4rem; font-size: 3rem; }
  .process-card p { grid-column: 1 / -1; }
  .process-card--accent { margin-inline: -1.15rem; padding-inline: 1.15rem; }

  .contact__title { font-size: 16vw; }
  .contact__actions { margin-top: 3rem; }
  .contact__email { width: 100%; justify-content: space-between; gap: 0.5rem; }

  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > p { display: none; }
  .site-footer__meta { grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 2rem; }
  .site-footer__meta span:nth-child(2) { text-align: right; }
  .site-footer__meta a { grid-column: 1 / -1; justify-self: start; margin-top: 1rem; text-align: left; }

  .dialog-meta { grid-template-columns: 1fr; }
}

@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;
  }
  .reveal { opacity: 1; transform: none; }
  .cursor { display: none; }
}
