@media screen {
  body.cgm-landing {
    --cgm-navy: #0b263f;
    --cgm-navy-deep: #071b2d;
    --cgm-brass: #9a7b3e;
    --cgm-brass-light: #c3ab73;
    --cgm-paper: #f5f2eb;
    --cgm-paper-deep: #ece6da;
    --cgm-ink: #172c42;
    --cgm-muted: #63707a;
    --cgm-line: rgba(11, 38, 63, 0.16);
  }

  body.cgm-landing #content {
    padding: 0;
  }

  body.cgm-landing #wrap > footer {
    display: none;
  }

  body.cgm-landing .cgm-landing-page {
    background: var(--cgm-paper);
    color: var(--cgm-ink);
  }

  body.cgm-landing .cgm-shell {
    width: min(1180px, calc(100% - 42px));
    margin: 0 auto;
  }

  body.cgm-landing .cgm-kicker {
    margin: 0 0 10px;
    color: var(--cgm-brass);
    font-family: "Hind", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }

  body.cgm-landing .cgm-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--cgm-line);
    background: linear-gradient(112deg, #faf8f3 0%, #f1ece1 68%, #e5dcc8 100%);
  }

  body.cgm-landing .cgm-hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 26%;
    background: linear-gradient(145deg, rgba(11, 38, 63, 0.02), rgba(11, 38, 63, 0.12));
    pointer-events: none;
  }

  body.cgm-landing .cgm-hero-inner {
    min-height: 590px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
    gap: 54px;
    align-items: stretch;
    padding-top: 46px;
    padding-bottom: 46px;
  }

  body.cgm-landing .cgm-hero-copy {
    max-width: 820px;
    position: relative;
    z-index: 1;
    align-self: center;
  }

  body.cgm-landing .cgm-hero-copy h1 {
    margin: 0 0 20px;
    color: var(--cgm-navy);
    font-size: clamp(36px, 5.2vw, 68px);
    line-height: 0.99;
    letter-spacing: -0.035em;
    font-weight: 700;
  }

  body.cgm-landing .cgm-hero-copy p {
    max-width: 760px;
    margin: 17px 0 0;
    color: #334658;
    font-size: 16px;
    line-height: 1.6;
  }

  body.cgm-landing .cgm-hero-copy .cgm-lede {
    margin-top: 0;
    color: var(--cgm-ink);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.35;
  }

  body.cgm-landing .cgm-hero-visual {
    min-height: 480px;
    position: relative;
    z-index: 1;
    align-self: stretch;
    background-image: linear-gradient(90deg, #f1ece1 0%, rgba(241, 236, 225, 0.12) 28%, rgba(241, 236, 225, 0) 48%), url("../images/landing/cgm-museum.jpeg");
    background-size: cover;
    background-position: center 58%;
    box-shadow: inset 0 0 0 1px rgba(11, 38, 63, 0.08);
  }

  body.cgm-landing .cgm-digital-offer {
    background: var(--cgm-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  body.cgm-landing .cgm-digital-offer-link {
    width: min(1180px, calc(100% - 42px));
    min-height: 150px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #fff;
  }

  body.cgm-landing .cgm-digital-offer-link:hover,
  body.cgm-landing .cgm-digital-offer-link:focus {
    color: #fff;
  }

  body.cgm-landing .cgm-digital-offer-link .cgm-kicker {
    margin: 0;
    color: #fff;
    font-family: "Caudex", serif;
    font-size: clamp(27px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-transform: none;
  }

  body.cgm-landing .cgm-digital-offer-arrow {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    font-size: 29px;
    transition: transform 160ms ease, background-color 160ms ease;
  }

  body.cgm-landing .cgm-digital-offer-link:hover .cgm-digital-offer-arrow,
  body.cgm-landing .cgm-digital-offer-link:focus .cgm-digital-offer-arrow {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.08);
  }

  body.cgm-landing .cgm-section {
    padding: 64px 0;
    border-bottom: 1px solid var(--cgm-line);
  }

  body.cgm-landing .cgm-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
  }

  body.cgm-landing .cgm-section-heading h2,
  body.cgm-landing .cgm-timeline-intro h2 {
    margin: 0;
    color: var(--cgm-navy);
    font-family: "Hind", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  body.cgm-landing .cgm-scroll-controls {
    display: flex;
    gap: 8px;
  }

  body.cgm-landing .cgm-scroll-button {
    width: 39px;
    height: 39px;
    padding: 0;
    border: 1px solid var(--cgm-line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    color: var(--cgm-navy);
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
  }

  body.cgm-landing .cgm-scroll-button:hover,
  body.cgm-landing .cgm-scroll-button:focus {
    border-color: var(--cgm-brass);
  }

  body.cgm-landing .cgm-card-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 22%);
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--cgm-brass-light) transparent;
    padding: 0 0 14px;
    outline: none;
  }

  body.cgm-landing .cgm-card-strip:focus-visible {
    box-shadow: 0 0 0 2px var(--cgm-brass);
  }

  body.cgm-landing .cgm-object-card,
  body.cgm-landing .cgm-collection-card {
    scroll-snap-align: start;
  }

  body.cgm-landing .cgm-object-card {
    min-width: 0;
    border: 1px solid var(--cgm-line);
    background: rgba(255, 255, 255, 0.78);
  }

  body.cgm-landing .cgm-object-link {
    height: 100%;
    display: flex;
    flex-direction: column;
    color: var(--cgm-navy);
  }

  body.cgm-landing .cgm-object-link:hover,
  body.cgm-landing .cgm-object-link:focus {
    color: var(--cgm-navy);
  }

  body.cgm-landing .cgm-object-image {
    aspect-ratio: 4 / 3;
    display: block;
    overflow: hidden;
    background: #ddd8cd;
  }

  body.cgm-landing .cgm-object-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 220ms ease;
  }

  body.cgm-landing .cgm-object-link:hover .cgm-object-image img,
  body.cgm-landing .cgm-object-link:focus .cgm-object-image img {
    transform: scale(1.025);
  }

  body.cgm-landing .cgm-object-title {
    display: block;
    padding: 13px 14px 15px;
    font-family: "Caudex", serif;
    font-size: 16px;
    line-height: 1.3;
  }

  body.cgm-landing .cgm-collections {
    background: #f9f7f1;
  }

  body.cgm-landing .cgm-collection-strip {
    grid-auto-columns: minmax(250px, 29%);
  }

  body.cgm-landing .cgm-collection-card {
    min-height: 225px;
    position: relative;
    overflow: hidden;
    background: var(--cgm-navy);
    background-size: cover;
    background-position: center;
  }

  body.cgm-landing .cgm-collection-card.has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 27, 45, 0.92) 0%, rgba(7, 27, 45, 0.35) 64%, rgba(7, 27, 45, 0.05) 100%);
  }

  body.cgm-landing .cgm-collection-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    color: #fff;
  }

  body.cgm-landing .cgm-collection-link:hover,
  body.cgm-landing .cgm-collection-link:focus {
    color: #fff;
  }

  body.cgm-landing .cgm-collection-title {
    font-family: "Caudex", serif;
    font-size: 22px;
    line-height: 1.15;
  }

  body.cgm-landing .cgm-collection-arrow {
    font-size: 24px;
  }


  body.cgm-landing .cgm-timeline-section {
    background: var(--cgm-navy-deep);
    color: #fff;
  }

  body.cgm-landing .cgm-timeline-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.7fr);
    gap: 70px;
    align-items: start;
  }

  body.cgm-landing .cgm-timeline-intro {
    position: sticky;
    top: 24px;
  }

  body.cgm-landing .cgm-timeline-intro .cgm-kicker {
    color: var(--cgm-brass-light);
  }

  body.cgm-landing .cgm-timeline-intro h2 {
    color: #fff;
    font-family: "Caudex", serif;
    font-size: clamp(30px, 3.7vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  body.cgm-landing .cgm-timeline-item {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  body.cgm-landing .cgm-timeline-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  body.cgm-landing .cgm-timeline-item summary {
    position: relative;
    display: grid;
    grid-template-columns: 145px 1fr 26px;
    gap: 24px;
    align-items: center;
    min-height: 86px;
    padding: 18px 0;
    list-style: none;
    cursor: pointer;
  }

  body.cgm-landing .cgm-timeline-item summary::-webkit-details-marker {
    display: none;
  }

  body.cgm-landing .cgm-timeline-item summary::after {
    content: "+";
    justify-self: end;
    color: var(--cgm-brass-light);
    font-family: "Hind", sans-serif;
    font-size: 26px;
    font-weight: 300;
  }

  body.cgm-landing .cgm-timeline-item[open] summary::after {
    content: "−";
  }

  body.cgm-landing .cgm-period {
    color: var(--cgm-brass-light);
    font-family: "Hind", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  body.cgm-landing .cgm-station-title {
    color: #fff;
    font-family: "Caudex", serif;
    font-size: 21px;
    line-height: 1.25;
  }

  body.cgm-landing .cgm-timeline-body {
    padding: 0 50px 26px 169px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.65;
  }

  body.cgm-landing .cgm-timeline-body p {
    margin: 0;
  }

  body.cgm-landing .cgm-arrival {
    min-height: 620px;
    position: relative;
    overflow: hidden;
    background: var(--cgm-navy);
    color: #fff;
  }

  body.cgm-landing .cgm-arrival-photo {
    position: absolute;
    inset: 0 18% 0 0;
    background-image: url("../images/landing/cgm-museum.jpeg");
    background-size: cover;
    background-position: center 58%;
  }

  body.cgm-landing .cgm-arrival-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
      rgba(7, 27, 45, 0.02) 0%,
      rgba(7, 27, 45, 0.04) 30%,
      rgba(7, 27, 45, 0.15) 41%,
      rgba(7, 27, 45, 0.38) 50%,
      rgba(7, 27, 45, 0.68) 59%,
      rgba(7, 27, 45, 0.88) 68%,
      rgba(7, 27, 45, 0.97) 77%,
      var(--cgm-navy) 88%
    );
  }

  body.cgm-landing .cgm-arrival-inner {
    min-height: 620px;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
    gap: 70px;
    align-items: center;
    padding-top: 62px;
    padding-bottom: 62px;
  }

  body.cgm-landing .cgm-arrival-info {
    grid-column: 2;
  }

  body.cgm-landing .cgm-arrival-info h2,
  body.cgm-landing .cgm-arrival-info h3,
  body.cgm-landing .cgm-arrival-info h4 {
    color: #fff;
  }

  body.cgm-landing .cgm-arrival-info h2 {
    margin: 0 0 22px;
    font-size: 44px;
    line-height: 1.05;
  }

  body.cgm-landing .cgm-arrival-info h3 {
    margin: 26px 0 10px;
    font-size: 24px;
  }

  body.cgm-landing .cgm-arrival-info h4 {
    margin: 0 0 12px;
    font-family: "Hind", sans-serif;
    font-size: 15px;
    font-weight: 700;
  }

  body.cgm-landing .cgm-arrival-info p {
    margin: 11px 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
  }

  body.cgm-landing .cgm-arrival-info a,
  body.cgm-landing .cgm-map-placeholder a {
    color: #fff;
  }

  body.cgm-landing .cgm-arrival-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-top: 10px;
  }

  body.cgm-landing .cgm-arrival-links a {
    border-bottom: 1px solid rgba(195, 171, 115, 0.9);
  }

  body.cgm-landing .cgm-map-placeholder {
    grid-column: 2;
    margin-top: -4px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
  }

  body.cgm-landing .cgm-map-placeholder .cgm-kicker {
    color: var(--cgm-brass-light);
  }

  body.cgm-landing .cgm-map-placeholder p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.78);
  }

  body.cgm-landing .cgm-map-button {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid var(--cgm-brass-light);
    font-weight: 700;
  }

  body.cgm-landing .cgm-landing-footer {
    background: #061827;
    color: rgba(255, 255, 255, 0.76);
  }

  body.cgm-landing .cgm-footer-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  body.cgm-landing .cgm-footer-feature-link {
    min-height: 96px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: transparent;
    color: #fff;
    text-decoration: none;
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
  }

  body.cgm-landing .cgm-footer-feature-link:hover,
  body.cgm-landing .cgm-footer-feature-link:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: translateY(-1px);
  }

  body.cgm-landing .cgm-footer-feature-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 50%;
    color: #fff;
  }

  body.cgm-landing .cgm-footer-feature-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
  }

  body.cgm-landing .cgm-footer-feature-copy {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: rgba(255, 255, 255, 0.78);
    font-family: "Hind", sans-serif;
    font-size: 13px;
    line-height: 1.35;
  }

  body.cgm-landing .cgm-footer-feature-copy strong {
    color: #fff;
    font-family: "Caudex", serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
  }

  body.cgm-landing .cgm-footer-link-arrow {
    margin-left: auto;
    color: #fff;
    font-size: 24px;
    line-height: 1;
  }

  body.cgm-landing .cgm-footer-meta {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 12px;
  }

  body.cgm-landing .cgm-footer-legal {
    display: flex;
    gap: 18px;
  }

  body.cgm-landing .cgm-footer-meta a {
    color: rgba(255, 255, 255, 0.8);
  }

  body.cgm-landing .cgm-footer-meta a:hover,
  body.cgm-landing .cgm-footer-meta a:focus {
    color: #fff;
  }
}

