:root {
  color-scheme: light;
  color: #25372e;
  background: #f5f2e9;
  font-family: Georgia, "Times New Roman", serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body { margin: 0; }

.page {
  width: min(100% - 112px, 1184px);
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.masthead {
  padding-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.label {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.staff {
  width: 122px;
  height: 25px;
  color: #a4ac9e;
  background: repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 6px);
}

.introduction {
  padding-block: clamp(70px, 12vh, 136px) 82px;
}

h1 {
  margin: 0 0 0 -.055em;
  font-size: clamp(66px, 9.6vw, 138px);
  font-weight: 400;
  line-height: .99;
  letter-spacing: -.055em;
}

h1 span { display: block; }

.work {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: baseline;
  border-top: 1px solid #c6cbbb;
  padding-block: 30px 64px;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: -.025em;
  font-style: italic;
  font-weight: 400;
}

.contact {
  margin-top: auto;
  padding-block: 24px 36px;
  border-top: 1px solid #c6cbbb;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: baseline;
}

a {
  width: fit-content;
  max-width: 100%;
  color: inherit;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  text-decoration-color: #87917f;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}

a:hover { text-decoration-color: currentColor; }

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 7px;
}

@media (max-width: 640px) {
  .page { width: calc(100% - 48px); }
  .masthead { padding-top: 28px; gap: 16px; }
  .staff { width: 64px; flex-shrink: 0; }
  .introduction { padding-block: 86px 64px; }
  h1 { font-size: clamp(48px, 13.2vw, 84px); line-height: 1.04; }
  .work, .contact { grid-template-columns: 1fr; gap: 16px; }
  .work { padding-block: 24px 56px; }
  .contact { padding-block: 24px 30px; }
  a { font-size: 13px; }
}
