/*
 * Dedicated History page.
 * Every selector is scoped to .hbs-history so the editorial layout cannot
 * affect imported pages, tour templates, archives, or the global footer.
 */

.hbs-history {
  --history-paper: #fff;
  --history-cream: #f8f3ec;
  --history-cream-deep: #eee4d7;
  --history-ink: var(--hbs-ink, #17130f);
  --history-black: var(--hbs-black, #080706);
  --history-gold: var(--hbs-gold, #d19f40);
  --history-gold-bright: var(--hbs-gold-bright, #e1b452);
  --history-bronze: var(--hbs-bronze, #7e6849);
  --history-muted: var(--hbs-muted, #6d675f);
  --history-line: var(--hbs-line, #dfd7cc);
  overflow: hidden;
  overflow: clip;
  background: var(--history-cream);
  color: var(--history-ink);
}

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

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

.hbs-history h1,
.hbs-history h2,
.hbs-history h3,
.hbs-history p,
.hbs-history figure {
  margin-top: 0;
}

.hbs-history a:focus-visible {
  outline: 3px solid var(--history-gold-bright);
  outline-offset: 4px;
}

.hbs-history .history-shell {
  width: min(1180px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

/* Hero */
.hbs-history .history-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(620px, 78vh, 810px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(96px, 11vw, 152px) 0 clamp(108px, 13vw, 150px);
  background: #243029;
  color: #fff;
  text-align: center;
}

.hbs-history .history-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 6px;
  background: linear-gradient(90deg, var(--history-bronze), var(--history-gold-bright), var(--history-bronze));
}

.hbs-history .history-hero > picture,
.hbs-history .history-hero__image,
.hbs-history .history-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hbs-history .history-hero > picture {
  z-index: -2;
  display: block;
}

.hbs-history .history-hero__image {
  object-fit: cover;
  object-position: center 54%;
}

.hbs-history .history-hero__shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 5, 4, 0.3) 0%, rgba(5, 5, 4, 0.46) 52%, rgba(5, 5, 4, 0.83) 100%),
    linear-gradient(90deg, rgba(6, 5, 4, 0.25), transparent 48%, rgba(6, 5, 4, 0.2));
}

.hbs-history .history-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  text-shadow: 0 3px 26px rgba(0, 0, 0, 0.48);
}

.hbs-history .history-eyebrow {
  margin: 0 0 17px;
  color: #f4d493;
  font-family: var(--hbs-sans, "Josefin Sans", sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  line-height: 1.4;
  text-transform: uppercase;
}

.hbs-history .history-eyebrow--dark {
  color: var(--history-bronze);
  text-shadow: none;
}

.hbs-history .history-hero h1 {
  max-width: 1040px;
  margin: 0 auto;
  color: #fff;
  font-family: var(--hbs-display, "Playfair Display", Georgia, serif);
  font-size: clamp(52px, 7.5vw, 96px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.01;
  text-wrap: balance;
}

.hbs-history .history-hero__content > p:not(.history-eyebrow) {
  max-width: 810px;
  margin: 27px auto 0;
  color: #fff;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 600;
  line-height: 1.62;
  text-wrap: balance;
}

.hbs-history .history-text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 8px 0 6px;
  border-bottom: 1px solid currentColor;
  color: var(--history-bronze);
  font-family: var(--hbs-sans, "Josefin Sans", sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  line-height: 1.4;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
}

.hbs-history .history-text-link--light {
  color: #f4d493;
}

.hbs-history .history-text-link:hover {
  color: var(--history-gold-bright);
}

/* Shared section rhythm and headings */
.hbs-history .history-section {
  padding: clamp(80px, 9vw, 126px) 0;
}

.hbs-history .history-intro {
  background:
    radial-gradient(circle at 100% 0%, rgba(209, 159, 64, 0.12), transparent 28%),
    var(--history-cream);
}

.hbs-history .history-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: clamp(48px, 8vw, 104px);
  align-items: center;
}

.hbs-history .history-intro__copy,
.hbs-history .history-section-heading,
.hbs-history .history-road__prose,
.hbs-history .history-engineering,
.hbs-history .history-living__grid > *,
.hbs-history .history-sources__inner > * {
  min-width: 0;
}

.hbs-history .history-intro h2,
.hbs-history .history-section-heading h2,
.hbs-history .history-living h2,
.hbs-history .history-sources h2 {
  margin: 0;
  color: var(--history-black);
  font-family: var(--hbs-display, "Playfair Display", Georgia, serif);
  font-size: clamp(42px, 5.4vw, 68px);
  font-weight: 700;
  letter-spacing: -0.9px;
  line-height: 1.07;
  text-wrap: balance;
}

.hbs-history .history-intro__copy > p:not(.history-eyebrow) {
  margin: 23px 0 0;
  color: var(--history-muted);
  font-size: 18px;
  line-height: 1.82;
}

.hbs-history .history-context {
  position: relative;
  padding: clamp(34px, 4.6vw, 52px);
  border-top: 5px solid var(--history-gold);
  background:
    radial-gradient(circle at 92% 8%, rgba(209, 159, 64, 0.18), transparent 34%),
    var(--history-black);
  box-shadow: 0 23px 58px rgba(46, 32, 18, 0.2);
  color: #fff;
}

.hbs-history .history-context::after {
  content: "“";
  position: absolute;
  top: 12px;
  right: 26px;
  color: rgba(225, 180, 82, 0.22);
  font-family: Georgia, serif;
  font-size: 94px;
  line-height: 1;
  pointer-events: none;
}

.hbs-history .history-context__label,
.hbs-history .history-engineering__label {
  margin: 0 0 16px;
  color: #f1ce87;
  font-family: var(--hbs-sans, "Josefin Sans", sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.4;
  text-transform: uppercase;
}

.hbs-history .history-context > p:last-child {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #e8e1d9;
  font-family: var(--hbs-display, "Playfair Display", Georgia, serif);
  font-size: clamp(23px, 2.6vw, 31px);
  line-height: 1.52;
}

/* Fast facts */
.hbs-history .history-facts {
  padding: 0 0 clamp(82px, 9vw, 118px);
  background: var(--history-cream);
}

.hbs-history .history-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  padding: 0;
  border-top: 6px solid var(--history-gold);
  background: var(--history-paper);
  box-shadow: 0 23px 58px rgba(50, 37, 23, 0.16);
}

.hbs-history .history-fact {
  min-width: 0;
  min-height: 164px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  text-align: center;
}

.hbs-history .history-fact + .history-fact {
  border-left: 1px solid var(--history-line);
}

.hbs-history .history-fact strong {
  display: block;
  margin-bottom: 8px;
  color: var(--history-black);
  font-family: var(--hbs-display, "Playfair Display", Georgia, serif);
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1;
}

.hbs-history .history-fact span {
  color: var(--history-bronze);
  font-family: var(--hbs-sans, "Josefin Sans", sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.7px;
  line-height: 1.5;
  text-transform: uppercase;
}

/* Highway chapters */
.hbs-history .history-road {
  position: relative;
  isolation: isolate;
}

.hbs-history .history-road--hana {
  background: var(--history-paper);
}

.hbs-history .history-road--haleakala {
  background:
    radial-gradient(circle at 7% 8%, rgba(209, 159, 64, 0.16), transparent 27%),
    var(--history-black);
  color: #fff;
}

.hbs-history .history-section-heading {
  max-width: 940px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}

.hbs-history .history-section-heading > p:last-child {
  max-width: 820px;
  margin: 22px auto 0;
  color: var(--history-muted);
  font-size: 18px;
  line-height: 1.78;
}

.hbs-history .history-road--haleakala .history-eyebrow--dark {
  color: #f1cb80;
}

.hbs-history .history-road--haleakala .history-section-heading h2 {
  color: #fff;
}

.hbs-history .history-road--haleakala .history-section-heading > p:last-child {
  color: #d6cec5;
}

/* Three-image editorial galleries. */
.hbs-history .history-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(220px, 0.62fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hbs-history .history-gallery figure {
  position: relative;
  min-width: 0;
  min-height: 284px;
  overflow: hidden;
  border: 1px solid rgba(126, 104, 73, 0.25);
  background: #d8cfc4;
  box-shadow: 0 15px 40px rgba(40, 28, 17, 0.12);
}

.hbs-history .history-road--haleakala .history-gallery figure {
  border-color: rgba(225, 180, 82, 0.27);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.hbs-history .history-gallery__feature {
  min-height: 582px;
  grid-row: 1 / 3;
}

.hbs-history .history-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease;
}

.hbs-history .history-gallery--hana figure:nth-child(2) img {
  object-position: center 48%;
}

.hbs-history .history-gallery--haleakala .history-gallery__feature img {
  object-position: center 54%;
}

.hbs-history .history-gallery figure:hover img {
  transform: scale(1.025);
}

.hbs-history .history-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 42px 18px 15px;
  background: linear-gradient(180deg, transparent, rgba(8, 7, 6, 0.9));
  color: #f4efe9;
  font-size: 11px;
  line-height: 1.5;
}

.hbs-history .history-gallery figcaption span {
  color: #f1cb80;
}

.hbs-history .history-road__story {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(48px, 7vw, 86px);
  align-items: start;
  margin-top: clamp(58px, 7vw, 86px);
}

.hbs-history .history-road__prose h3,
.hbs-history .history-engineering h3 {
  margin: 0 0 22px;
  color: var(--history-black);
  font-family: var(--hbs-display, "Playfair Display", Georgia, serif);
  font-size: clamp(29px, 3.3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

.hbs-history .history-road__prose p,
.hbs-history .history-engineering > p:last-child {
  margin: 0 0 22px;
  color: var(--history-muted);
  font-size: 17px;
  line-height: 1.82;
}

.hbs-history .history-road__prose p:last-child,
.hbs-history .history-engineering > p:last-child {
  margin-bottom: 0;
}

.hbs-history .history-road--haleakala .history-road__prose h3,
.hbs-history .history-road--haleakala .history-engineering h3 {
  color: #fff;
}

.hbs-history .history-road--haleakala .history-road__prose p,
.hbs-history .history-road--haleakala .history-engineering > p:last-child {
  color: #d7d0c7;
}

.hbs-history .history-engineering {
  padding: clamp(30px, 4vw, 42px);
  border: 1px solid var(--history-line);
  border-top: 5px solid var(--history-gold);
  background: var(--history-cream);
  box-shadow: 0 17px 42px rgba(42, 29, 17, 0.1);
}

.hbs-history .history-road--haleakala .history-engineering {
  border-color: rgba(225, 180, 82, 0.33);
  border-top-color: var(--history-gold);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.hbs-history .history-engineering ul {
  display: grid;
  gap: 15px;
  padding: 0;
  margin: 0 0 25px;
  list-style: none;
}

.hbs-history .history-engineering li {
  position: relative;
  padding: 0 0 15px 24px;
  border-bottom: 1px solid var(--history-line);
  color: var(--history-muted);
  font-size: 14px;
  line-height: 1.6;
}

.hbs-history .history-road--haleakala .history-engineering li {
  border-bottom-color: rgba(255, 255, 255, 0.15);
  color: #d7d0c7;
}

.hbs-history .history-engineering li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hbs-history .history-engineering li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--history-gold);
  transform: translateY(-50%);
}

.hbs-history .history-engineering li strong {
  color: var(--history-black);
}

.hbs-history .history-road--haleakala .history-engineering li strong {
  color: #fff;
}

/* Horizontal desktop timeline; vertical on compact screens. */
.hbs-history .history-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0;
  padding: 46px 0 0;
  margin: clamp(62px, 8vw, 96px) 0 0;
  list-style: none;
}

.hbs-history .history-timeline::before {
  content: "";
  position: absolute;
  top: 9px;
  right: 24px;
  left: 24px;
  height: 2px;
  background: linear-gradient(90deg, rgba(209, 159, 64, 0.2), var(--history-gold), rgba(209, 159, 64, 0.2));
}

.hbs-history .history-timeline > li {
  position: relative;
  min-width: 0;
  padding: 0 24px;
}

.hbs-history .history-timeline > li + li {
  border-left: 1px solid var(--history-line);
}

.hbs-history .history-road--haleakala .history-timeline > li + li {
  border-left-color: rgba(255, 255, 255, 0.16);
}

.hbs-history .history-timeline > li::before {
  content: "";
  position: absolute;
  top: -44px;
  left: 24px;
  width: 16px;
  height: 16px;
  border: 4px solid var(--history-paper);
  border-radius: 50%;
  background: var(--history-gold);
  box-shadow: 0 0 0 1px var(--history-gold);
}

.hbs-history .history-road--haleakala .history-timeline > li::before {
  border-color: var(--history-black);
}

.hbs-history .history-timeline__date {
  display: block;
  margin-bottom: 10px;
  color: var(--history-bronze);
  font-family: var(--hbs-sans, "Josefin Sans", sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  line-height: 1.4;
  text-transform: uppercase;
}

.hbs-history .history-road--haleakala .history-timeline__date {
  color: #f1cb80;
}

.hbs-history .history-timeline h3 {
  margin: 0 0 8px;
  color: var(--history-black);
  font-family: var(--hbs-display, "Playfair Display", Georgia, serif);
  font-size: 21px;
  line-height: 1.25;
}

.hbs-history .history-road--haleakala .history-timeline h3 {
  color: #fff;
}

.hbs-history .history-timeline p {
  margin: 0;
  color: var(--history-muted);
  font-size: 14px;
  line-height: 1.65;
}

.hbs-history .history-road--haleakala .history-timeline p {
  color: #cfc7be;
}

/* Living-road stewardship */
.hbs-history .history-living {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--history-cream-deep);
}

.hbs-history .history-living::before {
  content: "";
  position: absolute;
  top: -210px;
  right: -210px;
  z-index: -1;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(126, 104, 73, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 65px rgba(126, 104, 73, 0.06),
    0 0 0 130px rgba(126, 104, 73, 0.035);
}

.hbs-history .history-living__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(48px, 8vw, 104px);
  align-items: start;
}

.hbs-history .history-living__grid > div > p:not(.history-eyebrow) {
  margin: 22px 0 0;
  color: var(--history-muted);
  font-size: 18px;
  line-height: 1.8;
}

.hbs-history .history-respect-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hbs-history .history-respect-list li {
  position: relative;
  min-height: 128px;
  padding: 26px 24px 24px 62px;
  border: 1px solid rgba(126, 104, 73, 0.23);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(50, 36, 21, 0.06);
  color: var(--history-ink);
  font-size: 15px;
  line-height: 1.64;
}

.hbs-history .history-respect-list li::before {
  content: "✓";
  position: absolute;
  top: 27px;
  left: 24px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--history-gold);
  border-radius: 50%;
  color: var(--history-bronze);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

/* Destination cards */
.hbs-history .history-explore {
  background: var(--history-paper);
}

.hbs-history .history-explore__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hbs-history .history-destination-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(34px, 4.5vw, 52px);
  border-bottom: 5px solid var(--history-gold);
  background-color: #28322d;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 19px 46px rgba(41, 28, 16, 0.16);
  color: #fff;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.hbs-history .history-destination-card--hana {
  background-image: url("../images/hana-back-hero.jpg");
  background-position: center;
}

.hbs-history .history-destination-card--haleakala {
  background-image: url("../images/home-haleakala-crater.jpg");
  background-position: center 58%;
}

.hbs-history .history-destination-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 5, 4, 0.1) 8%, rgba(6, 5, 4, 0.34) 48%, rgba(6, 5, 4, 0.88) 100%);
  transition: background-color 200ms ease;
}

.hbs-history .history-destination-card:hover {
  box-shadow: 0 24px 58px rgba(41, 28, 16, 0.24);
  transform: translateY(-5px);
}

.hbs-history .history-destination-card__eyebrow,
.hbs-history .history-destination-card__action {
  font-family: var(--hbs-sans, "Josefin Sans", sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  line-height: 1.45;
  text-transform: uppercase;
}

.hbs-history .history-destination-card__eyebrow {
  margin-bottom: 13px;
  color: #f4d493;
}

.hbs-history .history-destination-card__title {
  max-width: 470px;
  color: #fff;
  font-family: var(--hbs-display, "Playfair Display", Georgia, serif);
  font-size: clamp(34px, 4vw, 51px);
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.08;
  text-wrap: balance;
}

.hbs-history .history-destination-card__action {
  width: fit-content;
  margin-top: 26px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--history-gold-bright);
  color: #fff;
}

/* Source cards */
.hbs-history .history-sources {
  background: var(--history-cream);
}

.hbs-history .history-sources__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(48px, 8vw, 104px);
  align-items: start;
}

.hbs-history .history-sources__inner > div > p:not(.history-eyebrow) {
  margin: 22px 0 0;
  color: var(--history-muted);
  font-size: 16px;
  line-height: 1.76;
}

.hbs-history .history-source-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hbs-history .history-source-list a {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 21px;
  border: 1px solid var(--history-line);
  border-left: 4px solid var(--history-gold);
  background: var(--history-paper);
  box-shadow: 0 9px 25px rgba(47, 33, 19, 0.05);
  color: var(--history-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
  transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.hbs-history .history-source-list a span {
  flex: 0 0 auto;
  color: var(--history-bronze);
  font-size: 18px;
}

.hbs-history .history-source-list a:hover {
  border-color: rgba(126, 104, 73, 0.6);
  border-left-color: var(--history-gold);
  box-shadow: 0 14px 32px rgba(47, 33, 19, 0.1);
  color: var(--history-bronze);
  transform: translateX(4px);
}

/* Reuse the theme booking CTA, but give this page deliberate spacing. */
.hbs-history .history-booking-cta {
  padding: 0 0 clamp(82px, 9vw, 116px);
}

.hbs-history .history-booking-cta .article-end-cta {
  margin-top: 0;
  padding: clamp(42px, 6vw, 66px) clamp(24px, 6vw, 72px);
  border: 1px solid var(--history-line);
  border-top: 5px solid var(--history-gold);
  background:
    radial-gradient(circle at 50% 0%, rgba(209, 159, 64, 0.13), transparent 45%),
    var(--history-paper);
  box-shadow: 0 18px 46px rgba(47, 33, 19, 0.1);
}

/* Tablet */
@media (max-width: 980px) {
  .hbs-history .history-facts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hbs-history .history-fact:nth-child(3) {
    border-left: 0;
  }

  .hbs-history .history-fact:nth-child(n + 3) {
    border-top: 1px solid var(--history-line);
  }

  .hbs-history .history-intro__grid,
  .hbs-history .history-road__story,
  .hbs-history .history-living__grid,
  .hbs-history .history-sources__inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hbs-history .history-context,
  .hbs-history .history-engineering {
    width: min(680px, 100%);
  }

  .hbs-history .history-gallery {
    grid-template-columns: minmax(0, 1.25fr) minmax(190px, 0.75fr);
  }

  .hbs-history .history-gallery__feature {
    min-height: 522px;
  }

  .hbs-history .history-gallery figure:not(.history-gallery__feature) {
    min-height: 254px;
  }
}

/* Switch the timeline to a clear vertical sequence before its cards crowd. */
@media (max-width: 820px) {
  .hbs-history .history-timeline {
    display: block;
    padding: 0;
    margin-top: 62px;
  }

  .hbs-history .history-timeline::before {
    top: 10px;
    right: auto;
    bottom: 12px;
    left: 9px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--history-gold), rgba(209, 159, 64, 0.2));
  }

  .hbs-history .history-timeline > li,
  .hbs-history .history-timeline > li + li {
    padding: 0 0 34px 46px;
    border-left: 0;
  }

  .hbs-history .history-timeline > li:last-child {
    padding-bottom: 0;
  }

  .hbs-history .history-timeline > li::before {
    top: 4px;
    left: 1px;
  }

  .hbs-history .history-explore__grid {
    grid-template-columns: 1fr;
  }

  .hbs-history .history-destination-card {
    min-height: 390px;
  }
}

/* Phones */
@media (max-width: 680px) {
  .hbs-history .history-shell {
    width: min(100% - 32px, 1180px);
  }

  .hbs-history .history-hero {
    min-height: 570px;
    padding: 78px 0 92px;
  }

  .hbs-history .history-hero__image {
    object-position: 58% center;
  }

  .hbs-history .history-hero h1 {
    font-size: clamp(43px, 13vw, 61px);
    letter-spacing: -0.7px;
  }

  .hbs-history .history-hero__content > p:not(.history-eyebrow) {
    font-size: 17px;
    line-height: 1.58;
  }

  .hbs-history .history-text-link {
    margin-top: 27px;
  }

  .hbs-history .history-section {
    padding: 72px 0;
  }

  .hbs-history .history-intro h2,
  .hbs-history .history-section-heading h2,
  .hbs-history .history-living h2,
  .hbs-history .history-sources h2 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .hbs-history .history-intro__copy > p:not(.history-eyebrow),
  .hbs-history .history-section-heading > p:last-child,
  .hbs-history .history-road__prose p,
  .hbs-history .history-living__grid > div > p:not(.history-eyebrow) {
    font-size: 16px;
    line-height: 1.74;
  }

  .hbs-history .history-context {
    padding: 30px 25px;
  }

  .hbs-history .history-context > p:last-child {
    font-size: 22px;
  }

  .hbs-history .history-facts {
    padding-bottom: 72px;
  }

  .hbs-history .history-facts__grid {
    grid-template-columns: 1fr;
  }

  .hbs-history .history-fact {
    min-height: 116px;
    padding: 21px 18px;
  }

  .hbs-history .history-fact + .history-fact,
  .hbs-history .history-fact:nth-child(3) {
    border-top: 1px solid var(--history-line);
    border-left: 0;
  }

  .hbs-history .history-fact strong {
    font-size: 37px;
  }

  .hbs-history .history-gallery {
    display: block;
  }

  .hbs-history .history-gallery figure,
  .hbs-history .history-gallery__feature,
  .hbs-history .history-gallery figure:not(.history-gallery__feature) {
    min-height: 0;
    margin-bottom: 14px;
  }

  .hbs-history .history-gallery figure:last-child {
    margin-bottom: 0;
  }

  .hbs-history .history-gallery img {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .hbs-history .history-gallery__feature img {
    aspect-ratio: 5 / 4;
  }

  .hbs-history .history-gallery figcaption {
    padding-top: 38px;
    font-size: 10px;
  }

  .hbs-history .history-engineering {
    padding: 27px 22px;
  }

  .hbs-history .history-respect-list {
    grid-template-columns: 1fr;
  }

  .hbs-history .history-respect-list li {
    min-height: auto;
  }

  .hbs-history .history-destination-card {
    min-height: 360px;
    padding: 30px 24px;
  }

  .hbs-history .history-destination-card__title {
    font-size: clamp(33px, 10vw, 43px);
  }

  .hbs-history .history-source-list a {
    min-height: 68px;
    gap: 12px;
    padding: 16px 17px;
    font-size: 13px;
  }

  .hbs-history .history-destination-card:hover,
  .hbs-history .history-source-list a:hover {
    transform: none;
  }

  .hbs-history .history-booking-cta {
    padding-bottom: 72px;
  }
}

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