:root {
  --navy: #0c1118;
  --navy-2: #141c28;
  --ink: #f3ead8;
  --muted: #c5bba8;
  --gold: #c4a35a;
  --gold-bright: #e8d5a3;
  --burgundy: #6e2c3a;
  --line: rgba(196, 163, 90, 0.45);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(196, 163, 90, 0.12), transparent 55%),
    linear-gradient(180deg, #0a0e14 0%, var(--navy) 40%, #0a1018 100%);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}

.page-frame {
  pointer-events: none;
  position: fixed;
  inset: 14px;
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 8px rgba(12, 17, 24, 0.4);
  z-index: 40;
}

.page-frame::before,
.page-frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold);
}

.page-frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.page-frame::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
}

a {
  color: var(--gold-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 7vw;
  background: linear-gradient(180deg, rgba(12, 17, 24, 0.96), rgba(12, 17, 24, 0.78));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.monogram {
  font-family: "Cinzel", serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  border: 1px solid var(--gold);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  text-decoration: none;
  background: linear-gradient(160deg, rgba(196, 163, 90, 0.16), transparent);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0.15rem 0.5rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--gold);
}

.site-nav a.is-active {
  border-bottom-color: var(--gold);
}

.page {
  display: none;
}

.page.is-active {
  display: block !important;
}

.hero {
  text-align: center;
  padding: 5.5rem 7vw 4.5rem;
}

.hero-ornament {
  width: min(420px, 80vw);
  margin: 0 auto 1.4rem;
}

.eyebrow,
.ticket-kicker,
.civic-kicker,
.civic-card-label,
.when,
.section-index,
.footer-meta {
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
}

.hero h1,
.section-head h2,
.footer-name {
  font-family: "Cinzel", serif;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin: 0.2rem 0;
}

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 700;
}

.hero-roles {
  font-size: 1.35rem;
  color: var(--gold-bright);
  margin: 0.4rem 0 0;
}

.hero-lede {
  max-width: 38rem;
  margin: 0 auto 2rem;
  font-size: 1.22rem;
  color: var(--muted);
}

.hero-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.hero-links.start {
  justify-content: flex-start;
  margin-top: 1.4rem;
}

.gold-btn,
.ghost-btn {
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 0.85rem 1.2rem;
  text-decoration: none;
  display: inline-block;
}

.gold-btn {
  background: linear-gradient(180deg, #d9bc74, var(--gold));
  color: #1a140c;
  border: 1px solid #f0e1b4;
}

.gold-btn.compact {
  margin-top: 1rem;
  padding: 0.65rem 0.95rem;
}

.ghost-btn {
  border: 1px solid var(--line);
  color: var(--ink);
}

.panel {
  padding: 4.2rem 7vw;
  border-top: 1px solid var(--line);
}

.panel.inner {
  padding-top: 2.2rem;
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2.4rem;
}

.section-head h2 {
  font-size: 1.8rem;
}

.rule {
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  align-self: center;
}

.about-grid,
.civic-layout,
.ds-layout,
.contact-grid,
.article-list,
.notes-grid {
  display: grid;
  gap: 2rem;
}

.about-grid {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.portrait-frame {
  width: 176px;
  border: 1px solid var(--gold);
  padding: 8px;
  background: var(--navy-2);
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  filter: contrast(1.05) saturate(0.85);
}

.frame-caption {
  display: block;
  text-align: center;
  padding: 0.7rem 0 0.2rem;
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--gold);
}

.about-copy p,
.civic-layout p,
.ds-layout p,
.contact-card p {
  font-size: 1.18rem;
  color: var(--muted);
}

.vital-stats {
  list-style: none;
  padding: 1.2rem 0 0;
  margin: 1.4rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.55rem;
}

.vital-stats li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  font-size: 1.05rem;
}

.vital-stats span {
  color: var(--gold);
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
  padding-top: 0.35rem;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

.timeline li {
  padding-left: 1.4rem;
  border-left: 2px solid var(--gold);
}

.civic-layout h3,
.ds-layout h3,
.contact-card h3,
.article-card h3 {
  font-family: "Cinzel", serif;
  font-size: 1.25rem;
  margin: 0.2rem 0 0.6rem;
}

.contact-card h3 a,
.article-card h3 a {
  color: inherit;
  text-decoration: none;
}

.contact-card h3 a:hover,
.article-card h3 a:hover {
  color: var(--gold);
}

.where {
  color: var(--gold-bright);
  font-style: italic;
  margin: 0.15rem 0 0.4rem;
}

.civic {
  background: linear-gradient(180deg, rgba(110, 44, 58, 0.16), transparent 70%);
}

.civic-layout,
.ds-layout {
  grid-template-columns: 1.4fr 0.8fr;
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
}

.contact-card {
  border: 1px solid var(--line);
  padding: 1.6rem 1.5rem;
  background: rgba(20, 28, 40, 0.55);
}

.contact-card.socials {
  grid-column: 1 / -1;
}

.social-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  display: grid;
  gap: 0.45rem;
}

.social-list a {
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  text-decoration: none;
}

.empty-folio {
  border: 1px dashed var(--line);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--muted);
}

