:root {
  color-scheme: dark;
  --ink: #efefef;
  --background: #0a0a0a;
  --surface: #171717;
  --accent: #b11226;
  --margin: clamp(20px, 3.4vw, 56px);
  --body: clamp(1rem, .96rem + .2vw, 1.1875rem);
  --display: Georgia, "Times New Roman", serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 100%;
  background: var(--background);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
p, address, dl { font-size: var(--body); line-height: 1.55; }
address { font-style: normal; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.wrap { max-width: 1640px; padding-inline: var(--margin); margin-inline: auto; }
.skip { position: absolute; top: 10px; left: var(--margin); transform: translateY(-180%); z-index: 2; }
.skip:focus { transform: none; background: white; color: black; padding: 10px; }

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 24px;
  padding-block: 16px;
}
.top a { text-decoration: none; }
.top a:hover, .text-link:hover { text-decoration: underline; }
.brand { font-weight: 700; }
.nav, .languages { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 36px); }
.nav a, .languages a, .brand { display: inline-flex; align-items: center; min-height: 44px; }
.languages { gap: 14px; font-size: .875rem; }
.languages [aria-current] { text-decoration: underline; }

.hero {
  display: grid;
  align-items: center;
  grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 6vw, 112px);
  padding-block: clamp(30px, 5.5vw, 84px) clamp(52px, 7vw, 108px);
}
.hero-copy h1 { font-weight: 500; letter-spacing: -.025em; font-size: clamp(1.5rem, 3.1vw, 2.25rem); line-height: 1.14; max-width: 18ch; }
.hero-copy p { margin-top: 20px; max-width: 43ch; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  padding: 14px 20px;
  min-height: 48px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 650;
  transition: transform .18s ease;
}
.button:hover { transform: translateY(-3px); }
.button:active { transform: translateY(1px); }
.hero-art {
  overflow: hidden;
  background: #871222;
  aspect-ratio: 8 / 5;
}
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wordmark {
  grid-column: 1 / -1;
  font: 400 min(13.15vw, 215px)/.84 var(--display);
  letter-spacing: -.058em;
  white-space: nowrap;
  transform-origin: left;
}
h2, h3 { font-weight: 550; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.06; }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.16; }
.section { padding-block: clamp(72px, 9vw, 144px); }
.services { background: var(--surface); }
.service-layout { display: grid; grid-template-columns: .85fr 1fr 1fr; gap: clamp(25px, 5vw, 84px); }
.service-layout p { margin-top: 16px; max-width: 37ch; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; }
.about-layout { display: grid; grid-template-columns: .85fr 2fr; gap: clamp(25px, 5vw, 84px); }
.about-layout p { max-width: 59ch; }
.facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; row-gap: 20px; margin-top: 24px; }
.facts dt { font-weight: 650; }
.facts dd { margin-top: 4px; }
.contact { background: var(--ink); color: var(--background); color-scheme: light; }
.contact-intro { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 32px; }
.contact-intro p { max-width: 44ch; }
.email {
  display: inline-block;
  max-width: 100%;
  margin-top: clamp(34px, 6vw, 90px);
  font: 400 clamp(1.45rem, 6.5vw, 104px)/1.05 var(--display);
  letter-spacing: -.055em;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: transform .18s ease;
}
.email:hover { color: var(--accent); text-decoration: underline; transform: translateY(-3px); }
.footer { padding-block: 32px; font-size: .875rem; }
.footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 22px; }

@media (max-width: 820px) {
  .hero { gap: 30px; }
  .service-layout { grid-template-columns: 1fr 1fr; }
  .service-layout h2 { grid-column: 1 / -1; }
}
@media (max-width: 590px) {
  .top { padding-block: 8px; }
  .nav { order: 3; flex-basis: 100%; gap: 25px; }
  .hero, .service-layout, .about-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 27px; }
  .hero-art { aspect-ratio: 2 / 1; }
  .wordmark { font-size: 12.6vw; }
  .facts { grid-template-columns: 1fr; }
  .email { font-size: clamp(1.3rem, 7vw, 2.5rem); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-art, .wordmark { animation: arrive .62s ease-out both; }
  .hero-art { animation-delay: 75ms; }
  .wordmark { animation-delay: 150ms; }
  .hero-art img { animation: settle 1.6s ease-out both; }
  @keyframes arrive { from { opacity: 0; transform: translateY(16px); } }
  @keyframes settle { from { transform: scale(1.045); } }
  @keyframes section-arrive { from { transform: translateY(18px); opacity: .65; } }
  @supports (animation-timeline: view()) {
    .section [data-enter] {
      animation: section-arrive linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 88%;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
