:root {
  --paper: #f4f1e9;
  --ink: #24211c;
  --ink-soft: #676158;
  --rule: #cfc8bb;
  --accent: #8a4831;
  --accent-wash: rgba(138, 72, 49, 0.09);
  --serif: Iowan Old Style, Palatino Linotype, Book Antiqua, Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { min-width: 320px; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(36, 33, 28, 0.045) 0.55px, transparent 0.6px);
  background-size: 7px 7px;
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: min(100% - 3rem, 75rem);
  margin: 0 auto;
  padding: 1.4rem 0 1.2rem;
  border-bottom: 1px solid var(--rule);
}

.site-mark, .site-context, .kicker, .document-meta {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.115em;
  line-height: 1.35;
  text-transform: uppercase;
}

.site-mark { color: var(--ink); }
.site-mark span { padding: 0 0.2rem; color: var(--accent); }
.site-context, .document-meta { color: var(--ink-soft); font-weight: 600; }

.app {
  width: min(100% - 3rem, 75rem);
  min-height: calc(100vh - 9.5rem);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 8.5rem) 0 clamp(4rem, 9vw, 7rem);
}

.stage {
  max-width: 68rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.35rem, 6vw, 5.5rem);
  border: 1px solid rgba(207, 200, 187, 0.86);
  border-radius: 1.15rem;
  background: rgba(255, 253, 248, 0.34);
  box-shadow: 0 1.5rem 4rem rgba(54, 44, 32, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.62);
  outline: none;
}
.stage:focus-visible { outline: 2px solid var(--accent); outline-offset: 0.8rem; }

.app.app-home { min-height: 0; padding: clamp(1rem, 2.4vw, 2rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.stage.stage-home {
  max-width: 78rem;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: 0.35rem;
  background: rgba(255, 253, 248, 0.44);
}
.home-view { display: grid; gap: clamp(1.4rem, 2.2vw, 2rem); }
.home-heading { max-width: 47rem; padding-left: clamp(0rem, 3vw, 2.2rem); }
.home-heading h1 {
  max-width: 44rem;
  margin: 0.8rem 0 0;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4.25vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}
.home-heading > p:last-child { max-width: 32rem; margin: 0.8rem 0 0; color: var(--ink-soft); font-family: var(--serif); font-size: clamp(1.02rem, 1.7vw, 1.18rem); }
.destination-grid { display: grid; grid-template-columns: 1.04fr 1.08fr 0.92fr; gap: clamp(0.65rem, 1.2vw, 1rem); }
.destination-card {
  position: relative;
  display: flex;
  overflow: hidden;
  min-width: 0;
  min-height: 20rem;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.1rem, 2vw, 1.55rem);
  border: 1px solid var(--rule);
  border-radius: 0.18rem;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.56);
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
  transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1), border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}
.destination-card:hover { transform: translateY(-0.28rem); box-shadow: 0 1rem 2rem rgba(54, 44, 32, 0.12); }
.destination-card:active { transform: translateY(-0.06rem) scale(0.995); }
.destination-card:focus-visible { z-index: 1; outline: 2px solid var(--accent); outline-offset: 4px; }
.destination-label { display: flex; align-items: center; gap: 0.5rem; width: 100%; font-size: 0.61rem; font-weight: 750; letter-spacing: 0.085em; line-height: 1.3; text-transform: uppercase; }
.destination-label > span:first-child { font-family: var(--mono); font-size: 0.67rem; }
.destination-label-end { margin-left: auto; color: var(--ink-soft); font-size: 0.52rem; font-weight: 650; letter-spacing: 0.055em; text-align: right; }
.destination-title { display: block; margin-top: 1.25rem; font-family: var(--serif); font-size: clamp(1.85rem, 2.7vw, 2.55rem); font-weight: 400; letter-spacing: -0.045em; line-height: 0.99; }
.destination-description { display: block; max-width: 25rem; margin-top: 0.65rem; color: var(--ink-soft); font-family: var(--serif); font-size: 0.9rem; line-height: 1.5; }
.destination-action { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; width: 100%; margin-top: auto; padding-top: 0.8rem; font-size: 0.61rem; font-weight: 750; letter-spacing: 0.055em; line-height: 1.4; text-transform: uppercase; }
.destination-action > span { flex: 0 0 auto; font-size: 1rem; transition: transform 220ms ease; }
.destination-card:hover .destination-action > span { transform: translate(0.18rem, -0.12rem); }

