:root {
  color-scheme: dark;
  --ink: oklch(13% 0.018 190);
  --ink-2: oklch(19% 0.018 190);
  --steel: oklch(39% 0.017 218);
  --paper: oklch(93% 0.015 70);
  --paper-2: oklch(87% 0.017 75);
  --muted: oklch(78% 0.012 73);
  --red: oklch(49% 0.18 28);
  --red-dark: oklch(36% 0.15 28);
  --amber: oklch(71% 0.12 78);
  --line-dark: oklch(29% 0.018 190);
  --line-light: oklch(78% 0.016 75);
  --shadow: 0 24px 70px oklch(7% 0.01 190 / 42%);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--amber);
  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;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(0.8rem, 2vw, 1.35rem) clamp(1rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, oklch(11% 0.018 190 / 92%), oklch(11% 0.018 190 / 66%));
  border-bottom: 1px solid oklch(100% 0.006 80 / 12%);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand strong {
  display: block;
}

.brand-mark {
  display: grid;
  width: 2.45rem;
  aspect-ratio: 48 / 56;
  color: var(--paper);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 3;
}

.brand-mark svg path + path {
  stroke: var(--red);
  stroke-width: 3.4;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.35rem);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 0.55rem 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transition: right 240ms var(--ease-out);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  right: 0;
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 0.35rem;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  transition:
    transform 240ms var(--ease-out),
    background 240ms var(--ease-out),
    border-color 240ms var(--ease-out);
}

.header-cta {
  justify-self: end;
  padding: 0 1.25rem;
  background: var(--red);
  color: var(--paper);
}

.button {
  padding: 0 1.45rem;
  border: 1px solid transparent;
}

.lucide,
.button .lucide {
  width: 1.12rem;
  height: 1.12rem;
  stroke: currentColor;
  stroke-width: 2;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--red);
  color: var(--paper);
}

.button-secondary {
  border-color: oklch(100% 0.006 80 / 72%);
  color: var(--paper);
}

.button-light {
  background: var(--paper);
  color: var(--ink);
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid oklch(100% 0.006 80 / 18%);
  border-radius: 0.35rem;
  background: oklch(100% 0.006 80 / 6%);
  color: var(--paper);
}

.nav-toggle .lucide {
  width: 1.25rem;
  height: 1.25rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(1.2rem, 5vw) minmax(18rem, 36rem) minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 32%, oklch(33% 0.09 28 / 28%), transparent 18rem),
    var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, oklch(10% 0.018 190) 0%, oklch(10% 0.018 190 / 88%) 35%, transparent 78%),
    linear-gradient(180deg, transparent 72%, var(--paper) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 2;
  padding: 8rem 0 5.5rem;
}

.hero-line,
.section-heading p,
.process-copy p,
.why-copy p,
.contact-panel p {
  margin: 0 0 0.65rem;
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.process-copy h2,
.quote-band h2,
.why-copy h2 {
  max-width: 11ch;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(4.8rem, 11vw, 9.6rem);
}

.hero h1 span {
  display: block;
  color: var(--red);
}

.hero-rule {
  display: grid;
  grid-template-columns: minmax(3.5rem, 8rem) auto minmax(3.5rem, 8rem);
  align-items: center;
  gap: 1rem;
  width: fit-content;
  margin-top: 1.25rem;
  color: var(--red);
}

.hero-rule span {
  height: 1px;
  background: currentColor;
}

.hero-rule .lucide {
  width: 1.7rem;
  height: 1.7rem;
  stroke-width: 1.6;
}

.hero-text {
  max-width: 37rem;
  margin: 1.5rem 0 0;
  color: var(--paper-2);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.hero-actions,
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.1rem;
}

.quick-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.25rem;
  margin-top: 1.7rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.quick-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

.quick-contact .lucide {
  width: 0.98rem;
  height: 0.98rem;
  color: var(--paper);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}

.services {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem);
  background: var(--paper);
  color: var(--ink);
}

.section-heading {
  max-width: 72rem;
  margin: 0 auto 2rem;
}

.section-heading h2 {
  font-size: clamp(2.6rem, 6vw, 4.7rem);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(9.5rem, 1fr));
  gap: 1px;
  max-width: 86rem;
  margin: 0 auto;
  border: 1px solid var(--line-light);
  background: var(--line-light);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.service-card {
  display: grid;
  grid-template-rows: minmax(13.5rem, 1fr) auto auto;
  min-width: 9.5rem;
  min-height: 21.5rem;
  background: var(--paper);
}

.service-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.service-card h3 {
  min-height: 4.8rem;
  margin: 0;
  padding: 0.35rem 0.85rem 1.05rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
}

.service-icon {
  width: 1.85rem;
  height: 1.85rem;
  margin: 0.95rem 0.85rem 0;
  color: var(--red);
  stroke-width: 1.8;
}

.process {
  position: relative;
  display: grid;
  grid-template-columns: minmax(1rem, 5vw) minmax(18rem, 44rem) minmax(18rem, 1fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  padding: clamp(4rem, 8vw, 7rem) 0;
  overflow: hidden;
  background: var(--ink);
}

.process::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 0 50%, oklch(13% 0.018 190 / 15%) 80%);
}

.process-copy,
.process-steps {
  position: relative;
  z-index: 1;
  grid-column: 2;
}

.process-copy h2,
.quote-band h2,
.why-copy h2 {
  font-size: clamp(2.7rem, 5.5vw, 5.1rem);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2.5rem;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.process-steps article {
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
  background: var(--ink);
}

.process-icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1.15rem;
  color: var(--paper);
  stroke-width: 1.5;
}

