:root {
  --bg: #050505;
  --panel: #0c0c0c;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f4f5;
  --muted: rgba(244, 244, 245, 0.62);
  --soft: rgba(244, 244, 245, 0.36);
  --orange: #ff3d00;
  --orange-2: #ff5a26;
  --display: "Clash Display", "Arial Black", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.site {
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px clamp(48px, 13vw, 268px);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0));
  animation: nav-in 0.8s ease both;
}

.brand,
.footer-brand {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.brand span,
.footer-brand span {
  position: relative;
}

.brand span::after,
.footer-brand span::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  right: -3px;
  top: -2px;
  background: var(--orange);
  transform: rotate(45deg);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3.8vw, 46px);
}

.nav-links a,
.nav-cta {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--orange);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  border-radius: 0;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta {
  min-width: 202px;
  padding: 19px 24px;
  color: #fff !important;
}

.button {
  min-height: 54px;
  padding: 0 34px;
  font-size: 13px;
}

.nav-cta:hover,
.button:hover {
  background: var(--orange-2);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 0 clamp(48px, 10.75vw, 220px) 86px;
  display: flex;
  align-items: stretch;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -8vh -4vw;
  z-index: -2;
  background:
    radial-gradient(circle at 57% 55%, rgba(255, 255, 255, 0.18), transparent 34%),
    radial-gradient(circle at 50% 54%, rgba(255, 255, 255, 0.18) 0 2px, transparent 2.7px),
    url("data:image/svg+xml,%3Csvg width='172' height='150' viewBox='0 0 172 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M43 3h86l40 72-40 72H43L3 75 43 3Z' fill='none' stroke='rgba(255,255,255,0.22)' stroke-width='2.4'/%3E%3C/svg%3E"),
    #050505;
  background-size: 100% 100%, 12px 12px, 172px 150px, 100% 100%;
  background-position: center, center 70px, 0 -10px, center;
  filter: contrast(1.12);
  transform: scale(var(--hero-zoom, 1));
  transform-origin: center top;
  will-change: transform;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 52% 54%, transparent 0%, rgba(5, 5, 5, 0.18) 45%, rgba(5, 5, 5, 0.86) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.62) 86%);
  opacity: 0.95;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,5,5,.08), rgba(5,5,5,.38) 78%, rgba(5,5,5,.9));
}

.hero-content {
  width: min(1608px, 100%);
  min-height: calc(100vh - 112px);
  display: grid;
  grid-template-rows: auto auto 1fr;
  padding-top: clamp(118px, 18.8vh, 194px);
  transform: translateY(var(--hero-text-shift, 0px)) scale(var(--hero-text-scale, 1));
  transform-origin: center 45%;
  will-change: transform;
}

.eyebrow,
.label {
  margin: 0;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.31em;
  font-size: 12px;
  font-weight: 400;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  animation: fade-up 0.8s 0.12s ease both;
}

.eyebrow span {
  width: 31px;
  height: 2px;
  background: var(--orange);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  text-transform: uppercase;
}

h1 {
  margin-top: 35px;
  font-size: clamp(64px, 8.9vw, 180px);
  line-height: 0.88;
  font-weight: 700;
  letter-spacing: 0;
}

.reveal-lines span {
  display: block;
  transform: translateY(115%);
  animation: line-up 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal-lines {
  overflow: visible;
}

.reveal-lines span:nth-child(1) {
  animation-delay: 0.18s;
}

.reveal-lines span:nth-child(2) {
  animation-delay: 0.28s;
}

.reveal-lines span:nth-child(3) {
  animation-delay: 0.38s;
}

h1 strong {
  color: var(--orange);
  font-weight: inherit;
}

.hero-bottom {
  margin-top: 0;
  display: grid;
  grid-template-columns: minmax(280px, 565px) 1fr;
  align-items: end;
  gap: 50px;
  align-self: end;
}

.hero-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.6;
  animation: fade-up 0.8s 0.48s ease both;
}

