:root {
  --ink: #0a0b0c;
  --surface: #111315;
  --surface-raised: #181b1e;
  --paper: #ece7db;
  --copy: #bab5aa;
  --accent: #c9a15c;
  --accent-soft: #987846;
  --muted: #716e68;
  --line: rgba(199, 159, 84, 0.21);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle, rgba(201, 161, 92, 0.14) 0 1px, transparent 1.2px),
    radial-gradient(circle at 14% 4%, rgba(111, 41, 15, 0.16), transparent 448px),
    linear-gradient(#111315 0, #0a0b0c 1152px);
  background-size: 16px 16px, auto, auto;
  color: var(--paper);
  font-family: "Courier New", Courier, monospace;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

main {
  overflow: hidden;
}

.logo-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.film-frame {
  position: relative;
  z-index: 2;
  padding: 18px clamp(18px, 4vw, 58px) 0;
  border-bottom: 1px solid var(--line);
  background: rgba(201, 161, 92, 0.035);
  color: var(--accent);
}

.film-edge {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1fr auto;
  align-items: center;
  padding-bottom: 12px;
  font-size: clamp(9px, 1vw, 10px);
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.sprockets {
  height: 18px;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 10px,
      var(--ink) 10px 25px,
      transparent 25px 43px
    );
  border-top: 1px solid rgba(201, 161, 92, 0.12);
}

.hero,
.locations {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  min-height: calc(100svh - 85px);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  padding: 28px 0 24px;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo,
.footer-logo {
  width: clamp(190px, 26vw, 320px);
  height: auto;
  display: block;
  filter: url("#logo-classic-tint");
}

.roll-number,
.eyebrow,
.card-topline,
.fact-label {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.13em;
}

.roll-number {
  white-space: nowrap;
}

.hero-copy {
  align-self: center;
  padding: clamp(72px, 11vh, 135px) 0 clamp(58px, 8vh, 96px);
}

.eyebrow {
  margin: 0 0 22px;
  line-height: 1.7;
}

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

h1 {
  max-width: 1150px;
  margin-bottom: 32px;
  color: var(--accent);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(50px, 8.1vw, 114px);
  font-weight: 700;
  letter-spacing: -0.062em;
  line-height: 0.88;
  text-transform: uppercase;
}

h1 span {
  display: block;
  color: var(--paper);
}

.intro {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--copy);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}

.lab-picker {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.lab-picker a {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(18px, 2.2vw, 28px);
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease;
}

.lab-picker b {
  color: var(--accent);
  font-family: "Courier New", Courier, monospace;
  font-size: 24px;
  font-weight: 400;
}

.lab-picker a:hover,
.lab-picker a:focus-visible {
  outline: none;
  background: var(--accent);
  color: var(--ink);
}

.lab-picker a:hover b,
.lab-picker a:focus-visible b {
  color: var(--ink);
}

.scroll-cue {
  padding-top: 22px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-align: right;
}

.scroll-cue span {
  padding-left: 6px;
  color: var(--accent);
}

.locations {
  padding: clamp(100px, 14vw, 190px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(130px, 0.45fr) 1.55fr;
  align-items: end;
  gap: 30px;
  padding-bottom: 44px;
}

h2 {
  margin-bottom: 0;
  color: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(48px, 7vw, 92px);
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-transform: uppercase;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.location-card {
  min-width: 0;
  padding: clamp(26px, 4vw, 52px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(24, 27, 30, 0.46);
  scroll-margin-top: 30px;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(70px, 10vw, 128px);
}

.card-topline p {
  margin-bottom: 0;
}

.card-topline span {
  color: var(--muted);
}

h3 {
  margin-bottom: 18px;
  color: var(--accent);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(42px, 5vw, 72px);
  letter-spacing: -0.052em;
  line-height: 0.94;
  text-transform: uppercase;
}

.lab-facts {
  display: grid;
  gap: 32px;
  margin-top: 52px;
  margin-bottom: 38px;
}

.fact-block {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.fact-label {
  margin-bottom: 18px;
}

address {
  color: var(--copy);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  line-height: 1.55;
}

address span {
  display: block;
}

.hours {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
}

.hours dt,
.hours dd {
  margin: 0;
}

.hours dd {
  color: var(--accent);
}

.hours .closed {
  color: var(--muted);
}

.primary-link {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
  padding: 20px 22px;
  background: var(--accent);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-link b {
  font-family: "Courier New", Courier, monospace;
  font-size: 22px;
  font-weight: 400;
}

.primary-link:hover,
.primary-link:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

.utility-links {
  border-top: 1px solid var(--line);
}

.utility-links a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.utility-links span {
  color: var(--copy);
  text-align: right;
}

.utility-links a:hover span,
.utility-links a:focus-visible span {
  color: var(--accent);
}

footer {
  width: min(1240px, calc(100% - 40px));
  min-height: 300px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-content: end;
  align-items: end;
  gap: 22px;
  margin-inline: auto;
  padding: 70px 0 54px;
  border-top: 1px solid var(--line);
}

.footer-logo {
  grid-column: 1 / -1;
  margin-bottom: 58px;
}

footer p,
footer a {
  margin-bottom: 0;
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-decoration: none;
}

footer p:nth-of-type(2) {
  text-align: center;
}

footer > a {
  text-align: right;
}

.bottom-frame {
  padding-top: 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.bottom-frame .film-edge {
  grid-template-columns: 0.7fr 1.5fr 1fr auto;
  padding: 12px 0 18px;
  font-size: 9px;
}

@media (max-width: 860px) {
  .film-frame:not(.bottom-frame) .film-edge span:not(:first-child) {
    display: none;
  }

  .film-edge span:nth-child(3) {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding: 110px 0 90px;
  }

  .section-heading {
    display: block;
  }

  .section-heading .eyebrow {
    margin-bottom: 20px;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .film-frame {
    padding-inline: 14px;
  }

  .film-edge span:nth-child(2) {
    display: none;
  }

  .sprockets {
    background:
      repeating-linear-gradient(
        90deg,
        transparent 0 7px,
        var(--ink) 7px 19px,
        transparent 19px 33px
      );
  }

  .hero,
  .locations,
  footer {
    width: min(100% - 28px, 1240px);
  }

  .masthead {
    align-items: flex-start;
  }

  .logo {
    width: 190px;
  }

  .roll-number {
    max-width: 95px;
    padding-top: 16px;
    font-size: 9px;
    line-height: 1.45;
    text-align: right;
    white-space: normal;
  }

  .hero-copy {
    padding: 88px 0 72px;
  }

  h1 {
    font-size: clamp(44px, 14.5vw, 70px);
    line-height: 0.9;
  }

  .intro {
    font-size: 17px;
  }

  .lab-picker {
    grid-template-columns: 1fr;
  }

  .lab-picker a {
    min-height: 92px;
    font-size: 18px;
  }

  .locations {
    padding: 100px 0;
  }

  .location-card {
    padding: 28px 22px 40px;
  }

  .card-topline {
    margin-bottom: 72px;
  }

  .utility-links a {
    align-items: flex-start;
  }

  footer {
    grid-template-columns: 1fr;
    padding-bottom: 40px;
  }

  footer p:nth-of-type(2),
  footer > a {
    text-align: left;
  }

  .footer-logo {
    width: 210px;
    margin-bottom: 30px;
  }
}

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

  .lab-picker a {
    transition: none;
  }
}