.process-steps span {
  display: block;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.process-steps h3 {
  margin: 0.65rem 0 0.4rem;
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
}

.process-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.process-image {
  position: relative;
  z-index: 1;
  grid-column: 3;
  align-self: end;
  width: 100%;
  height: min(34rem, 54vw);
  object-fit: cover;
  object-position: 62% 50%;
  box-shadow: var(--shadow);
}

.quote-band {
  display: grid;
  grid-template-columns: minmax(18rem, 32rem) minmax(18rem, 42rem);
  justify-content: center;
  gap: clamp(1.6rem, 5vw, 4rem);
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem);
  background:
    linear-gradient(135deg, var(--red-dark), var(--red)),
    var(--red);
  color: var(--paper);
}

.quote-band > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-self: center;
  align-items: center;
}

.quote-band h2 {
  max-width: 9ch;
}

.quote-call-icon {
  width: clamp(4rem, 8vw, 6rem);
  height: clamp(4rem, 8vw, 6rem);
  padding: 1.1rem;
  border: 1px solid oklch(100% 0.006 80 / 82%);
  border-radius: 999px;
  color: var(--paper);
  stroke-width: 1.7;
}

.quote-band p {
  max-width: 30rem;
  margin: 1rem 0 0;
  color: oklch(93% 0.015 70 / 88%);
}

.quote-form {
  display: grid;
  gap: 1rem;
}

.quote-form fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.quote-form legend,
.message-label {
  width: 100%;
  margin-bottom: 0.25rem;
  color: oklch(94% 0.018 70);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-form label:not(.message-label) {
  display: inline-flex;
  min-height: 2.55rem;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.8rem;
  border: 1px solid oklch(100% 0.006 80 / 34%);
  border-radius: 999px;
  background: oklch(13% 0.018 190 / 18%);
  font-size: 0.83rem;
  font-weight: 800;
}

.quote-form input {
  accent-color: var(--ink);
}

.quote-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 7rem;
  padding: 1rem;
  border: 1px solid oklch(100% 0.006 80 / 34%);
  border-radius: 0.4rem;
  background: oklch(93% 0.015 70);
  color: var(--ink);
}

.quote-actions {
  margin-top: 0.2rem;
}

.why {
  display: grid;
  grid-template-columns: minmax(18rem, 32rem) minmax(15rem, 28rem) minmax(16rem, 25rem);
  justify-content: center;
  gap: clamp(1.6rem, 5vw, 4rem);
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem);
  background: var(--ink);
}

.why-copy ul {
  display: grid;
  gap: 0.7rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--paper-2);
}

.why-copy li {
  position: relative;
  padding-left: 1.9rem;
}

.why-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.47rem;
  width: 0.72rem;
  aspect-ratio: 1;
  border: 2px solid var(--red);
  rotate: 45deg;
}

.contact-card {
  margin: 0;
  align-self: center;
}

.contact-card img {
  border: 1px solid oklch(100% 0.006 80 / 12%);
  box-shadow: var(--shadow);
}

.contact-card figcaption {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-panel {
  align-self: center;
  display: grid;
  gap: 0.75rem;
  padding-block: 1.5rem;
  border-block: 1px solid var(--line-dark);
}

.contact-panel a,
.contact-panel span {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--paper-2);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.contact-panel .lucide {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--paper);
  transform: translateY(0.18rem);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 5vw, 4rem);
  border-top: 1px solid var(--line-dark);
  background: var(--ink);
  color: var(--muted);
}

.site-footer .brand {
  color: var(--paper);
  font-size: 1.05rem;
}

.site-footer p,
.site-footer small {
  margin: 0;
  font-size: 0.82rem;
}

.site-footer p {
  justify-self: center;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    inset: 4.5rem 1rem auto;
    display: none;
    padding: 1rem;
    border: 1px solid var(--line-dark);
    border-radius: 0.5rem;
    background: var(--ink-2);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .header-cta {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(1rem, 1fr) minmax(0, 40rem) minmax(1rem, 1fr);
  }

  .hero::after {
    background:
      linear-gradient(90deg, oklch(10% 0.018 190 / 94%) 0%, oklch(10% 0.018 190 / 76%) 58%, transparent 100%),
      linear-gradient(180deg, transparent 72%, var(--paper) 100%);
  }

  .process,
  .quote-band,
  .why {
    grid-template-columns: minmax(0, 1fr);
  }

  .process {
    padding-inline: clamp(1rem, 5vw, 4rem);
  }

  .process-copy,
  .process-steps,
  .process-image {
    grid-column: 1;
  }

  .process-image {
    height: clamp(19rem, 52vw, 31rem);
  }

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

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer p {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 0.8rem 1rem;
  }

  .brand {
    font-size: 1.08rem;
  }

  .brand-mark {
    width: 2.1rem;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-copy {
    padding-top: 7rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 22vw, 5.8rem);
  }

  .hero-rule {
    grid-template-columns: minmax(2.8rem, 5rem) auto minmax(2.8rem, 5rem);
  }

  .hero-text {
    max-width: 31rem;
  }

  .hero-actions .button,
  .quote-actions .button {
    width: 100%;
  }

  .service-strip {
    grid-template-columns: repeat(7, minmax(10rem, 1fr));
    margin-inline: -1rem;
    border-left: 0;
    border-right: 0;
  }

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

  .quote-form label:not(.message-label) {
    width: 100%;
    border-radius: 0.35rem;
  }

  .quote-band > div {
    grid-template-columns: 1fr;
  }

  .quote-call-icon {
    display: none;
  }
}

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