.hero-bottom .button {
  justify-self: end;
  min-width: 270px;
  min-height: 54px;
  animation: fade-up 0.8s 0.56s ease both;
}

.scroll-cue {
  position: absolute;
  bottom: 44px;
  left: 50%;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 11px;
  transform: translateX(-50%);
  animation: pulse-scroll 2s 1.1s ease-in-out infinite;
}

.marquee {
  position: relative;
  z-index: 3;
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: #050505;
  padding: 26px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 36s linear infinite;
}

.marquee span {
  padding: 0 32px;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 58px);
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
}

.marquee i {
  color: var(--orange);
  font-style: normal;
  font-size: clamp(28px, 4vw, 54px);
}

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

.section {
  padding: 128px 48px;
  border-top: 1px solid var(--line);
}

.section-head {
  width: min(1600px, 100%);
  margin: 0 auto 68px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: end;
}

.section-head h2,
.contact h2 {
  font-size: clamp(44px, 6.8vw, 104px);
  line-height: 0.9;
  letter-spacing: 0;
}

.section-head > p:last-child {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.compact {
  display: block;
}

.compact h2 {
  margin-top: 18px;
}

.service-grid {
  width: min(1600px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 430px;
  padding: clamp(28px, 3.5vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #050505;
  transition: background 220ms ease, border-top-color 220ms ease;
  border-top: 2px solid transparent;
}

.service-card:hover {
  background: var(--panel);
  border-top-color: var(--orange);
  transform: translateY(-2px);
}

.service-card.wide {
  grid-column: span 2;
}

.num {
  color: var(--orange);
  font-size: 14px;
}

.service-card h3 {
  margin-top: 96px;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 0.98;
  letter-spacing: 0;
}

.service-card p {
  max-width: 500px;
  color: var(--muted);
  line-height: 1.7;
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  border: 1px solid var(--line);
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.manifesto {
  background: var(--panel);
}

.process-list {
  width: min(1600px, 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.process-list article {
  display: grid;
  grid-template-columns: 110px 1fr 520px;
  gap: 36px;
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

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

.process-list h3 {
  font-size: clamp(28px, 4vw, 56px);
  line-height: 0.98;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.work-list {
  width: min(1600px, 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.work-list article {
  display: grid;
  grid-template-columns: 280px 1fr 420px;
  gap: 36px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.work-list p {
  margin: 0;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
}

.work-list h3 {
  font-size: clamp(30px, 3.5vw, 52px);
  line-height: 1;
  transition: color 180ms ease;
}

.work-list article:hover h3 {
  color: var(--orange);
}

.work-list span {
  color: var(--muted);
  line-height: 1.7;
}

.testimonials {
  background: var(--panel);
}

.testimonial-grid {
  width: min(1600px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.testimonial-card {
  min-height: 390px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 34px;
  padding: clamp(28px, 3.4vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 61, 0, 0.08), transparent 36%),
    var(--panel);
  transition: background 220ms ease, border-top-color 220ms ease, transform 220ms ease;
  border-top: 2px solid transparent;
}

.testimonial-card:hover {
  background:
    linear-gradient(135deg, rgba(255, 61, 0, 0.12), transparent 42%),
    #111111;
  border-top-color: var(--orange);
  transform: translateY(-2px);
}

.testimonial-card > span {
  color: var(--orange);
  font-size: 14px;
}

.testimonial-card p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 2.2vw, 36px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0;
}

.testimonial-card footer {
  display: grid;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.testimonial-card strong {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.testimonial-card small {
  color: var(--muted);
  font-size: 12px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats div {
  padding: 72px 48px;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(58px, 7vw, 116px);
  line-height: 0.9;
  letter-spacing: 0;
}

.stats span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 7vw, 110px);
  background: #050505;
}

.contact-copy,
.contact-form {
  width: min(760px, 100%);
  justify-self: end;
}

.contact-form {
  justify-self: start;
}

.contact h2 {
  margin-top: 20px;
}

.contact-copy > p:not(.label) {
  max-width: 460px;
  margin-top: 30px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 38px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-lines span::first-letter {
  color: var(--orange);
}

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

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.contact-form label,
.contact-form legend {
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.48);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  padding: 16px 0;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 180ms ease;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

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

.contact-form ::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.consent-options {
  display: grid;
  gap: 16px;
}

.contact-form .consent-option {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.68);
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  line-height: 1.6;
  cursor: pointer;
}

.contact-form .consent-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background-color: rgba(255, 255, 255, 0.025);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px 10px;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-form .consent-option:hover input[type="checkbox"] {
  border-color: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

.contact-form .consent-option input[type="checkbox"]:checked {
  border-color: var(--orange);
  background-color: var(--orange);
  background-image:
    linear-gradient(45deg, transparent 43%, #fff 44%, #fff 57%, transparent 58%),
    linear-gradient(-45deg, transparent 36%, #fff 37%, #fff 50%, transparent 51%);
  background-position: 1px 3px, 5px 0;
  background-size: 7px 10px, 10px 14px;
  box-shadow: 0 0 0 4px rgba(255, 91, 31, 0.1);
}

.contact-form .consent-option input[type="checkbox"]:focus-visible {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 91, 31, 0.16);
  outline: none;
}

.contact-form .consent-option:has(input:checked) span {
  color: rgba(255, 255, 255, 0.88);
}

.consent-option a,
.consent-note a {
  color: var(--text);
  text-underline-offset: 3px;
}

.consent-note {
  margin: 0 0 0 32px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1.6;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.service-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.service-options button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  padding: 10px 14px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}

.service-options button.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.submit {
  justify-self: start;
  min-width: 260px;
  margin-top: 8px;
}

.submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  min-height: 20px;
  margin: -14px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.5;
}

.form-status.is-success {
  color: #8ee6b0;
}

.form-status.is-error {
  color: #ff9a76;
}

.footer {
  position: relative;
  padding: 82px 48px 36px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes line-up {
  from {
    opacity: 0;
    transform: translateY(115%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-scroll {
  0%, 100% {
    opacity: 0.28;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 0.72;
    transform: translateX(-50%) translateY(8px);
  }
}

.footer > p {
  max-width: 760px;
  margin: 0 0 68px;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 58px);
  line-height: 0.98;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  gap: 30px;
  max-width: 730px;
  margin-left: auto;
  margin-bottom: 64px;
}

.footer-links h4 {
  margin: 0 0 16px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
}

.footer-links a {
  display: block;
  color: var(--muted);
  line-height: 1.9;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--orange);
}

.credits {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr auto;
    padding: 22px 22px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    min-width: 0;
    padding: 14px 16px;
    font-size: 10px !important;
  }

  .hero {
    min-height: 94vh;
    padding: 126px 22px 70px;
    align-items: flex-start;
  }

  .hero-content {
    min-height: auto;
    display: block;
    padding-top: 0;
  }

  .hero-bottom,
  .section-head,
  .contact,
  .process-list article,
  .work-list article {
    grid-template-columns: 1fr;
  }

  .hero-bottom .button {
    justify-self: start;
  }

  .section,
  .footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .service-grid,
  .testimonial-grid,
  .stats,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .service-card.wide {
    grid-column: span 1;
  }

  .stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 44px 22px;
  }

  .contact-copy,
  .contact-form {
    justify-self: stretch;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(40px, 11.2vw, 45px);
    line-height: 0.92;
  }

  .brand {
    font-size: 24px;
  }

  .nav-cta {
    display: none;
  }

  .eyebrow,
  .label {
    letter-spacing: 0.22em;
  }

  .service-card {
    min-height: auto;
  }

  .credits {
    flex-direction: column;
  }
}
