:root {
  --ink: #17211b;
  --muted: #59655f;
  --paper: #f7f6f2;
  --surface: #ffffff;
  --evergreen: #176b55;
  --evergreen-dark: #0e493a;
  --coral: #df654c;
  --sky: #2e7797;
  --line: #d9ded9;
  --soft-green: #e5eee9;
  --soft-blue: #e7f0f4;
  --soft-coral: #f6e8e3;
  --shadow: 0 14px 34px rgba(23, 33, 27, 0.12);
  --content: 74rem;
  --gutter: 1.5rem;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
.button {
  min-height: 2.75rem;
}

:focus-visible {
  outline: 3px solid #f2aa68;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1000;
  padding: 0.65rem 0.9rem;
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - (2 * var(--gutter))), var(--content));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--evergreen);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.08;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
}

p + p {
  margin-top: 1rem;
}

.lede {
  max-width: 47rem;
  color: var(--muted);
  font-size: 1.14rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--evergreen);
  border-radius: 6px;
  background: var(--evergreen);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  background: var(--evergreen-dark);
  border-color: var(--evergreen-dark);
}

.button.secondary {
  background: transparent;
  color: var(--evergreen-dark);
}

.button.secondary:hover {
  background: var(--soft-green);
}

.button.light {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.button.light:hover {
  background: #ffffff;
  color: var(--evergreen-dark);
}

.text-link {
  color: var(--evergreen-dark);
  font-weight: 750;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  min-height: 4.5rem;
  color: #ffffff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.solid,
.site-header.scrolled,
body:not(.has-overlay-header) .site-header {
  background: rgba(247, 246, 242, 0.98);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 150ms ease, transform 150ms ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 1.35rem;
  cursor: pointer;
}

.hero {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: flex-end;
  color: #ffffff;
}

.home-hero {
  min-height: 76svh;
}

.guide-hero {
  min-height: 58svh;
}

.hero picture,
.hero img,
.hero::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
}

.hero::before {
  z-index: 1;
  background: rgba(10, 25, 21, 0.44);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 7.5rem 3.75rem;
}

.home-hero .hero-content {
  max-width: 49rem;
}

.hero h1 {
  max-width: 48rem;
  text-wrap: balance;
}

.home-hero h1 {
  font-size: 3.35rem;
}

.guide-hero h1 {
  font-size: 3rem;
}

.hero .eyebrow,
.hero .lede {
  color: #ffffff;
}

.hero .lede {
  max-width: 42rem;
  margin-top: 1rem;
  font-size: 1.18rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.section {
  padding-block: 5rem;
}

.section.compact {
  padding-block: 3.5rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-heading > div {
  max-width: 47rem;
}

.section-heading .lede {
  margin-top: 0.75rem;
}

.intro-band {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

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

.destination-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 4px 14px rgba(23, 33, 27, 0.04);
}

.destination-card > a {
  display: block;
  text-decoration: none;
}

.destination-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 220ms ease;
}

.destination-card:hover img {
  transform: scale(1.025);
}

.card-copy {
  padding: 1.25rem;
}

.card-copy h3 {
  margin-bottom: 0.55rem;
}

.card-copy p {
  color: var(--muted);
}

.card-meta {
  margin-top: 0.9rem;
  color: var(--evergreen-dark);
  font-size: 0.85rem;
  font-weight: 750;
}

.save-button {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--evergreen-dark);
  box-shadow: var(--shadow);
  font-size: 1.35rem;
  cursor: pointer;
}

.save-button[aria-pressed="true"] {
  background: var(--coral);
  color: #ffffff;
}

.feature-band {
  background: var(--soft-blue);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.85fr);
  align-items: center;
  gap: 3.5rem;
}

.feature-layout img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
}

.feature-copy h2,
.planner-band h2 {
  margin-bottom: 1rem;
}

.feature-copy .button,
.planner-band .button {
  margin-top: 1.5rem;
}

