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

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

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/outfit.woff2") format("woff2");
}

:root {
  --paper: #f3efe6;
  --paper-raised: #faf7f1;
  --ink: #1c1916;
  --muted: #5e584f;
  --line: #ddd4c6;
  --copper: #a34b2c;
  --copper-deep: #7c341c;
  --codevisto: #0f7f86;
  --espliego: #6b4fa8;
  --max: 68rem;
  --header: 4.25rem;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 110% -10%, rgba(163, 75, 44, 0.09), transparent 55%),
    var(--paper);
  color: var(--ink);
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.55;
}

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

a {
  color: var(--copper-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--copper);
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 5;
}

.skip:focus {
  transform: none;
}

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

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

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

.mark {
  width: 1.85rem;
  height: 1.85rem;
  color: var(--copper-deep);
  flex: none;
}

.brand-name {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 560;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-name span {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 0.45rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0;
}

.nav a:hover {
  color: var(--copper-deep);
}

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

.kicker {
  margin: 0 0 1rem;
  color: var(--copper-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

h1 em {
  font-style: italic;
  font-weight: 480;
}

.lede {
  max-width: 38rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

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

.button-primary:hover {
  background: var(--copper-deep);
  color: var(--paper);
}

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

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

.section {
  padding: 4.25rem 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2.25rem;
  max-width: 40rem;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

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

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: service;
}

.services li {
  counter-increment: service;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 16rem) minmax(0, 1fr);
  gap: 1rem 1.5rem;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding: 1.6rem 0;
}

.services li:last-child {
  border-bottom: 1px solid var(--line);
}

.services li::before {
  content: counter(service, decimal-leading-zero);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.45rem;
  color: var(--copper-deep);
  font-variant-numeric: tabular-nums;
}

.services h3 {
  margin: 0;
  font-size: 1.7rem;
}

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

.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.product {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
  padding: 1.6rem 1.5rem 1.4rem;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-top-width: 4px;
}

.product-codevisto {
  border-top-color: var(--codevisto);
}

.product-espliego {
  border-top-color: var(--espliego);
}

.product-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-codevisto .product-kicker {
  color: var(--codevisto);
}

.product-espliego .product-kicker {
  color: var(--espliego);
}

.product h3 {
  margin: 0;
  font-size: 2.2rem;
}

.product p {
  margin: 0;
  color: var(--muted);
}

.product a {
  margin-top: auto;
  padding-top: 1.2rem;
  font-weight: 500;
}

.studio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  align-items: start;
}

.studio p {
  margin: 0 0 1rem;
}

.studio p:last-child {
  margin-bottom: 0;
}

.facts {
  margin: 0;
  padding: 1.25rem 1.35rem;
  background: var(--paper-raised);
  border: 1px solid var(--line);
}

.facts div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.facts div:first-child {
  padding-top: 0;
}

.facts div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.facts dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.facts dd {
  margin: 0;
}

.contact-mail {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
}

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

.missing h1 {
  max-width: 12ch;
}

@media (max-width: 800px) {
  .services li,
  .products,
  .studio,
  .facts div {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.9rem 0;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .section {
    padding: 3.2rem 0;
  }
}

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

@media print {
  .site-header,
  .hero-actions {
    display: none;
  }

  body {
    background: white;
  }
}
