:root {
  --bg: #f2f2f2;
  --bg-soft: rgba(255, 255, 255, 0.9);
  --bg-strong: #ffffff;
  --ink: #111111;
  --muted: #555555;
  --line: rgba(17, 17, 17, 0.12);
  --accent: #111111;
  --accent-deep: #2b2b2b;
  --sand: #8a8a8a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI Variable", "Candara", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #efefef 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 90%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  width: min(100% - 32px, var(--content-width));
  margin: 0 auto;
  padding: 28px 0 52px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Bahnschrift SemiBold", "Franklin Gothic Medium", sans-serif;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, #000000 0%, #2d2d2d 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.brand-text {
  font-size: 0.95rem;
}

.nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  padding-top: 14px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 30px;
  align-items: center;
  padding: 44px 0 22px;
}

.hero-copy {
  padding: 18px 0;
}

.eyebrow,
.section-kicker,
.panel-label,
.note-label,
.caption-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 17, 17, 0.08);
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.detail-panel h3,
.route-card h2,
.route-card h3 {
  font-family: "Bahnschrift SemiBold", "Trebuchet MS", sans-serif;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.5rem, 6vw, 4.9rem);
  line-height: 0.94;
  max-width: 11ch;
}

.hero-text {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.photo-card:hover,
.photo-card:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #000000 0%, #2c2c2c 100%);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.88);
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4d4d4d, #111111);
  box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.08);
}

.org-badge,
.contact-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.org-badge {
  width: fit-content;
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 22px;
}

.org-badge-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.org-phone,
.contact-phone {
  display: inline-block;
  margin-top: 8px;
  font-family: "Bahnschrift SemiBold", "Trebuchet MS", sans-serif;
  letter-spacing: -0.03em;
}

.org-phone {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.org-name {
  margin: 8px 0 0;
  color: var(--ink);
}

.card,
.snapshot-card,
.detail-panel,
.photo-card,
.route-card,
.footer {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--bg-soft);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-media {
  min-height: 540px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px 18px 20px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.72);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.media-caption p {
  margin: 12px 0 0;
  line-height: 1.5;
}

.floating-note {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.floating-note strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
}

.snapshot-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 10px 0 12px;
}

.snapshot-card {
  padding: 24px 24px 28px;
}

.snapshot-index {
  font-family: "Bahnschrift SemiBold", "Trebuchet MS", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  color: #000000;
}

.snapshot-card h2 {
  margin: 16px 0 10px;
  font-size: 1.45rem;
}

.snapshot-card p,
.detail-panel p,
.detail-list,
.photo-meta,
.route-card p,
.footer p {
  color: var(--muted);
  line-height: 1.65;
}

.section {
  margin-top: 30px;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  margin: 16px 0 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
}

.details-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.9fr;
  gap: 18px;
  margin-top: 24px;
}

.detail-panel {
  padding: 26px;
}

.detail-panel-accent {
  color: white;
  background:
    linear-gradient(145deg, rgba(0, 0, 0, 0.96), rgba(38, 38, 38, 0.94)),
    var(--bg-soft);
}

.detail-panel-accent p,
.detail-panel-accent h3 {
  color: rgba(255, 255, 255, 0.95);
}

.detail-panel-accent .panel-label,
.contact-panel-primary .panel-label {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
}

.detail-panel h3 {
  margin: 16px 0 12px;
  font-size: 1.65rem;
  line-height: 1.1;
}

.detail-list {
  margin: 18px 0 0;
  padding-left: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.photo-card {
  padding: 0;
  border: 1px solid var(--line);
  text-align: left;
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
}

.photo-card-wide {
  grid-column: span 7;
}

.photo-card-tall {
  grid-column: span 5;
  grid-row: span 2;
}

.gallery-grid .photo-card:not(.photo-card-wide):not(.photo-card-tall) {
  grid-column: span 5;
}

.photo-meta {
  display: grid;
  gap: 4px;
  padding: 18px 18px 20px;
  background: rgba(255, 255, 255, 0.96);
}

.photo-meta strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.route-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.route-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
}

.route-step {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, #000000 0%, #3b3b3b 100%);
  font-family: "Bahnschrift SemiBold", "Trebuchet MS", sans-serif;
}

.route-grid h3 {
  margin: 16px 0 10px;
  font-size: 1.25rem;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  margin-top: 24px;
}

.contact-panel {
  padding: 26px;
  border-radius: var(--radius-xl);
}

.contact-panel-primary {
  color: white;
  background:
    linear-gradient(145deg, rgba(0, 0, 0, 0.96), rgba(46, 46, 46, 0.94)),
    rgba(255, 255, 255, 0.72);
}

.contact-panel-primary .panel-label,
.contact-panel-primary .contact-support,
.contact-panel-primary .contact-phone {
  color: rgba(255, 255, 255, 0.95);
}

.contact-phone {
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact-support {
  margin: 10px 0 0;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
}

.contact-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-list dt {
  color: var(--muted);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-list dd {
  margin: 6px 0 0;
  font-size: 1.08rem;
  color: var(--ink);
}

.footer {
  margin-top: 28px;
  padding: 24px 28px;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 30;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.78);
}

.lightbox-dialog {
  position: relative;
  width: min(100%, 980px);
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
}

.lightbox-image {
  width: 100%;
  max-height: 72vh;
  border-radius: 18px;
  object-fit: contain;
  background: #eeeeee;
}

.lightbox-caption {
  margin: 14px 8px 6px;
  color: var(--muted);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: rgba(10, 18, 20, 0.72);
  cursor: pointer;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .page-shell {
    width: min(100% - 22px, var(--content-width));
    padding-top: 18px;
  }

  .hero-grid,
  .snapshot-strip,
  .details-grid,
  .route-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 28px;
  }

  .hero-grid {
    padding-top: 28px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-media {
    min-height: 420px;
  }

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

  .photo-card,
  .photo-card-wide,
  .photo-card-tall,
  .gallery-grid .photo-card:not(.photo-card-wide):not(.photo-card-tall) {
    grid-column: auto;
    grid-row: auto;
  }

  .nav-links {
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
  }

  .brand {
    align-items: flex-start;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.3rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .floating-note {
    top: 16px;
    right: 16px;
  }

  .media-caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .route-card,
  .detail-panel,
  .snapshot-card,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
