:root {
  --bg: #0b0d0c;
  --text: #f2eee6;
  --muted: #b8b0a3;
  --quiet: #898276;
  --line: rgba(242, 238, 230, 0.14);
  --line-strong: rgba(244, 239, 229, 0.33);
  --panel: rgba(242, 238, 230, 0.018);
  --accent: #d5c7aa;
  --max: 1320px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: dark;
}

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

a {
  color: inherit;
}

.topbar {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 780;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font: 800 13px/1 var(--mono);
  background: rgba(244, 239, 229, 0.08);
}

.back {
  color: var(--muted);
  font-size: 0.94rem;
  text-underline-offset: 4px;
}

.page {
  width: min(var(--max), calc(100% - 48px));
  min-height: calc(100svh - 64px);
  margin: 0 auto;
  padding: 48px 0 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.67fr) minmax(360px, 1fr);
  gap: clamp(56px, 4.4vw, 64px);
  align-items: start;
}

.origin {
  margin: 0;
}

.origin__picture,
.origin img {
  display: block;
}

.origin__picture {
  overflow: hidden;
  border-radius: 2px;
  background: #111310;
}

.origin img {
  width: 100%;
  height: auto;
}

.origin__caption {
  margin: 0;
  padding: 11px 0 0;
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.25;
}

.statement {
  max-width: 484px;
  padding-top: 2px;
}

h1 {
  margin: 0 0 24px;
  color: var(--text);
  font-size: clamp(3.6rem, 3.68vw, 4.75rem);
  line-height: 0.95;
  font-weight: 840;
  letter-spacing: 0;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

p {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.lead {
  margin: 0 0 30px;
  max-width: 430px;
  color: var(--text);
  font-size: clamp(1.5rem, 1.34vw, 1.7rem);
  line-height: 1.34;
}

.copy p {
  margin: 0 0 16px;
  color: #d3cabd;
  font-size: 1.06rem;
  line-height: 1.56;
}

.legend-note {
  margin: 30px 0 0;
  padding: 5px 0 5px 15px;
  border-left: 2px solid var(--accent);
  background: var(--panel);
  color: #e4dbce;
  font-size: 1.01rem;
  line-height: 1.48;
}

.final-note {
  margin-top: 28px;
  padding-top: 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.fixed {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 760;
}

.mail-link {
  display: inline-flex;
  margin-top: 0;
  min-height: 40px;
  align-items: center;
  border-bottom: 1px solid currentColor;
  color: var(--muted);
  font-weight: 760;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .page {
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, 1fr);
    gap: 34px;
  }

  h1 {
    font-size: 3.15rem;
  }
}

@media (max-width: 860px) {
  .topbar,
  .page {
    width: calc(100% - 32px);
  }

  .topbar {
    min-height: 64px;
  }

  .page {
    min-height: 0;
    display: block;
    padding: 24px 0 68px;
  }

  .origin img {
    aspect-ratio: 16 / 9;
  }

  .origin__caption {
    padding-top: 10px;
    font-size: 0.78rem;
  }

  .statement {
    max-width: none;
    padding-top: 24px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: 2.52rem;
    line-height: 1.02;
  }

  .lead {
    margin-bottom: 24px;
    font-size: 1.14rem;
    max-width: none;
  }

  .copy p {
    font-size: 1rem;
  }

  .legend-note {
    margin-top: 26px;
    padding: 6px 0 6px 14px;
    font-size: 0.98rem;
  }

  .final-note {
    margin-top: 34px;
    padding-top: 0;
    display: block;
    border-top: 0;
  }

  .fixed {
    font-size: 1.04rem;
  }

  .mail-link {
    margin-top: 12px;
  }
}
