@font-face {
  font-family: "Jersey 15";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/jersey-15-latin.woff2") format("woff2");
}

:root {
  --paper: #faf6ee;
  --paper-deep: #f2e8d8;
  --ink: #19120c;
  --muted: #5b5148;
  --line: #2a1b10;
  --accent: #cf3f0d;
  --magenta: #c8245c;
  --cyan: #2bbfc7;
  --gold: #f1a029;
  --content: 1080px;
  --narrow: 780px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgb(250 246 238 / 94%), rgb(250 246 238 / 94%)),
    repeating-linear-gradient(0deg, transparent 0 3px, rgb(63 35 15 / 3%) 3px 4px),
    var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

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

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

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

.eyebrow,
.meta-line,
.tag,
.site-nav,
.footer-nav,
.card-kicker {
  font-family: "Jersey 15", "Arial Narrow", sans-serif;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Jersey 15", "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 0.95;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.75rem, 8vw, 6.7rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  line-height: 1;
}

.lead {
  max-width: 690px;
  margin-bottom: 30px;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.6;
}

.muted {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 2px solid var(--line);
  background: var(--paper);
}

.header-inner {
  display: flex;
  min-height: 96px;
  align-items: center;
  gap: 30px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 235px;
  height: 76px;
  object-fit: contain;
  image-rendering: pixelated;
}

.site-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 24px;
  font-size: 1.2rem;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  text-decoration: none;
}

.site-nav a:not(.button) {
  padding-inline: 4px;
}

.site-nav a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 3px;
  transform: scaleX(0);
  background: var(--accent);
  content: "";
  transform-origin: left;
  transition: transform 160ms ease;
}

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

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.signal-line {
  position: relative;
  height: 4px;
  background: var(--line);
}

.signal-line::before,
.signal-line::after,
.signal-node {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border: 2px solid var(--line);
  content: "";
}

.signal-line::before {
  left: 18%;
  background: var(--gold);
}

.signal-node {
  left: 50%;
  background: var(--magenta);
}

.signal-line::after {
  right: 18%;
  background: var(--cyan);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 2px solid var(--line);
  box-shadow: 4px 4px 0 var(--line);
  font-family: "Jersey 15", "Arial Narrow", sans-serif;
  font-size: 1.28rem;
  letter-spacing: 0.055em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--line);
}

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

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.button-small {
  min-height: 46px;
  padding-inline: 18px;
  box-shadow: none;
  font-size: 1.08rem;
}

.hero {
  padding: clamp(64px, 9vw, 110px) 0 clamp(78px, 10vw, 128px);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(36px, 7vw, 80px);
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
}

.hero-art {
  width: min(100%, 470px);
  height: auto;
  margin-inline: auto;
  image-rendering: pixelated;
}

.hero .meta-line {
  display: flex;
  margin: 24px 0 0;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
}

.hero .meta-line::before {
  color: var(--accent);
  content: "◆";
  font-size: 0.8rem;
}

.page-hero {
  padding: clamp(58px, 8vw, 94px) 0 clamp(54px, 8vw, 90px);
}

.page-hero .eyebrow {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 1.22rem;
}

.page-hero h1 {
  max-width: 820px;
}

.page-hero .lead {
  margin-bottom: 0;
}

.page-hero-grid {
  display: grid;
  align-items: center;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
}

.section {
  padding: clamp(64px, 8vw, 96px) 0;
}

.section-compact {
  padding: clamp(48px, 6vw, 72px) 0;
}

.section-tint {
  border-block: 1px solid rgb(42 27 16 / 22%);
  background: rgb(242 232 216 / 46%);
}

.section-heading {
  display: grid;
  margin-bottom: clamp(38px, 6vw, 58px);
  align-items: center;
  gap: 18px;
  grid-template-columns: minmax(34px, 1fr) auto minmax(34px, 1fr);
  text-align: center;
}

.section-heading::before,
.section-heading::after {
  height: 3px;
  background: var(--line);
  content: "";
}

.section-heading h2 {
  margin: 0;
}

.section-intro {
  max-width: 720px;
  margin: -30px auto 46px;
  color: var(--muted);
  font-size: 1.08rem;
  text-align: center;
}

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

.service-card,
.scope-card,
.care-card,
.value-card {
  position: relative;
  padding: 30px;
  border: 2px solid var(--line);
  background: rgb(250 246 238 / 80%);
}

.service-card {
  min-height: 260px;
}

.card-icon {
  width: auto;
  height: auto;
  max-height: 72px;
  margin-bottom: 24px;
  object-fit: contain;
  object-position: left center;
  image-rendering: pixelated;
}

