:root {
  --bg: #ffffff;
  --bg-subtle: #f6f5f3;
  --ink: #1c1917;
  --muted: #44403c;
  --line: #e4e1dc;
  --accent: #e10600;
  --accent-dark: #b10500;
  --inverse: #1c1917;
  --inverse-text: #fafaf9;
  --inverse-muted: #d6d3d1;
  --max: 68rem;
  --header: 4.75rem;
  --font: Outfit, "Segoe UI", Helvetica, Arial, sans-serif;
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

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

h1,
h2,
h3 {
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

h3 {
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-dark);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 20;
  transform: translateY(-120%);
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 0.9rem;
  text-decoration: none;
  font-weight: 600;
}

.skip:focus {
  transform: none;
  outline-color: #fff;
}

.wrap {
  width: min(100% - 3rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(10px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.nav a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.hero {
  padding: 5.5rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 0.8fr);
  gap: 3rem 4rem;
  align-items: start;
}

.lede {
  max-width: 40rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.hero-mail {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.facts {
  margin: 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 2px solid var(--accent);
}

.facts div + div {
  margin-top: 1.25rem;
}

.facts dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section {
  padding: 4.75rem 0;
}

.section-subtle {
  background: var(--bg-subtle);
}

.section-head {
  max-width: 46rem;
  margin-bottom: 2.25rem;
}

.section-head p {
  color: var(--muted);
}

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: service;
  border-bottom: 1px solid var(--line);
}

.services li {
  counter-increment: service;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  column-gap: 1rem;
  row-gap: 0.35rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.services li::before {
  content: counter(service, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 2;
  padding-top: 0.25rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.services h3,
.services p {
  grid-column: 2;
}

.services p {
  max-width: 42rem;
  color: var(--muted);
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
  border: 1px solid var(--line);
}

.brand-grid article {
  padding: 2rem 1.75rem 1.75rem;
}

.brand-grid article + article {
  border-left: 1px solid var(--line);
}

.brand-grid h3 {
  font-size: 1.65rem;
}

.brand-grid p {
  color: var(--muted);
}

.brand-link {
  margin-top: 1.5rem;
  font-weight: 600;
}

.brand-link a {
  overflow-wrap: anywhere;
}

#about,
#services,
#brands,
#contact {
  scroll-margin-top: 6.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: start;
}

.contact-layout .intro {
  color: var(--muted);
}

.contact-mail {
  font-size: clamp(1.2rem, 2.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.place {
  margin-top: 1.75rem;
  color: var(--muted);
}

.place .k {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer {
  background: var(--inverse);
  color: var(--inverse-text);
}

.site-footer .wrap {
  padding: 1.5rem 0;
}

.site-footer p {
  margin: 0;
  color: var(--inverse-muted);
  font-size: 0.95rem;
}

.site-footer a:focus-visible {
  outline-color: #fff;
}

.missing {
  padding: 6rem 0 7rem;
}

.missing h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  margin-bottom: 1rem;
}

.missing p {
  color: var(--muted);
  max-width: 36rem;
}

.missing a {
  font-weight: 600;
}

@media (max-width: 800px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.85rem 0;
  }

  .nav {
    justify-content: space-between;
    gap: 0.5rem;
  }

  .hero {
    padding: 3rem 0 3.25rem;
  }

  .hero-grid,
  .brand-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .facts {
    margin-top: 0.5rem;
  }

  .brand-grid article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .section {
    padding: 3.25rem 0;
  }
}

@media (max-width: 380px) {
  .wrap {
    width: min(100% - 2rem, var(--max));
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 1rem;
  }
}

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

@media print {
  .site-header {
    position: static;
  }

  .skip,
  .nav {
    display: none;
  }

  .site-footer {
    background: #fff;
    color: #000;
  }

  .site-footer p {
    color: #000;
  }

  a {
    color: #000;
  }
}
