:root {
  --charcoal: #4b4b4b;
  --red: #ff0000;
  --blue: #003aff;
  --header-height: 160px;
  --header-width: clamp(230px, 20vw, 300px);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--charcoal); }

body {
  margin: 0;
  min-width: 280px;
  color: #000;
  font-family: var(--sans);
  font-size: clamp(12px, 0.95vw, 15px);
  line-height: 1.2;
  background: #fff;
}

a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

.site-header {
  position: relative;
  height: var(--header-height);
  background: var(--charcoal);
}

.header-copy {
  inset: 0;
  width: 100%;
  height: var(--header-height);
  pointer-events: none;
}

.header-copy--ghost {
  position: absolute;
  z-index: 5;
  color: #fff;
}

.header-copy--fixed {
  position: fixed;
  z-index: 10;
  color: #000;
}

.header-copy--fixed .identity {
  -webkit-text-stroke: 0.3px #000;
}

.identity {
  position: absolute;
  top: clamp(76px, 15.84vh, 114px);
  left: 50%;
  width: var(--header-width);
  transform: translateX(-50%);
  text-align: right;
  pointer-events: auto;
}

.identity h1 {
  margin: 0;
  font-size: clamp(22px, 1.75vw, 27px);
  font-weight: 600;
  line-height: 1.2;
}

.contact-lines { min-height: 32px; }
.identity nav { font-weight: 600; }

.hero {
  position: relative;
  z-index: 2;
  min-height: var(--header-height);
  margin-top: calc(-1 * var(--header-height));
  padding: 20.7px;
  overflow: hidden;
  background: var(--charcoal);
}

.flash {
  display: block;
  width: max-content;
  max-width: 100%;
  color: var(--red);
  font: 400 clamp(9rem, 16vw, 22rem)/1.2 Times, "Times New Roman", serif;
  white-space: nowrap;
  animation: flash 70ms ease infinite;
}

.blank { min-height: 100vh; background: #fff; }

@keyframes flash {
  0%, 100% { color: var(--red); }
  50% { color: var(--blue); }
}

.inner-page .site-header { min-height: var(--header-height); }

.page-panel {
  min-height: calc(100vh - var(--header-height));
  padding: 52px 20px 80px;
  background: #fff;
}

.page-panel--full { min-height: 100vh; }

.page-copy {
  width: min(100%, 360px);
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.45;
}

.page-copy h2 {
  margin: 0 0 2rem;
  font-size: 20px;
  font-weight: 500;
}

.page-copy p { margin: 0 0 1.2rem; }
.page-copy a { text-decoration: underline; }

@media (max-width: 600px) {
  :root { --header-height: 228px; --header-width: min(62vw, 240px); }

  .identity { top: 92px; }

  .hero {
    min-height: 228px;
    padding: 16px;
  }

  .flash { font-size: clamp(6rem, 31vw, 8.2rem); }
}

@media (min-width: 601px) {
  .hero { padding-left: clamp(28px, 3vw, 56px); }

  .identity {
    top: auto;
    bottom: 10px;
    left: 37%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flash { animation: none; }
}
