
:root {
  --paper: #f6f1e8;
  --paper-2: #efe6d6;
  --paper-3: #e8dcc5;
  --ink: #262019;
  --ink-soft: #6b6153;
  --line: #ddd0b9;
  --spruce: #33543f;
  --spruce-dark: #29432f;
  --moss: #6a8a6a;
  --ember: #b4552c;
  --serif: Georgia, "Times New Roman", "PT Serif", "Noto Serif", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 10px 30px rgba(38, 32, 25, .10);
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
a { color: var(--spruce); text-decoration: none; }
a:hover { color: var(--ember); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--spruce); color: #fff; padding: 8px 16px; z-index: 99; }
.skip:focus { left: 8px; top: 8px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 232, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 80px; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand-logo { display: block; height: 38px; width: auto; }
.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a { color: var(--ink-soft); font-size: 1.05rem; padding: 4px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { color: var(--ink); border-bottom-color: var(--ember); }
.lang-switch { margin-left: 20px; color: var(--ember); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.lang-switch:hover { color: var(--ink); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s;
}

/* hero */
.hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,15,8,.1), rgba(20,15,8,.68)); }
.hero-content { position: relative; z-index: 2; color: #fdf9f0; padding: 64px 24px 104px; max-width: var(--max); margin: 0 auto; width: 100%; }
.hero-prev, .hero-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; background: rgba(20,15,8,.28); border: 0; border-radius: 50%; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; opacity: .75; transition: .2s; }
.hero-prev:hover, .hero-next:hover { opacity: 1; background: rgba(20,15,8,.45); }
.hero-prev span, .hero-next span { transform: translateY(-2px); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 9px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.42); cursor: pointer; padding: 0; transition: .2s; }
.hero-dots button.active { background: #fff; transform: scale(1.3); }
.hero-kicker { text-transform: uppercase; letter-spacing: .24em; font-size: .8rem; color: #e8dcc5; margin-bottom: .8em; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); margin: 0; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.35rem); color: #efe6d6; margin: .6em 0 1.4em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn { display: inline-block; padding: 12px 24px; border-radius: 999px; font-size: .95rem; font-weight: 600; transition: .2s; }
.btn-solid { background: var(--ember); color: #fff; }
.btn-solid:hover { background: #9c4623; color: #fff; }
.btn-ghost { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

/* sections */
.section { padding: 84px 0; }
.section-tint { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; color: var(--ember); margin: 0 0 .6em; font-weight: 600; }
.section-title { margin-bottom: .4em; }
.section-lead { color: var(--ink-soft); max-width: 60ch; font-size: 1.05rem; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-top: 40px; }
.team-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.team-photo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 3px solid #fff; box-shadow: var(--shadow); }
.team-card h3 { font-size: 1.05rem; margin-bottom: .2em; }
.team-role { color: var(--ember); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .8em; }
.team-card p:last-child { color: var(--ink-soft); font-size: .95rem; }

/* capabilities */
.caps-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 32px; }
.caps-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.caps-list strong { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--spruce); margin-bottom: .4em; }
.caps-list li { color: var(--ink-soft); font-size: .95rem; }

/* route cards */
.route-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; margin-top: 40px; }
.route-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.route-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(38,32,25,.16); color: var(--ink); }
.route-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.route-card-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.route-type { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--ember); font-weight: 700; }
.route-card h3 { margin: 2px 0 4px; color: var(--ink); }
.route-card p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.route-more { color: var(--spruce); font-weight: 600; font-size: .9rem; }

/* journal */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; margin-top: 40px; }
.post-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); color: var(--ink); transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(38,32,25,.16); color: var(--ink); }
.post-card h3 { color: var(--ink); margin-bottom: .5em; }
.post-card p { color: var(--ink-soft); }
.post-card-wide { display: flex; flex-direction: column; }

/* testimonials */
.testimonials { columns: 2; column-gap: 32px; margin-top: 32px; }
.testimonial { break-inside: avoid; margin: 0 0 28px; padding: 26px; background: #fff; border-left: 3px solid var(--moss); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); }
.testimonial p { font-family: var(--serif); font-size: 1.02rem; font-style: italic; }
.testimonial footer { color: var(--ink-soft); font-size: .9rem; }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 32px 0 0; border-left: 2px solid var(--line); }
.timeline-item { position: relative; padding: 0 0 28px 26px; }
.timeline-item::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ember); }
.timeline-year { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--spruce); }

