:root {
  color-scheme: light;
  --bg: #f6f3ee;
  --surface: #fffdfa;
  --surface-soft: #ebe6dc;
  --ink: #20241f;
  --muted: #687064;
  --line: #ddd5c8;
  --accent: #3f6f61;
  --accent-2: #9c7044;
  --accent-3: #2d4d58;
  --good: #26714f;
  --shadow: 0 20px 55px rgba(42, 38, 31, 0.12);
  --scroll-progress: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 243, 238, 0.9);
  border-bottom: 1px solid rgba(221, 213, 200, 0.82);
  backdrop-filter: blur(18px);
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(var(--scroll-progress));
  transform-origin: left;
}

.topbar.is-scrolled {
  background: rgba(246, 243, 238, 0.96);
  box-shadow: 0 10px 30px rgba(42, 38, 31, 0.08);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 820;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 45%),
    linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.brand:hover .brand-mark { transform: rotate(-4deg) scale(1.04); }

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

nav a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

nav a:hover { transform: translateY(-1px); }

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(63, 111, 97, 0.12);
}

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: end;
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(23, 30, 24, 0.76), rgba(23, 30, 24, 0.34) 52%, rgba(23, 30, 24, 0.16)),
    var(--hero-image);
  background-size: cover;
  background-position: center calc(50% + var(--hero-shift, 0px));
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.08) 49%, transparent 63%);
  transform: translateX(-120%);
  animation: hero-light 1.5s 650ms cubic-bezier(.2,.7,.2,1) both;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0 76px;
  color: #fff;
}

.motion-ready .hero-inner > * {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-enter 720ms cubic-bezier(.2,.75,.25,1) forwards;
}

.motion-ready .hero-inner > :nth-child(2) { animation-delay: 90ms; }
.motion-ready .hero-inner > :nth-child(3) { animation-delay: 180ms; }
.motion-ready .hero-inner > :nth-child(4) { animation-delay: 270ms; }

.eyebrow {
  margin: 0 0 12px;
  color: color-mix(in srgb, var(--accent-2) 28%, #fff);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 { letter-spacing: 0; }
h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
}

.lead {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 22px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 780;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(42, 38, 31, 0.14); }
.button:active { transform: translateY(0); }

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.hero .button {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.94);
}

.hero .button.primary {
  border-color: #fff;
  background: #fff;
  color: #213321;
}

.content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 70px;
}

.section {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

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

.section-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 24px;
}

.section-head h2,
.page h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
}

.section-head p:last-child,
.page-lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat,
.card,
.photo-card,
.doc-block,
.status-list article,
.notice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stat {
  padding: 18px;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.stat:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 42%, var(--line)); box-shadow: 0 14px 30px rgba(42, 38, 31, 0.08); }

.stat strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
}

.stat span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.card-grid,
.status-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  padding: 24px;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 34%, var(--line)); box-shadow: var(--shadow); }

.card span {
  color: var(--accent-2);
  font-weight: 900;
}

.card h3,
.status-list strong,
.doc-block h2 {
  margin: 14px 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

.card p,
.status-list p,
.doc-block p,
.doc-block li,
.notice p {
  color: var(--muted);
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 14px;
}

.photo-card {
  overflow: hidden;
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2,.7,.2,1), filter 400ms ease;
}

.photo-card:hover img { transform: scale(1.035); filter: saturate(1.04) contrast(1.02); }

.photo-card.feature img {
  aspect-ratio: 16 / 10;
}

.photo-card figcaption {
  margin: 0;
  padding: 14px 16px 16px;
  color: var(--muted);
}

.photo-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.itinerary {
  display: grid;
  gap: 12px;
}

.itinerary div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--surface);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.itinerary div:hover { transform: translateX(4px); border-left-color: var(--accent-2); box-shadow: 0 12px 28px rgba(42, 38, 31, 0.07); }

.motion-ready .section,
.motion-ready .stat,
.motion-ready .card,
.motion-ready .photo-card,
.motion-ready .itinerary > div,
.motion-ready .doc-block,
.motion-ready .status-list > article,
.motion-ready .notice {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease var(--reveal-delay, 0ms), transform 620ms cubic-bezier(.2,.72,.25,1) var(--reveal-delay, 0ms);
}

.motion-ready .is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-enter {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-light {
  to { transform: translateX(120%); }
}

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

.page {
  width: min(980px, calc(100% - 40px));
  min-height: 68vh;
  margin: 0 auto;
  padding: 54px 0 70px;
}

.page h1 {
  margin: 10px 0 16px;
}

.status-list {
  margin-top: 26px;
}

.status-list article,
.doc-block,
.notice {
  padding: 24px;
}

.ok {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--good);
  font-weight: 850;
}

.doc-block {
  margin-top: 16px;
}

.doc-block ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-soft);
}

footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 38px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  nav { justify-content: flex-start; }
  .hero { min-height: 68vh; }
  .hero-inner { padding: 76px 0 58px; }
  .section-head,
  .split,
  .photo-grid,
  .card-grid,
  .status-list,
  .stats {
    grid-template-columns: 1fr;
  }
  .itinerary div { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 520px) {
  h1 { font-size: 40px; }
  .content, .page { width: min(100% - 28px, 1180px); }
  .nav, .hero-inner, .footer-inner { width: min(100% - 28px, 1180px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .motion-ready .hero-inner > *,
  .motion-ready .section,
  .motion-ready .stat,
  .motion-ready .card,
  .motion-ready .photo-card,
  .motion-ready .itinerary > div,
  .motion-ready .doc-block,
  .motion-ready .status-list > article,
  .motion-ready .notice { opacity: 1; transform: none; }
}
