/* ============================================================
   Matanuska Glacier Hike — stylesheet
   Design system: Frozen Frontier
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,900;1,600&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600&display=swap');

:root{
  /* --- color tokens --- */
  --navy:        #0D2B3E;   /* Deep Fjord Navy — dark sections, primary text */
  --navy-soft:   #17415A;
  --teal:        #12809C;   /* Glacier Teal — brand primary */
  --teal-light:  #4FC3D9;
  --ice:         #EEF8FA;   /* Ice White — page background */
  --frost:       #FFFFFF;
  --coral:       #FF6F4C;   /* Alpenglow Coral — accents */
  --coral-dark:  #E1502E;
  --green:       #1FAE5C;   /* Trail Green — commercial / booking buttons */
  --green-dark:  #158A48;
  --amber:       #F3A712;   /* stars */
  --ink:         #17262E;   /* body text on light bg */
  --ink-soft:    #4C6672;
  --line:        #D6E8EC;

  /* --- type --- */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', -apple-system, Segoe UI, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* --- layout --- */
  --max-w: 1180px;
  --radius: 14px;
  --nav-h: 78px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 14px); }
@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; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--ice);
  background-image:
    radial-gradient(circle at 6% 4%, rgba(79,195,217,0.22), transparent 40%),
    radial-gradient(circle at 94% 12%, rgba(255,111,76,0.13), transparent 38%),
    radial-gradient(circle at 50% 65%, rgba(18,128,156,0.12), transparent 46%),
    radial-gradient(rgba(13,43,62,0.05) 1px, transparent 1px);
  background-size: auto, auto, auto, 26px 26px;
  background-attachment: fixed, fixed, fixed, fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 640px){
  body{ background-attachment: scroll, scroll, scroll, scroll; }
}

/* ---- Ambient snowfall, drifting across the whole site ---- */
.ambient-snow{
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
}
.ambient-snow span{
  position: absolute;
  top: -6%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.65);
  box-shadow: 0 0 4px rgba(255,255,255,0.5);
  animation: mghAmbientFall linear infinite;
}
@keyframes mghAmbientFall{
  0%{ transform: translateY(-6vh) translateX(0); }
  50%{ transform: translateY(50vh) translateX(18px); }
  100%{ transform: translateY(106vh) translateX(-14px); }
}
.ambient-snow span:nth-child(1){ left: 2%; animation-duration: 24s; animation-delay: -1s; }
.ambient-snow span:nth-child(2){ left: 9%; animation-duration: 31s; animation-delay: -9s; width: 3px; height: 3px; }
.ambient-snow span:nth-child(3){ left: 16%; animation-duration: 19s; animation-delay: -4s; }
.ambient-snow span:nth-child(4){ left: 23%; animation-duration: 27s; animation-delay: -14s; width: 6px; height: 6px; opacity: 0.5; }
.ambient-snow span:nth-child(5){ left: 30%; animation-duration: 22s; animation-delay: -7s; }
.ambient-snow span:nth-child(6){ left: 37%; animation-duration: 33s; animation-delay: -20s; width: 3px; height: 3px; }
.ambient-snow span:nth-child(7){ left: 44%; animation-duration: 25s; animation-delay: -3s; }
.ambient-snow span:nth-child(8){ left: 51%; animation-duration: 29s; animation-delay: -16s; width: 5px; height: 5px; opacity: 0.55; }
.ambient-snow span:nth-child(9){ left: 58%; animation-duration: 20s; animation-delay: -11s; }
.ambient-snow span:nth-child(10){ left: 65%; animation-duration: 32s; animation-delay: -6s; width: 3px; height: 3px; }
.ambient-snow span:nth-child(11){ left: 72%; animation-duration: 23s; animation-delay: -18s; }
.ambient-snow span:nth-child(12){ left: 79%; animation-duration: 28s; animation-delay: -2s; width: 6px; height: 6px; opacity: 0.5; }
.ambient-snow span:nth-child(13){ left: 86%; animation-duration: 21s; animation-delay: -13s; }
.ambient-snow span:nth-child(14){ left: 93%; animation-duration: 30s; animation-delay: -8s; width: 3px; height: 3px; }
.ambient-snow span:nth-child(15){ left: 12%; animation-duration: 26s; animation-delay: -22s; }
.ambient-snow span:nth-child(16){ left: 47%; animation-duration: 24s; animation-delay: -5s; width: 5px; height: 5px; opacity: 0.5; }
.ambient-snow span:nth-child(17){ left: 83%; animation-duration: 31s; animation-delay: -17s; }
.ambient-snow span:nth-child(18){ left: 60%; animation-duration: 19s; animation-delay: -10s; width: 3px; height: 3px; }
.ambient-snow span:nth-child(19){ left: 35%; animation-duration: 27s; animation-delay: -24s; }
.ambient-snow span:nth-child(20){ left: 5%; animation-duration: 33s; animation-delay: -15s; width: 5px; height: 5px; opacity: 0.45; }
@media (max-width: 640px){
  .ambient-snow span:nth-child(n+11){ display: none; }
}
@media (prefers-reduced-motion: reduce){
  .ambient-snow{ display: none; }
}

