/* Original brand fonts; see assets/README.txt for provenance and font notice. */
@font-face {
  font-family: "DIN Next";
  src: url("assets/fonts/din-next-w01-regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DIN Next Condensed";
  src: url("assets/fonts/din-next-w01-cond-medium.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Meta Serif";
  src: url("assets/fonts/meta-serif-book-osf.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --link: #007e91;
  --gray: #606265;
  --charcoal: #231f20;
  --coral: #f47b5c;
  --border: #e4e4e4;
  --body-font: "Meta Serif", Georgia, serif;
  --heading-font: "DIN Next", "Arial", sans-serif;
  --display-font: "DIN Next Condensed", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--gray);
  background: #fff;
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.65;
  font-kerning: normal;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.2em; }
a:hover { color: var(--charcoal); }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 6px; }
h1, h2, p { margin: 0; }

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.5rem 1rem;
  color: var(--charcoal);
  background: #fff;
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

.header-inner {
  max-width: 66rem;
  min-height: 7rem;
  padding: 1.75rem 2rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand { flex: 0 1 12.5rem; }
.brand img { width: 12.5rem; }

.hero {
  display: grid;
  place-items: center;
  padding: 2.5rem 1.5rem 3.5rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.hero-content { max-width: 47rem; }
h1 {
  font: 700 clamp(2.5rem, 4.25vw, 3.75rem)/1.08 var(--display-font);
  letter-spacing: 0.025em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero p {
  max-width: 34rem;
  margin: 1.5rem auto 1.75rem;
  font-size: 1.125rem;
  line-height: 1.65;
  text-wrap: pretty;
}
.contact-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem 0.5rem;
  border: 2px solid var(--coral);
  border-radius: 0.5rem;
  color: var(--charcoal);
  background: var(--coral);
  font: 700 1.375rem/1.1 var(--display-font);
  text-transform: uppercase;
  letter-spacing: 0.045em;
  text-decoration: none;
  box-shadow: 1px 2px 4px rgb(0 0 0 / 15%);
  transition: background-color 150ms, border-color 150ms;
}
.contact-button:hover { background: #ff9478; border-color: #ff9478; }

.details {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 2rem;
}

h2 {
  font: 400 1.875rem/1.2 var(--heading-font);
  color: var(--gray);
  text-wrap: balance;
}
.about { margin-top: 1.25rem; }

.contact { margin-top: 1rem; }

.legacy {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  grid-template-areas: "image title" "image description";
  align-items: center;
  gap: 0.75rem 2.5rem;
  width: calc(100% - 4rem);
  max-width: 62rem;
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
}
.legacy img { grid-area: image; width: 100%; }
.legacy h2 { grid-area: title; align-self: end; font-size: 1.5rem; }
.legacy p { grid-area: description; align-self: start; }

.site-footer {
  border-top: 1px solid #eeeeee;
  padding: 1.25rem 1.5rem;
  color: #767676;
  text-align: center;
  font: 400 0.8125rem/1.5 var(--heading-font);
}

@media (max-width: 47.99rem) {
  .legacy {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "image" "title" "description";
    gap: 0.75rem;
    width: 100%;
    max-width: none;
    padding-top: 0;
    border-top: 0;
  }
  .legacy img { height: clamp(10rem, 42vw, 17rem); object-fit: cover; }
  .legacy h2 { margin-top: 0.75rem; }
  .legacy h2, .legacy p { margin-inline: 2rem; }
}

@media (max-width: 39.99rem) {
  .header-inner { padding: 1.5rem 1.5rem 0.75rem; }
  .hero { padding: 1.75rem 1.5rem 2.75rem; }
  h1 { font-size: clamp(1.75rem, 9vw, 2.5rem); }
  .hero p { font-size: 1rem; max-width: 26rem; }
  .details { padding: 2.75rem 1.5rem; }
  h2 { font-size: 1.75rem; }
  .legacy h2, .legacy p { margin-inline: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .contact-button { transition: none; }
}
