/* Pocket Adventure Card and landing invitation. Complements the existing landing styles. */

.va-header-links {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.va-header-card {
  color: var(--forest);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.va-header-quiet {
  color: var(--muted);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
}

.va-header-card:focus-visible,
.va-header-quiet:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .va-header-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 12px;
  }
}

.va-invitation {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}

.va-invitation-kicker {
  margin: 0 0 10px;
  color: var(--forest);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.va-invitation h2 {
  margin: 0;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.va-invitation-date {
  margin: 8px 0 14px;
  color: var(--forest);
  font-weight: 600;
}

.va-invitation p {
  margin: 0;
  max-width: 42rem;
  color: #4d5c58;
}

.va-invitation-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--paper);
  background: var(--forest);
  text-decoration: none;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 999px;
}

.va-invitation-link:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

.va-invitation-ready {
  margin: 12px 0 0;
  color: var(--forest);
  font-size: .9rem;
  font-weight: 600;
}

.va-invitation-quiet {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}

.va-invitation-quiet h2 {
  margin: 0;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -.02em;
}

.va-invitation-quiet p {
  margin: 0;
  max-width: 42rem;
  color: #4d5c58;
}

.va-invitation-quiet .va-invitation-kicker {
  margin-bottom: 8px;
}

.va-invitation-quiet .va-header-quiet {
  display: inline-block;
  margin-top: 12px;
  color: var(--forest);
}

html.va-view-card .page,
body.va-view-card .page {
  display: none;
}

html.va-view-card,
body.va-view-card {
  background: var(--paper);
}

.va-card-root {
  display: none;
  min-height: 100vh;
}

html.va-view-card .va-card-root,
body.va-view-card .va-card-root {
  display: block;
}

html.va-view-kiama .page,
body.va-view-kiama .page {
  display: none;
}

html.va-view-kiama,
body.va-view-kiama {
  background: var(--paper);
}

.va-kiama-root {
  display: none;
  min-height: 100vh;
}

html.va-view-kiama .va-kiama-root,
body.va-view-kiama .va-kiama-root {
  display: block;
}

.va-kiama-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.va-kiama-nav a {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--forest);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.15;
  padding: 8px 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .5);
}

.va-kiama-nav a:visited {
  color: var(--forest);
}

.va-kiama-nav a[aria-current="page"],
.va-kiama-nav a[aria-current="page"]:visited {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
}

.va-kiama-nav a:focus-visible,
.va-kiama-more > summary:focus-visible,
.va-card a.va-text-link:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

.va-kiama-figure {
  margin: 0 0 16px;
}

.va-kiama-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--mist);
}

.va-section.va-kiama-copy h2,
.va-section.va-kiama-glance h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  text-transform: none;
  color: var(--forest-deep);
  font-weight: 500;
  line-height: 1.25;
}

.va-section.va-kiama-glance h2 {
  font-size: 1.45rem;
}

.va-section.va-kiama-copy p + p {
  margin-top: .75rem;
}

.va-kiama-copy h3,
.va-kiama-more h3 {
  margin: 14px 0 6px;
  font-size: 1rem;
  color: var(--forest-deep);
}

.va-card a.va-text-link {
  color: var(--forest-deep);
  font-weight: 700;
}

.va-kiama-more {
  margin: 0 0 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.va-kiama-more > summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--forest-deep);
}

.va-kiama-more .va-kiama-copy {
  padding-top: 8px;
}

.va-kiama-more .va-kiama-copy p + p,
.va-kiama-more .va-kiama-copy p + ul,
.va-kiama-more .va-kiama-copy ul + p {
  margin-top: .75rem;
}

.va-card-shell {
  width: min(40rem, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 48px;
}

.va-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.va-card-home,
.va-card-home:visited {
  color: var(--forest-deep);
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
}

.va-card-kicker {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.va-card h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 7vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  color: var(--forest-deep);
}

.va-card-date {
  margin: 8px 0 0;
  color: var(--forest);
  font-weight: 700;
}

.va-card-outcome {
  margin: 10px 0 0;
  color: var(--forest-deep);
  font-weight: 700;
}

.va-card-account {
  margin: 6px 0 0;
  color: var(--ink);
  line-height: 1.45;
}

.va-card-identity {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -.02em;
  font-weight: 500;
  color: var(--forest-deep);
}

.va-card-identity span {
  font-weight: 500;
  color: var(--forest);
}

.va-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 18px;
}

.va-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: .8rem;
}

.va-pill-ready {
  color: var(--forest-deep);
  border-color: rgba(41, 79, 70, 0.28);
}

.va-pill-offline {
  color: var(--forest-deep);
  background: var(--mist);
}

