:root {
  --base: #1c1f24;
  --surface: #282c34;
  --accent: #10b981;
  --text: #e5e7eb;
  --font-serif: Charter, Georgia, 'Times New Roman', serif;
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  margin: 0; padding: 2vw; background: var(--base); color: var(--text);
  font-family: var(--font-serif); overflow-wrap: anywhere; hyphens: auto; line-height: 1.6;
}
.page-frame {
  border: 1px solid var(--surface); min-height: calc(100vh - 4vw);
  display: flex; flex-direction: column; background: var(--base); position: relative;
}
img { max-width: 100%; height: auto; object-fit: cover; display: block; border-radius: 0; }
a { color: var(--text); text-decoration: none; cursor: pointer; }
.text-link { color: var(--text); position: relative; text-decoration: none; display: inline-block; padding-bottom: 2px; }
.text-link::after { content: ''; position: absolute; width: 100%; height: 1px; bottom: 0; left: 0; background-color: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.3s var(--ease-kinetic); }
.text-link:hover::after { transform: scaleX(1); transform-origin: left; }
.btn {
  background: var(--accent); color: var(--base); display: inline-block;
  padding: 0.75rem 1.5rem; text-decoration: none; border: none; cursor: pointer;
  font-family: var(--font-serif); font-variant: small-caps; text-align: center;
  transition: transform 0.3s var(--ease-kinetic), opacity 0.3s;
}
.btn:hover { transform: translateY(-2px); opacity: 0.9; }
h1, h2, h3, h4, h5, h6 { font-weight: normal; margin-bottom: 1rem; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 5rem); }
h2 { font-size: clamp(2rem, 3vw, 3rem); }
p { margin-bottom: 1rem; }
.label { font-variant: small-caps; letter-spacing: 0.05em; color: var(--accent); display: block; margin-bottom: 0.5rem; font-size: 0.9rem; }
.badge { border-radius: 50%; width: 80px; height: 80px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: var(--base); font-variant: small-caps; flex-shrink: 0; overflow: hidden; }
.badge img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* Header */
.site-header { position: relative; width: 100%; padding: 2rem; border-bottom: 1px solid var(--surface); z-index: 10; background: var(--base); }
.logo-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.logo { font-size: 1.5rem; font-style: italic; font-weight: bold; }
.mobile-toggle { background: transparent; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; display: none; }
.nav-row { display: flex; gap: 2rem; flex-wrap: wrap; }
.nav-row a { font-variant: small-caps; opacity: 0.8; transition: opacity 0.3s; }
.nav-row a:hover { opacity: 1; color: var(--accent); }

/* Hero */
.hero { position: relative; min-height: calc(100vh - 12rem); display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; border-bottom: 1px solid var(--surface); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(28,31,36,0.5), var(--base)); z-index: 1; }
.hero-content { position: relative; z-index: 2; padding: 2rem; max-width: 800px; }

/* Bento Grid */
.bento-wrap { padding: 1rem; }
.bento-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.tile { background: var(--surface); border: 1px solid rgba(229,231,235,0.05); padding: 2.5rem; box-shadow: none; border-radius: 0; display: flex; flex-direction: column; overflow: hidden; position: relative; }
.tile-img { padding: 0; }
.tile-img img { width: 100%; height: 100%; min-height: 250px; }
.tile-accent { background: var(--accent); color: var(--base); }
.tile-accent .label, .tile-accent .text-link { color: var(--base); }
.tile-accent .text-link::after { background-color: var(--base); }
.content-area { max-width: 800px; margin: 0 auto; padding: 4rem 2rem; }

@media (min-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(280px, auto); }
  .span-2c { grid-column: span 2; }
  .span-3c { grid-column: span 3; }
  .span-4c { grid-column: span 4; }
  .span-2r { grid-row: span 2; }
  .mobile-toggle { display: none; }
}
@media (max-width: 1023px) {
  .hero { min-height: 60vh; }
  .mobile-toggle { display: block; }
  .nav-row { display: none; flex-direction: column; gap: 1rem; width: 100%; border-top: 1px solid var(--surface); padding-top: 1rem; }
  .nav-row.active { display: flex; }
}

/* Tools Form */
.trip-tool { display: flex; flex-direction: column; gap: 1rem; }
.trip-tool input, .trip-tool textarea { background: var(--base); border: 1px solid var(--surface); color: var(--text); padding: 0.75rem; font-family: var(--font-serif); border-radius: 0; width: 100%; }
.trip-tool input:focus, .trip-tool textarea:focus { outline: 1px solid var(--accent); }
.trip-tool textarea { resize: vertical; min-height: 120px; }
.tool-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Footer */
.site-footer { margin-top: auto; border-top: 1px solid var(--surface); background: var(--base); }
.newsletter-banner { background: var(--surface); padding: 3rem 2rem; text-align: center; border-bottom: 1px solid var(--surface); }
.newsletter-banner input { padding: 0.75rem; border: 1px solid var(--base); background: var(--base); color: var(--text); border-radius: 0; width: 100%; max-width: 300px; font-family: var(--font-serif); }
.footer-links { padding: 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-bottom { padding: 1.5rem 2rem; border-top: 1px solid var(--surface); font-size: 0.85rem; opacity: 0.7; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* Reveal Animations */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.7s var(--ease-kinetic); }
.reveal-visible { opacity: 1; transform: translateY(0); }
table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
th, td { border: 1px solid var(--surface); padding: 1rem; text-align: left; }
th { font-variant: small-caps; color: var(--accent); }

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