.service-card:nth-child(1) {
  border-top: 8px solid var(--accent);
}

.service-card:nth-child(2) {
  border-top: 8px solid var(--magenta);
}

.service-card:nth-child(3) {
  border-top: 8px solid var(--gold);
}

.fit-track {
  display: grid;
  margin-top: 46px;
  gap: 26px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fit-step {
  position: relative;
  padding-top: 28px;
  text-align: center;
}

.fit-step::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translateX(-50%);
  border: 2px solid var(--line);
  background: var(--node-color, var(--accent));
  content: "";
}

.fit-step::after {
  position: absolute;
  top: 6px;
  right: 50%;
  left: -50%;
  z-index: -1;
  height: 2px;
  background: var(--line);
  content: "";
}

.fit-step:first-child::after {
  display: none;
}

.fit-step:nth-child(2) {
  --node-color: var(--magenta);
}

.fit-step:nth-child(3) {
  --node-color: var(--cyan);
}

.fit-step h3 {
  font-size: 1.7rem;
}

.work-list {
  display: grid;
  gap: 18px;
}

.work-card {
  display: grid;
  min-height: 250px;
  align-items: center;
  gap: 36px;
  padding: 34px;
  border: 2px solid var(--line);
  background: rgb(250 246 238 / 86%);
  grid-template-columns: 150px minmax(0, 1fr);
}