.va-commit-panel {
  margin: 0 0 22px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.va-commit-panel p {
  margin: 0 0 12px;
  color: #40504c;
}

.va-commit-button,
.va-retry-button {
  appearance: none;
  border: 0;
  background: var(--forest);
  color: var(--paper);
  font: inherit;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
}

.va-commit-button:disabled,
.va-retry-button:disabled {
  opacity: .65;
  cursor: wait;
}

.va-commit-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .86rem;
}

.va-confirm {
  margin: 0 0 22px;
  padding: 14px 16px;
  background: var(--mist);
  border-left: 3px solid var(--forest);
}

.va-confirm strong {
  display: block;
  color: var(--forest-deep);
  margin-bottom: 4px;
}

.va-confirm p {
  margin: 0;
  color: #40504c;
  font-size: .95rem;
}

.va-verify-details {
  margin-top: 10px;
  color: var(--muted);
  font-size: .84rem;
}

.va-verify-details ul {
  margin: 8px 0 0;
  padding-left: 1.15rem;
}

.va-error {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-left: 3px solid #8a3b2d;
  background: #f4e6e1;
  color: #4d2b26;
}

.va-error ul {
  margin: 8px 0 12px;
  padding-left: 1.15rem;
}

.va-section {
  margin: 0 0 1.35rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.va-section:last-child {
  border-bottom: 0;
}

.va-section h2 {
  margin: 0 0 8px;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.va-section p,
.va-section li {
  color: #2d3b38;
}

.va-section p {
  margin: 0;
}

.va-undertaking {
  font-size: 1.05rem;
  line-height: 1.5;
}

.va-meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: .9rem;
}

.va-times {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.va-times li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.va-times li:last-child {
  border-bottom: 0;
}

.va-times time {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--forest-deep);
}

.va-spine {
  margin: 0;
  padding-left: 1.1rem;
}

.va-return {
  background: var(--forest-deep);
  color: var(--sand);
  padding: 16px 16px 14px;
  border: 0;
}

.va-return h2,
.va-return.va-glance h2,
.va-return p,
.va-return strong,
.va-return .va-meta {
  color: var(--sand);
}

.va-return h2,
.va-return.va-glance h2 {
  color: var(--mist);
  font-weight: 700;
}

.va-return-signal {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.va-prompt {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--forest-deep);
}

.va-questions {
  margin: 10px 0 0;
  padding-left: 1.1rem;
}

.va-key {
  margin: 12px 0 0;
  padding: 12px 14px;
  background: var(--panel);
  border-left: 3px solid var(--eucalypt);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.va-envelope h3 {
  margin: 14px 0 6px;
  font-size: .92rem;
  color: var(--forest);
}

.va-envelope ul {
  margin: 0;
  padding-left: 1.1rem;
}

.va-lab {
  margin: 0 0 18px;
  padding: 10px 12px;
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.4);
}

.va-lab-label {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
}

.va-lab-note {
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: .78rem;
}

.va-lab-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.va-lab-links a {
  color: var(--forest);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.va-lab-links a[aria-current="true"] {
  border-color: rgba(41, 79, 70, 0.28);
  background: var(--mist);
  color: var(--forest-deep);
}

.va-sequence {
  margin: 0;
  padding-left: 1.2rem;
}

.va-sequence li {
  margin: 0 0 6px;
}

.va-sequence li:last-child {
  margin-bottom: 0;
}

.va-glance h2 {
  color: var(--forest);
}

.va-movement {
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
}

.va-movement:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.va-movement-now {
  margin-top: 0;
  padding: 12px 14px;
  border: 1px solid rgba(41, 79, 70, 0.18);
  border-left: 3px solid var(--forest);
  background: rgba(255, 255, 255, 0.55);
}

.va-movement-constraint {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 6.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--forest-deep);
}

.va-movement-constraint time {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.va-provenance {
  margin-top: 10px;
  color: var(--muted);
  font-size: .82rem;
}

.va-provenance summary {
  cursor: pointer;
}

.va-movement-later {
  opacity: .82;
}

.va-movement-route {
  margin: 0;
  font-weight: 700;
  color: var(--forest-deep);
}

.va-movement-times {
  margin: 6px 0 0;
  color: var(--forest-deep);
}

.va-movement-times time {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.va-movement-now .va-movement-times time {
  font-size: 1.45rem;
}

.va-movement-service {
  margin: 8px 0 0;
  color: #2d3b38;
}

.va-platform {
  margin: 8px 0 0;
  font-weight: 700;
  color: var(--forest-deep);
}

.va-later h2 {
  color: var(--muted);
}

.va-condition {
  margin: 10px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--line);
}

.va-condition:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.va-condition-headline {
  margin: 0;
  font-weight: 700;
  color: var(--forest-deep);
}

.va-boarding {
  margin-top: 10px;
}

.va-boarding-line {
  margin: 6px 0 0;
  font-weight: 700;
  color: var(--forest-deep);
}

.va-feed {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
}

.va-feed h2 {
  margin: 0 0 18px;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -.03em;
}

.va-feed-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.va-feed-group {
  grid-column: 1 / -1;
  margin: 2px 0 -12px;
  color: var(--muted);
  font-family: inherit;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
}

.va-feed-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}

.va-feed-card:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

.va-feed-card:not(.va-feed-update) .va-feed-invitation,
.va-feed-note .va-feed-invitation {
  display: none;
}

.va-feed-gateway {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-left: 3px solid var(--eucalypt);
}

.va-feed-gateway .va-feed-body {
  gap: 2px;
  padding: 10px 14px 12px;
}

.va-feed-gateway .va-feed-title {
  font-size: 1.05rem;
}

.va-feed-count {
  color: var(--forest);
  font-size: .82rem;
}

.va-feed-more {
  flex: none;
  margin-right: 14px;
  color: var(--forest);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.va-feed-more::after {
  content: " →";
}

.va-feed-update .va-feed-body {
  padding: 22px 22px 24px;
}

.va-feed-media {
  display: block;
  aspect-ratio: 3 / 2;
  background: var(--mist);
  overflow: hidden;
}

.va-feed-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.va-feed-media-plain {
  background:
    linear-gradient(165deg, rgba(169, 199, 210, .55), transparent 46%),
    linear-gradient(180deg, var(--mist), var(--eucalypt));
}

.va-feed-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px 18px;
}

.va-feed-context {
  color: var(--forest);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.va-feed-title {
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.va-feed-invitation {
  color: #4d5c58;
  font-size: 1rem;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .va-invitation-link {
    width: 100%;
    justify-content: center;
  }

  .va-feed {
    margin-top: 18px;
    padding-top: 16px;
  }

  .va-feed-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .va-feed-group {
    margin: 0 0 -6px;
    font-size: .68rem;
  }

  .va-feed-body {
    gap: 4px;
    padding: 10px 10px 12px;
  }

  .va-feed-context {
    font-size: .68rem;
    letter-spacing: .08em;
  }

  .va-feed-title {
    font-size: 1.05rem;
  }

  .va-feed-gateway {
    grid-column: 1 / -1;
  }

  .va-feed-gateway .va-feed-body {
    padding: 8px 10px 10px;
  }

  .va-feed-gateway .va-feed-title {
    font-size: .98rem;
  }

  .va-feed-more {
    margin-right: 10px;
  }
}

@media (max-width: 330px) {
  .va-feed-list {
    grid-template-columns: 1fr;
  }
}

.va-preview-root,
.va-note-root {
  display: none;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}

html.va-view-preview .page,
body.va-view-preview .page,
html.va-view-note .page,
body.va-view-note .page,
html.va-view-notes .page,
body.va-view-notes .page {
  display: none;
}

html.va-view-preview .va-preview-root,
body.va-view-preview .va-preview-root,
html.va-view-note .va-note-root,
body.va-view-note .va-note-root,
html.va-view-notes .va-note-root,
body.va-view-notes .va-note-root {
  display: block;
}

.va-note-lead,
.va-notes-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--mist);
}

.va-note-lead {
  margin: 0 0 22px;
}

.va-notes-list {
  display: grid;
  gap: 18px;
}

.va-notes-card {
  display: block;
  color: inherit;
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}

.va-notes-card:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

.va-preview-shell {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.va-preview-nav {
  margin: 0 0 22px;
}

.va-preview-nav a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}

.va-preview-nav a:focus-visible,
.va-preview-companion a:focus-visible,
.va-preview-action:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

.va-preview-hero {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--mist);
  margin: 0 0 22px;
}

.va-preview-hero-plain {
  background:
    linear-gradient(165deg, rgba(169, 199, 210, .55), transparent 46%),
    linear-gradient(180deg, var(--mist), var(--eucalypt));
}

.va-preview-context {
  margin: 0 0 8px;
  color: var(--forest);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.va-preview-shell h1 {
  margin: 0;
  max-width: none;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.va-preview-invitation {
  margin: 16px 0 0;
  color: var(--forest-deep);
  font-size: 1.15rem;
  line-height: 1.45;
}

.va-preview-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--forest);
  font-size: .95rem;
  font-weight: 600;
}

.va-preview-description,
.va-preview-why,
.va-preview-status,
.va-preview-quiet {
  margin: 16px 0 0;
  max-width: 40rem;
  color: #4d5c58;
  line-height: 1.5;
}

.va-preview-companion {
  margin: 6px 0 0;
}

.va-preview-companion a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}

.va-preview-action {
  display: inline-flex;
  margin-top: 22px;
  color: var(--paper);
  background: var(--forest);
  text-decoration: none;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 999px;
}

.va-preview-status {
  color: var(--muted);
}