.empty-kicker {
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
}

.article-card {
  border-top: 2px solid var(--gold);
  padding-top: 1rem;
}

.notes-grid .empty-folio {
  grid-column: 1 / -1;
}

.note-card {
  border: 1px solid var(--line);
  padding: 1.2rem 1.15rem;
  background: rgba(20, 28, 40, 0.55);
}

.note-card p {
  margin: 0.55rem 0 0;
  font-size: 1.08rem;
  color: var(--muted);
}

.note-card a {
  color: inherit;
  text-decoration: none;
}

.note-card a:hover {
  color: var(--gold-bright);
}

.feed-meta.on-dark {
  color: var(--gold);
}

.resume-folio {
  background: #f4ead8;
  color: #1b140f;
  padding: 2rem 1.8rem 2.2rem;
  box-shadow: var(--shadow);
  max-width: 52rem;
}

.resume-folio h3 {
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--burgundy);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 0.3rem;
  margin: 1.4rem 0 0.7rem;
}

.resume-folio p,
.resume-folio li {
  font-size: 1.05rem;
  color: #3d342c;
}

.resume-folio ul {
  margin: 0.3rem 0 0.8rem;
  padding-left: 1.2rem;
}

.resume-name {
  font-family: "Cinzel", serif;
  font-size: 2rem;
  letter-spacing: 0.12em;
  text-align: center;
  margin: 0 0 0.2rem;
  color: #1b140f;
}

.resume-role,
.resume-contact {
  font-family: "Josefin Sans", sans-serif;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #6b5a3a;
  margin: 0 0 0.4rem;
}

.resume-job {
  margin-bottom: 1rem;
}

.resume-job-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.1rem;
}

.resume-job-head span {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a6a2f;
  padding-top: 0.25rem;
}

.resume-title {
  font-style: italic;
  margin: 0.15rem 0 0.4rem;
}

blockquote {
  margin: 1.4rem 0;
  padding: 0 0 0 1.2rem;
  border-left: 3px solid var(--gold);
  font-size: 1.28rem;
  font-style: italic;
  color: var(--ink);
}

.civic-card {
  border: 1px solid var(--gold);
  padding: 1.5rem;
  background: rgba(20, 28, 40, 0.7);
  align-self: start;
}

.civic-card ul {
  padding-left: 1.1rem;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dispatch-intro {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 46rem;
}

.ticket-row {
  grid-template-columns: 1fr 1fr;
}

.ticket {
  display: grid;
  grid-template-columns: 88px 1fr;
  min-height: 320px;
  background: #f4ead8;
  color: #1b140f;
  box-shadow: var(--shadow);
  position: relative;
}

.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--navy);
  border-radius: 50%;
  left: 79px;
}

.ticket::before {
  top: -9px;
}

.ticket::after {
  bottom: -9px;
}

.ticket-stub {
  background: repeating-linear-gradient(
    135deg,
    #6e2c3a,
    #6e2c3a 10px,
    #5a2430 10px,
    #5a2430 20px
  );
  color: #f4ead8;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0.4rem;
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  border-right: 2px dashed rgba(244, 234, 216, 0.45);
}

.ticket-stub.substack {
  background: repeating-linear-gradient(
    135deg,
    #1c2a22,
    #1c2a22 10px,
    #152019 10px,
    #152019 20px
  );
}

.stub-num {
  letter-spacing: 0.08em;
}

.ticket-body {
  padding: 1.4rem 1.5rem 1.5rem;
}

.ticket-kicker {
  color: var(--burgundy);
  margin: 0;
}

.ticket-body h3 {
  color: #1b140f;
}

.feed-list {
  display: grid;
  gap: 0.9rem;
  min-height: 8rem;
}

.feed-item {
  border-bottom: 1px solid rgba(110, 44, 58, 0.2);
  padding-bottom: 0.7rem;
}

.feed-item a {
  color: #1b140f;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.08rem;
}

.feed-item p {
  margin: 0.25rem 0 0;
  color: #4d4338;
  font-size: 1rem;
}

.feed-meta {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6a2f;
}

.feed-status {
  color: #5c5248;
  font-style: italic;
}

.tweet-embed {
  max-height: 360px;
  overflow: auto;
  background: #f4ead8;
}

.tweet-embed iframe {
  width: 100% !important;
}

.edu-grid {
  grid-template-columns: repeat(3, 1fr);
}

.edu-grid article {
  border-top: 2px solid var(--gold);
  padding-top: 1rem;
}

.site-footer {
  padding: 3rem 7vw 4rem;
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer-ornament {
  width: 120px;
  height: 10px;
  margin: 0 auto 1.2rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-name {
  font-size: 1.4rem;
}

.footer-links a {
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .page-frame {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0.9rem 1.2rem;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem 1.1rem;
  }

  .about-grid,
  .civic-layout,
  .ds-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card.socials {
    grid-column: auto;
  }

  .resume-job-head {
    flex-direction: column;
    gap: 0.15rem;
  }

  .ticket {
    grid-template-columns: 64px 1fr;
  }

  .ticket::before,
  .ticket::after {
    left: 55px;
  }
}