.work-card .card-icon {
  width: auto;
  height: auto;
  max-width: 118px;
  max-height: 110px;
  margin: 0 auto;
  object-position: center;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tag {
  display: inline-flex;
  min-height: 34px;
  padding: 3px 12px;
  align-items: center;
  border: 1.5px solid var(--line);
  font-size: 1rem;
}

.process-grid {
  display: grid;
  gap: 28px;
  counter-reset: process;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-step {
  position: relative;
  padding-left: 58px;
  counter-increment: process;
}

.process-step::before {
  position: absolute;
  top: -4px;
  left: 0;
  width: 44px;
  color: var(--accent);
  content: "0" counter(process);
  font-family: "Jersey 15", sans-serif;
  font-size: 2.5rem;
  line-height: 1;
}

.direct-note {
  margin: 48px auto 0;
  font-family: "Jersey 15", "Arial Narrow", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

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

.service-row {
  display: grid;
  align-items: center;
  gap: 38px;
  padding: 40px 0;
  border-bottom: 1px solid rgb(42 27 16 / 25%);
  grid-template-columns: 150px minmax(0, 1fr);
}

.service-row:last-child {
  border-bottom: 0;
}

.service-row .card-icon {
  width: auto;
  height: auto;
  max-width: 110px;
  max-height: 105px;
  margin: 0 auto;
  object-position: center;
}

.scope-card {
  display: flex;
  min-height: 440px;
  flex-direction: column;
}

.scope-card.featured::before {
  position: absolute;
  top: -17px;
  left: 50%;
  padding: 4px 18px;
  transform: translateX(-50%);
  background: var(--magenta);
  color: #fff;
  content: "Most common";
  font-family: "Jersey 15", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.scope-card .card-icon {
  width: auto;
  height: auto;
  max-height: 62px;
  margin-inline: auto;
  object-position: center;
}

.scope-card .scope-time {
  margin-bottom: 20px;
  font-family: "Jersey 15", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.scope-card .best-for {
  margin-top: auto;
  padding-top: 20px;
  border-top: 2px solid var(--line);
  font-weight: 700;
}

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

.care-card {
  padding: 28px;
}

.care-price {
  margin-bottom: 22px;
  font-family: "Jersey 15", sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
}

.feature-list li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  border: 1px solid var(--line);
  background: var(--accent);
  content: "";
}

.care-card:nth-child(2) .feature-list li::before {
  background: var(--cyan);
}

.care-card:nth-child(3) .feature-list li::before {
  background: var(--magenta);
}

.quote-box,
.contact-panel {
  display: grid;
  align-items: center;
  gap: 28px;
  padding: clamp(28px, 5vw, 46px);
  border: 2px solid var(--line);
  background: rgb(250 246 238 / 86%);
  grid-template-columns: 110px minmax(0, 1fr);
}

.quote-box .card-icon {
  width: auto;
  height: auto;
  max-width: 82px;
  max-height: 76px;
  margin: 0 auto;
  object-position: center;
}

.value-card {
  min-height: 210px;
  border-width: 0 0 0 3px;
  background: transparent;
}

.value-card:nth-child(1) {
  border-color: var(--accent);
}

.value-card:nth-child(2) {
  border-color: var(--magenta);
}

.value-card:nth-child(3) {
  border-color: var(--gold);
}

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

.contact-option + .contact-option {
  padding-left: 28px;
  border-left: 1px solid rgb(42 27 16 / 28%);
}

.contact-email {
  display: flex;
  margin: 24px 0 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.contact-email a {
  font-size: 1.05rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.copy-button {
  min-height: 44px;
  padding: 6px 14px;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: "Jersey 15", "Arial Narrow", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.copy-status {
  min-height: 1.6em;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 64px 0 28px;
  border-top: 2px solid var(--line);
}

.site-footer-compact {
  padding-top: 28px;
}

.site-footer-compact .footer-bottom {
  padding-top: 0;
}

.footer-cta {
  display: grid;
  align-items: end;
  gap: 28px;
  padding: 28px;
  border: 2px solid var(--line);
  background: rgb(250 246 238 / 84%);
  grid-template-columns: 205px minmax(0, 1fr) auto;
}

.footer-art {
  width: 205px;
  height: 138px;
  object-fit: contain;
  image-rendering: pixelated;
}

.footer-copy h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 2.85rem);
}

.footer-copy p {
  max-width: 500px;
  margin-bottom: 0;
}

.footer-bottom {
  display: flex;
  padding-top: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: "Jersey 15", "Arial Narrow", sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.legal {
  padding: 64px 0 96px;
}

.legal h2 {
  margin-top: 48px;
  font-size: 2rem;
}

.legal .text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.not-found {
  display: grid;
  min-height: 68vh;
  place-items: center;
  text-align: center;
}

.not-found h1 {
  margin-inline: auto;
}

.not-found .button-row {
  justify-content: center;
}

@media (max-width: 900px) {
  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 1.08rem;
  }

  .hero-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-art {
    width: min(80%, 430px);
  }

  .grid-3,
  .care-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .scope-card,
  .care-card {
    min-height: 0;
  }

  .footer-cta {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .footer-art {
    width: 160px;
    height: auto;
  }

  .footer-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 84px;
  }

  .container,
  .narrow {
    width: min(calc(100% - 32px), var(--content));
  }

  .header-inner {
    min-height: 78px;
  }

  .brand img {
    width: 188px;
    height: auto;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    bottom: auto;
    left: 0;
    display: none;
    width: 100%;
    height: calc(100vh - 80px);
    height: calc(100dvh - 80px);
    margin: 0;
    padding: 24px 20px 40px;
    overflow-y: auto;
    align-content: start;
    background: var(--paper);
    gap: 4px;
  }

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

  .site-nav a {
    min-height: 56px;
    padding: 8px 10px;
    border-bottom: 1px solid rgb(42 27 16 / 20%);
    font-size: 1.55rem;
  }

  .site-nav a:not(.button)::after {
    display: none;
  }

  .site-nav a[aria-current="page"] {
    color: var(--accent);
  }

  .site-nav .button {
    margin-top: 14px;
    border: 2px solid var(--line);
  }

  .signal-line::before {
    left: 12%;
  }

  .signal-line::after {
    right: 12%;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-grid {
    gap: 48px;
  }

  .hero-art {
    width: min(100%, 390px);
    margin-top: -18px;
  }

  .section-heading {
    gap: 10px;
    grid-template-columns: 26px minmax(0, auto) 26px;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .fit-track,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .fit-step {
    padding: 0 0 0 34px;
    text-align: left;
  }

  .fit-step::before {
    top: 7px;
    left: 0;
    transform: none;
  }

  .fit-step::after {
    display: none;
  }

  .work-card,
  .service-row,
  .quote-box {
    grid-template-columns: 1fr;
  }

  .work-card,
  .service-row {
    gap: 22px;
  }

  .work-card .card-icon,
  .service-row .card-icon,
  .quote-box .card-icon {
    margin-inline: 0;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-option + .contact-option {
    padding: 28px 0 0;
    border-top: 1px solid rgb(42 27 16 / 28%);
    border-left: 0;
  }

  .footer-cta {
    align-items: start;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .footer-art {
    width: 112px;
  }

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

@media (max-width: 520px) {
  h1 {
    font-size: clamp(3.3rem, 17vw, 4.75rem);
  }

  .brand img {
    width: 164px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .service-card,
  .scope-card,
  .care-card,
  .work-card,
  .quote-box,
  .contact-panel {
    padding: 24px;
  }

  .footer-cta {
    grid-template-columns: 1fr;
  }

  .footer-art {
    width: 152px;
  }

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

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