/* ============================================
   CHASE MERRITT — Telluride Ski & Golf Showcase
   ============================================ */

.cm-tsg {
  --cm-tsg-ink: #1A1917;
  --cm-tsg-copy: #6B6560;
  --cm-tsg-muted: #8A857E;
  --cm-tsg-line: rgba(26, 25, 23, 0.08);
  --cm-tsg-panel: #F4F2EE;
  --cm-tsg-wash: #E8EDF2;
  --cm-tsg-accent: rgb(100, 135, 165);
  --cm-tsg-gold: rgb(170, 130, 85);
  background: #FCFBF8;
  padding: 0 0 72px;
  color: var(--cm-tsg-ink);
}

.cm-tsg * {
  box-sizing: border-box;
}

.cm-tsg-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  margin-top: calc(-1 * var(--cm-header-height));
  padding: clamp(96px, 10vh, 124px) 0 58px;
  overflow: hidden;
  background: #0E1216;
}

.cm-tsg-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.cm-tsg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 12, 0.72) 0%, rgba(7, 10, 12, 0.34) 44%, rgba(7, 10, 12, 0.12) 100%),
    linear-gradient(180deg, rgba(7, 10, 12, 0.06) 0%, rgba(7, 10, 12, 0.1) 55%, rgba(7, 10, 12, 0.6) 100%);
  z-index: 1;
}

.cm-tsg-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  width: 100%;
  max-width: var(--cm-shell-effective);
  margin: 0 auto;
  padding: 0 var(--cm-gutter);
}

.cm-tsg-hero-card {
  width: min(100%, 820px);
}

.cm-tsg-hero-kicker {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.76);
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.cm-tsg-hero-logo {
  width: clamp(180px, 18vw, 240px);
  margin-bottom: 26px;
}

.cm-tsg-hero-title {
  margin: 0 0 18px;
  color: #FFFFFF;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(52px, 5.6vw, 86px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0;
  max-width: 900px;
}

.cm-tsg-hero-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-family: 'Raleway', sans-serif;
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 300;
  line-height: 1.62;
  max-width: 46ch;
}

.cm-tsg-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.cm-tsg-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
  position: relative;
  z-index: 3;
  border: 1px solid var(--cm-tsg-line);
  background: linear-gradient(180deg, rgba(244, 242, 238, 0.98), rgba(232, 237, 242, 0.64));
  box-shadow: 0 18px 38px rgba(26, 25, 23, 0.07);
}

.cm-tsg-fact {
  padding: 24px 26px;
  position: relative;
}

.cm-tsg-fact + .cm-tsg-fact::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: var(--cm-tsg-line);
}

.cm-tsg-fact-label {
  margin: 0 0 10px;
  color: var(--cm-tsg-muted);
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.9px;
  text-transform: uppercase;
}

.cm-tsg-fact-value {
  margin: 0;
  color: var(--cm-tsg-ink);
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.cm-tsg-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px;
  padding: 64px 0 18px;
  border-bottom: 1px solid var(--cm-tsg-line);
}

.cm-tsg-intro-lead {
  margin: 0;
  color: var(--cm-tsg-ink);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.04em;
  max-width: 18ch;
}

.cm-tsg-intro-copy,
.cm-tsg-section-body,
.cm-tsg-destination-copy,
.cm-tsg-note-copy,
.cm-tsg-season-body {
  color: var(--cm-tsg-copy);
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
}

.cm-tsg-intro-copy {
  margin: 0;
}

.cm-tsg-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--cm-tsg-line);
}

.cm-tsg-section-grid,
.cm-tsg-section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: 42px;
  align-items: center;
}

.cm-tsg-section-grid-reverse {
  grid-template-columns: minmax(340px, 1fr) minmax(0, 0.9fr);
}

.cm-tsg-section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.cm-tsg-section-copy {
  display: grid;
  gap: 18px;
}

.cm-tsg-section-kicker,
.cm-tsg-note-label {
  margin: 0;
  color: var(--cm-tsg-accent);
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.cm-tsg-section-title {
  margin: 0;
  color: var(--cm-tsg-ink);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.05em;
  max-width: 14ch;
}

.cm-tsg-section-title-wide {
  max-width: 18ch;
}

.cm-tsg-section-body,
.cm-tsg-destination-copy,
.cm-tsg-note-copy,
.cm-tsg-season-body {
  margin: 0;
}

.cm-tsg-visual-card {
  overflow: hidden;
  border: 1px solid var(--cm-tsg-line);
  background: var(--cm-tsg-panel);
}

.cm-tsg-visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.cm-tsg-visual-card-tall {
  height: 620px;
}

.cm-tsg-visual-card-wide {
  height: 520px;
}

.cm-tsg-visual-card-small {
  height: 260px;
}

.cm-tsg-destinations {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--cm-tsg-line);
}

