@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Plus+Jakarta+Sans:wght@700;800&display=swap");

:root {
  --orange: #f27127;
  --black: #090909;
  --white: #ffffff;
  --line: #090909;
  --container: 1180px;
  --gutter: 24px;
  --header: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

main {
  position: relative;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: var(--white);
  border-bottom: 2px solid var(--line);
  animation: header-drop 560ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.nav-shell,
.section-inner,
.footer-inner {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 88px;
  height: auto;
  transform-origin: 50% 65%;
  animation: logo-kick 820ms cubic-bezier(0.2, 1.4, 0.35, 1) 180ms both;
}

.brand span {
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.05;
  white-space: nowrap;
  animation: copy-snap 520ms cubic-bezier(0.2, 0.9, 0.2, 1) 260ms both;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  padding: 10px 0;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta)[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--orange);
}

.nav-links .nav-cta[aria-current="page"] {
  color: var(--black);
}

.nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 42px;
  padding: 0 20px;
  border: 2px solid var(--line);
  background: var(--orange);
  color: var(--black);
  text-decoration: none;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--black);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, color 120ms ease;
}

.nav-cta::after,
.button::after {
  content: "";
  position: absolute;
  inset: -50% auto -50% -40%;
  width: 32%;
  background: var(--white);
  opacity: 0.5;
  pointer-events: none;
  transform: skewX(-18deg) translateX(-180%);
  transition: transform 420ms ease;
}

.nav-cta:hover::after,
.button:hover::after {
  transform: skewX(-18deg) translateX(520%);
}

.nav-cta:hover,
.button.primary:hover {
  background: var(--black);
  color: var(--orange);
}

.nav-cta:hover {
  box-shadow: 4px 4px 0 var(--orange);
  transform: translate(2px, 2px);
}

.nav-cta:focus-visible,
.button:focus-visible,
.menu-button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  min-height: clamp(620px, calc(100svh - var(--header) - 190px), 760px);
  display: grid;
  align-items: center;
  padding: 56px 0 64px;
  border-bottom: 3px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.hero-copy .label {
  animation: label-strike 620ms cubic-bezier(0.2, 1.35, 0.32, 1) 220ms both;
}

.hero-copy h1 {
  animation: title-slam 760ms cubic-bezier(0.16, 1, 0.28, 1) 320ms both;
}

.hero-copy p {
  animation: copy-snap 620ms ease 520ms both;
}

.hero-actions .button:nth-child(1) {
  animation: button-pop 480ms cubic-bezier(0.2, 1.45, 0.35, 1) 680ms both;
}

.hero-actions .button:nth-child(2) {
  animation: button-pop 480ms cubic-bezier(0.2, 1.45, 0.35, 1) 780ms both;
}

.label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 2px solid var(--line);
  background: var(--black);
  color: var(--white);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
.display {
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  margin: 0;
}

h1,
.display {
  font-size: clamp(42px, 7vw, 82px);
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
}

h3 {
  font-size: 22px;
}

.accent {
  color: var(--orange);
}

.hero-copy {
  max-width: 550px;
}

.hero-copy p {
  max-width: 500px;
  margin: 24px 0 0;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--line);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  cursor: pointer;
  overflow: hidden;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, color 140ms ease;
}

.button.primary {
  background: var(--orange);
  color: var(--black);
  box-shadow: 5px 5px 0 var(--black);
}

.button.secondary {
  background: var(--white);
  color: var(--black);
}

.button.primary:hover,
.button.secondary:hover {
  transform: translate(2px, 2px);
}

.button.primary:hover {
  box-shadow: 3px 3px 0 var(--orange);
}

.button.secondary:hover {
  background: var(--black);
  color: var(--white);
}

.image-block {
  position: relative;
  border: 3px solid var(--line);
  background: var(--white);
  animation: image-slam 760ms cubic-bezier(0.16, 1, 0.3, 1) 420ms both;
}

.image-block::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  background: var(--orange);
}

.image-block img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08);
}

.section {
  position: relative;
  padding: clamp(72px, 9vw, 116px) 0;
}

.section.black {
  background: #191919;
  color: var(--white);
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 54px;
}

.section.black .section-title {
  border-bottom-color: var(--white);
}

