/* ============================================================
   Salt IT Solution — KINETIC ORANGE brutalist system
   Three colors: Orange #FF4D00, Black #000, White #FFF.
   Type: Archivo Black (display, uppercase) + Space Mono (labels)
   + Inter (body). Sharp 2px borders, pills only where specified.
   No gradients. No drop shadows (nav depth excepted).
   ============================================================ */

@font-face {
  font-family: "Archivo Black";
  src: url("../fonts/archivo-black-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("../fonts/space-mono-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("../fonts/space-mono-bold-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --orange: #FF4D00;
  --black: #000000;
  --white: #FFFFFF;
  --font-d: "Archivo Black", "Arial Black", sans-serif;
  --font-m: "Space Mono", "Courier New", monospace;
  --font-b: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 76px;
}

html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--orange);
  color: var(--black);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4, p, dl, dd, figure, blockquote, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--black); color: var(--orange); }

.wrap {
  max-width: 1720px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}
.mono { font-family: var(--font-m); }

/* Display type */
.display {
  font-family: var(--font-d);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.88;
  font-weight: 400;
}
.kicker {
  font-family: var(--font-m);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: currentColor; flex: none; }
.sec-title {
  font-family: var(--font-d);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.9;
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 7.5rem);
}

/* Skip link */
.skip {
  position: fixed; top: -70px; left: 16px; z-index: 400;
  background: var(--black); color: var(--white);
  padding: 12px 22px; border-radius: 999px;
  font-family: var(--font-m); font-size: 12px; font-weight: 700;
  text-decoration: none; transition: top 0.2s var(--ease);
}
.skip:focus { top: 14px; }

/* Focus visibility everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 3px;
}
.on-dark a:focus-visible, .on-dark button:focus-visible {
  outline-color: var(--orange);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 34px;
  border-radius: 999px;
  font-family: var(--font-m); font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
  text-decoration: none; white-space: nowrap;
  border: 2px solid var(--black);
  transition: transform 0.22s var(--ease), background 0.22s var(--ease), color 0.22s var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn-dark { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.btn-dark:hover { transform: scale(1.06); }
.btn-dark:active { transform: scale(0.97); }
.btn-dark::after {
  content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: rgba(255, 255, 255, 0.22);
  transform: skewX(-20deg); transition: left 0.55s var(--ease); pointer-events: none;
}
.btn-dark:hover::after { left: 135%; }
.btn-outline { background: transparent; color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); transform: scale(1.06); }
.btn-sm { padding: 12px 24px; font-size: 12px; }
.btn-block { width: 100%; }

/* ============ Loader ============ */
.loader { display: none; }
html.js .loader {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  position: fixed; inset: 0; z-index: 300;
  background: var(--orange);
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark { width: 52px; height: 52px; color: var(--black); animation: loaderPulse 1.1s var(--ease) infinite; }
.loader-word { font-family: var(--font-d); font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
.loader-bar { width: 170px; height: 4px; background: rgba(0, 0, 0, 0.18); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 40%; background: var(--black); animation: loaderSlide 1.1s var(--ease) infinite; }
@keyframes loaderPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.9); } }
@keyframes loaderSlide { 0% { transform: translateX(-110%); } 100% { transform: translateX(420%); } }

/* Scroll progress */
.progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 4px; background: var(--black);
  transform: scaleX(0); transform-origin: left;
  transition: background 0.25s var(--ease);
}

