:root {
  --ink: #100e0c;
  --ink-2: #1a1714;
  --panel: #221e1a;
  --line: rgba(226, 196, 150, 0.2);
  --paper: #f3eadc;
  --muted: #c4b6a3;
  --faint: #8f8272;
  --amber: #e0a44a;
  --gold: #c6a36a;
  --red: #9a463c;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Segoe UI", "Helvetica Neue", sans-serif;
  --wrap: min(1120px, calc(100% - 40px));
  --header: 76px;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

a { color: inherit; }

a:hover { color: var(--amber); }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--amber);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 50;
}

.skip-link:focus { top: 12px; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap { width: var(--wrap); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(16, 14, 12, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

body.admin-bar .site-header { top: 32px; }

.header-inner {
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.wordmark {
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: 0.01em;
  font-size: clamp(0.92rem, 3.8vw, 1.15rem);
  white-space: nowrap;
  min-width: 0;
}

.wordmark span {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-toggle {
  display: none;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  font: inherit;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.nav-panel { display: flex; align-items: center; gap: 22px; }

.nav-list,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a,
.footer-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-list a[aria-current="page"],
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a { color: var(--paper); }

.search-form { display: flex; }

.search-form input[type="search"] {
  width: 148px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  font: inherit;
  padding: 8px 0;
}

.search-form button {
  border: 0;
  background: transparent;
  color: var(--gold);
  font: inherit;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #1a120c;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 14, 12, 0.18) 0%, rgba(16, 14, 12, 0.08) 36%, rgba(16, 14, 12, 0.92) 100%);
}

.hero-copy {
  position: relative;
  width: var(--wrap);
  margin: 0 auto 7vh;
  max-width: 920px;
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2.7rem, 12vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  max-width: min(11ch, 100%);
}

.tagline {
  margin: 22px 0 0;
  max-width: 28ch;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 500;
  color: var(--paper);
}

.hero-actions,
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
  border: 1px solid transparent;
  font: inherit;
  cursor: pointer;
}

.button-primary { background: var(--amber); color: #1a1208; }
.button-primary:hover { color: #1a1208; background: #efc27a; }
.button-quiet { border-color: var(--line); color: var(--paper); background: rgba(16, 14, 12, 0.35); }

.section { padding: 84px 0; }
.section-tight { padding-top: 28px; }

.intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: end;
}

.intro h2,
.section-head h2,
.entry-title,
.page-title {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
}

.intro h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }

.lede { margin: 0; color: var(--muted); font-size: 1.12rem; max-width: 62ch; }

.card-grid,
.post-grid,
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.post-grid { grid-template-columns: repeat(3, 1fr); }
.photo-grid { grid-template-columns: repeat(3, 1fr); }
.photo-follow { margin-top: 32px; }

.story-card,
.post-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  min-width: 0;
}

.story-card a,
.post-card a { text-decoration: none; color: inherit; }

.story-card img,
.post-card img,
.photo-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.card-body,
.post-card .card-body { padding: 20px 20px 22px; }

.card-body h3,
.post-card h3 {
  margin: 8px 0 8px;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.card-body p,
.post-card p { margin: 0; color: var(--muted); }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--faint);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.more {
  display: inline-block;
  margin-top: 16px;
  color: var(--amber);
  text-decoration: none;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}

.section-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); }

.tracker {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.tracker h2 { font-family: var(--serif); font-size: 2.4rem; margin: 0 0 8px; font-weight: 560; }

.tracker p { margin: 0; color: var(--muted); }

.stops { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }

.stops li { display: grid; grid-template-columns: 140px 1fr; gap: 12px; }

.stops span { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }

.route-line {
  height: 2px;
  margin-top: 28px;
  background: linear-gradient(90deg, var(--gold), var(--amber) 70%, var(--red));
}

.progress-note { margin-top: 12px; color: var(--paper); }

.empty {
  padding: 28px;
  border: 1px dashed var(--line);
  color: var(--muted);
}

.page-hero { padding: 64px 0 12px; }

.page-hero h1,
.article-head h1 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 0.98;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  margin: 0;
  max-width: 16ch;
}

.prose,
.entry-content {
  max-width: 68ch;
  font-size: 1.12rem;
  line-height: 1.75;
}

.prose p,
.entry-content p { margin: 0 0 1.15em; }

.entry-content a { color: var(--amber); }

.entry-content h2,
.entry-content h3,
.prose h2,
.prose h3 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 1.4em 0 0.4em;
}

.entry-content img,
.entry-content figure { margin: 1.4em 0; }

.entry-content .alignwide,
.entry-content .wp-block-image.alignwide { max-width: min(100%, 920px); }

.entry-content blockquote,
.prose blockquote {
  margin: 1.6em 0;
  padding: 0 0 0 18px;
  border-left: 2px solid var(--amber);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.35;
  color: var(--paper);
}

.entry-content .wp-block-gallery,
.entry-content .gallery,
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.entry-content .wp-block-gallery figure,
.entry-content .gallery-item { margin: 0; }

.feature-frame { margin: 28px 0 8px; }

.feature-frame img {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.share { display: flex; flex-wrap: wrap; gap: 14px 18px; margin: 28px 0; }
.share a { color: var(--gold); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

.post-nav,
.related { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }

.post-nav { display: flex; justify-content: space-between; gap: 20px; }
.post-nav a { text-decoration: none; max-width: 42%; }

.paging { display: flex; gap: 16px; margin-top: 28px; }
.paging a,
.paging span { color: var(--gold); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

.site-footer {
  margin-top: 40px;
  padding: 42px 0 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
}

.footer-brand {
  font-family: var(--serif);
  color: var(--paper);
  font-size: 1.4rem;
  margin: 0 0 8px;
}

.write-link { color: var(--amber); }

@media (max-width: 980px) {
  .intro,
  .tracker,
  .post-grid { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .stops li { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    background: rgba(16, 14, 12, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 18px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-panel.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: flex; align-items: center; min-height: 48px; font-size: 1.05rem; }
  .search-form input[type="search"] { width: 100%; }
}

@media (max-width: 760px) {
  :root { --wrap: min(1120px, calc(100% - 28px)); --header: 68px; }
  body.admin-bar .site-header { top: 46px; }
  .intro,
  .tracker,
  .card-grid,
  .post-grid,
  .photo-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { display: grid; }
  .hero { min-height: 88svh; }
  .hero-copy {
    width: auto;
    max-width: none;
    margin: 0 16px 28px;
  }
  .hero h1 {
    overflow-wrap: break-word;
    max-width: 100%;
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; flex: 1 1 auto; }
  .wordmark { max-width: calc(100vw - 108px); font-size: 0.98rem; flex: 1 1 auto; }
  .nav-toggle { flex: 0 0 auto; margin-left: 8px; }
  .wrap, .prose, .entry-content, .page-hero h1, .article-head h1 { max-width: calc(100vw - 28px); }
  .footer-nav { flex-direction: column; align-items: flex-start; }
  .section { padding: 56px 0; }
  .post-nav { flex-direction: column; }
  .post-nav a { max-width: none; }
  .page-hero h1,
  .article-head h1 { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .hero-actions .button { flex: 1 1 160px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
