/* Safe Redirect — personal brochure. No frameworks. */
:root {
  --paper: #f3ead6;
  --paper-edge: #e6d9bc;
  --ink: #2a2218;
  --mute: #6a5c4a;
  --rule: #c4ae86;
  --rust: #9a4a28;
  --rust-deep: #6e3018;
  --band: #2f3d34;
  --band-ink: #e8dfc8;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Candara, Calibri, "Segoe UI", "Trebuchet MS", sans-serif;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(90deg, var(--paper-edge) 0, var(--paper-edge) 1.35rem, transparent 1.35rem),
    var(--paper);
}

a {
  color: var(--rust-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--rust);
}

.mast {
  background: var(--band);
  color: var(--band-ink);
  padding: 1.1rem 1.4rem 1rem;
  border-bottom: 4px solid var(--rust);
}

.mast-inner,
.wrap,
.foot-inner {
  width: min(42rem, calc(100% - 2.4rem));
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.mark {
  flex: 0 0 2.4rem;
  width: 2.4rem;
  height: 2.4rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.brand-host {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: #c9c0a8;
}

nav {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-size: 0.92rem;
}

nav a {
  color: var(--band-ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

nav a:hover,
nav a[aria-current="page"] {
  color: #fff7e6;
  border-bottom-color: var(--rust);
}

.wrap {
  flex: 1;
  padding: 1.8rem 0 2.4rem;
}

h1,
h2 {
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 1.85rem;
  margin: 0 0 0.65rem;
}

h2 {
  font-size: 1.15rem;
  margin: 1.6rem 0 0.45rem;
}

p,
ol {
  margin: 0 0 0.9rem;
}

.lede {
  font-size: 1.05rem;
  color: var(--mute);
}

.notice {
  margin: 1.2rem 0 1.4rem;
  padding: 0.85rem 1rem 0.9rem;
  border-left: 5px solid var(--rust);
  background: #efe4c8;
}

.notice strong {
  display: block;
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  margin-bottom: 0.25rem;
}

.steps {
  padding-left: 1.2rem;
}

.steps li {
  margin-bottom: 0.45rem;
}

.meta {
  color: var(--mute);
  font-size: 0.9rem;
}

hr.rule {
  border: 0;
  border-top: 1px dashed var(--rule);
  margin: 1.6rem 0;
}

footer {
  border-top: 1px solid var(--rule);
  padding: 0.9rem 0 1.3rem;
  font-size: 0.82rem;
  color: var(--mute);
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1rem;
}

code {
  font-family: Consolas, "Lucida Console", monospace;
  font-size: 0.88em;
  background: #efe4c8;
  padding: 0.05em 0.28em;
}

.missing {
  font-size: 2.6rem;
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  color: var(--rust);
  margin: 0 0 0.4rem;
}
