:root {
  color-scheme: dark;
  --background: #091519;
  --panel: #112328;
  --text: #f3eee2;
  --muted: #c0cdc9;
  --accent: #f5cd8d;
  --border: #32474a;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
}

a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.site-header, .site-footer {
  max-width: 82rem;
  margin: auto;
  padding: 1.15rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1.75rem;
}

.site-header { min-height: 4.75rem; }
.wordmark { font-weight: 800; letter-spacing: -.03em; text-decoration: none; font-size: 1.3rem; }
.wordmark span { color: var(--accent); }

.home {
  width: min(100%, 82rem);
  margin: 0 auto;
  padding: 0 clamp(0rem, 2vw, 1.75rem);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(29rem, 55vw, 39rem);
  overflow: hidden;
  background: #172e31;
}

.hero-art, .hero::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art { z-index: -2; object-fit: cover; object-position: 68% center; }

.hero::before {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #081519fa 0%, #081519e8 22%, #08151956 64%, #08151908 100%);
}

.hero-text { padding: clamp(1.3rem, 5vw, 5rem); }

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

.hero h1 {
  margin: 0 0 .95rem;
  font-size: clamp(4rem, 10vw, 8.2rem);
  line-height: .83;
  letter-spacing: -.07em;
  text-transform: uppercase;
  font-weight: 950;
}

.hero p { max-width: 27rem; margin-bottom: 0; font-size: clamp(1rem, 2vw, 1.22rem); }

.testing {
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) minmax(15rem, 2fr);
  align-items: start;
  gap: .7rem 2rem;
  padding: 1.75rem clamp(1.25rem, 4vw, 3rem);
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}

.testing h2, .testing p { margin-bottom: 0; }
.testing h2 { font-size: 1.2rem; }
.testing p, .site-footer, .article p, .article li { color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .45rem 1.35rem; }

.article {
  max-width: 50rem;
  min-height: 58vh;
  margin: auto;
  padding: 2.75rem 1.25rem 3rem;
}

.article h1 { margin-bottom: .8rem; font-size: clamp(2.2rem, 6vw, 3.5rem); line-height: 1.1; }
.article h2 { margin: 1.75rem 0 .5rem; font-size: 1.23rem; }
.article a { color: var(--accent); overflow-wrap: anywhere; }
.article li + li { margin-top: .4rem; }

.contact-action {
  display: inline-block;
  padding: .65rem 1rem;
  border: 1px solid var(--accent);
  color: var(--accent);
}

@media (max-width: 39rem) {
  .hero { min-height: 31rem; align-items: end; }
  .hero-art { object-position: 65% center; }
  .hero::before { background: linear-gradient(0deg, #081519 0%, #081519db 28%, #0815190d 78%); }
  .hero-text { padding-bottom: 2rem; }
  .testing { grid-template-columns: 1fr; }
}