@media screen and (max-width: 900px) {
  body.cgm-landing .cgm-hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  body.cgm-landing .cgm-hero-visual {
    min-height: 360px;
    background-position: center 60%;
  }

  body.cgm-landing .cgm-card-strip,
  body.cgm-landing .cgm-collection-strip {
    grid-auto-columns: minmax(230px, 45%);
  }

  body.cgm-landing .cgm-timeline-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  body.cgm-landing .cgm-timeline-intro {
    position: static;
  }

  body.cgm-landing .cgm-arrival-photo {
    inset: 0 0 45% 0;
    background-position: center 66%;
  }

  body.cgm-landing .cgm-arrival-overlay {
    background: linear-gradient(180deg, rgba(7, 27, 45, 0.08) 0%, rgba(7, 27, 45, 0.3) 34%, rgba(7, 27, 45, 0.96) 55%, var(--cgm-navy) 70%);
  }

  body.cgm-landing .cgm-arrival-inner {
    min-height: 850px;
    grid-template-columns: 1fr;
    align-content: end;
    gap: 22px;
  }

  body.cgm-landing .cgm-arrival-info,
  body.cgm-landing .cgm-map-placeholder {
    grid-column: 1;
  }

  body.cgm-landing .cgm-footer-main {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media screen and (max-width: 620px) {
  body.cgm-landing .cgm-shell,
  body.cgm-landing .cgm-digital-offer-link {
    width: min(100% - 28px, 1180px);
  }

  body.cgm-landing .cgm-hero-copy h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  body.cgm-landing .cgm-hero-copy p {
    font-size: 15px;
  }

  body.cgm-landing .cgm-digital-offer-link {
    min-height: 120px;
  }

  body.cgm-landing .cgm-section {
    padding: 46px 0;
  }

  body.cgm-landing .cgm-scroll-controls {
    display: none;
  }

  body.cgm-landing .cgm-card-strip,
  body.cgm-landing .cgm-collection-strip {
    grid-auto-columns: 82%;
  }

  body.cgm-landing .cgm-timeline-item summary {
    grid-template-columns: 1fr 24px;
    gap: 8px 16px;
  }

  body.cgm-landing .cgm-period {
    grid-column: 1;
  }

  body.cgm-landing .cgm-station-title {
    grid-column: 1;
  }

  body.cgm-landing .cgm-timeline-item summary::after {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  body.cgm-landing .cgm-timeline-body {
    padding: 0 36px 24px 0;
  }

  body.cgm-landing .cgm-arrival {
    min-height: 820px;
  }

  body.cgm-landing .cgm-arrival-info h2 {
    font-size: 36px;
  }

  body.cgm-landing .cgm-footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  body.cgm-landing .cgm-footer-feature-link {
    min-height: 88px;
    padding: 18px;
  }

  body.cgm-landing .cgm-footer-meta {
    justify-content: center;
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.cgm-landing .cgm-object-image img,
  body.cgm-landing .cgm-digital-offer-arrow {
    transition: none;
  }
}
