:root {
  color-scheme: dark;
  --page: #10120f;
  --ink: #f3f5ec;
  --muted: #a7ada2;
  --accent: #c1fb55;
  --line: #32372e;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: "Helvetica Neue", "Arial", sans-serif;
  color: var(--ink);
  background: var(--page);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip { position: absolute; z-index: 2; padding: 1rem; background: var(--page); transform: translateY(-150%); }
.skip:focus { transform: none; }

.shell {
  width: min(91%, 88rem);
  min-height: 100vh;
  min-height: 100svh;
  margin: auto;
  display: flex;
  flex-direction: column;
}

header, footer, .brand, header nav, .section-link { display: flex; align-items: center; }
header, footer { justify-content: space-between; }
header { min-height: 5.25rem; gap: 1.5rem; border-bottom: 1px solid var(--line); }

.brand { gap: .75rem; font-size: 1.75rem; font-weight: 750; letter-spacing: -.075em; }
.brand-light { font-weight: 400; }
.mark { display: inline-flex; gap: 3px; align-items: end; padding-inline: 3px; transform: skewX(-20deg); }
.mark i { width: 5px; height: 23px; background: var(--accent); }
.mark i:nth-child(2) { height: 17px; }
.mark i:nth-child(3) { height: 11px; }

header nav { align-self: stretch; gap: clamp(1.25rem, 3.2vw, 3.25rem); }
header nav a { height: 100%; display: grid; align-items: center; position: relative; font-size: .9375rem; color: var(--muted); }
header nav a:hover, header nav a[aria-current] { color: var(--ink); }
header nav a[aria-current]::after {
  content: ""; height: 2px; position: absolute; bottom: -1px; inset-inline: 0; background: var(--accent);
}

main { flex: 1; display: flex; flex-direction: column; }
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3%;
  padding: clamp(3rem, 7vh, 6rem) 0;
}

.intro { padding-left: clamp(0rem, 1.3vw, 1.5rem); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.65rem;
  color: var(--accent);
  font: .875rem/1.35 var(--mono);
  text-transform: uppercase;
  letter-spacing: .11em;
}
.eyebrow span { width: 1.65rem; height: 2px; background: currentColor; }
h1 {
  margin: 0;
  font-size: clamp(4.5rem, 8.6vw, 9.2rem);
  font-weight: 600;
  letter-spacing: -.082em;
  line-height: .89;
}
.period { color: var(--accent); }
.summary { max-width: 24rem; margin: 1.8rem 0 0; font-size: clamp(1rem, 1.38vw, 1.25rem); line-height: 1.55; color: var(--muted); }

.visual {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: clamp(22rem, 36vw, 37rem);
  display: grid;
  place-items: center;
}
.visual::before {
  content: "";
  position: absolute;
  inset: -2%;
  z-index: -1;
  background-image: radial-gradient(circle, #444a3c .85px, transparent 1px);
  background-size: 15px 15px;
  mask-image: radial-gradient(ellipse at center, black 44%, transparent 76%);
}
.visual img { display: block; width: 93%; height: 100%; position: absolute; object-fit: contain; }
.cross {
  position: absolute;
  width: 11px;
  height: 11px;
  color: #64705b;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
}
.cross:nth-of-type(1) { left: 0; top: 0; }
.cross:nth-of-type(2) { right: 0; top: 0; }
.cross:nth-of-type(3) { left: 0; bottom: 0; }
.cross:nth-of-type(4) { right: 0; bottom: 0; }

.sections { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: .5rem 0 clamp(2.2rem, 5vh, 4rem); }
.section-link {
  gap: 1.25rem;
  padding: clamp(1.2rem, 2vw, 2rem);
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: #171a15;
  transition: background .16s ease, border-color .16s ease;
}
.section-link:hover, .section-link:focus-visible { background: #1d2219; border-color: #66754c; }
.icon-box {
  display: grid;
  place-items: center;
  flex: 0 0 3.1rem;
  height: 3.1rem;
  border: 1px solid #3c4631;
  border-radius: .4rem;
  color: var(--accent);
  background: #20271a;
}
.icon-box svg { width: 1.45rem; height: 1.45rem; }
.section-link strong { display: block; font-size: 1.4rem; letter-spacing: -.04em; font-weight: 550; }
.section-link small { display: block; margin-top: .35rem; font: .875rem/1.3 var(--mono); color: var(--muted); }

footer { border-top: 1px solid var(--line); padding-block: 1.3rem; color: var(--muted); font: .8125rem/1.4 var(--mono); }
.footer-lines { width: 3rem; height: .7rem; background: repeating-linear-gradient(110deg, transparent 0 3px, #737d68 3px 4px); }

@media (max-width: 46rem) {
  .shell { width: calc(100% - 2.5rem); }
  header { min-height: 4.65rem; gap: .75rem; }
  header nav { gap: 1.05rem; }
  header nav a { font-size: .875rem; }
  .brand { gap: .45rem; font-size: 1.45rem; }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding: 2.75rem 0 2rem; }
  .intro { padding: 0; }
  .eyebrow { margin-bottom: 1.25rem; }
  h1 { font-size: clamp(4.2rem, 14vw, 6.5rem); }
  .summary { margin-top: 1.25rem; }
  .visual { justify-self: center; max-width: 33rem; height: clamp(14rem, 55vw, 22rem); }
  .sections { margin-bottom: 2rem; }
  .section-link { gap: .8rem; }
}

@media (max-width: 32rem) {
  .shell { width: calc(100% - 2rem); }
  .sections { grid-template-columns: 1fr; gap: .65rem; }
  .section-link { padding: .95rem 1rem; }
  .section-link strong { font-size: 1.2rem; }
  header nav { gap: .8rem; }
  header { flex-wrap: wrap; padding-top: .85rem; gap: .35rem; }
  header nav { width: 100%; justify-content: space-between; }
  header nav a { padding-block: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .section-link { transition: none; }
}