/* ============ Floating nav ============ */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 150; }
.nav-inner { display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; transition: color 0.25s var(--ease); }
.brand-mark { width: 34px; height: 34px; color: var(--black); flex: none; transition: color 0.25s var(--ease); }
.brand-name {
  font-family: var(--font-d); font-size: 15px; letter-spacing: 0.01em;
  text-transform: uppercase; line-height: 1; white-space: nowrap;
}
.nav-pill {
  display: flex; align-items: center; gap: 2px;
  background: var(--black); border-radius: 999px; padding: 6px;
  margin-inline: auto;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  transition: box-shadow 0.25s var(--ease);
}
.nav.scrolled .nav-pill { box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38); }
.nav-pill a {
  color: var(--white); text-decoration: none;
  font-family: var(--font-m); font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 10px 20px; border-radius: 999px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-pill a:hover, .nav-pill a.active { background: var(--white); color: var(--black); }
.nav-cta { flex: none; }
.nav-toggle {
  display: none; width: 52px; height: 52px; border-radius: 50%;
  background: var(--black); color: var(--white);
  align-items: center; justify-content: center; flex: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  position: relative;
}
.nav-toggle svg { width: 22px; height: 22px; }
body.menu-open .nav-toggle svg { display: none; }
body.menu-open .nav-toggle::before, body.menu-open .nav-toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 20px; height: 2px; background: currentColor;
}
body.menu-open .nav-toggle::before { transform: translate(-50%, -50%) rotate(45deg); }
body.menu-open .nav-toggle::after { transform: translate(-50%, -50%) rotate(-45deg); }
.mobile-menu { display: none; }
.mobile-menu[hidden] { display: none !important; }

/* Nav inverts over dark sections */
body.nav-dark .brand { color: var(--white); }
body.nav-dark .brand-mark { color: var(--orange); }
body.nav-dark .nav-toggle { background: var(--orange); color: var(--black); }
body.nav-dark .nav-cta { background: var(--orange); border-color: var(--orange); color: var(--black); }
body.nav-dark .progress { background: var(--orange); }

/* ============ Hero ============ */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 40px) 0 0;
  position: relative; overflow: hidden;
}
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-top { position: relative; text-align: center; }
.hero-kicker {
  font-family: var(--font-m); font-size: 12px; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 12px;
  border: 2px solid var(--black); border-radius: 999px;
  padding: 10px 22px; margin-bottom: 34px; background: transparent;
}
.hero-kicker .sq { width: 9px; height: 9px; background: var(--black); flex: none; }
.hero-title { font-size: clamp(3.8rem, 16vw, 19rem); text-align: center; }
.hero-rule { border: 0; border-top: 2px solid var(--black); margin: clamp(36px, 5vw, 64px) 0 0; }
.hero-meta {
  position: relative;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center;
  padding: 30px 0 46px;
}
.hero-meta .m-left {
  font-family: var(--font-m); font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 2;
}
.hero-meta .m-right {
  font-family: var(--font-m); font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 2;
  text-align: right;
}

