@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #14110f;
  --paper: #fbfaf8;
  --paper-deep: #f4f1eb;
  --line: #e9e3da;
  --muted: #6b655e;
  --muted-light: #857d73;
  --accent: #b4502a;
  --accent-light: #e08a5e;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(233, 227, 218, 0.9);
  background: rgba(251, 250, 248, 0.92);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1180px, calc(100% - 80px));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: grid;
  gap: 5px;
  justify-items: start;
}

.brand img {
  width: 168px;
  height: 43px;
  object-fit: contain;
}

.brand span,
.section-label {
  color: var(--muted-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.brand span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-dark {
  padding: 12px 21px;
  background: var(--ink);
  color: var(--paper);
}

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

.hero {
  padding-block: 84px 64px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
}

.eyebrow {
  margin: 0 0 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  max-width: 17ch;
  margin: 0 0 24px;
  font-size: clamp(2.55rem, 4.2vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.hero-lead {
  max-width: 34ch;
  margin: 0 0 14px;
  color: #4a443d;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.hero-support {
  max-width: 44ch;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateY(3px);
}

.hero-image {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  background: #efeae2;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services {
  padding-block: 0 88px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  border-top: 1px solid var(--line);
}

.services article {
  padding-top: 39px;
}

.section-label {
  margin: 0 0 14px;
}

.services article > p:last-child {
  max-width: 48ch;
  margin: 0;
  color: #4a443d;
  font-size: 1rem;
  line-height: 1.72;
}

.process-section {
  border-block: 1px solid var(--line);
  background: var(--paper-deep);
}

.process-section .shell {
  padding-block: 88px;
}

.process-section > .shell > .section-label {
  margin-bottom: 42px;
}

.process-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
}

.step-marker {
  margin-bottom: 17px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-marker span {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 700;
}

.step-marker i {
  height: 1px;
  flex: 1;
  background: #ddd5c9;
}

.process-grid li:last-child .step-marker i {
  visibility: hidden;
}

.process-grid h2 {
  margin: 0 0 9px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.62;
}

.capabilities {
  padding-block: 92px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 64px;
}

.capabilities-copy {
  position: sticky;
  top: 108px;
}

.capabilities h2 {
  max-width: 20ch;
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.14;
  text-wrap: balance;
}

.capabilities-copy > p:not(.section-label) {
  max-width: 42ch;
  margin: 0 0 27px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.72;
}

.button-outline {
  max-width: 100%;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  text-align: center;
}

.button-outline:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--paper);
}

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

.capability-gallery figure {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  background: #efeae2;
}

.capability-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.capability-gallery figure:hover img {
  transform: scale(1.025);
}

.contact-section {
  background: var(--ink);
  color: var(--paper-deep);
}

.contact-layout {
  padding-block: 88px 72px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  gap: 72px;
}

.section-label-dark {
  color: var(--accent-light);
}

.contact-section h2 {
  max-width: 14ch;
  margin: 0 0 20px;
  font-size: clamp(2.55rem, 4.5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.07;
  text-wrap: balance;
}

.contact-intro {
  max-width: 38ch;
  margin: 0;
  color: #b7ae9f;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.6;
}

.contact-details {
  display: grid;
  gap: 25px;
  font-style: normal;
}

.contact-details div {
  display: grid;
  justify-items: start;
}

.contact-details span {
  margin-bottom: 8px;
  color: var(--muted-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-details a {
  font-size: clamp(1.18rem, 2.1vw, 1.42rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 160ms ease;
}

.contact-details a:hover {
  color: var(--accent-light);
}

.contact-details .email-link {
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.contact-details small {
  margin-top: 6px;
  color: var(--muted-light);
  font-size: 0.82rem;
}

.contact-details p {
  margin: 0;
  color: #d6cec2;
  font-size: 1rem;
  line-height: 1.65;
}

.site-footer {
  padding-block: 25px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #2c2723;
  color: var(--muted-light);
  font-size: 0.8rem;
}

.site-footer p {
  margin: 0;
}

.not-found {
  width: min(620px, calc(100% - 40px));
  min-height: 100vh;
  margin-inline: auto;
  display: grid;
  place-content: center;
  justify-items: start;
}

.not-found > img {
  margin-bottom: 42px;
}

.not-found h1 {
  max-width: 13ch;
  margin: 0 0 30px;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.03;
}

@media (max-width: 1040px) {
  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 42px;
  }

  .process-grid li:nth-child(3) .step-marker i,
  .process-grid li:last-child .step-marker i {
    visibility: hidden;
  }
}

@media (max-width: 820px) {
  .shell,
  .header-inner {
    width: min(100% - 40px, 680px);
  }

  .hero {
    padding-block: 64px 48px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero h1 {
    max-width: 19ch;
  }

  .hero-image {
    width: min(100%, 620px);
  }

  .services,
  .capabilities,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .services {
    gap: 8px;
    padding-bottom: 68px;
  }

  .capabilities {
    gap: 42px;
    padding-block: 72px;
  }

  .capabilities-copy {
    position: static;
  }

  .contact-layout {
    gap: 52px;
  }
}

@media (max-width: 580px) {
  .shell,
  .header-inner {
    width: min(100% - 32px, 520px);
  }

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

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

  .brand span {
    display: none;
  }

  .button-dark {
    padding: 11px 16px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 10.5vw, 2.75rem);
  }

  .process-section .shell {
    padding-block: 68px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .process-grid li .step-marker i {
    visibility: visible;
  }

  .process-grid li:last-child .step-marker i {
    visibility: hidden;
  }

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

  .button-outline {
    width: 100%;
  }

  .contact-layout {
    padding-block: 72px 58px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

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

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