.journal-list {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.journal-list li {
  padding-block: 0.85rem;
  border-top: 1px solid rgba(23, 33, 27, 0.18);
}

.journal-list strong {
  display: block;
}

.journal-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.planner-band {
  background: var(--soft-coral);
}

.planner-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.planner-band .copy {
  max-width: 48rem;
}

.site-footer {
  padding-block: 3.5rem 2rem;
  background: var(--evergreen-dark);
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr;
  gap: 3rem;
}

.site-footer .brand {
  margin-bottom: 1rem;
}

.site-footer p {
  max-width: 31rem;
  color: #d7e5df;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.footer-links strong {
  margin-bottom: 0.35rem;
}

.footer-links a {
  color: #d7e5df;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #bfd2ca;
  font-size: 0.84rem;
}

.page-header {
  padding-block: 8.5rem 3.5rem;
  background: var(--soft-green);
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  max-width: 48rem;
}

.page-header .lede {
  margin-top: 1rem;
}

.quick-facts {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding-block: 1.5rem;
}

.fact span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}

.fact strong {
  display: block;
  margin-top: 0.3rem;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(15rem, 0.7fr);
  gap: 4rem;
}

.guide-content {
  max-width: 47rem;
}

.guide-content section + section {
  margin-top: 3.5rem;
}

.guide-content h2 {
  margin-bottom: 1rem;
}

.place-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.place-list article {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.place-list h3 {
  margin-bottom: 0.5rem;
}

.guide-aside {
  align-self: start;
  padding-left: 1.75rem;
  border-left: 2px solid var(--coral);
}

.guide-aside h2 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.guide-aside .button {
  width: 100%;
  margin-top: 1.25rem;
}

.article-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2.5rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.article-index a {
  padding: 1.5rem;
  background: var(--surface);
  text-decoration: none;
}

.article-index a:hover {
  background: var(--soft-green);
}

.article-index strong,
.article-index span {
  display: block;
}

.article-index span {
  margin-top: 0.5rem;
  color: var(--muted);
}

.journal-article {
  max-width: 47rem;
  margin-inline: auto;
  scroll-margin-top: 6rem;
}

.journal-article + .journal-article {
  margin-top: 5rem;
  padding-top: 5rem;
  border-top: 1px solid var(--line);
}

.journal-article h2 {
  margin-bottom: 1.25rem;
}

.journal-article p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.planner-page {
  background: var(--surface);
}

.planner-shell {
  display: grid;
  grid-template-columns: minmax(18rem, 23rem) minmax(0, 1fr);
  min-height: 38rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.planner-form-panel {
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  background: #f4f6f4;
}

.planner-form-panel h2,
.itinerary-panel h2 {
  margin-bottom: 1.25rem;
  font-size: 1.45rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.field label,
.field legend {
  font-size: 0.84rem;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid #aeb8b2;
  border-radius: 5px;
  background: var(--surface);
}

.field textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--evergreen);
}

.pace-field {
  padding: 0;
  border: 0;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid #aeb8b2;
  border-radius: 5px;
}

.segmented label {
  position: relative;
  min-width: 0;
  padding: 0.55rem 0.35rem;
  border-right: 1px solid #aeb8b2;
  text-align: center;
  cursor: pointer;
}

.segmented label:last-child {
  border-right: 0;
}

.segmented input {
  position: absolute;
  opacity: 0;
}

.segmented label:has(input:checked) {
  background: var(--evergreen);
  color: #ffffff;
}

.form-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.form-actions .button {
  flex: 1;
}

.itinerary-panel {
  min-width: 0;
  padding: 1.5rem;
}

.planner-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.toolbar-actions button,
.toolbar-actions .button {
  min-height: 2.5rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.84rem;
}

.privacy-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
  background: var(--soft-green);
  color: var(--evergreen-dark);
  font-size: 0.78rem;
  font-weight: 750;
}

.saved-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.saved-suggestions button {
  min-height: 2.25rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  cursor: pointer;
}

.days-list {
  display: grid;
  gap: 0.85rem;
}

.day-card {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) auto;
  gap: 1.1rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.day-date {
  color: var(--evergreen-dark);
  font-size: 0.85rem;
  font-weight: 750;
}

