.secondary-page {
  min-width: 0;
}

.secondary-page main {
  min-height: 50vh;
}

.secondary-page .primary-nav a[aria-current="page"],
.secondary-page .site-footer a[aria-current="page"] {
  color: var(--text);
  background: rgb(76 218 138 / 12%);
}

.secondary-page .primary-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--accent);
}

.secondary-page .primary-nav a,
.secondary-page .site-footer a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.internal-hero {
  padding: clamp(3.75rem, 9vw, 7.25rem) 0 clamp(3.25rem, 7vw, 5.5rem);
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  overflow: hidden;
}

.internal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.38fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 5.5rem);
}

.internal-hero-copy {
  max-width: 52rem;
}

.internal-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.internal-hero h1 span {
  color: var(--accent-strong);
}

.internal-lede {
  max-width: 44rem;
  margin: 1.4rem 0 0;
  color: #c7d0dc;
  font-size: clamp(1.06rem, 2vw, 1.24rem);
}

.subtitle {
  margin: 1.15rem 0 0;
  color: var(--accent-strong);
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  letter-spacing: 0.035em;
}

.internal-icon-panel {
  position: relative;
  min-height: 15rem;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 40%, rgb(76 218 138 / 14%), transparent 65%),
    linear-gradient(145deg, var(--surface-raised), var(--surface-soft));
  box-shadow: 0 2rem 6rem rgb(0 0 0 / 25%);
  overflow: hidden;
}

.internal-icon-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 72%);
}

.internal-icon-panel img {
  width: min(9rem, 52vw);
  height: min(9rem, 52vw);
  object-fit: contain;
  filter: drop-shadow(0 1rem 2rem rgb(0 0 0 / 42%));
}

.internal-icon-panel p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  text-align: center;
}

.internal-icon-panel .eyebrow {
  margin-top: 1rem;
  color: var(--accent-strong);
}

.external-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.content-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.content-section + .content-section {
  padding-top: 0;
}

.section-intro {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.section-intro h2,
.prose h2,
.article-section h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-intro > p:last-child {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.prose-layout,
.prose {
  width: min(100%, 76ch);
}

.prose > :first-child,
.article-section > :first-child {
  margin-top: 0;
}

.prose p,
.prose li,
.article-section p,
.article-section li {
  color: #c7d0dc;
}

.prose a,
.article-section a,
.notice a {
  color: var(--accent-strong);
  font-weight: 750;
  text-underline-offset: 0.22em;
}

.article-section {
  padding: clamp(1.5rem, 4vw, 2.2rem) 0;
  border-top: 1px solid var(--line);
}

.article-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.article-section h3,
.info-card h2,
.info-card h3,
.destination-card h2,
.destination-card h3 {
  margin: 1.7rem 0 0.45rem;
  font-size: 1.18rem;
  line-height: 1.25;
}

.article-section h2 + h3 {
  margin-top: 1.4rem;
}

.article-section p,
.article-section ul,
.notice p,
.notice ul {
  margin-block: 0.8rem;
}

.article-section ul,
.notice ul {
  padding-left: 1.25rem;
}

.party-list {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  list-style: none;
}

.party-list li {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface-soft);
}

.notice {
  margin: 1.5rem 0;
  padding: clamp(1.2rem, 4vw, 1.7rem);
  border: 1px solid #286846;
  border-radius: 0.9rem;
  background: rgb(76 218 138 / 7%);
}

.notice h2,
.notice h3 {
  margin: 0 0 0.65rem;
  color: var(--text);
  font-size: 1.25rem;
}

.notice-warning {
  border-color: #8a6735;
  background: rgb(201 145 67 / 10%);
}

.notice-legal {
  border-color: var(--line-bright);
  background: var(--surface-soft);
}

.signature {
  margin-top: 2rem;
  padding: 1.2rem 1.35rem;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  background: var(--surface-soft);
}

.signature strong {
  color: var(--text);
}

.signature span {
  display: block;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.contact-note {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.contact-note a {
  color: var(--accent-strong);
  font-weight: 750;
  text-underline-offset: 0.22em;
}

.info-grid,
.destination-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.info-card {
  padding: clamp(1.2rem, 4vw, 1.65rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--surface-raised), var(--surface));
}

.info-card h2,
.info-card h3 {
  margin-top: 0;
}

.info-card p:last-child {
  margin-bottom: 0;
}

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

.destination-card {
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.25rem, 3vw, 1.65rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background:
    radial-gradient(circle at 90% 4%, rgb(76 218 138 / 10%), transparent 12rem),
    linear-gradient(150deg, var(--surface-raised), var(--surface));
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.destination-card:hover {
  border-color: var(--line-bright);
  transform: translateY(-3px);
}

.destination-card img,
.destination-icon {
  width: 4.75rem;
  height: 4.75rem;
  object-fit: contain;
}

.destination-copy {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.destination-card h2,
.destination-card h3 {
  margin-top: 1.5rem;
  font-size: 1.4rem;
}

.destination-card p {
  margin: 0.6rem 0 1.3rem;
  color: var(--muted);
}

.destination-card .external-link,
.destination-card .card-link {
  margin-top: auto;
}

.external-link {
  color: var(--accent-strong);
  font-size: 0.91rem;
  font-weight: 800;
}

.external-link::after {
  content: "  ↗";
}

.page-nav {
  padding: 1.3rem 0;
  border-top: 1px solid rgb(255 255 255 / 8%);
}

.page-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-nav p {
  margin: 0 0 0.55rem;
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-nav a {
  color: var(--muted);
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  text-underline-offset: 0.22em;
}

.page-nav a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .internal-hero-grid {
    grid-template-columns: 1fr;
  }

  .internal-icon-panel {
    min-height: 12rem;
  }

  .destination-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .internal-hero {
    padding-top: 3rem;
  }

  .internal-hero h1 {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }

  .action-row,
  .action-row .button {
    width: 100%;
  }

  .info-grid,
  .destination-grid {
    grid-template-columns: 1fr;
  }

  .destination-card {
    min-height: 17rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .destination-card {
    transition: none;
  }
}

@media (forced-colors: active) {
  .internal-icon-panel,
  .info-card,
  .destination-card,
  .notice,
  .party-list li {
    border: 1px solid CanvasText;
  }

  .secondary-page .primary-nav a[aria-current="page"],
  .secondary-page .site-footer a[aria-current="page"] {
    color: LinkText;
    background: Canvas;
  }
}