.cm-tsg-destination {
  padding: 26px;
  min-height: 220px;
  border-right: 1px solid var(--cm-tsg-line);
  border-bottom: 1px solid var(--cm-tsg-line);
  background: #FFFFFF;
}

.cm-tsg-destination:nth-child(4n) {
  border-right: 0;
}

.cm-tsg-destination:nth-child(n + 5) {
  border-bottom: 0;
}

.cm-tsg-destination-number {
  margin: 0 0 12px;
  color: var(--cm-tsg-gold);
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
}

.cm-tsg-destination-name,
.cm-tsg-season-title {
  margin: 0 0 10px;
  color: var(--cm-tsg-ink);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.cm-tsg-destination-name {
  font-size: 22px;
  line-height: 1.1;
}

.cm-tsg-image-stack {
  display: grid;
  gap: 20px;
}

.cm-tsg-note {
  padding: 24px 24px 26px;
  border: 1px solid var(--cm-tsg-line);
  background: #FFFFFF;
}

.cm-tsg-note-copy {
  margin-top: 10px;
  color: var(--cm-tsg-copy);
}

.cm-tsg-season-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 30px;
  align-items: start;
}

.cm-tsg-season-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px;
  border: 1px solid var(--cm-tsg-line);
  background: #FFFFFF;
}

.cm-tsg-season-copy .cm-tsg-season-title {
  margin: 0 0 6px;
  font-size: 24px;
}

.cm-tsg-season-copy .cm-tsg-season-title:not(:first-child) {
  margin-top: 22px;
}

.cm-tsg-season-images {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.cm-tsg-visual-card-side {
  height: 480px;
}

.cm-tsg-page-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 28px;
  margin-top: 28px;
}

.cm-tsg-page-footer-copy {
  margin: 0;
  color: var(--cm-tsg-muted);
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.8px;
}

.cm-tsg-page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cm-tsg-ink);
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cm-tsg-page-back:hover {
  color: var(--cm-tsg-accent);
}

.cm-tsg-page-back svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

@media screen and (max-width: 1100px) {
  .cm-tsg-facts,
  .cm-tsg-intro,
  .cm-tsg-section-grid,
  .cm-tsg-section-split,
  .cm-tsg-section-grid-reverse,
  .cm-tsg-section-header,
  .cm-tsg-season-grid {
    grid-template-columns: 1fr;
  }

  .cm-tsg-facts {
    margin-top: 24px;
  }

  .cm-tsg-fact + .cm-tsg-fact::before {
    display: none;
  }

  .cm-tsg-destinations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cm-tsg-destination:nth-child(2n) {
    border-right: 0;
  }

  .cm-tsg-destination:nth-child(n + 5) {
    border-bottom: 1px solid var(--cm-tsg-line);
  }

  .cm-tsg-destination:nth-child(n + 7) {
    border-bottom: 0;
  }
}

@media screen and (max-width: 767px) {
  .cm-tsg {
    padding: 0 0 48px;
  }

  .cm-tsg-hero,
  .cm-tsg-hero-inner {
    min-height: auto;
  }

  .cm-tsg-hero {
    min-height: 100svh;
    padding: 96px 0 44px;
  }

  .cm-tsg-hero-title {
    font-size: clamp(42px, 13vw, 58px);
    max-width: 12ch;
  }

  .cm-tsg-inner {
    padding: 0 16px;
  }

  .cm-tsg-facts {
    grid-template-columns: 1fr;
  }

  .cm-tsg-fact {
    padding: 20px;
    border-bottom: 1px solid var(--cm-tsg-line);
  }

  .cm-tsg-fact:last-child {
    border-bottom: 0;
  }

  .cm-tsg-intro,
  .cm-tsg-section {
    padding: 46px 0;
  }

  .cm-tsg-section-title {
    font-size: 38px;
    max-width: 12ch;
  }

  .cm-tsg-visual-card-tall,
  .cm-tsg-visual-card-wide,
  .cm-tsg-visual-card-side {
    height: 320px;
  }

  .cm-tsg-visual-card-small {
    height: 220px;
  }

  .cm-tsg-destinations,
  .cm-tsg-season-images {
    grid-template-columns: 1fr;
  }

  .cm-tsg-destination {
    min-height: 0;
    border-right: 0;
  }

  .cm-tsg-destination:nth-child(n + 5) {
    border-bottom: 1px solid var(--cm-tsg-line);
  }

  .cm-tsg-destination:last-child {
    border-bottom: 0;
  }

  .cm-tsg-season-copy {
    padding: 22px 20px;
  }

  .cm-tsg-page-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