.section-title p {
  margin: 0;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  perspective: 1200px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  z-index: 1;
  width: 52%;
  height: 100%;
  background: var(--orange);
  opacity: 0.14;
  transform: skewX(-18deg);
  transition: left 280ms ease;
}

.service-card:hover .service-name {
  color: var(--orange);
}

.service-card:hover {
  box-shadow: 10px 10px 0 var(--orange);
  transform: translate(-5px, -7px) rotateX(1deg) rotateY(-1.5deg);
}

.service-card:hover::before {
  left: 120%;
}

.service-card img {
  width: calc(100% - 28px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: 14px;
  border: 1px solid var(--line);
  filter: saturate(0.35) contrast(1.12);
  transition: transform 260ms ease, filter 260ms ease;
}

.service-card:hover img {
  transform: scale(1.045);
  filter: saturate(0.72) contrast(1.14);
}

.service-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
  border-top: 2px solid var(--line);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: var(--orange);
  font-size: 12px;
  font-weight: 800;
  transition: transform 180ms ease;
}

.service-card:hover .service-number {
  transform: rotate(-8deg) scale(1.12);
}

.service-name {
  margin-bottom: 18px;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  font-size: 14px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(40px, 8vw, 112px);
  align-items: center;
}

.stat-block {
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.stat-block span {
  display: block;
  margin-top: 8px;
  color: var(--orange);
}

.orange-rule {
  width: 88px;
  height: 12px;
  margin-top: 26px;
  background: var(--orange);
  transform-origin: left;
  animation: rule-pulse 1200ms ease-in-out infinite alternate;
}

.about-copy {
  padding-left: clamp(28px, 5vw, 54px);
  border-left: 2px solid var(--white);
}

.about-copy p {
  margin: 0 0 22px;
  font-size: 18px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.page-hero {
  position: relative;
  padding: 78px 0;
  border-bottom: 3px solid var(--line);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  width: min(42vw, 540px);
  height: 12px;
  background: var(--orange);
  animation: rail-slide 1800ms ease-in-out infinite alternate;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(38px, 6vw, 80px);
  align-items: center;
}

.page-hero p,
.intro p {
  max-width: 690px;
  margin: 24px 0 0;
  font-size: 18px;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
}

.detail-panel {
  border: 2px solid var(--line);
  padding: 28px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.detail-panel:hover {
  box-shadow: 8px 8px 0 var(--orange);
  transform: translate(-3px, -3px);
}

.detail-panel h2 {
  margin-bottom: 20px;
  font-size: 26px;
}

.detail-panel p {
  margin: 0 0 22px;
}

.detail-panel p:last-child {
  margin-bottom: 0;
}

.service-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.service-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 14px;
  align-items: start;
  font-weight: 700;
}

.service-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  background: var(--orange);
}

.side-card {
  border: 2px solid var(--line);
  background: var(--orange);
  padding: 28px;
  animation: side-card-pulse 1500ms ease-in-out infinite alternate;
}

.side-card h2 {
  font-size: 25px;
  margin-bottom: 16px;
}

.side-card p {
  margin: 0 0 24px;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 7vw, 88px);
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.contact-method {
  border: 2px solid var(--line);
  padding: 22px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-method:hover {
  box-shadow: 7px 7px 0 var(--orange);
  transform: translate(-3px, -3px);
}

.contact-method strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
}

.contact-method a {
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.contact-method a:hover {
  color: var(--orange);
}

.contact-form {
  position: relative;
  border: 3px solid var(--line);
  padding: 30px;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.contact-form::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 54px;
  height: 54px;
  background: var(--orange);
  border-left: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
  animation: form-corner 1100ms ease-in-out infinite alternate;
}

.contact-form:hover {
  box-shadow: 10px 10px 0 var(--orange);
  transform: translate(-3px, -3px);
}

.contact-form.form-sent {
  animation: sent-burst 700ms cubic-bezier(0.2, 1.3, 0.35, 1);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--black);
  font: inherit;
  padding: 13px 14px;
  border-radius: 0;
  transition: box-shadow 140ms ease, transform 140ms ease;
}

textarea {
  min-height: 156px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid var(--orange);
  outline-offset: 0;
  box-shadow: 5px 5px 0 var(--orange);
  transform: translate(-2px, -2px);
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  margin: 16px 0 0;
  font-weight: 700;
}

.site-footer {
  border-top: 3px solid var(--orange);
  background: var(--black);
  color: var(--white);
  padding: 34px 0;
}

.revealable {
  opacity: 1;
}

body.motion-ready .revealable {
  opacity: 0.08;
  transform: translateY(44px) skewY(1.25deg);
  transition: opacity 340ms ease, transform 460ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

body.motion-ready .service-card.revealable:nth-child(2),
body.motion-ready .contact-method.revealable:nth-child(2) {
  transition-delay: 60ms;
}

body.motion-ready .service-card.revealable:nth-child(3) {
  transition-delay: 120ms;
}

body.motion-ready .service-card.revealable:nth-child(4) {
  transition-delay: 180ms;
}

@keyframes header-drop {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes logo-kick {
  0% {
    opacity: 0;
    transform: translateY(-12px) rotate(-9deg) scale(0.72);
  }
  65% {
    opacity: 1;
    transform: translateY(2px) rotate(5deg) scale(1.08);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

@keyframes label-strike {
  0% {
    opacity: 0;
    transform: translateX(-42px) skewX(-12deg);
    clip-path: inset(0 100% 0 0);
  }
  100% {
    opacity: 1;
    transform: translateX(0) skewX(0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes title-slam {
  0% {
    opacity: 0;
    transform: translateY(30px) scaleY(0.82);
    clip-path: inset(0 0 100% 0);
  }
  72% {
    opacity: 1;
    transform: translateY(-4px) scaleY(1.04);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
    clip-path: inset(0 0 0 0);
  }
}

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

@keyframes button-pop {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.92);
  }
  75% {
    opacity: 1;
    transform: translateY(-2px) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes image-slam {
  from {
    opacity: 0;
    transform: translateX(46px) rotate(1.5deg) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(0) scale(1);
  }
}

@keyframes rule-pulse {
  from {
    transform: scaleX(0.7);
  }
  to {
    transform: scaleX(1.35);
  }
}

@keyframes rail-slide {
  from {
    transform: translateX(28%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes side-card-pulse {
  from {
    box-shadow: 0 0 0 var(--black);
  }
  to {
    box-shadow: 9px 9px 0 var(--black);
  }
}

@keyframes form-corner {
  from {
    width: 54px;
  }
  to {
    width: 88px;
  }
}

@keyframes sent-burst {
  0% {
    box-shadow: 0 0 0 var(--orange);
    transform: scale(1);
  }
  45% {
    box-shadow: 14px 14px 0 var(--orange);
    transform: scale(1.015);
  }
  100% {
    box-shadow: 0 0 0 var(--orange);
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  body.motion-ready .revealable {
    opacity: 1;
    transform: none;
  }
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-weight: 800;
}

.footer-brand img {
  width: 62px;
  height: auto;
  background: var(--white);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 700;
}

.footer-meta a {
  color: var(--white);
  text-decoration: none;
}

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

.source-note {
  margin-top: 18px;
  font-size: 13px;
}

@media (max-width: 980px) {
  .brand span {
    display: none;
  }

  .menu-button {
    display: block;
    position: relative;
    z-index: 22;
  }

.nav-links {
    position: fixed;
    inset: var(--header) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: calc(100svh - var(--header));
    padding: 24px;
    border-bottom: 3px solid var(--line);
    background: var(--white);
    font-size: 18px;
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    border-bottom: 2px solid var(--line);
    padding: 20px 0;
  }

  .nav-cta {
    margin-top: 22px;
    box-shadow: none;
  }

  .hero-grid,
  .page-hero-grid,
  .about-grid,
  .service-detail,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .about-copy {
    padding-left: 0;
    border-left: 0;
    border-top: 2px solid var(--white);
    padding-top: 32px;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .section-inner,
  .footer-inner {
    width: min(calc(100% - 32px), var(--container));
  }

  .hero {
    min-height: 0;
    padding: 44px 0 54px;
  }

  .hero .image-block img {
    aspect-ratio: 16 / 10;
  }

  .section-title,
  .footer-inner,
  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .image-block::after {
    inset: 12px -12px -12px 12px;
  }

  .contact-form {
    padding: 22px;
  }
}
