:root {
  --ink: #14181d;
  --muted: #5b6572;
  --line: #e3e7ec;
  --bg: #ffffff;
  --panel: #f7f9fb;
  --navy: #1b4f6b;
  --orange: #e8943a;
  --focus: #1b4f6b;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8ecf1;
    --muted: #9aa5b3;
    --line: #2a323c;
    --bg: #0e1216;
    --panel: #151b21;
    --navy: #8eb6d0;
    --orange: #e8943a;
    --focus: #8eb6d0;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a {
  color: var(--navy);
  text-underline-offset: 0.15em;
}

a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 20;
  padding: 8px 12px;
  background: var(--bg);
  color: var(--ink);
}

.skip:focus {
  left: 16px;
  top: 16px;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 20px 0 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.mark {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 22px;
  line-height: 1.1;
}

.mark span { color: var(--orange); }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.nav a:hover,
.nav a[aria-current="page"] { text-decoration: underline; }

.status {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 99px;
  padding: 3px 12px;
  margin: 0 0 16px;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

h2 {
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 48px 0 12px;
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

p { margin: 0 0 16px; }

.lede { font-size: 1.125rem; }

.company-line {
  margin: 0 0 20px;
  color: var(--muted);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 0 0 16px;
}

.panel p:last-child { margin-bottom: 0; }

.stack {
  display: grid;
  gap: 12px;
  margin: 8px 0 0;
}

.stack article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
}

.stack article p:last-child { margin-bottom: 0; }

.note {
  color: var(--muted);
  font-size: 15px;
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 8px 0 0;
}

.shots figure { margin: 0; }

.shots img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.shots figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

@media (max-width: 700px) {
  .shots {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .shots figure { max-width: 280px; }
}

address {
  font-style: normal;
  margin: 0 0 16px;
}

.site-footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.site-footer p { margin: 0 0 10px; }
.site-footer p:last-child { margin-bottom: 0; }

@media (max-width: 420px) {
  h1 { font-size: 1.7rem; }
  .wrap { padding: 0 18px 64px; }
}