img{ max-width: 100%; display: block; }
a{ color: var(--teal); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover{ color: var(--coral-dark); }

:focus-visible{
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link{
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--navy);
  color: var(--frost);
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 300;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus{ top: 12px; }

h1, h2, h3{
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.14;
  letter-spacing: -0.01em;
}
h2{ font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 700; }
h3{ font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); font-weight: 700; }
p{ margin: 0 0 1em; color: var(--ink-soft); }

.container{
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

section{ padding-block: clamp(52px, 6vw, 96px); }
.content-section.on-pale{
  background-color: var(--frost);
  background-image:
    radial-gradient(circle at 88% -6%, rgba(79,195,217,0.14), transparent 46%),
    radial-gradient(circle at 4% 106%, rgba(255,111,76,0.08), transparent 42%),
    radial-gradient(rgba(13,43,62,0.035) 1px, transparent 1px);
  background-size: auto, auto, 24px 24px;
}

/* ============================================================
   Signature element — jagged "crevasse" dividers between sections
   ============================================================ */
.crevasse-divider{
  height: 44px;
  width: 100%;
  background: var(--frost);
  clip-path: polygon(
    0% 100%, 5% 25%, 10% 70%, 15% 15%, 20% 60%, 25% 20%, 30% 68%,
    35% 12%, 40% 58%, 45% 22%, 50% 70%, 55% 18%, 60% 62%, 65% 15%,
    70% 66%, 75% 20%, 80% 60%, 85% 14%, 90% 65%, 95% 22%, 100% 100%
  );
}
.crevasse-divider.on-frost{ background: var(--ice); }
.crevasse-divider.on-pale{ background: var(--frost); }
.crevasse-divider.flip{ transform: scaleY(-1); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 150;
  background: rgba(238,248,250,0.98);
  border-bottom: 1px solid var(--line);
}
.header-bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 16px;
}

/* ---- Icicle trim hanging off the header ---- */
.icicles{
  position: absolute;
  left: 0; right: 0; bottom: -13px;
  display: flex;
  justify-content: space-between;
  padding-inline: 10px;
  pointer-events: none;
}
.icicles span{
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 13px solid rgba(191,230,236,0.9);
  filter: drop-shadow(0 2px 2px rgba(13,43,62,0.15));
}
.icicles span:nth-child(3n){ border-top-width: 20px; border-top-color: rgba(143,214,232,0.95); }
.icicles span:nth-child(4n){ border-top-width: 9px; }
.icicles span:nth-child(5n){ border-top-width: 16px; border-top-color: rgba(255,255,255,0.95); }
@media (max-width: 640px){
  .icicles span:nth-child(n+13){ display: none; }
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}
.brand-mark{ flex-shrink: 0; border-radius: 50%; }
.brand-word{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.15;
  color: var(--navy);
}

.nav-toggle{
  display: none;
  width: 44px; height: 44px;
  border: none;
  background: var(--navy);
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after{
  content: "";
  position: absolute;
  left: 11px; right: 11px;
  height: 2.5px;
  background: var(--frost);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}
.nav-toggle span{ top: 21px; }
.nav-toggle span::before{ top: -8px; }
.nav-toggle span::after{ top: 8px; }
.nav-toggle[aria-expanded="true"] span{ background: transparent; }
.nav-toggle[aria-expanded="true"] span::before{ top: 0; transform: rotate(45deg); background: var(--frost); }
.nav-toggle[aria-expanded="true"] span::after{ top: 0; transform: rotate(-45deg); background: var(--frost); }

.main-nav ul{
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a{
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 2px;
  position: relative;
}
.main-nav a::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--coral);
  transition: width 0.2s ease;
}
.main-nav a:hover::after{ width: 100%; }

@media (max-width: 880px){
  .nav-toggle{ display: block; }
  .main-nav{
    position: fixed;
    z-index: 200;
    inset: var(--nav-h) 0 0 0;
    background: var(--navy);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    overflow-y: auto;
  }
  .main-nav.is-open{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav ul{
    flex-direction: column;
    gap: 0;
    padding: 18px 24px 32px;
  }
  .main-nav a{
    display: block;
    color: var(--frost);
    padding: 16px 4px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .main-nav a::after{ display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--green);
  color: var(--frost);
  box-shadow: 0 10px 24px -8px rgba(31,174,92,0.5);
}
.btn-primary:hover{
  background: var(--green-dark);
  color: var(--frost);
  transform: translateY(-2px);
}
.btn-secondary{
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover{
  background: var(--navy);
  color: var(--frost);
}
.external-icon{ font-size: 0.9em; }

.link-arrow{
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
}
.link-arrow:hover{ color: var(--coral-dark); }

/* ============================================================
   HERO
   ============================================================ */
.hero{ padding-top: clamp(40px, 5vw, 64px); text-align: center; }
.hero-center{
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1{
  font-size: clamp(2.3rem, 1.8rem + 2.3vw, 3.6rem);
  margin-bottom: 0.15em;
}
.slogan{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--coral);
  font-size: 1.3rem;
  margin-bottom: 0.7em;
}
.hero-intro{ font-size: 1.05rem; max-width: 52ch; margin-inline: auto; }

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 1.6em 0 2.4em;
}

.hero-stats{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding-top: 2.2em;
  border-top: 1px solid var(--line);
}
.hero-stat{
  flex: 1 1 160px;
  max-width: 220px;
  background: var(--frost);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.hero-stat-icon{
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(18,128,156,0.12);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.hero-stat-icon svg{ width: 20px; height: 20px; }
.hero-stat strong{ color: var(--navy); font-size: 0.92rem; }
.hero-stat span{ font-size: 0.8rem; color: var(--ink-soft); }

@media (max-width: 640px){
  .hero-stat{ flex: 1 1 100%; max-width: 340px; }
}

/* ============================================================
   CAROUSEL GALLERY
   ============================================================ */
.gallery-section > .container > p{ max-width: 62ch; }
.carousel{ position: relative; margin-top: 2.2em; }
.carousel-viewport{
  overflow: hidden;
  border-radius: var(--radius);
}
.carousel-track{
  display: flex;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
}
.carousel-slide{
  flex: 0 0 100%;
  margin: 0;
  position: relative;
}
.carousel-img-btn{
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  position: relative;
}
.carousel-img-btn img{
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.expand-icon{
  position: absolute;
  right: 16px; bottom: 16px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(13,43,62,0.72);
  color: var(--frost);
  border-radius: 10px;
  font-size: 1.1rem;
}

.carousel-arrow{
  position: absolute;
  top: calc(50% - 24px);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--frost);
  color: var(--navy);
  box-shadow: 0 8px 20px -6px rgba(13,43,62,0.35);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.carousel-arrow svg{ width: 22px; height: 22px; }
.carousel-arrow:hover{ background: var(--coral); color: var(--frost); }
.carousel-arrow.prev{ left: -10px; }
.carousel-arrow.next{ right: -10px; }
@media (max-width: 640px){
  .carousel-arrow.prev{ left: 6px; }
  .carousel-arrow.next{ right: 6px; }
  .carousel-arrow{ width: 40px; height: 40px; }
}

.carousel-dots{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.4em;
}
.carousel-dots button{
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--frost);
  box-shadow: 0 1px 4px rgba(13,43,62,0.35), 0 0 0 1px rgba(13,43,62,0.12);
  cursor: pointer;
  padding: 0;
}
.carousel-dots button.is-active{ background: var(--coral); width: 26px; border-radius: 999px; }

/* ============================================================
   HIGHLIGHTS
   ============================================================ */
.highlights-grid{
  list-style: none;
  margin: 1.6em 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.highlights-grid li{
  background: var(--frost);
  border: 1px solid var(--line);
  padding: 22px 26px 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.highlights-grid .shard{ width: 26px; height: 26px; flex-shrink: 0; margin-top: 2px; }
.highlights-grid p{ margin: 0; color: var(--ink); font-weight: 500; }

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.content-section .container{ max-width: 860px; }
.content-section p{ font-size: 1.02rem; }
.content-section a{ font-weight: 600; }

/* ============================================================
   CTA BANNERS
   ============================================================ */
.cta-wrap{ padding-block: 8px; background: var(--ice); }
.cta-wrap.on-frost{ background: var(--frost); }
.cta-banner{
  background-image:
    radial-gradient(ellipse 420px 260px at 8% -20%, rgba(79,195,217,0.35), transparent 60%),
    radial-gradient(ellipse 360px 240px at 100% 120%, rgba(255,111,76,0.22), transparent 55%),
    linear-gradient(120deg, var(--navy), var(--navy-soft));
  border-radius: var(--radius);
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--frost);
}
.cta-banner-text h3{ color: var(--frost); margin-bottom: 0.3em; }
.cta-banner-text p{ color: rgba(255,255,255,0.78); margin: 0; max-width: 46ch; }
.cta-banner .btn-primary{ flex-shrink: 0; }

/* ============================================================
   ITINERARY / TIMELINE
   ============================================================ */
.itinerary-section{ position: relative; overflow: hidden; }
.itinerary-section::before{
  content: "";
  position: absolute;
  left: -5%; right: -5%; bottom: -4%;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(18,128,156,0.09));
  clip-path: polygon(0% 100%, 0% 62%, 10% 30%, 20% 55%, 30% 15%, 40% 48%, 50% 22%, 60% 52%, 70% 18%, 80% 50%, 90% 26%, 100% 58%, 100% 100%);
  pointer-events: none;
}
.itinerary-section .container{ max-width: 900px; position: relative; }
.timeline{
  margin-top: 2em;
  border-left: 3px solid var(--line);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.timeline-step{ position: relative; }
.timeline-step::before{
  content: "";
  position: absolute;
  left: -34px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--ice);
  box-shadow: 0 0 0 2px var(--teal);
}
.timeline-step.is-glacier::before{ background: var(--coral); box-shadow: 0 0 0 2px var(--coral); }
.step-time{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}
.timeline-step h3{ margin: 0.25em 0 0.3em; }
.timeline-step p{ margin: 0; }
.timeline-note{ display: block; font-size: 0.85rem; color: var(--teal); margin-top: 0.4em; font-weight: 600; }

/* ============================================================
   TRIP ESSENTIALS
   ============================================================ */
.prep-section .container{ max-width: 980px; }
.prep-grid{
  margin-top: 2em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.prep-card{
  background: var(--frost);
  border: 1px solid var(--line);
  padding: 22px 26px 22px 22px;
  border-top: 4px solid var(--teal);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}
.prep-card.excludes{ border-top-color: var(--ink-soft); }
.prep-card.not-suitable{ border-top-color: var(--coral); }
.prep-card h3{ margin-bottom: 0.6em; }
.prep-card ul{ margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.prep-card li{ margin-bottom: 0.4em; }

.prep-card.includes ul,
.prep-card.excludes ul,
.prep-card.not-suitable ul{
  list-style: none;
  padding-left: 0;
}
.prep-card.includes li,
.prep-card.excludes li,
.prep-card.not-suitable li{
  position: relative;
  padding-left: 1.6em;
}
.prep-card.includes li::before,
.prep-card.excludes li::before,
.prep-card.not-suitable li::before{
  position: absolute;
  left: 0;
  top: 0.05em;
  font-weight: 800;
  font-size: 0.95em;
}
.prep-card.includes li::before{ content: "✓"; color: var(--green); }
.prep-card.excludes li::before{ content: "✕"; color: var(--coral-dark); }
.prep-card.not-suitable li::before{ content: "✕"; color: var(--coral-dark); }

.know-before{
  margin-top: 28px;
  background: var(--frost);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.know-before h3{ margin-bottom: 0.6em; }
.know-before ul{ margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.know-before li{ margin-bottom: 0.4em; }

.meeting-point-card{
  margin-top: 18px;
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse 380px 240px at 92% -15%, rgba(79,195,217,0.3), transparent 60%),
    radial-gradient(ellipse 300px 200px at 6% 118%, rgba(255,111,76,0.18), transparent 55%);
  color: var(--frost);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.meeting-point-card h3{ color: var(--frost); }
.meeting-point-card p{ color: rgba(255,255,255,0.82); }
.meeting-point-card .link-arrow{ color: var(--teal-light); }
.meeting-point-card .link-arrow:hover{ color: var(--coral); }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-section{ position: relative; overflow: hidden; }
.reviews-section::before{
  content: "";
  position: absolute;
  left: -5%; right: -5%; top: -3%;
  height: 40%;
  background: linear-gradient(0deg, transparent, rgba(255,111,76,0.06));
  clip-path: polygon(0% 0%, 0% 45%, 9% 78%, 18% 50%, 27% 84%, 36% 55%, 45% 80%, 54% 48%, 63% 82%, 72% 52%, 81% 78%, 90% 46%, 100% 74%, 100% 0%);
  pointer-events: none;
}
.reviews-section .container{ max-width: 1180px; position: relative; }
.reviews-meta{ font-size: 0.95rem; }
.reviews-grid{
  margin-top: 1.8em;
  columns: 3 320px;
  column-gap: 20px;
}
.review-card{
  break-inside: avoid;
  background: var(--frost);
  border: 1px solid var(--line);
  padding: 22px 28px 22px 22px;
  margin-bottom: 20px;
  display: inline-block;
  width: 100%;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.stars{ color: var(--amber); letter-spacing: 2px; font-size: 0.95rem; }
.stars .void{ color: var(--line); }
.review-text{ margin: 0.6em 0 0.9em; color: var(--ink); font-size: 0.96rem; }
.review-author{ display: block; font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.review-location{ display: block; font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 0.8em; }
.review-reply{
  background: var(--ice);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 0.6em;
}
.review-reply-label{
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4em;
}
.review-reply p{ margin: 0; font-size: 0.87rem; color: var(--ink-soft); }

@media (max-width: 900px){ .reviews-grid{ columns: 2 280px; } }
@media (max-width: 620px){ .reviews-grid{ columns: 1; } }

/* ============================================================
   FOOTER CTA (2 columns)
   ============================================================ */
.footer-cta{
  background-image:
    radial-gradient(ellipse 620px 380px at 10% -15%, rgba(79,195,217,0.24), transparent 60%),
    radial-gradient(ellipse 500px 340px at 96% 115%, rgba(255,111,76,0.16), transparent 55%),
    linear-gradient(120deg, var(--navy), #0A2030);
  padding-block: clamp(52px, 6vw, 88px);
}
.footer-cta .container{
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: center;
}
.footer-cta-text h2{ color: var(--frost); margin-bottom: 0.35em; }
.footer-cta-text p{ color: rgba(255,255,255,0.78); margin: 0; }
.footer-cta-action{ display: flex; justify-content: flex-end; }
@media (max-width: 720px){
  .footer-cta .container{ grid-template-columns: 1fr; text-align: center; }
  .footer-cta-action{ justify-content: center; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{
  position: relative;
  overflow: hidden;
  background-color: #0A2030;
  background-image:
    radial-gradient(ellipse 700px 400px at 85% 0%, rgba(79,195,217,0.16), transparent 60%),
    radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: auto, 24px 24px;
  color: rgba(255,255,255,0.75);
  padding-block: 56px 28px;
}
.site-footer::before{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(79,195,217,0.14));
  clip-path: polygon(0% 100%, 0% 55%, 8% 30%, 16% 52%, 24% 18%, 32% 46%, 40% 24%, 48% 50%, 56% 20%, 64% 48%, 72% 26%, 80% 54%, 88% 16%, 94% 44%, 100% 28%, 100% 100%);
  pointer-events: none;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
.footer-brand{ margin-bottom: 14px; }
.footer-brand .brand-word{ color: var(--frost); }
.footer-about p{ color: rgba(255,255,255,0.65); font-size: 0.9rem; max-width: 34ch; }
.footer-heading{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 14px;
}
.footer-links, .footer-contact-list{ list-style: none; margin: 0; padding: 0; }
.footer-links li, .footer-contact-list li{ margin-bottom: 10px; }
.footer-links a, .footer-contact-list a{
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-links a:hover, .footer-contact-list a:hover{ color: var(--coral); }
.footer-contact-list span{ color: rgba(255,255,255,0.8); font-size: 0.92rem; }

.footer-bottom{
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 780px){
  .footer-grid{ grid-template-columns: 1fr; gap: 30px; }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top{
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--coral);
  color: var(--frost);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 26px -8px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease;
  z-index: 140;
}
.back-to-top svg{ width: 22px; height: 22px; }
.back-to-top.is-visible{ opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover{ background: var(--coral-dark); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(10,26,38,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 500;
  padding: 24px;
}
.lightbox.is-open{ opacity: 1; pointer-events: auto; }
.lightbox-img{
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 70px -10px rgba(0,0,0,0.6);
}
.lightbox-close{
  position: absolute;
  top: 18px; right: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: var(--frost);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover{ background: var(--coral); }
.lightbox-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: var(--frost);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox-arrow svg{ width: 24px; height: 24px; }
.lightbox-arrow:hover{ background: var(--coral); }
.lightbox-arrow.prev{ left: 18px; }
.lightbox-arrow.next{ right: 18px; }
@media (max-width: 640px){
  .lightbox-arrow{ width: 42px; height: 42px; }
  .lightbox-arrow.prev{ left: 8px; }
  .lightbox-arrow.next{ right: 8px; }
}

/* ============================================================
   ARTICLES INDEX BLOCK (homepage)
   ============================================================ */
.articles-section{
  position: relative;
  background-color: var(--frost);
  background-image:
    radial-gradient(circle at 92% 0%, rgba(79,195,217,0.14), transparent 46%),
    radial-gradient(circle at 2% 100%, rgba(255,111,76,0.08), transparent 42%),
    radial-gradient(rgba(13,43,62,0.035) 1px, transparent 1px);
  background-size: auto, auto, 24px 24px;
}
.articles-section .container{ max-width: 1180px; }
.articles-section > .container > p{ max-width: 62ch; }
.articles-grid{
  margin-top: 2em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.article-card{
  background: var(--ice);
  border: 1px solid var(--line);
  padding: 24px 26px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}
.article-card-label{
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--coral);
}
.article-card h3{ margin: 0; font-size: 1.15rem; }
.article-card h3 a{ color: var(--navy); text-decoration: none; }
.article-card h3 a:hover{ color: var(--teal); }
.article-card p{ margin: 0; font-size: 0.9rem; color: var(--ink-soft); flex-grow: 1; }
.article-card-link{
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--teal);
  text-decoration: none;
}
.article-card-link:hover{ color: var(--coral-dark); }

/* ============================================================
   ARTICLE PAGES (shared template)
   ============================================================ */
.breadcrumb-bar{
  background: var(--frost);
  border-bottom: 1px solid var(--line);
  padding-block: 14px;
}
.breadcrumb{
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 24px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.breadcrumb a{ color: var(--teal); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover{ color: var(--coral-dark); }

.article-hero{
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(36px, 5vw, 56px) 24px 0;
}
.article-hero h1{ font-size: clamp(2rem, 1.6rem + 1.6vw, 2.9rem); margin-bottom: 0.4em; }
.article-dek{ font-size: 1.08rem; color: var(--ink-soft); }

.article-body{
  max-width: 760px;
  margin-inline: auto;
  padding: 12px 24px 8px;
}
.article-body h2{ font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); margin-top: 1.4em; }
.article-body p{ font-size: 1.02rem; }
.article-body ul, .article-body ol{ color: var(--ink-soft); padding-left: 1.3em; margin-bottom: 1.2em; }
.article-body li{ margin-bottom: 0.5em; }
.article-body a{ font-weight: 600; }
.article-body strong{ color: var(--navy); }

.table-wrap{ overflow-x: auto; margin: 1.4em 0; border-radius: 12px; border: 1px solid var(--line); }
.article-table{ width: 100%; border-collapse: collapse; min-width: 480px; font-size: 0.94rem; }
.article-table th, .article-table td{ padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.article-table th{ background: var(--ice); color: var(--navy); font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.article-table tr:last-child td{ border-bottom: none; }

.article-cta{
  max-width: 760px;
  margin: 2.6em auto 0;
  padding: 30px 24px;
}
.article-cta-box{
  background-image:
    radial-gradient(ellipse 420px 260px at 8% -20%, rgba(79,195,217,0.35), transparent 60%),
    radial-gradient(ellipse 360px 240px at 100% 120%, rgba(255,111,76,0.22), transparent 55%),
    linear-gradient(120deg, var(--navy), var(--navy-soft));
  border-radius: var(--radius);
  padding: 32px 34px;
  text-align: center;
  color: var(--frost);
}
.article-cta-box h2{ color: var(--frost); margin-bottom: 0.3em; }
.article-cta-box p{ color: rgba(255,255,255,0.8); max-width: 52ch; margin-inline: auto; }
.article-cta-box .btn{ margin-top: 1.2em; }

.article-footer-nav{
  max-width: 760px;
  margin: 1.5em auto 3em;
  padding-inline: 24px;
}
.article-footer-nav a{
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
}
.article-footer-nav a:hover{ color: var(--coral-dark); }

@media (max-width: 640px){
  .article-cta-box{ padding: 26px 22px; }
}

/* ============================================================
   MOBILE: buttons centered and one-sized
   ============================================================ */
@media (max-width: 640px){
  .btn{
    width: 100%;
    max-width: 360px;
    padding: 16px 24px;
    font-size: 1rem;
    text-align: center;
  }
  .hero-actions{
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn{ width: 100%; }
  .cta-banner{
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 26px 22px;
  }
  .cta-banner .btn{ align-self: center; }
  .footer-cta-action .btn{ width: 100%; max-width: 360px; margin-inline: auto; }
}
