:root {
  color-scheme: light;
  --ink: #171916;
  --muted: #63655f;
  --paper: #f3f0e8;
  --paper-deep: #e7e2d7;
  --line: rgba(23, 25, 22, 0.16);
  --accent: #bd4e2f;
  --accent-dark: #8f351f;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Avenir", "Helvetica Neue", sans-serif;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 84% 12%, rgba(189, 78, 47, 0.07), transparent 27rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding: 0.65rem 0.9rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.site-shell {
  width: min(100% - 3rem, 1280px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  gap: 0.85rem;
  align-items: center;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark-mark {
  width: 27px;
  height: 27px;
  fill: var(--ink);
}

.wordmark-mark .accent-bit {
  fill: var(--accent);
}

.header-contact {
  padding-block: 0.25rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.header-contact:hover,
.header-contact:focus-visible {
  color: var(--accent-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  min-height: min(760px, calc(100vh - 96px));
  padding-block: clamp(5rem, 10vw, 9rem);
}

.hero-copy {
  max-width: 780px;
  animation: rise-in 650ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.eyebrow {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 2rem;
  font-family: var(--serif);
  font-size: clamp(3.8rem, 8vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.91;
}

.hero-description {
  max-width: 590px;
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.65;
}

.primary-link {
  display: inline-flex;
  gap: 1.5rem;
  align-items: center;
  padding: 0.9rem 0 0.7rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease;
}

.primary-link svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.primary-link:hover,
.primary-link:focus-visible {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.primary-link:hover svg,
.primary-link:focus-visible svg {
  transform: translateX(4px);
}

.hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 28px 70px rgba(41, 35, 26, 0.13);
  animation: rise-in 650ms 120ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.art-grid {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 20% 16.67%;
}

.art-label {
  position: absolute;
  z-index: 2;
  color: rgba(243, 240, 232, 0.68);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.16em;
}

.art-label-top {
  top: 6%;
  left: 7%;
}

.art-label-bottom {
  right: 7%;
  bottom: 5%;
  writing-mode: vertical-rl;
}

.bit {
  position: absolute;
  width: 20%;
  aspect-ratio: 1;
  background: var(--paper);
}

.bit-one {
  top: 16.67%;
  left: 20%;
}

.bit-two {
  top: 33.34%;
  left: 60%;
  background: var(--accent);
}

.bit-three {
  top: 50%;
  left: 40%;
  background: var(--paper-deep);
}

.bit-four {
  top: 66.67%;
  left: 20%;
  border: 1px solid rgba(243, 240, 232, 0.55);
  background: transparent;
}

.company-details {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 8vw, 9rem);
  padding-block: clamp(4.5rem, 9vw, 8rem);
  border-top: 1px solid var(--line);
}

.section-label {
  margin-bottom: 1.5rem;
  color: var(--accent-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2 {
  max-width: 10ch;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.detail-list {
  margin: 0;
}

.detail-list > div {
  display: grid;
  grid-template-columns: minmax(100px, 0.4fr) 1fr;
  gap: 1.5rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
}

.detail-list > div:first-child {
  border-top: 1px solid var(--line);
}

.detail-list dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.detail-list a {
  text-decoration-color: rgba(23, 25, 22, 0.35);
  text-underline-offset: 0.25em;
}

.detail-list a:hover,
.detail-list a:focus-visible {
  color: var(--accent-dark);
  text-decoration-color: var(--accent);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding-block: 1.6rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-footer p {
  margin-bottom: 0;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 4.5rem;
  }

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

  .hero-art {
    width: min(100%, 540px);
    aspect-ratio: 5 / 4;
    justify-self: end;
  }

  .company-details {
    grid-template-columns: 1fr;
  }

  h2 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 2rem, 1280px);
  }

  .site-header {
    min-height: 80px;
  }

  .wordmark {
    gap: 0.65rem;
    max-width: 185px;
    font-size: 0.7rem;
    line-height: 1.25;
  }

  .wordmark-mark {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
  }

  .header-contact {
    font-size: 0.68rem;
  }

  .hero {
    gap: 3.5rem;
    padding-block: 3.75rem 4.5rem;
  }

  h1 {
    font-size: clamp(3.35rem, 17vw, 5rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .primary-link {
    gap: 0.9rem;
    font-size: 0.79rem;
  }

  .hero-art {
    aspect-ratio: 1;
  }

  .company-details {
    padding-block: 4rem;
  }

  .detail-list > div {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .detail-list dd {
    overflow-wrap: anywhere;
  }

  .site-footer {
    gap: 1rem;
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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