:root {
  --paper: #dfe1dd;
  --paper-soft: #cdd1cc;
  --white: #eff0ed;
  --ink: #111413;
  --ink-soft: #4e5551;
  --line: #aeb4b0;
  --dark: #121514;
  --dark-soft: #9ea5a0;
  --dark-line: #373d3a;
  --accent: #c83228;
  --accent-dark: #98231c;
  --safety: #d7a928;
  --serif: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --sans: "Helvetica Neue", Arial, ui-sans-serif, system-ui, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: 1320px;
  --header-height: 78px;
  --radius: 0;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  line-height: 0.98;
}

h3 {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.1vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

p {
  margin-bottom: 1rem;
}

:focus-visible {
  outline: 3px solid #e2a232;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.section {
  padding-block: clamp(78px, 8vw, 118px);
}

.eyebrow {
  margin-bottom: 1.4rem;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #dad3c8;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: none;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-outline {
  border-color: var(--ink);
  color: var(--ink);
}

.button-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.text-link::after {
  content: "↗";
  font-size: 0.9em;
}

.light-link {
  color: #fff;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid #444a47;
  background: var(--dark);
  color: #fff;
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.brand-mark {
  width: 43px;
  height: 43px;
  flex: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-copy span {
  margin-top: 4px;
  color: #c2b9ad;
  font-family: var(--mono);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav > a {
  position: relative;
  color: #eee9e1;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: #fff;
  transition: transform 0.2s ease;
}

.site-nav > a:hover::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  padding: 12px 16px;
  border: 1px solid var(--accent);
  background: var(--accent);
}

.site-nav .nav-cta:hover {
  border-color: #fff;
  background: #fff;
  color: var(--dark);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 25px;
  height: 1px;
  margin: 7px auto;
  background: currentColor;
  transition: transform 0.2s ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-last-child(2) {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  display: grid;
  min-height: 810px;
  align-items: start;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
}

.hero-media,
.hero-shade {
  position: absolute;
  top: 118px;
  right: 0;
  bottom: 76px;
  left: 58%;
  width: 42%;
  height: auto;
}

.hero-media {
  object-fit: cover;
  object-position: 61% center;
  filter: saturate(0.52) contrast(1.12) brightness(0.82);
}

.hero-shade {
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(10, 12, 11, 0.08) 3px 4px),
    linear-gradient(90deg, rgba(18, 21, 20, 0.72) 0%, transparent 24%, transparent 100%);
}

.hero-drawing-code {
  position: absolute;
  z-index: 3;
  top: 138px;
  right: 26px;
  display: flex;
  gap: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero-drawing-code span:first-child {
  color: var(--safety);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 170px 145px;
}

.hero-content h1 {
  max-width: 720px;
  margin-bottom: 30px;
  font-size: clamp(3.8rem, 6.7vw, 7rem);
  line-height: 0.84;
  letter-spacing: -0.065em;
}

.hero-content h1 em {
  color: var(--accent);
  font-style: normal;
  font-weight: 900;
}

.hero-lead {
  max-width: 530px;
  margin-bottom: 38px;
  color: #c4cac6;
  font-size: clamp(0.96rem, 1.2vw, 1.1rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--shell);
  margin-inline: auto;
  border-top: 1px solid #454b48;
  background: #0d100f;
  color: #c4cac6;
}

.hero-meta > div {
  padding: 20px 32px;
  border-right: 1px solid #353a38;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-meta > div:first-child {
  padding-left: 0;
}

.hero-meta > div:last-child {
  border-right: 0;
}

.hero-meta span {
  margin-right: 10px;
  color: var(--safety);
}

/* Intro */

.intro {
  border-bottom: 1px solid var(--line);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(17, 20, 19, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 20, 19, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: start;
  gap: clamp(60px, 10vw, 150px);
}

.intro h2 {
  max-width: 860px;
  font-size: clamp(2.5rem, 4.7vw, 4.5rem);
}

.intro-copy {
  padding-top: 38px;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.technical-note {
  position: relative;
  margin-top: 30px;
  padding: 22px 0 0 30px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.92rem;
}

.technical-note::before {
  content: "+";
  position: absolute;
  top: 24px;
  left: 0;
  width: 16px;
  height: 16px;
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 900;
  line-height: 16px;
}

/* Section heading */

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: clamp(50px, 7vw, 88px);
}

.section-heading > p {
  max-width: 390px;
  margin-bottom: 6px;
  color: var(--ink-soft);
}

/* Services */

.services {
  background: var(--white);
}

.service-card {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  min-height: 460px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.service-card-reverse .service-media {
  order: 2;
}

.service-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: #212624;
}

.service-card-reverse .service-media {
  border-right: 0;
  border-left: 1px solid var(--line);
}

.service-media::after {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(12, 15, 14, 0.82);
  color: #d8ddda;
  content: "IMMAGINE ILLUSTRATIVA";
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.11em;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.55) contrast(1.12);
  transition: filter 0.25s ease;
}

.service-card:hover .service-media img {
  filter: saturate(0.75) contrast(1.08);
}

.service-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 70px);
}

.service-number {
  position: absolute;
  top: 26px;
  right: 30px;
  padding: 6px 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-style: normal;
}

.service-content > p:not(.eyebrow) {
  max-width: 530px;
  color: var(--ink-soft);
}

.service-content h3 {
  font-size: clamp(2.1rem, 3.4vw, 3.4rem);
}

.feature-list {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 14px 0 14px 26px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.feature-list li::before {
  content: ">";
  position: absolute;
  top: 50%;
  left: 0;
  width: auto;
  height: auto;
  transform: translateY(-50%);
  color: var(--accent);
  font-weight: 900;
}

/* Proof */

.dark-section {
  background: var(--dark);
  color: var(--white);
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
  align-items: stretch;
  gap: clamp(55px, 8vw, 110px);
}

.proof-image {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--dark-line);
}

.proof-image::before {
  content: "";
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 14px;
  width: 72px;
  height: 10px;
  background: repeating-linear-gradient(135deg, var(--safety) 0 7px, #1b1e1d 7px 14px);
}

.proof-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(0.55) contrast(1.1);
}

.proof-content h2 {
  margin-bottom: 30px;
  color: var(--white);
}

.proof-content > p:not(.eyebrow) {
  color: var(--dark-soft);
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 38px;
  border-top: 1px solid var(--dark-line);
  border-left: 1px solid var(--dark-line);
}

.spec-grid > div {
  min-height: 118px;
  padding: 22px;
  border-right: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
}

.spec-grid span {
  display: block;
  margin-bottom: 15px;
  color: var(--safety);
  font-family: var(--mono);
  font-style: normal;
}

.spec-grid strong {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-disclosure {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--dark-line);
  color: #8f887e;
  font-size: 0.72rem;
  line-height: 1.55;
}

.ai-disclosure span {
  display: grid;
  width: 20px;
  height: 20px;
  flex: none;
  place-items: center;
  border: 1px solid #5a534b;
  border-radius: 0;
  color: #b5ada2;
  font-family: var(--mono);
  font-style: normal;
}

.ai-disclosure p {
  margin: 0;
}

/* Process */

.process {
  background: var(--paper-soft);
  background-image:
    linear-gradient(rgba(17, 20, 19, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 20, 19, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  min-height: 330px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list li > span {
  display: block;
  margin-bottom: 90px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-style: normal;
}

.process-list h3 {
  font-size: 1.55rem;
}

.process-list p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* Contact */

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(70px, 10vw, 150px);
}

.contact h2 {
  max-width: 780px;
}

.contact-lead {
  max-width: 670px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.contact-actions {
  display: flex;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.contact-card {
  align-self: start;
  padding: 36px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, transparent 0 92%, var(--accent) 92% 100%),
    var(--paper);
  font-style: normal;
}

.contact-card > div {
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.contact-card > div:first-child {
  padding-top: 0;
}

.contact-card > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-card p {
  margin-bottom: 12px;
}

.contact-card a:not(.text-link) {
  overflow-wrap: anywhere;
  font-weight: 700;
}

/* Footer */

.site-footer {
  padding-top: 64px;
  background: var(--dark);
  color: var(--white);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 34px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--dark-line);
  text-align: center;
}

.footer-brand {
  color: var(--white);
}

.footer-top > div:first-child > p {
  max-width: 340px;
  margin: 22px auto 0;
  color: var(--dark-soft);
  font-size: 0.88rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-nav > span {
  margin-bottom: 8px;
  color: #777067;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-nav a {
  color: #ddd7ce;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding-block: 25px;
  color: #817a70;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

.powered-by {
  color: #b7bdb9;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.powered-by strong {
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.powered-by:hover strong {
  color: var(--safety);
}

/* Legal pages */

.legal-hero {
  padding: 170px 0 74px;
  background: var(--dark);
  color: var(--white);
}

.legal-hero h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(3.3rem, 7vw, 6.2rem);
  line-height: 0.95;
}

.legal-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--dark-soft);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  justify-content: space-between;
  gap: 80px;
}

.legal-index {
  position: sticky;
  top: 120px;
  align-self: start;
  padding-top: 8px;
}

.legal-index span {
  display: block;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-index a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 700;
}

.legal-copy section {
  margin-bottom: 55px;
  scroll-margin-top: 120px;
}

.legal-copy h2 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.legal-copy h3 {
  margin: 30px 0 10px;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-copy p,
.legal-copy li {
  color: var(--ink-soft);
}

.legal-copy a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-copy ul {
  padding-left: 20px;
}

.legal-date {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 12px;
  border: 1px solid var(--dark-line);
  color: #bdb5aa;
  font-size: 0.72rem;
}

.legal-header .header-inner {
  min-height: var(--header-height);
}

.legal-back {
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  color: #eee9e1;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-main {
  padding: 170px 0 110px;
}

.legal-title {
  position: sticky;
  top: 125px;
  align-self: start;
}

.legal-title h1 {
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  line-height: 0.92;
}

.legal-title > p:last-child {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.legal-content section {
  margin-bottom: 55px;
}

.legal-content h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  line-height: 1.05;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-footer {
  padding-block: 26px;
  background: var(--dark);
  color: var(--dark-soft);
  font-size: 0.75rem;
}

.legal-footer .shell {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.legal-footer p {
  margin: 0;
}

.legal-footer a {
  color: var(--white);
}

/* 404 */

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px;
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

.error-page-inner {
  max-width: 680px;
}

.error-code {
  display: block;
  margin-bottom: 12px;
  color: #d9554c;
  font-family: var(--serif);
  font-size: clamp(5rem, 16vw, 11rem);
  font-style: italic;
  line-height: 0.8;
}

.error-page h1 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.error-page p {
  margin-bottom: 30px;
  color: var(--dark-soft);
}

.not-found-page {
  background: var(--dark);
}

.not-found {
  display: grid;
  min-height: 100vh;
  align-items: center;
  background:
    radial-gradient(circle at 78% 22%, rgba(184, 43, 34, 0.2), transparent 32%),
    var(--dark);
  color: var(--white);
}

.not-found-inner {
  padding-block: 80px;
}

.not-found h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 9vw, 7.6rem);
  line-height: 0.9;
}

.not-found p:not(.eyebrow) {
  margin-bottom: 32px;
  color: var(--dark-soft);
}

/* Progressive reveal */

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: none;
  transition: opacity 0.3s ease;
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */

@media (max-width: 980px) {
  :root {
    --header-height: 74px;
  }

  .shell {
    width: min(calc(100% - 44px), var(--shell));
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 34px 22px;
    transform: translateX(100%);
    background: var(--dark);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .site-nav.is-open {
    visibility: visible;
    transform: translateX(0);
    opacity: 1;
  }

  .site-nav > a {
    padding: 20px 4px;
    border-bottom: 1px solid var(--dark-line);
    font-size: 0.83rem;
  }

  .site-nav .nav-cta {
    margin-top: 24px;
    text-align: center;
  }

  .hero {
    min-height: 800px;
  }

  .hero-content {
    padding-block: 150px 145px;
  }

  .hero-content h1 {
    max-width: 610px;
    font-size: clamp(3.5rem, 8vw, 5.6rem);
  }

  .hero-media,
  .hero-shade {
    left: 62%;
    width: 38%;
  }

  .hero-media {
    object-position: 66% center;
  }

  .hero-shade {
    background:
      repeating-linear-gradient(0deg, transparent 0 3px, rgba(10, 12, 11, 0.08) 3px 4px),
      linear-gradient(90deg, rgba(18, 21, 20, 0.8) 0%, transparent 32%);
  }

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

  .intro-copy {
    max-width: 720px;
    padding-top: 0;
  }

  .section-heading {
    align-items: start;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card-reverse .service-media {
    order: 0;
  }

  .service-media {
    min-height: 420px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .proof-image {
    max-width: 760px;
  }

  .proof-content {
    max-width: 760px;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .process-list li > span {
    margin-bottom: 52px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-title {
    position: static;
    max-width: 720px;
  }

  .legal-index {
    position: static;
  }

  .legal-index a {
    display: inline-block;
    margin-right: 16px;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .section {
    padding-block: 78px;
  }

  .brand-copy strong {
    font-size: 1.08rem;
  }

  .brand-copy span {
    letter-spacing: 0.18em;
  }

  .hero {
    min-height: 970px;
    align-items: start;
  }

  .hero-media,
  .hero-shade {
    top: auto;
    right: 16px;
    bottom: 154px;
    left: 16px;
    width: auto;
    height: 285px;
  }

  .hero-media {
    object-position: 64% center;
  }

  .hero-shade {
    background:
      repeating-linear-gradient(0deg, transparent 0 3px, rgba(10, 12, 11, 0.08) 3px 4px),
      linear-gradient(90deg, rgba(18, 21, 20, 0.5) 0%, transparent 34%);
  }

  .hero-drawing-code {
    top: auto;
    right: 28px;
    bottom: 414px;
  }

  .hero-content {
    padding-block: 126px 480px;
  }

  .hero-content h1 {
    font-size: clamp(2.85rem, 12.8vw, 4.4rem);
    line-height: 0.86;
  }

  .hero-lead {
    max-width: 100%;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    background: #0d100f;
  }

  .hero-meta > div {
    padding: 11px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-meta > div:last-child {
    border-bottom: 0;
  }

  .intro-grid {
    gap: 36px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 28px;
  }

  .service-card {
    margin-inline: -16px;
  }

  .service-media {
    min-height: 280px;
  }

  .service-content {
    padding: 48px 26px;
  }

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

  .spec-grid > div {
    min-height: auto;
  }

  .proof-image {
    width: 100%;
  }

  .proof-image img {
    min-height: 300px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: auto;
  }

  .process-list li > span {
    margin-bottom: 36px;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-card {
    padding: 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 34px;
  }

  .footer-bottom {
    align-items: center;
    flex-direction: column;
  }

  .legal-hero {
    padding-top: 145px;
  }

  .legal-main {
    padding-top: 130px;
  }

  .legal-layout {
    gap: 58px;
  }

  .legal-footer .shell {
    align-items: center;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
