:root {
  color-scheme: light;
  --paper: #f7f4ed;
  --paper-deep: #eee8dc;
  --ink: #17201e;
  --muted: #59645f;
  --line: #c9c5ba;
  --accent: #245d51;
  --accent-dark: #173f38;
  --warm: #9a552f;
  --focus: #a43e19;
  --measure: 72rem;
  --text-measure: 43rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  min-width: 0;
  overflow-wrap: break-word;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(100% - 2rem, var(--measure));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.6rem 0.85rem;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper);
  font-family: system-ui, sans-serif;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  padding-block: 1.15rem 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--accent-dark);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.04rem;
  font-weight: 760;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand img {
  flex: 0 0 auto;
  border-radius: 0.375rem;
}

.brand span {
  min-width: 0;
  overflow-wrap: anywhere;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

nav a {
  display: inline-block;
  padding-block: 0.25rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}

nav a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.intro {
  padding-block: clamp(3.75rem, 10vw, 7.75rem) clamp(4rem, 11vw, 8rem);
}

.eyebrow,
.section-number,
.work-meta,
.demo-note,
.unavailable,
.error-code,
.site-footer {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 15ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.35rem, 7.8vw, 5.1rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.99;
}

.lede {
  max-width: 43rem;
  margin-bottom: 1.75rem;
  color: #303a37;
  font-size: clamp(1.13rem, 2.7vw, 1.42rem);
  line-height: 1.55;
}

.intro-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.5rem;
  margin-bottom: 0;
}

.text-link,
.inline-link {
  color: var(--accent-dark);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 720;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.25em;
}

.text-link {
  display: inline-block;
}

.text-link-muted {
  color: var(--muted);
}

.text-link:hover,
.inline-link:hover {
  color: var(--warm);
}

.section-stack {
  border-top: 1px solid var(--ink);
}

.section {
  padding-block: clamp(3rem, 8vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-number {
  margin-bottom: 0.55rem;
  color: var(--warm);
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.12em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.section-body {
  max-width: var(--text-measure);
}

.prose p,
.section-intro {
  font-size: clamp(1.04rem, 2.2vw, 1.18rem);
}

.prose p:last-child,
.section-intro:last-child {
  margin-bottom: 0;
}

.demo-note {
  margin-bottom: 0;
  padding: 1rem 0;
  border-block: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.demo-note strong {
  color: var(--ink);
}

.works-list,
.destinations {
  margin: 0;
  padding: 0;
  list-style: none;
}

.work {
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}

.work:last-child {
  border-bottom: 0;
}

.works-more {
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.8rem;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.025em;
}

.status {
  font-weight: 760;
}

.status-active {
  color: var(--accent);
}

.status-complete {
  color: #41504b;
}

.status-planned {
  color: var(--warm);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.work > p:not(.unavailable) {
  max-width: 39rem;
  margin-bottom: 1rem;
  color: #39423f;
}

.unavailable {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 650;
}

.destinations {
  margin-top: 1.75rem;
  border-top: 1px solid var(--ink);
}

.destinations li {
  border-bottom: 1px solid var(--line);
}

.destinations a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.2rem;
  color: var(--ink);
  text-decoration: none;
}

.destinations a:hover strong {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.25em;
}

.destinations strong,
.destinations small {
  display: block;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.destinations strong {
  font-size: 1rem;
  line-height: 1.35;
}

.destinations small {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.site-footer {
  padding-block: 2.5rem;
  color: #d9dedb;
  background: var(--accent-dark);
  font-size: 0.82rem;
  line-height: 1.55;
}

.site-footer p {
  margin-bottom: 0.35rem;
}

.footer-brand {
  color: #fff;
  font-weight: 760;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.site-footer nav a {
  color: #fff;
}

.site-footer :focus-visible {
  outline-color: #f0b081;
}

.error-page {
  min-height: 100vh;
}

.error-main {
  display: grid;
  min-height: 100vh;
  align-items: center;
  padding-block: 3rem;
}

.error-content {
  max-width: 42rem;
}

.error-content .brand {
  margin-bottom: clamp(3rem, 10vw, 6rem);
}

.error-code {
  margin-bottom: 0.75rem;
  color: var(--warm);
  font-size: 0.8rem;
  font-weight: 760;
  letter-spacing: 0.14em;
}

.error-content h1 {
  margin-bottom: 1.25rem;
}

.error-content > p:not(.error-code) {
  max-width: 34rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 1.1rem;
}

@media (min-width: 48rem) {
  .shell {
    width: min(100% - 4rem, var(--measure));
  }

  .header-inner,
  .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .header-inner {
    min-height: 5rem;
    padding-block: 0.75rem;
  }

  nav ul,
  .site-footer nav {
    margin-top: 0;
  }

  .section {
    display: grid;
    grid-template-columns: minmax(10rem, 0.42fr) minmax(0, 1fr);
    gap: 3.5rem;
  }

  .section-heading {
    margin-bottom: 0;
  }

  .site-footer nav {
    flex: 0 0 auto;
  }
}

@media (forced-colors: active) {
  :focus-visible {
    outline-color: Highlight;
  }

  .status {
    color: CanvasText;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
