:root {
  color-scheme: dark;
  --bg: #060806;
  --bg-raised: #10140f;
  --bg-soft: #151611;
  --text: #f1efe4;
  --muted: #b8baad;
  --line: rgba(241, 239, 228, 0.16);
  --green: #63d178;
  --green-deep: #1d8f50;
  --amber: #d69848;
  --cyan: #7ccbd4;
  --shadow: rgba(0, 0, 0, 0.44);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  background: rgba(6, 8, 6, 0.72);
  border-bottom: 1px solid rgba(241, 239, 228, 0.1);
  backdrop-filter: blur(14px);
}

.brand,
.site-nav,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #071006;
  background: var(--green);
  border: 1px solid rgba(241, 239, 228, 0.22);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(99, 209, 120, 0.2);
}

.site-nav {
  gap: 8px;
}

.site-nav a {
  min-height: 36px;
  padding: 7px 12px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.95rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  border-color: var(--line);
  outline: none;
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 118px 32px 64px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/lotw-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 8, 6, 0.95) 0%, rgba(6, 8, 6, 0.82) 34%, rgba(6, 8, 6, 0.24) 72%),
    linear-gradient(180deg, rgba(6, 8, 6, 0.38) 0%, rgba(6, 8, 6, 0.1) 54%, rgba(6, 8, 6, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100vw - 64px));
  margin-left: max(0px, calc((100vw - 1180px) / 2));
}

.kicker,
.section-label {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 4.7rem;
  line-height: 0.98;
}

h2 {
  margin-bottom: 0;
  font-size: 2.15rem;
  line-height: 1.12;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
  line-height: 1.24;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.25rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.primary-link,
.ghost-link,
.mail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.primary-link,
.ghost-link {
  gap: 10px;
  padding: 11px 18px;
}

.primary-link {
  color: #081207;
  background: var(--green);
  border: 1px solid rgba(241, 239, 228, 0.18);
  box-shadow: 0 16px 36px rgba(99, 209, 120, 0.18);
}

.ghost-link {
  color: var(--text);
  background: rgba(241, 239, 228, 0.08);
  border: 1px solid var(--line);
}

.primary-link:hover,
.primary-link:focus-visible,
.ghost-link:hover,
.ghost-link:focus-visible,
.mail-link:hover,
.mail-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.status-band,
.archive-section,
.contact-section {
  border-top: 1px solid var(--line);
}

.status-band {
  background: var(--bg-soft);
}

.archive-section {
  background: #0a0d0b;
}

.contact-section {
  background: #11120e;
}

.section-inner {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 74px 0;
}

.status-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.status-grid p,
.contact-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 30px;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.note-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(241, 239, 228, 0.045);
  box-shadow: 0 18px 50px var(--shadow);
}

.note-card {
  min-height: 260px;
  padding: 24px;
}

.note-index {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--amber);
  font-family: "Courier New", ui-monospace, monospace;
  font-weight: 800;
}

.note-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-panel {
  padding: 28px;
}

.mail-link {
  margin-top: 22px;
  padding: 11px 18px;
  color: #081207;
  background: var(--amber);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 32px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #060806;
  font-size: 0.92rem;
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    justify-items: start;
    gap: 10px;
    padding: 16px 20px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .site-nav a {
    min-height: 32px;
    padding: 5px 8px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 78svh;
    padding: 166px 22px 48px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 8, 6, 0.96) 0%, rgba(6, 8, 6, 0.72) 62%, rgba(6, 8, 6, 0.28) 100%),
      linear-gradient(180deg, rgba(6, 8, 6, 0.2) 0%, rgba(6, 8, 6, 0.88) 100%);
  }

  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .section-inner {
    width: min(calc(100% - 40px), 1180px);
    padding: 54px 0;
  }

  .status-grid,
  .contact-grid,
  .note-grid {
    grid-template-columns: 1fr;
  }

  .note-card {
    min-height: auto;
  }

  .note-index {
    margin-bottom: 22px;
  }

  .site-footer {
    flex-direction: column;
    padding: 22px;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 12px;
    padding: 14px 16px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .site-nav {
    max-width: none;
  }

  .hero {
    padding: 164px 18px 42px;
  }

  .hero-content,
  .section-inner {
    width: min(calc(100vw - 36px), 354px);
  }

  h1 {
    font-size: 2.62rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-link,
  .ghost-link {
    width: 100%;
  }
}
