/* Modernized Cunard Queen Elizabeth site design */
:root {
  --ink: #141414;
  --muted: #5a6472;
  --paper: #ffffff;
  --soft: #f5f8f7;
  --mist: #e9f2f0;
  --line: #d8e0df;
  --navy: #13243b;
  --burgundy: #7c1e2e;
  --gold: #b68a45;
  --sea: #1e6b74;
  --shadow: 0 18px 45px rgba(19, 36, 59, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
}

a {
  color: var(--sea);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--burgundy);
}

img {
  max-width: 100%;
  height: auto;
}

.modern-shell {
  background: var(--paper);
}

.modern-header,
.modern-site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 18px 42px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  background: var(--navy);
  color: #ffffff;
  border-radius: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.brand-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.1;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  margin-top: 2px;
}

.modern-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.modern-nav a,
.modern-contact-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.modern-contact-link {
  padding: 10px 14px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: var(--burgundy);
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: end;
  isolation: isolate;
  color: #ffffff;
  background-image:
    linear-gradient(90deg, rgba(10, 20, 32, 0.86), rgba(10, 20, 32, 0.46), rgba(10, 20, 32, 0.14)),
    url("../images/cunard-queen-elizabeth-site.JPG");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0 74px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f2d79b;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
}

h1,
.section-title {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: 62px;
  line-height: 1.03;
  font-weight: 400;
}

.hero-copy {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--gold);
  color: #17120a;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.74);
  color: #ffffff;
}

.page-band {
  padding: 54px 0;
}

.page-band.alt {
  background: var(--mist);
}

.content-wrap {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--burgundy);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-title {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 36px;
  line-height: 1.12;
  font-weight: 400;
}

.section-copy {
  max-width: 760px;
  color: var(--muted);
  margin: 0 0 24px;
}

.stats-row,
.feature-grid,
.image-grid {
  display: grid;
  gap: 18px;
}

.stats-row {
  grid-template-columns: repeat(4, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.image-grid {
  grid-template-columns: repeat(3, 1fr);
}

.stat,
.feature,
.image-panel,
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stat {
  padding: 20px;
}

.stat strong {
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

.feature {
  padding: 24px;
}

.feature h3,
.image-panel h3,
.faq-item h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 21px;
}

.feature p,
.image-panel p,
.faq-item p {
  margin: 0;
  color: var(--muted);
}

.feature a {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 800;
  text-decoration: none;
}

.image-panel {
  overflow: hidden;
}

.image-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-panel div {
  padding: 18px;
}

.archive-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}

.year-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.archive-year {
  margin: 12px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}

.archive-year summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--navy);
  cursor: pointer;
  font-weight: 800;
}

.archive-year summary small {
  color: var(--muted);
  font-weight: 700;
}

.voyage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.voyage-link {
  display: block;
  min-height: 52px;
  padding: 14px 16px;
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.voyage-link:hover {
  background: #f9fbfb;
  color: var(--burgundy);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.faq-item {
  padding: 24px;
  box-shadow: none;
}

.modern-footer,
.modern-site-footer {
  padding: 34px 42px;
  background: var(--navy);
  color: #ffffff;
}

.modern-footer-inner,
.modern-site-footer-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.modern-footer a,
.modern-site-footer a {
  color: #f2d79b;
  font-weight: 800;
  text-decoration: none;
}

.modern-legacy-page {
  background: var(--soft) !important;
  color: var(--ink) !important;
  min-width: 0 !important;
}

.modern-legacy-page h1,
.modern-legacy-page h2 {
  color: var(--navy) !important;
}

.modern-legacy-page table {
  max-width: 100% !important;
}

.modern-legacy-page > table,
.modern-legacy-page > p,
.modern-legacy-page > div:not(.modern-site-header):not(.modern-site-footer) {
  width: min(1160px, calc(100% - 32px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.modern-legacy-page > table {
  margin-top: 28px !important;
  margin-bottom: 28px !important;
  background: #ffffff !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.modern-legacy-page td,
.modern-legacy-page th {
  border-color: var(--line) !important;
}

.modern-legacy-page img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.modern-legacy-page a {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .modern-header,
  .modern-site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 22px;
    position: static;
  }

  .modern-nav {
    gap: 12px;
  }

  .hero {
    min-height: 74vh;
  }

  .hero-inner,
  .content-wrap {
    width: min(100% - 32px, 1160px);
  }

  h1 {
    font-size: 40px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .section-title {
    font-size: 30px;
  }

  .stats-row,
  .feature-grid,
  .image-grid,
  .faq-grid,
  .voyage-grid {
    grid-template-columns: 1fr;
  }

  .modern-footer,
  .modern-site-footer {
    padding: 28px 22px;
  }
}