.day-copy h3 {
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

.day-copy p {
  color: var(--muted);
  white-space: pre-line;
}

.day-meta {
  margin-top: 0.55rem;
  color: var(--evergreen-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.day-actions {
  display: grid;
  grid-template-columns: repeat(2, 2.5rem);
  align-content: start;
  gap: 0.35rem;
}

.icon-button {
  width: 2.5rem;
  height: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  cursor: pointer;
}

.icon-button:hover {
  background: var(--soft-green);
}

.empty-state {
  min-height: 15rem;
  display: grid;
  place-items: center;
  padding: 2rem;
  border: 1px dashed #aeb8b2;
  text-align: center;
}

.empty-state strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.empty-state span {
  color: var(--muted);
}

.status-message {
  min-height: 1.5rem;
  margin-top: 0.75rem;
  color: var(--evergreen-dark);
  font-size: 0.85rem;
}

.prose {
  max-width: 48rem;
}

.prose h2 {
  margin: 3rem 0 1rem;
}

.prose ul {
  padding-left: 1.25rem;
}

.not-found {
  display: grid;
  min-height: calc(100svh - 15rem);
  place-items: center;
  padding-block: 8rem 4rem;
}

.not-found-inner {
  max-width: 37rem;
  text-align: center;
}

.not-found-inner .button {
  margin-top: 1.5rem;
}

@media (max-width: 58rem) {
  .feature-layout,
  .guide-layout,
  .planner-shell {
    grid-template-columns: 1fr;
  }

  .guide-aside {
    padding: 1.5rem 0 0;
    border-top: 2px solid var(--coral);
    border-left: 0;
  }

  .planner-form-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .article-index {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 48rem) {
  :root {
    --gutter: 1rem;
  }

  h1,
  .guide-hero h1 {
    font-size: 2.45rem;
  }

  .home-hero h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    z-index: 49;
    inset: 4.5rem 0 auto;
    display: none;
    max-height: calc(100svh - 4.5rem);
    overflow-y: auto;
    padding: 1.25rem var(--gutter) 2rem;
    background: var(--paper);
    box-shadow: var(--shadow);
    color: var(--ink);
  }

  .nav-links.open {
    display: grid;
    gap: 0;
  }

  .nav-links a {
    min-height: 3.25rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a::after {
    display: none;
  }

  .home-hero {
    min-height: 72svh;
  }

  .guide-hero {
    min-height: 54svh;
  }

  .hero-content {
    padding-block: 7rem 2.75rem;
  }

  .section {
    padding-block: 3.75rem;
  }

  .section-heading,
  .planner-band .container,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .destination-card {
    display: grid;
    grid-template-columns: minmax(8.5rem, 40%) minmax(0, 1fr);
  }

  .destination-card > a {
    display: contents;
  }

  .destination-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .card-copy {
    padding: 1rem;
  }

  .card-copy p {
    font-size: 0.9rem;
  }

  .save-button {
    top: 0.5rem;
    left: 0.5rem;
    right: auto;
  }

  .feature-layout {
    gap: 2rem;
  }

  .facts-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .fact {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
  }

  .day-card {
    grid-template-columns: 1fr auto;
  }

  .day-date {
    grid-column: 1 / -1;
  }
}

@media (max-width: 23rem) {
  .destination-card {
    grid-template-columns: 1fr;
  }

  .destination-card img {
    aspect-ratio: 16 / 9;
  }

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

  .toolbar-actions,
  .toolbar-actions .button,
  .toolbar-actions button {
    width: 100%;
  }

  .day-card {
    grid-template-columns: 1fr;
  }

  .day-actions {
    grid-template-columns: repeat(4, 2.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .page-header,
  .planner-form-panel,
  .planner-toolbar,
  .saved-suggestions,
  .day-actions {
    display: none !important;
  }

  body,
  .planner-page,
  .itinerary-panel {
    background: #ffffff;
  }

  .section {
    padding: 0;
  }

  .planner-shell {
    display: block;
    border: 0;
  }

  .day-card {
    break-inside: avoid;
    border-color: #777777;
  }
}
