:root {
  color-scheme: light;
  --ink: #202d28;
  --paper: #f7f6f1;
  --muted: #526157;
  --line: #d7d9d0;
  --accent: #dec394;
  --serif: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Palatino, 'Times New Roman', serif;
  --gutter: clamp(1.5rem, 6vw, 7rem);
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip-link { position: fixed; top: .65rem; left: .65rem; transform: translateY(-200%); padding: .8rem; background: var(--paper); z-index: 2; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 5rem;
  padding: .75rem var(--gutter);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .54rem;
  font-size: 1.48rem;
  font-weight: 760;
  letter-spacing: .14em;
  text-decoration: none;
}

.mark {
  display: inline-block;
  width: 1.45rem;
  aspect-ratio: 1;
  background: var(--ink);
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%, 13% 50%, 31% 83%, 69% 83%, 87% 50%, 69% 17%, 31% 17%, 13% 50%, 0 50%);
}

.site-header nav { display: flex; gap: clamp(.85rem, 3vw, 2.25rem); }
.site-header nav a { font-size: .875rem; font-weight: 630; text-decoration-color: transparent; text-underline-offset: .34em; }
.site-header nav a:hover { text-decoration-color: currentColor; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  min-height: clamp(35rem, 75svh, 51rem);
  background: var(--ink);
  color: var(--paper);
}

.hero-content {
  align-self: center;
  padding: clamp(3.5rem, 9vh, 8rem) clamp(1.5rem, 4vw, 5rem) clamp(4rem, 10vh, 8rem) var(--gutter);
}

.hero-rule { display: block; width: 2.75rem; height: 2px; margin-bottom: 1.65rem; background: var(--accent); }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.06em; }
h1 { font-size: clamp(4.25rem, 8.4vw, 10rem); line-height: .89; }
.hero p { max-width: 23rem; margin: clamp(1.35rem, 4vh, 2.35rem) 0; color: #e0e5de; font-size: clamp(1rem, 1.28vw, 1.14rem); line-height: 1.65; }

.button {
  display: inline-block;
  max-width: max-content;
  padding: .85rem 1.16rem;
  border: 1px solid transparent;
  color: var(--ink);
  background: var(--accent);
  font-weight: 680;
  font-size: .875rem;
  line-height: 1.35;
  text-decoration: none;
}

.button:hover { background: #eed5ad; }
.button:focus-visible { outline-color: var(--paper); }

.hero-image { position: relative; display: grid; margin: 0; min-width: 0; overflow: hidden; background: #80664e; }
.hero-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-image figcaption { position: relative; align-self: end; justify-self: end; margin: .9rem; padding: .3rem .55rem; font-size: .75rem; color: white; background: #202d28; }

.company {
  display: grid;
  grid-template-columns: minmax(15rem, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.25rem, 4vw, 4.5rem);
  padding: clamp(3.05rem, 8vw, 7.4rem) var(--gutter);
}

h2 { font-size: clamp(2.5rem, 4.2vw, 4.6rem); line-height: 1; }
.company-heading p { max-width: 36ch; margin: .8rem 0 0; color: var(--muted); line-height: 1.65; }
.company-details { margin: 0; border-top: 1px solid var(--line); }
.company-details div { display: grid; grid-template-columns: minmax(8.5rem, .67fr) minmax(0, 1fr); gap: .9rem; padding: .88rem 0; border-bottom: 1px solid var(--line); }
.company-details dt { color: var(--muted); font-size: .875rem; }
.company-details dd { margin: 0; line-height: 1.5; }
.contact { border-top: 1px solid var(--line); background: #efefe7; }
.contact address { padding-top: .88rem; border-top: 1px solid var(--line); font-style: normal; line-height: 1.65; }
.site-footer { border-top: 1px solid var(--line); padding: 1.5rem var(--gutter); }
.site-footer p { margin: 0; color: var(--muted); font-size: .875rem; }

@media (max-width: 47rem) {
  .site-header { min-height: 4rem; }
  .hero { display: block; min-height: 0; }
  .hero-content { padding: 3.15rem var(--gutter) 3.5rem; }
  h1 { font-size: clamp(3.7rem, 15vw, 6.2rem); }
  .hero p { margin: 1.25rem 0 1.5rem; }
  .hero-image { aspect-ratio: 1.36; }
  .company { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 22rem) {
  .company-details div { grid-template-columns: minmax(0, 1fr); gap: .22rem; }
}
