:root {
  --bg-canvas: #1c1f24;
  --bg-surface: #282c34;
  --bg-surface-elevated: #323842;
  --bg-card: #242830;
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --accent-primary: #14b8a6;
  --accent-hover: #0d9488;
  --accent-subtle: rgba(20, 184, 166, 0.15);
  --border-subtle: #3a3f4b;
  --border-strong: #4b5563;
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 14px 34px -6px rgba(0, 0, 0, 0.45);
  --glow-accent: 0 0 24px -4px rgba(20, 184, 166, 0.4);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-wrap: anywhere;
  hyphens: auto;
  border: 1px solid var(--border-subtle);
  min-height: 100vh;
}

h1, h2, h3, h4, .serif-font {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s var(--ease-kinetic);
}

a:hover {
  color: #5eead4;
}

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

/* Outer layout boundary */
.site-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem 1rem;
}

/* Floating pill header */
.pill-header {
  position: relative;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.9rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.brand-logo-mark {
  width: 14px;
  height: 14px;
  background-color: var(--accent-primary);
  display: inline-block;
  transform: rotate(45deg);
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.6rem;
  transition: all 0.2s var(--ease-kinetic);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-primary);
  background-color: var(--accent-subtle);
}

.nav-toggle-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 1.4rem;
  padding: 0.2rem 0.7rem;
  cursor: pointer;
  border-radius: 4px;
}

.mobile-nav-menu {
  display: none;
  flex-direction: column;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 240px;
  z-index: 99;
  padding: 0.75rem;
  box-shadow: var(--shadow-elevation);
}

.mobile-nav-menu.open {
  display: flex;
}

.mobile-nav-menu .nav-link {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--border-subtle);
}

/* Lead Hero Banner */
.hero-compact {
  background: linear-gradient(135deg, var(--bg-surface) 0%, #1e2229 100%);
  border: 1px solid var(--border-subtle);
  padding: 2.75rem 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.hero-tagline {
  color: var(--accent-primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.hero-compact h1 {
  font-size: 2.4rem;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.hero-compact p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 72ch;
  margin-bottom: 1.75rem;
}

.btn-alpine {
  display: inline-block;
  background-color: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  padding: 0.75rem 1.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.25s var(--ease-kinetic);
}

.btn-alpine:hover {
  background-color: var(--accent-primary);
  color: #121417;
  box-shadow: var(--glow-accent);
}

.btn-alpine-solid {
  background-color: var(--accent-primary);
  color: #121417;
}

.btn-alpine-solid:hover {
  background-color: #5eead4;
  color: #042f2e;
}

/* Two-column engineering grid */
.engineering-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.engineering-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Section styling */
.content-block {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
}

.content-block h2 {
  font-size: 1.65rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
}

.content-block p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.content-block p:last-child {
  margin-bottom: 0;
}

/* Top-anchored mountain photography cards */
.ropeway-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s var(--ease-kinetic), border-color 0.25s ease;
}

.ropeway-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
}

.card-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #15181c;
  overflow: hidden;
}

.card-media-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-kinetic);
}

.ropeway-card:hover .card-media-wrapper img {
  transform: scale(1.03);
}

.badge-alpine-category {
  position: absolute;
  bottom: 0;
  left: 1rem;
  transform: translateY(50%);
  background-color: var(--accent-primary);
  color: #042f2e;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.elevation-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: rgba(20, 24, 30, 0.88);
  border: 1px solid var(--accent-primary);
  color: #f3f4f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.1;
  z-index: 2;
}

.elevation-badge span {
  color: var(--accent-primary);
  font-size: 0.8rem;
}

.card-body {
  padding: 1.75rem 1.5rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.card-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-specs-list {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.8rem;
  margin-bottom: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.card-specs-list li {
  color: var(--text-muted);
}

.card-specs-list strong {
  color: var(--text-primary);
}

/* Interactive Comparator Tool */
.spec-comparator-widget {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 1.75rem;
  margin-bottom: 3rem;
}

.spec-comparator-widget h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.comparator-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.comparator-select {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  border-radius: 2px;
  flex: 1;
  min-width: 220px;
}

.comparator-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.spec-result-card {
  background-color: var(--bg-card);
  border-left: 3px solid var(--accent-primary);
  padding: 1.25rem;
}

.spec-result-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.metric-node {
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dotted var(--border-subtle);
  padding-bottom: 0.25rem;
}

.metric-node span {
  color: var(--text-secondary);
}

.metric-node strong {
  color: var(--accent-primary);
}

/* General Data Tables */
.table-responsive {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.spec-table th, .spec-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-subtle);
}

.spec-table th {
  background-color: var(--bg-surface-elevated);
  color: var(--accent-primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.spec-table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.02);
}

/* Editorial article view */
.article-container {
  max-width: 72ch;
  margin: 0 auto 3rem;
}

.article-container h2 {
  font-size: 1.65rem;
  margin: 2rem 0 1rem;
}

.article-container h3 {
  font-size: 1.3rem;
  margin: 1.5rem 0 0.75rem;
}

.article-container p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.4rem;
}

.article-container ul, .article-container ol {
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
  padding-left: 1.5rem;
}

.article-container li {
  margin-bottom: 0.5rem;
}

.callout-box {
  background-color: var(--bg-surface);
  border-left: 4px solid var(--accent-primary);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-primary);
}

/* Contact form & interactive helper */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-field-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.form-input, .form-textarea {
  width: 100%;
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  padding: 0.75rem;
  font-size: 0.95rem;
  border-radius: 2px;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px var(--accent-subtle);
}

.form-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.75rem;
  border: 1px solid var(--accent-primary);
  background-color: var(--accent-subtle);
  color: var(--text-primary);
  display: none;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: Georgia, serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--accent-primary);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Scroll reveal helper */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-kinetic), transform 0.6s var(--ease-kinetic);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer Section */
.site-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  color: var(--text-secondary);
}

.footer-nav a:hover {
  color: var(--accent-primary);
}

.footer-meta-block {
  line-height: 1.5;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsive queries */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .nav-toggle-btn {
    display: block;
  }
  .engineering-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  .hero-compact h1 {
    font-size: 1.85rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

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