/* Rotating scroll indicator */
.scroll-indicator { position: relative; width: 144px; height: 144px; flex: none; }
.scroll-indicator .spin { width: 144px; height: 144px; animation: spin 12s linear infinite; }
.scroll-indicator text {
  font-family: var(--font-m); font-size: 9px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; fill: var(--black);
}
.scroll-indicator .center-arrow {
  position: absolute; inset: 0; margin: auto;
  width: 30px; height: 30px; color: var(--black);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Boot choreography */
html.js .boot { opacity: 0; transform: translateY(30px); }
html.js.loaded .boot {
  opacity: 1; transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.hline { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hline > span { display: block; white-space: nowrap; transform: translateY(110%); }
html.js.loaded .boot .hline > span { transform: none; transition: transform 0.9s var(--ease); }
html.js.loaded .boot .hline:nth-child(2) > span { transition-delay: 0.12s; }

/* ============ Skewed marquee ============ */
.marquee-zone {
  background: var(--black);
  transform: skewY(-2deg);
  width: 104%; margin-left: -2%;
  padding: clamp(48px, 6vw, 84px) 0;
  overflow: hidden;
  margin-top: clamp(30px, 4vw, 60px);
  margin-bottom: clamp(30px, 4vw, 60px);
}
.mq-row { overflow: hidden; white-space: nowrap; padding: 6px 0; }
.mq-track {
  display: inline-flex; align-items: center;
  white-space: nowrap; will-change: transform;
  animation: mq 26s linear infinite;
}
.mq-track > span { padding-right: 0.35em; }
.mq-row.rev .mq-track { animation-direction: reverse; }
.mq-1 .mq-track {
  font-family: var(--font-d); font-size: clamp(3rem, 10vw, 11rem);
  color: var(--orange); text-transform: uppercase;
  letter-spacing: -0.03em; line-height: 1;
}
.mq-2 .mq-track {
  font-family: var(--font-d); font-size: clamp(2.2rem, 7vw, 7.5rem);
  color: rgba(255, 255, 255, 0.8); text-transform: uppercase;
  letter-spacing: -0.03em; line-height: 1.15;
}
.mq-track .sep { font-size: 0.5em; padding: 0 0.1em; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.section { padding: clamp(84px, 10vw, 150px) 0; }
.sec-head { margin-bottom: clamp(44px, 6vw, 80px); }

/* ============ Services: brutalist vertical list ============ */
#services { background: var(--black); color: var(--white); }
#services .kicker { color: var(--orange); }
.svc-list { border-top: 1px solid rgba(255, 255, 255, 0.2); }
.svc-item {
  display: grid; grid-template-columns: 90px 1fr auto; gap: clamp(16px, 3vw, 40px);
  align-items: center; padding: clamp(26px, 3.4vw, 44px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: background 0.25s var(--ease);
}
.svc-item:hover { background: rgba(255, 255, 255, 0.05); }
.svc-num { font-family: var(--font-m); font-size: 13px; font-weight: 700; color: var(--orange); }
.svc-title {
  display: block;
  font-family: var(--font-d); font-weight: 400;
  font-size: clamp(1.9rem, 6.5vw, 6rem);
  text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.95;
  transition: transform 0.28s var(--ease);
}
.svc-item:hover .svc-title { transform: translateX(16px); }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.svc-tags > span {
  font-family: var(--font-m); font-size: 11px; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px;
  padding: 7px 15px; color: var(--white);
  display: inline-block;
}
.svc-desc { display: block; color: rgba(255, 255, 255, 0.72); font-size: 0.98rem; max-width: 62ch; margin-top: 14px; }
.svc-arrow {
  display: block;
  width: clamp(48px, 5vw, 72px); height: clamp(48px, 5vw, 72px);
  color: var(--orange); flex: none;
  opacity: 0; transform: scale(0.6);
  transition: opacity 0.28s var(--ease), transform 0.32s var(--ease);
}
.svc-arrow svg { width: 100%; height: 100%; }
.svc-item:hover .svc-arrow, .svc-item:focus-visible .svc-arrow { opacity: 1; transform: scale(1) rotate(45deg); }

/* ============ Work ============ */
#work { background: var(--white); color: var(--black); }
.work-list { border-top: 2px solid var(--black); }
.work-row {
  display: grid; grid-template-columns: 64px 1.15fr 0.85fr 64px;
  gap: clamp(18px, 3vw, 48px); align-items: center;
  padding: clamp(28px, 4vw, 52px) 0;
  border-bottom: 2px solid var(--black);
  cursor: pointer; text-decoration: none;
  transition: background 0.25s var(--ease);
}
.work-row:hover { background: var(--orange); }
.work-row:hover .work-visual { border-color: var(--black); }
.work-num { font-family: var(--font-m); font-size: 13px; font-weight: 700; }
.work-cat {
  font-family: var(--font-m); font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 12px;
}
.work-row h3 {
  font-family: var(--font-d); font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.95;
  transition: transform 0.28s var(--ease);
}
.work-row:hover h3 { transform: translateX(16px); }
.work-blurb { color: rgba(0, 0, 0, 0.72); font-size: 0.98rem; margin-top: 14px; max-width: 52ch; }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.work-tags li {
  font-family: var(--font-m); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 2px solid var(--black); border-radius: 999px;
  padding: 6px 14px;
}
.work-visual {
  border: 2px solid var(--black); background: var(--black);
  aspect-ratio: 16 / 10; overflow: hidden;
  will-change: transform;
}
.work-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.work-row:hover .work-visual img { transform: scale(1.1); }
.work-arrow {
  display: block;
  width: 52px; height: 52px; color: var(--black); justify-self: end;
  opacity: 0; transform: translateX(-14px);
  transition: opacity 0.28s var(--ease), transform 0.3s var(--ease);
}
.work-arrow svg { width: 100%; height: 100%; }
.work-row:hover .work-arrow, .work-row:focus-visible .work-arrow { opacity: 1; transform: translateX(0); }
.work-open {
  margin-top: 10px; align-self: start;
  font-family: var(--font-m); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 2px solid var(--black); padding-bottom: 4px;
}

/* Mini-UI previews, brutalist restyle */
.mini {
  height: 100%; background: var(--white); color: var(--black);
  padding: 22px; display: flex; flex-direction: column; justify-content: center;
  gap: 10px; font-family: var(--font-m); font-size: 12px;
}
.ap-step {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 2px solid var(--black);
  padding: 9px 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 11px;
}
.ap-dot { width: 10px; height: 10px; background: var(--orange); flex: none; }
.ap-ok { margin-left: auto; display: inline-flex; color: var(--black); }
.ap-ok svg { width: 15px; height: 15px; }
.ap-dot.pulse { animation: blink 1.6s infinite; }
.mini-scan { gap: 12px; }
.scan-head {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px;
}
.scan-head svg { width: 20px; height: 20px; }
.scan-bar { height: 14px; background: var(--white); border: 2px solid var(--black); }
.scan-bar i { display: block; height: 100%; background: var(--orange); }
.scan-meta { display: flex; justify-content: space-between; font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: 0.06em; }
.mini-net { width: 100%; height: 100%; background: var(--white); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

/* ============ Process ============ */
#process { background: var(--orange); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px); }
.steps li { border-top: 2px solid var(--black); padding-top: 22px; position: relative; }
.steps li::after {
  content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 100%;
  background: var(--black);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.9s var(--ease) 0.15s;
}
.steps li.in::after { transform: scaleX(1); }
.step-n {
  font-family: var(--font-d); font-size: clamp(2.4rem, 4vw, 4rem);
  letter-spacing: -0.03em; line-height: 1; display: block;
}
.steps h3 {
  font-family: var(--font-d); font-weight: 400; font-size: 1.35rem;
  text-transform: uppercase; letter-spacing: -0.02em;
  margin: 16px 0 10px;
}
.steps p { font-size: 0.95rem; color: rgba(0, 0, 0, 0.78); max-width: 30ch; }

/* ============ Commitments ============ */
#voices { background: var(--black); color: var(--white); }
#voices .kicker { color: var(--orange); }
.commit { border-top: 1px solid rgba(255, 255, 255, 0.2); padding: clamp(26px, 3.4vw, 44px) 0; }
.commit:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.commit p {
  font-family: var(--font-d); font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 3rem);
  text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.02;
  max-width: 22ch;
}
.commit p .o { color: var(--orange); }

/* ============ CTA + Contact ============ */
#contact { background: var(--white); }
.cta-title { font-size: clamp(3.4rem, 14vw, 17rem); text-align: center; }
.cta-sub {
  text-align: center; font-family: var(--font-m); font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; margin-top: 26px;
}
.contact-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 96px); align-items: start;
  margin-top: clamp(56px, 7vw, 100px);
}
.contact-lines { margin-top: 36px; display: flex; flex-direction: column; }
.contact-lines li {
  display: flex; align-items: center; gap: 18px;
  border-top: 2px solid var(--black); padding: 20px 0;
  font-family: var(--font-m); font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em;
}
.contact-lines li:last-child { border-bottom: 2px solid var(--black); }
.contact-lines a { text-decoration: none; border-bottom: 2px solid var(--orange); }
.contact-lines a:hover { background: var(--black); color: var(--white); }
.contact-lines svg { width: 24px; height: 24px; flex: none; }
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label {
  font-family: var(--font-m); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.field .opt { color: rgba(0, 0, 0, 0.5); }
.field input, .field textarea {
  background: var(--white); border: 2px solid var(--black); border-radius: 0;
  color: var(--black); font-family: var(--font-b); font-size: 16px;
  padding: 15px 18px; width: 100%; box-sizing: border-box;
  transition: box-shadow 0.18s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(0, 0, 0, 0.4); }
.field input:focus, .field textarea:focus { outline: none; box-shadow: 5px 5px 0 var(--orange); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--black); box-shadow: 5px 5px 0 #c00; }
.ferr { font-family: var(--font-m); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #c00; }
.honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { font-family: var(--font-m); font-size: 13px; font-weight: 700; padding: 16px 20px; border: 2px solid var(--black); text-transform: uppercase; letter-spacing: 0.04em; }
.form-status.ok { background: var(--black); color: var(--white); }
.form-status.err { background: var(--orange); color: var(--black); }
.btn[disabled] { opacity: 0.55; cursor: wait; transform: none; }

/* ============ Footer ============ */
.footer { border-top: 2px solid var(--black); background: var(--white); padding: 64px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.foot-brand p { font-size: 0.95rem; color: rgba(0, 0, 0, 0.66); margin-top: 18px; max-width: 30ch; }
.foot-h { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 18px; }
.footer nav a, .foot-grid > div a, .foot-static {
  display: block; color: var(--black); text-decoration: none;
  font-family: var(--font-m); font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 0;
}
.footer nav a:hover, .foot-grid > div a:hover { color: var(--orange); }
.foot-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 2px solid var(--black); padding: 22px 0;
  font-family: var(--font-m); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* ============ Modal ============ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(0, 0, 0, 0.72);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s var(--ease);
}
.modal-backdrop[hidden] { display: none; }
.modal {
  background: var(--white); border: 2px solid var(--black); border-radius: 0;
  max-width: 700px; width: 100%; max-height: 88svh; overflow-y: auto;
  padding: clamp(28px, 4vw, 52px); position: relative;
  animation: riseIn 0.38s var(--ease);
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--black); display: inline-flex; align-items: center; justify-content: center;
  color: var(--black); background: var(--white);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.modal-close:hover { background: var(--black); color: var(--white); transform: scale(1.1); }
.modal-close svg { width: 20px; height: 20px; }
.mcat {
  font-family: var(--font-m); font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  display: inline-block; background: var(--black); color: var(--white);
  padding: 8px 16px;
}
.modal h3 {
  font-family: var(--font-d); font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.95;
  margin: 22px 0 30px; padding-right: 48px;
}
.msec { margin-bottom: 24px; border-top: 2px solid var(--black); padding-top: 18px; }
.mlabel { font-family: var(--font-m); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 10px; color: var(--orange); }
.msec p:last-child { color: rgba(0, 0, 0, 0.78); }
.modal .btn { margin-top: 14px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(28px) scale(0.97); } }

/* ============ Reveal on scroll ============ */
html.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
.svc-list .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: 0.07s; }
.svc-list .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: 0.14s; }
.svc-list .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: 0.21s; }
.svc-list .reveal:nth-child(5) { transition-delay: 0.28s; }
.svc-list .reveal:nth-child(6) { transition-delay: 0.35s; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .work-row { grid-template-columns: 52px 1fr 52px; }
  .work-visual { grid-column: 2; grid-row: 2; max-width: 560px; }
  .work-num { grid-row: 1; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-pill, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .mobile-menu {
    display: block; position: fixed; inset: 0; z-index: 140;
    background: var(--orange); padding: calc(var(--nav-h) + 30px) clamp(20px, 6vw, 40px) 40px;
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
  .mobile-menu nav a:not(.btn) {
    font-family: var(--font-d); font-size: clamp(2.4rem, 11vw, 4rem);
    text-transform: uppercase; letter-spacing: -0.03em; line-height: 1.05;
    text-decoration: none; border-bottom: 2px solid var(--black); padding: 14px 0;
  }
  .mobile-menu .btn { margin-top: 28px; }
}
@media (max-width: 767px) {
  .hero-meta { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 26px; }
  .hero-meta .m-right { text-align: center; }
  .svc-item { grid-template-columns: 52px 1fr; }
  .svc-arrow { display: none; }
  .work-row { grid-template-columns: 44px 1fr 44px; padding: 26px 0; }
  .work-visual { grid-column: 2; }
  .work-arrow { width: 40px; height: 40px; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-base { flex-direction: column; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html.js .boot { opacity: 1; transform: none; }
  html.js .boot .hline > span, html.js.loaded .boot .hline > span { transform: none; transition: none; }
  .mq-track { animation: none; }
  .scroll-indicator .spin { animation: none; }
  .ap-dot.pulse { animation: none; }
  .loader, .progress, .hero-field { display: none; }
  html.js .loader { display: none; }
  .btn-dark::after { display: none; }
  .btn-dark:hover, .btn-outline:hover { transform: none; }
  .work-row:hover .work-visual img { transform: none; }
  .svc-item:hover .svc-title, .work-row:hover h3 { transform: none; }
  .steps li::after { display: none; }
  .modal { animation: none; }
}