/* prose (article body) */
.prose { max-width: 68ch; }
.prose h1, .prose h2, .prose h3 { margin-top: 1.4em; }
.prose ol, .prose ul { padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1em 0; }

/* page head */
.page-head { padding: 72px 0 0; }
.page-head h1 { max-width: 30ch; }

/* route detail */
.route-hero { position: relative; min-height: 46vh; display: flex; align-items: flex-end; overflow: hidden; }
.route-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.route-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,15,8,.12), rgba(20,15,8,.66)); }
.route-hero-content { position: relative; color: #fdf9f0; padding: 48px 24px; }
.route-hero-content h1 { margin: .1em 0 .2em; }
.route-tagline { color: #efe6d6; font-size: 1.1rem; }
.route-layout { display: grid; grid-template-columns: 280px 1fr; gap: 48px; }
.route-facts { display: flex; flex-direction: column; gap: 12px; align-self: start; position: sticky; top: 88px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.fact-k { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft); }
.fact-v { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); font-weight: 600; }
.route-map { margin: 1.6em 0; }
.route-map img { border-radius: var(--radius); box-shadow: var(--shadow); }
.route-map figcaption { font-size: .82rem; color: var(--ink-soft); margin-top: .4em; }
.route-gallery-link { margin-top: 1.6em; font-weight: 600; }
.route-cta { margin-top: 1.8em; padding: 20px 22px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); font-size: 1.02rem; }
.route-cta a { font-weight: 600; }
.photo-strip { display: flex; gap: 14px; overflow-x: auto; padding: 12px 0 20px; scroll-snap-type: x mandatory; }
.strip-item { flex: 0 0 auto; scroll-snap-align: start; }
.strip-item img { height: 180px; width: auto; border-radius: 10px; box-shadow: var(--shadow); transition: transform .2s; }
.strip-item:hover img { transform: scale(1.02); }

/* gallery */
.gallery-group { padding: 40px 0 20px; scroll-margin-top: 80px; }
.gallery-title { border-bottom: 1px solid var(--line); padding-bottom: .5em; margin-bottom: 20px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.gallery-grid a { border-radius: 10px; overflow: hidden; }
.gallery-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; height: 100%; transition: transform .25s, filter .25s; }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-toggle { display: inline-block; margin: 18px 0 0; padding: 10px 22px; background: var(--spruce); color: #fff; border: 0; border-radius: 999px; font-size: .9rem; font-family: var(--sans); cursor: pointer; transition: .2s; }
.gallery-toggle:hover { background: var(--spruce-dark); }
.gallery-toggle[hidden] { display: none; }

/* contacts */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.contact-card h2 { font-size: 1.15rem; }

/* article page */
.article-wrap { max-width: 760px; padding-top: 24px; padding-bottom: 24px; }
.article-prose { font-size: 1.06rem; }
.article-prose p { margin-bottom: 1.3em; }
.back-link { margin-top: 40px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(18, 14, 8, .94); z-index: 100; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 4px; }
.lightbox-caption { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #e8dcc5; font-size: .95rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; padding: 12px 16px; opacity: .85;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-close { top: 10px; right: 16px; }
.lightbox-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* footer */
.site-footer { background: var(--spruce-dark); color: #d8d3c6; padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.site-footer .brand-logo { height: 34px; }
.site-footer p { color: #b7b09f; font-size: .92rem; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: #d8d3c6; }
.footer-nav a:hover { color: #fff; }
.footer-contacts p { margin: 0 0 6px; }
.footer-contacts a { color: #d8d3c6; }
.footer-contacts a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; text-align: center; }
.footer-bottom p { margin: 0; font-size: .82rem; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* responsive */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 80px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 24px 20px;
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .testimonials { columns: 1; }
  .route-layout { grid-template-columns: 1fr; }
  .route-facts { position: static; flex-direction: row; flex-wrap: wrap; }
  .fact { flex: 1 1 40%; }
  .footer-inner { grid-template-columns: 1fr; }
}