.destination-folio {
  border-color: #35362f;
  color: var(--paper);
  background-color: #2b2c26;
  background-image: linear-gradient(to right, rgba(244, 241, 233, 0.035) 1px, transparent 1px);
  background-size: 2.6rem 100%;
}
.destination-folio:hover { border-color: #55574b; background-color: #32332c; }
.destination-folio .destination-label, .destination-folio .destination-description { color: #d3cfc3; }
.destination-folio .destination-label-end { color: #aaa597; }
.destination-folio .destination-title { color: #faf7ee; font-size: clamp(2rem, 3vw, 2.85rem); }
.destination-folio .destination-action { color: #f0c1a8; }
.folio-structure {
  position: relative;
  display: block;
  width: 100%;
  height: 3.8rem;
  margin-top: 0.8rem;
  border-top: 1px solid rgba(244, 241, 233, 0.25);
  border-bottom: 1px solid rgba(244, 241, 233, 0.25);
}
.folio-structure-caption, .folio-structure-node { position: absolute; z-index: 1; color: #bcb7aa; font-family: var(--mono); font-size: 0.52rem; letter-spacing: 0.045em; }
.folio-structure-caption { top: 0.45rem; left: 0; }
.folio-structure-node { right: 0; bottom: 0.45rem; }
.folio-structure-node b { padding: 0 0.3rem; color: #e8a889; font-weight: 400; }
.folio-structure-lines { position: absolute; inset: 0.25rem 6%; display: flex; justify-content: space-between; border-right: 1px solid rgba(244, 241, 233, 0.18); border-left: 1px solid rgba(244, 241, 233, 0.18); }
.folio-structure-lines i { width: 1px; background: rgba(244, 241, 233, 0.18); }

.destination-opportunities { border-color: #b8c9bc; background: #e8efe7; }
.destination-opportunities:hover { border-color: #729481; background: #edf3ec; }
.destination-opportunities .destination-label { color: #4a6657; }
.destination-opportunities .destination-label-end { color: #587565; }
.destination-opportunities .destination-title { max-width: 18rem; color: #243f34; }
.destination-opportunities .destination-action { color: #245c47; }
.opportunity-preview { display: block; width: 100%; margin-top: 0.75rem; padding: 0.48rem 0.65rem 0.42rem; border: 1px solid #cbd8cd; background: rgba(255, 255, 251, 0.74); }
.opportunity-preview-top { display: flex; align-items: center; gap: 0.35rem; color: #47705a; font-size: 0.49rem; font-weight: 750; letter-spacing: 0.09em; }
.opportunity-live-mark { width: 0.36rem; height: 0.36rem; border-radius: 50%; background: #4f8966; }
.opportunity-preview-role { display: flex; align-items: center; justify-content: space-between; gap: 0.4rem; margin-top: 0.3rem; color: #233d31; font-family: var(--serif); font-size: 0.92rem; font-weight: 600; letter-spacing: -0.025em; }
.opportunity-preview-role b { color: #3e7656; font-family: var(--sans); font-size: 0.8rem; font-weight: 400; }
.opportunity-preview-meta { display: block; margin-top: 0.1rem; color: #607066; font-size: 0.59rem; }
.opportunity-preview-rule { display: block; height: 1px; margin: 0.35rem 0 0.3rem; background: #d9e1d8; }
.opportunity-preview-tags { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.opportunity-preview-tags i { padding: 0.12rem 0.28rem; border: 1px solid #d5dfd5; color: #58705e; font-size: 0.43rem; font-style: normal; font-weight: 700; letter-spacing: 0.045em; }

.destination-capital { border-color: #d7c6b6; background: #f4ede3; }
.destination-capital:hover { border-color: #b18468; background: #f7f1e8; }
.destination-capital .destination-label { color: #785e4c; }
.destination-capital .destination-label-end { color: #816750; }
.destination-capital .destination-title { color: #34291f; }
.destination-capital .destination-action { color: #8a4831; }
.capital-flow { position: relative; display: block; width: 100%; height: 3.8rem; margin-top: 0.8rem; border-top: 1px solid #d6c6b7; border-bottom: 1px solid #d6c6b7; }
.capital-flow-label, .capital-flow-terms { position: absolute; left: 0; color: #806955; font-family: var(--mono); font-size: 0.47rem; letter-spacing: 0.035em; }
.capital-flow-label { top: 0.42rem; }
.capital-flow-terms { bottom: 0.35rem; }
.capital-flow-terms b { padding: 0 0.16rem; color: #a46d4d; font-weight: 400; }
.capital-flow-diagram { position: absolute; top: 0.48rem; right: 0; display: flex; align-items: flex-end; gap: 0.22rem; height: 2rem; padding-right: 1.1rem; }
.capital-flow-diagram i { display: block; width: 0.37rem; border-top: 1px solid #a87b5c; border-right: 1px solid #a87b5c; background: rgba(168, 123, 92, 0.16); }
.capital-flow-diagram i:nth-child(1) { height: 0.5rem; }
.capital-flow-diagram i:nth-child(2) { height: 0.85rem; }
.capital-flow-diagram i:nth-child(3) { height: 1.2rem; }
.capital-flow-diagram i:nth-child(4) { height: 1.55rem; }
.capital-flow-diagram b { position: absolute; top: 0.2rem; right: 0; color: #8a4831; font-family: var(--sans); font-size: 0.8rem; font-weight: 400; }

.opening { max-width: 42rem; padding-left: clamp(0rem, 7vw, 5rem); }
.kicker { color: var(--accent); }

.opening h1, .view-heading h1, .document-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.99;
}

.opening h1 { margin-top: 1.15rem; font-size: clamp(2.8rem, 7vw, 5.25rem); }

.role {
  margin: 1.35rem 0 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.opening-summary {
  max-width: 31rem;
  margin: 1.1rem 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.capital-surface {
  position: relative;
  max-width: 54rem;
  margin: clamp(3.5rem, 8vw, 6.5rem) 0 0 clamp(0rem, 7vw, 5rem);
  padding: clamp(2.8rem, 6vw, 5rem) clamp(1.5rem, 7vw, 5rem) clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 5vw, 3.5rem);
  overflow: hidden;
  border: 1px solid rgba(138, 72, 49, 0.3);
  border-top: 2px solid var(--accent);
  border-radius: 0.65rem;
  background-color: rgba(255, 253, 248, 0.16);
  background-image: linear-gradient(112deg, rgba(138, 72, 49, 0.075), transparent 48%), radial-gradient(circle at 92% 12%, rgba(138, 72, 49, 0.1), transparent 35%);
  box-shadow: 0 1.15rem 2.5rem rgba(54, 44, 32, 0.035), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.capital-surface::after {
  position: absolute;
  top: 2.2rem;
  right: clamp(1.5rem, 7vw, 5rem);
  width: clamp(3.5rem, 12vw, 8rem);
  height: clamp(3.5rem, 12vw, 8rem);
  border-top: 1px solid rgba(138, 72, 49, 0.32);
  border-right: 1px solid rgba(138, 72, 49, 0.32);
  content: "";
  pointer-events: none;
}

.capital-label {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.115em;
  line-height: 1.35;
}

.capital-surface h2 {
  max-width: 19rem;
  margin: 1rem 0 0;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 5vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.capital-copy {
  max-width: 36rem;
  margin: 1.1rem 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.06rem;
  line-height: 1.68;
}

.capital-action {
  display: inline-flex;
  align-items: center;
  min-height: 2.7rem;
  width: fit-content;
  margin-top: 2.2rem;
  margin-left: auto;
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--accent);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.capital-action:hover { color: var(--accent); transform: translateX(0.22rem); }

.actions { margin-top: 2.25rem; }
button { font: inherit; }

.action-link, .return-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.7rem;
  padding: 0.25rem 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.action-link:hover, .return-link:hover { color: var(--accent); transform: translateX(0.18rem); }
.return-link { margin-top: 2.6rem; color: var(--ink-soft); font-size: 0.72rem; }
.return-link:hover { transform: translateX(-0.18rem); }

button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 0.25rem; }

.archive-view { max-width: 61rem; margin-left: clamp(0rem, 7vw, 5rem); }
.view-heading { max-width: 38rem; margin-bottom: 2.8rem; }
.view-heading h1 { margin-top: 0.95rem; font-size: clamp(2.55rem, 6vw, 4.6rem); }
.view-heading > p:last-child { margin: 1.1rem 0 0; color: var(--ink-soft); font-family: var(--serif); font-size: 1.13rem; }

.archive-list { border-top: 1px solid var(--rule); }

.archive-entry {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  width: 100%;
  padding: 1.3rem 0 1.4rem;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background-color 160ms ease, color 160ms ease, padding 160ms ease;
}

.archive-entry:hover { padding-right: 0.55rem; padding-left: 0.55rem; color: var(--accent); background: var(--accent-wash); }
.archive-entry:active { background: rgba(138, 72, 49, 0.14); }
.archive-entry:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--accent); outline-offset: -2px; }

.entry-number { padding-top: 0.35rem; color: var(--ink-soft); font-family: var(--mono); font-size: 0.7rem; }
.entry-copy { min-width: 0; }
.entry-title, .entry-summary { display: block; }
.entry-title { font-family: var(--serif); font-size: clamp(1.3rem, 2.8vw, 1.7rem); line-height: 1.12; }
.entry-summary { max-width: 43rem; margin-top: 0.45rem; color: var(--ink-soft); font-size: 0.83rem; line-height: 1.55; }
.entry-meta { display: block; margin-top: 0.5rem; color: var(--ink-soft); font-size: 0.7rem; line-height: 1.55; }
.entry-arrow { align-self: center; padding-left: 1.2rem; font-size: 1.25rem; transition: transform 160ms ease; }
.archive-entry:hover .entry-arrow { transform: translateX(0.25rem); }
.project-list .archive-entry:first-child { border-top: 2px solid var(--accent); }

.stage.stage-opportunities {
  max-width: 78rem;
  padding: clamp(1.4rem, 4vw, 3.25rem);
  border-color: #d7dfdc;
  border-radius: 1rem;
  background: #f3f6f5;
  box-shadow: none;
}
.opportunities-view, .opportunity-detail { max-width: 100%; color: #23332f; font-family: var(--sans); }
.opportunities-heading { max-width: 46rem; margin-bottom: 2rem; }
.opportunities-eyebrow { margin: 0; color: #39695e; font-size: 0.68rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
.opportunities-heading h1, .opportunity-detail-heading h1 { margin: 0.65rem 0 0; color: #23332f; font-size: clamp(2.3rem, 5.3vw, 4rem); font-weight: 650; letter-spacing: -0.045em; line-height: 1.05; }
.opportunities-heading > p:last-child { max-width: 40rem; margin: 0.8rem 0 0; color: #53645f; font-size: 1rem; line-height: 1.6; }
.opportunity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.15rem; }
.opportunity-card {
  display: flex;
  min-width: 0;
  min-height: 16rem;
  flex-direction: column;
  align-items: stretch;
  padding: 1.35rem;
  border: 1px solid #d2dfd8;
  border-top: 4px solid #6c9a82;
  border-radius: 0.9rem;
  color: #23332f;
  background: linear-gradient(155deg, #fff 0%, #fbfdfb 100%);
  box-shadow: 0 0.3rem 1rem rgba(34, 69, 58, 0.055);
  cursor: pointer;
  text-align: left;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}
.opportunity-card:hover { transform: translateY(-0.2rem); border-color: #6d9a8d; box-shadow: 0 0.8rem 1.8rem rgba(34, 69, 58, 0.12); }
.opportunity-card:focus-visible, .opportunities-back:focus-visible, .opportunity-apply:focus-visible, .opportunity-share:focus-visible { outline: 2px solid #316459; outline-offset: 3px; }
.opportunity-card-organization { align-self: flex-start; padding: 0.25rem 0.5rem; border-radius: 999px; color: #426b58; background: #edf4ee; font-size: 0.7rem; font-weight: 700; }
.opportunity-card-title { margin-top: 0.7rem; font-size: 1.25rem; font-weight: 680; letter-spacing: -0.02em; line-height: 1.28; }
.opportunity-card-summary { display: -webkit-box; margin-top: 0.55rem; overflow: hidden; color: #586760; font-size: 0.84rem; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.opportunity-card-metadata { display: grid; gap: 0.45rem; margin: 0.9rem 0 0; padding: 0.75rem 0; border-top: 1px solid #e3ebe5; }
.opportunity-card-metadata > div { display: grid; grid-template-columns: minmax(5.5rem, 0.8fr) minmax(0, 1.2fr); gap: 0.45rem; font-size: 0.73rem; line-height: 1.4; }
.opportunity-card-metadata dt { color: #687b74; }
.opportunity-card-metadata dd { min-width: 0; margin: 0; color: #2e403a; font-weight: 600; overflow-wrap: anywhere; }
.opportunity-card-action { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 0.9rem; color: #276354; font-size: 0.76rem; font-weight: 750; letter-spacing: 0.025em; }
.opportunities-empty { padding: 1.4rem; border: 1px dashed #b6c7c0; border-radius: 0.8rem; color: #53645f; background: rgba(255,255,255,0.64); }
.opportunities-back {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  margin-top: 1.8rem;
  padding: 0;
  border: 0;
  color: #46635a;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
}
.opportunities-back:hover { color: #1d5143; text-decoration: underline; text-underline-offset: 0.2rem; }
.opportunity-detail { max-width: 58rem; margin: 0 auto; padding-bottom: 7rem; }
.opportunity-detail-heading { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid #d6e2db; border-top: 4px solid #6c9a82; border-radius: 1rem; background: linear-gradient(145deg, #fff 0%, #f7faf7 100%); box-shadow: 0 0.45rem 1.4rem rgba(34, 69, 58, 0.06); }
.opportunity-detail-heading h1 { max-width: 50rem; font-size: clamp(2rem, 5vw, 3.4rem); overflow-wrap: anywhere; }
.opportunity-detail-organization { margin: 0.55rem 0 0; color: #536d64; font-size: 1rem; font-weight: 600; }
.opportunity-detail-metadata { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 0.65rem; margin: 1rem 0; }
.opportunity-detail-metadata > div { min-width: 0; padding: 0.85rem 0.95rem; border: 1px solid #d6e2db; border-radius: 0.75rem; background: #fff; box-shadow: 0 0.2rem 0.75rem rgba(34, 69, 58, 0.04); }
.opportunity-detail-metadata dt { color: #687b74; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.opportunity-detail-metadata dd { margin: 0.22rem 0 0; color: #283b35; font-size: 0.88rem; font-weight: 600; overflow-wrap: anywhere; }
.opportunity-detail-copy { display: grid; gap: 0.85rem; margin-top: 1rem; color: #354740; }
.opportunity-content-card { min-width: 0; padding: clamp(1.1rem, 2.6vw, 1.6rem); border: 1px solid #d9e3dd; border-radius: 0.85rem; background: rgba(255, 255, 255, 0.88); box-shadow: 0 0.25rem 0.9rem rgba(34, 69, 58, 0.045); }
.opportunity-detail-copy h2 { margin: 0 0 0.75rem; padding-bottom: 0.6rem; border-bottom: 1px solid #e4ebe6; color: #253a33; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.015em; }
.opportunity-detail-copy h3, .opportunity-detail-copy h4 { margin: 1.5rem 0 0.5rem; color: #314a40; font-size: 0.95rem; font-weight: 680; }
.opportunity-detail-copy p, .opportunity-detail-copy li { color: #465850; font-family: var(--sans); font-size: 0.94rem; line-height: 1.7; }
.opportunity-detail-copy p { margin: 0.75rem 0; }
.opportunity-detail-copy ul { margin: 0.8rem 0 1.1rem; padding-left: 1.3rem; }
.opportunity-detail-copy li { margin: 0.4rem 0; padding-left: 0.2rem; }
.opportunity-detail-copy li::marker { color: #4a8172; }
.opportunity-actions {
  position: fixed;
  z-index: 20;
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: max-content;
  max-width: calc(100vw - 2rem);
  margin: 0;
  padding: 0.55rem;
  transform: translateX(-50%);
  border: 1px solid #c6d6cd;
  border-radius: 0.9rem;
  background: rgba(255, 255, 252, 0.97);
  box-shadow: 0 0.65rem 2rem rgba(34, 69, 58, 0.19);
  backdrop-filter: blur(12px);
}
.opportunity-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.8rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid #d1ded7;
  border-radius: 0.5rem;
  color: #426354;
  background: #f7faf7;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.opportunity-share:hover { border-color: #527d6d; background: #fff; }
.opportunity-share svg { width: 1rem; height: 1rem; stroke: currentColor; stroke-width: 1.6; }
.opportunity-share-feedback { flex-basis: 100%; min-height: 1.15rem; color: #46635a; font-size: 0.76rem; }
.opportunity-actions .opportunity-share-feedback:empty { display: none; }
.opportunity-actions .opportunities-back { min-height: 2.8rem; margin-top: 0; padding: 0.6rem 0.7rem; font-size: 0.76rem; }
.mock-interview-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  margin-top: 0;
  padding: 0.6rem 0.9rem;
  border: 1px solid #98b3a5;
  border-radius: 0.5rem;
  color: #285447;
  background: #edf4ef;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
}
.mock-interview-trigger:hover { border-color: #527d6d; background: #e4efe7; }
.mock-interview-trigger:focus-visible, .mock-interview-launch:focus-visible { outline: 2px solid #316459; outline-offset: 3px; }
.mock-interview-panel {
  margin-top: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #cbd9d3;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.8);
}
.mock-interview-panel[hidden] { display: none; }
.mock-interview-panel h2 { margin: 0; color: #253a33; font-size: 1.15rem; }
.mock-interview-note, .mock-interview-status { color: #53645f; font-size: 0.82rem; line-height: 1.55; }
.mock-interview-note { margin: 0.45rem 0 1rem; }
.mock-interview-status { min-height: 1.25rem; margin: 0.8rem 0; }
.mock-interview-providers { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 0; padding: 0; border: 0; }
.mock-interview-providers legend { width: 100%; margin-bottom: 0.55rem; color: #53645f; font-size: 0.75rem; font-weight: 700; }
.mock-interview-provider {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.8rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid #d5dfdb;
  border-radius: 0.45rem;
  color: #2e403a;
  background: #fff;
  cursor: pointer;
  font-size: 0.82rem;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}
.mock-interview-provider:has(input:checked) { border-color: #477d69; background: #edf4ef; box-shadow: inset 0 0 0 1px rgba(71, 125, 105, 0.18); }
.mock-interview-provider input { accent-color: #245e4f; }
.mock-interview-provider-content { display: flex; flex-direction: column; gap: 0.05rem; line-height: 1.2; }
.mock-interview-provider-name { font-weight: 650; }
.mock-interview-provider-meta { color: #57716a; font-size: 0.68rem; font-weight: 600; }
.mock-interview-prompt-label { display: block; margin-bottom: 0.4rem; color: #53645f; font-size: 0.75rem; font-weight: 700; }
.mock-interview-prompt {
  display: block;
  width: 100%;
  min-height: 12rem;
  padding: 0.75rem;
  border: 1px solid #d5dfdb;
  border-radius: 0.45rem;
  color: #354740;
  background: #fff;
  font: 0.78rem/1.5 var(--sans);
  overflow-wrap: anywhere;
  resize: vertical;
}
.mock-interview-prompt.is-highlighted { outline: 3px solid #6c9a82; outline-offset: 3px; }
.mock-interview-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.75rem; }
.mock-interview-launch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  max-width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #245e4f;
  border-radius: 0.45rem;
  color: #fff;
  background: #245e4f;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.mock-interview-launch:hover:not(:disabled) { border-color: #19493d; background: #19493d; }
.mock-interview-launch:disabled {
  border-color: #aebcb6;
  color: #687770;
  background: #edf3f0;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  .mock-interview-prompt.is-highlighted { transition: none; }
}
.opportunity-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  margin-top: 1.35rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid #245e4f;
  border-radius: 0.6rem;
  color: #fff;
  background: linear-gradient(135deg, #286a56, #1d5747);
  box-shadow: 0 0.3rem 0.8rem rgba(29, 87, 71, 0.2);
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.005em;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.opportunity-apply:hover { transform: translateY(-1px); border-color: #19493d; color: #fff; background: linear-gradient(135deg, #23614f, #174a3d); box-shadow: 0 0.45rem 1rem rgba(29, 87, 71, 0.24); }
.opportunity-actions .opportunity-apply { min-height: 3rem; margin-top: 0; }

.document { max-width: 46rem; margin-left: clamp(0rem, 12vw, 9.5rem); }
.document-meta { margin-bottom: 1rem; color: var(--accent); }
.document-title { max-width: 42rem; font-size: clamp(2.55rem, 6.3vw, 4.8rem); }
.content h2 {
  margin: 3.8rem 0 0.8rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.content h3 { margin: 2rem 0 0.55rem; font-size: 0.91rem; letter-spacing: 0.025em; }
.content h4, .content h5, .content h6 { margin: 1.7rem 0 0.45rem; font-size: 0.83rem; letter-spacing: 0.04em; }
.content p, .content li { font-family: var(--serif); font-size: 1.08rem; line-height: 1.72; }
.content p { margin: 1.05rem 0; }
.content ul { margin: 1.25rem 0 1.35rem; padding-left: 1.35rem; }
.content li { padding-left: 0.35rem; margin: 0.52rem 0; }
.content li::marker { color: var(--accent); font-size: 0.75em; }
.content a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(138, 72, 49, 0.45); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.content a:hover { text-decoration-color: currentColor; }
.content a[target="_blank"]::after { content: " ↗"; font-family: var(--sans); font-size: 0.72em; text-decoration: none; }
.content .opportunity-apply {
  display: inline-flex;
  align-items: center;
  margin-top: 1.4rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 0.2rem;
  color: var(--paper);
  background: var(--accent);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}
.content .opportunity-apply:hover { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.opportunity-apply-unavailable { color: var(--ink-soft); font-family: var(--sans) !important; font-size: 0.82rem !important; }
.content strong { color: var(--ink); font-family: var(--sans); font-size: 0.88em; letter-spacing: 0.015em; }
.content pre {
  margin: 1.65rem 0;
  padding: 1rem 1.2rem;
  overflow-x: auto;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.28);
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.65;
}
.content .document-image {
  display: block;
  width: min(100%, 42rem);
  height: auto;
  margin: 2rem auto;
  border: 1px solid var(--rule);
  border-radius: 0.55rem;
}
.content code { font-family: var(--mono); font-size: 0.86em; }
.continue-heading { margin-top: 4.6rem !important; }
.child-list { margin-top: 1.15rem; }
.child-list .entry-title { font-size: clamp(1.15rem, 2.4vw, 1.45rem); }

.loading-state { max-width: 27rem; margin-left: clamp(0rem, 7vw, 5rem); }
.loading-state > p:last-child, .empty-state { margin-top: 0.75rem; color: var(--ink-soft); font-family: var(--serif); font-size: 1.12rem; }

.site-footer {
  width: min(100% - 3rem, 75rem);
  margin: 0 auto;
  padding: 1.25rem 0 1.6rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.7rem;
  letter-spacing: 0.045em;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .destination-card:hover, .destination-card:active { transform: none; }
}

@media (max-width: 900px) {
  .destination-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .destination-folio { grid-column: span 2; }
  .destination-card { min-height: 22rem; }
}

@media (max-width: 720px) {
  .site-header, .app, .site-footer { width: min(100% - 2rem, 75rem); }
  .site-header { padding-top: 1.05rem; }
  .site-context { display: none; }
  .app { min-height: calc(100vh - 7.5rem); padding-top: clamp(2rem, 8vw, 3rem); }
  .stage { padding: clamp(2.2rem, 10vw, 3.75rem) clamp(1.1rem, 5vw, 2.4rem); border-radius: 0.9rem; }
  .opening, .archive-view, .document, .loading-state, .home-heading { margin-left: 0; padding-left: 0; }
  .stage.stage-home { padding: 1.2rem; border-radius: 0.2rem; }
  .home-view { gap: 1.65rem; }
  .home-heading h1 { font-size: clamp(2.35rem, 9vw, 3.7rem); }
  .capital-surface { margin-left: 0; }
  .capital-surface::after { top: 1.5rem; right: 1.5rem; }
  .archive-entry { grid-template-columns: 2.65rem minmax(0, 1fr) auto; }
  .entry-summary { font-size: 0.8rem; }
  .document { max-width: 40rem; }
  .content p, .content li { font-size: 1.03rem; }
  .stage.stage-opportunities { padding: 1.2rem; border-radius: 0.85rem; }
  .opportunity-detail { padding-bottom: 9rem; }
  .opportunity-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100vw - 2rem);
    gap: 0.45rem;
  }
  .opportunity-actions > :not(.opportunity-share-feedback) { width: 100%; justify-content: center; margin: 0; text-align: center; }
  .opportunity-actions .opportunity-apply { grid-column: 1 / -1; }
  .opportunity-actions .opportunity-share-feedback { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .destination-grid { grid-template-columns: 1fr; }
  .destination-folio { grid-column: auto; }
  .destination-card { min-height: 21rem; padding: 1.25rem; }
  .destination-title, .destination-folio .destination-title { font-size: clamp(2rem, 9vw, 2.65rem); }
  .destination-description { font-size: 0.95rem; }
}

@media (max-width: 420px) {
  .site-header, .app, .site-footer { width: min(100% - 1.5rem, 75rem); }
  .destination-grid { gap: 0.75rem; }
  .destination-card { min-height: 20rem; }
  .archive-entry { grid-template-columns: 2.2rem minmax(0, 1fr) 1.3rem; padding-top: 1.1rem; padding-bottom: 1.15rem; }
  .archive-entry:hover { padding-right: 0.2rem; padding-left: 0.2rem; }
  .entry-arrow { padding-left: 0.45rem; }
  .content h2 { margin-top: 3rem; }
  .content pre { margin-right: -0.2rem; margin-left: -0.2rem; padding: 0.8rem; }
}
