:root {
  --cream: #F8F6F1;
  --ink: #1E1C18;
  --muted: #5C584F;
  --faint: #8A8578;
  --line: #E2DDD4;
  --orange: #E87A4F;
  --turquoise: #3DB8A8;
  --violet: #8B7FD4;
  --space: clamp(1.25rem, 4vw, 2rem);
  --measure: 40rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: var(--ink);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #8A3F24;
}

a:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 10;
  padding: 0.5rem 0.85rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  border-radius: 0.25rem;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
  color: var(--cream);
}

.site-header {
  border-bottom: 1px solid var(--line);
  padding: 1rem var(--space);
}

.site-header-inner,
.site-footer-inner,
.wrap {
  width: 100%;
  max-width: calc(var(--measure) + 2 * var(--space));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--ink);
}

.mark {
  position: relative;
  display: block;
  width: 2rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.mark-loop {
  display: block;
  width: 100%;
  height: 100%;
  border: 0.2rem solid var(--orange);
  border-radius: 999px;
}

.mark-head,
.mark-seed {
  position: absolute;
  border-radius: 50%;
}

.mark-head {
  top: 50%;
  right: -0.05rem;
  width: 0.62rem;
  height: 0.62rem;
  background: var(--turquoise);
  transform: translateY(-50%);
}

.mark-seed {
  top: 50%;
  left: 0.42rem;
  width: 0.32rem;
  height: 0.32rem;
  background: var(--violet);
  transform: translateY(-50%);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.25rem;
  margin-top: 0.35rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.65rem 0.35rem 0;
  text-decoration: none;
  color: var(--muted);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a[aria-current="page"] {
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.28em;
  text-decoration-color: var(--orange);
}

main {
  flex: 1;
  padding: 1.75rem var(--space) 3rem;
}

.wrap > h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 5vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.lede {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.date {
  margin: -0.35rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.cards {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  display: block;
  padding: 1.1rem 1.15rem;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fffdf9;
  text-decoration: none;
}

.card:hover {
  color: var(--ink);
  border-color: var(--orange);
}

.card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.card span {
  display: block;
  color: var(--muted);
  font-size: 0.98rem;
}

.stripe {
  display: flex;
  gap: 0.35rem;
  margin: 0 0 1.5rem;
}

.stripe i {
  display: block;
  width: 1.75rem;
  height: 0.35rem;
  border-radius: 999px;
}

.stripe .o { background: var(--orange); }
.stripe .t { background: var(--turquoise); }
.stripe .v { background: var(--violet); }

h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.2rem;
  line-height: 1.3;
}

p,
ol,
ul {
  margin: 0 0 1rem;
}

ol,
ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.4rem;
}

.contact-mail {
  overflow-wrap: anywhere;
  font-weight: 650;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem var(--space) 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0 0 0.35rem;
}

.site-footer a {
  color: var(--muted);
}

@media (min-width: 640px) {
  .site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .nav {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
