@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrumentsans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #162021;
  --mist: #f3f6f5;
  --chalk: #f3f5ef;
  --silver: #bdc9c5;
  --text: #1b292b;
  --gutter: clamp(1.75rem, 5.4vw, 7rem);
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--mist); color: var(--text); font: 400 1rem/1.5 var(--sans); }
h1, h2, p, figure { margin: 0; }
img { display: block; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -8rem; z-index: 1; padding: .6rem 1rem; background: var(--chalk); }
.skip:focus { top: 1rem; }

.cover {
  display: grid;
  grid-template-columns: 39fr 61fr;
  grid-template-rows: clamp(22rem, min(37vw, 59svh), 42rem) auto;
  background: var(--ink);
  color: var(--chalk);
}
.identity {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.75rem, 3.25vw, 4rem) 1rem 1.25rem var(--gutter);
}
.millstone {
  width: clamp(2.1rem, 3vw, 3rem);
  aspect-ratio: 1;
  background: var(--chalk);
  mask: url("/assets/millstone.svg?v=2") center / contain no-repeat;
}
h1 {
  font-size: clamp(4.1rem, 8.85vw, 10.5rem);
  font-weight: 500;
  line-height: .88;
  letter-spacing: -.058em;
  margin-inline-start: -.065em;
}
h1 span { display: block; }
.landscape { display: grid; grid-area: 1 / 2 / 3; grid-template-rows: subgrid; min-width: 0; }
.landscape > img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 52% 55%; }
figcaption {
  padding: .8rem var(--gutter) .95rem 1.35rem;
  align-self: center;
  color: var(--silver);
  text-align: right;
  font-size: .78rem;
  line-height: 1.45;
}
figcaption a { display: inline-flex; flex-wrap: wrap; justify-content: end; gap: 0 .7rem; text-decoration: none; }
figcaption small { font-size: inherit; }
figcaption a:hover, figcaption a:focus-visible { text-decoration: underline; }
.contact {
  grid-area: 2 / 1;
  justify-self: start;
  align-self: center;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-inline-start: var(--gutter);
  color: var(--chalk);
  font-size: .92rem;
  text-decoration-color: #708380;
}
.contact:hover { text-decoration-color: currentColor; }
.contact-short { display: none; }

.product {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  align-items: center;
  gap: clamp(2rem, 5.5vw, 6rem);
  max-width: 110rem;
  margin: 0 auto;
  padding: clamp(2.7rem, 5.3vw, 6rem) var(--gutter);
}
.product-intro h2 { line-height: 1; }
.product-intro h2 a { display: inline-block; }
.lockup { width: clamp(9rem, 13vw, 12.25rem); height: auto; }
.product-intro p {
  max-width: 33ch;
  margin: 1rem 0 1.35rem;
  font-size: clamp(1.07rem, 1.5vw, 1.43rem);
  line-height: 1.44;
  letter-spacing: -.021em;
}
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem clamp(.9rem, 1.6vw, 1.7rem); }
nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; font-size: .92rem; font-weight: 550; text-decoration-color: #82908e; }
nav a:hover { text-decoration-color: currentColor; }
.primary { padding: .55rem 1.3rem; color: #fff; background: var(--ink); border-radius: .2rem; text-decoration: none; }
.primary:hover { background: #314443; }
.primary:focus-visible { outline-color: var(--ink); }
.screen {
  display: grid;
  padding: clamp(1rem, 3.1vw, 3.3rem);
  background: #e0e6e4;
  text-decoration: none;
  overflow: hidden;
}
.screen img { width: 100%; height: auto; border: 1px solid #c7cecb; box-shadow: 0 .5rem 1.5rem #1b292b12; }
.screen:hover img { border-color: #808c87; }
.error-page { min-height: 70vh; padding: 8vw var(--gutter); display: grid; gap: 1.75rem; align-content: center; }
.error-page h1 { font-size: clamp(3rem, 6vw, 6rem); }
@media (min-width: 701px) and (max-width: 900px) {
  :root { --gutter: 2rem; }
  .cover { grid-template-rows: 21rem auto; }
  figcaption small { display: block; }
  .product { gap: 2rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
}
@media (max-width: 700px) {
  :root { --gutter: clamp(1.15rem, 5vw, 1.75rem); }
  .cover { grid-template-columns: 1fr auto; grid-template-rows: auto auto; }
  .identity { flex-direction: row; align-items: center; justify-content: flex-start; gap: .72rem; padding: 1.25rem .75rem 1.3rem var(--gutter); }
  .millstone { width: clamp(1.65rem, 5vw, 2.2rem); flex: none; }
  h1 { font-size: clamp(2.05rem, 7.1vw, 3.2rem); line-height: 1; letter-spacing: -.047em; }
  h1 span { display: inline; }
  .contact { grid-area: 1 / 2; margin: 0 var(--gutter) 0 0; }
  .contact-long { display: none; }
  .contact-short { display: inline; }
  .landscape { grid-area: 2 / 1 / 3 / -1; grid-template-rows: auto auto; }
  .landscape > img { aspect-ratio: 1.9; height: auto; }
  figcaption { padding: .6rem var(--gutter) .68rem; text-align: left; }
  figcaption a { justify-content: start; }
  .product { grid-template-columns: 1fr; gap: 1.7rem; padding: 2.1rem var(--gutter) 2.4rem; }
  .lockup { width: 9.25rem; }
  .product-intro p { margin: .9rem 0 1rem; }
  .screen { padding: clamp(.85rem, 4vw, 1.4rem); }
}
@media (forced-colors: active) {
  .primary { border: 1px solid ButtonText; }
  .millstone { forced-color-adjust: none; }
}
