/* Whitestar Cruise & Travel. A liner, deck by deck: sea salt and navy hull, with their star gold.
   Type: Imbue (display, a condensed Didone) and Proza Libre (text). Every photograph is a liner's window. */
:root {
  --seasalt: #F2F4F7;
  --white: #FFFFFF;
  --mist: #DCE2EA;
  --ink: #111A36;
  --slate: #4B5670;
  --royal: #293895;
  --royal-deep: #202D7C;
  --hull: #0C1633;
  --hull-2: #131F45;
  --foam: #EEF1F6;
  --dusk: #A9B3C7;
  --gold: #D2B24B;
  --gold-hi: #E2C466;
  --brass: #7A5C0C;
  --line: rgba(17, 26, 54, .14);
  --line-hull: rgba(238, 241, 246, .16);
  --sa-accent: #D2B24B;
  --sa-accent-ink: #0C1633;
  --display: "Imbue", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Proza Libre", "Gill Sans", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4.6vw, 72px);
  --wrap: 1320px;
  --window: 22px;
  --top: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 16px); }
body {
  margin: 0; background: var(--seasalt); color: var(--ink);
  font: 400 18px/1.65 var(--sans);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 100;
  letter-spacing: -.004em; line-height: .96; margin: 0; text-wrap: balance;
}
h3 { font-variation-settings: "opsz" 36; letter-spacing: 0; line-height: 1.08; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--gold); color: var(--hull); padding: 12px 16px; font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums lining-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; }

/* ---------------------------------------------------------------- buttons: solid, rectangular, no icons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px;
  background: var(--royal); color: var(--white); border: 0; border-radius: 2px;
  font: 500 16px/1.1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--royal-deep); }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--hull); }
.btn--gold:hover { background: var(--gold-hi); }
.btn--hull { background: var(--hull); color: var(--foam); }
.btn--hull:hover { background: var(--hull-2); }
.tel { font: 400 17px/1 var(--sans); font-variant-numeric: tabular-nums; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.tel:hover { color: var(--gold); }
.textlink { color: var(--royal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.textlink:hover { text-decoration-thickness: 2px; }
.on-hull .textlink, .textlink--light { color: var(--foam); }

/* ---------------------------------------------------------------- header */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--top);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gutter);
  transition: background .35s ease, box-shadow .35s ease;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { width: 104px; height: auto; }
.brand__on-hull { display: none; }
.top__actions { display: flex; align-items: center; gap: 12px; }
.top__tel { margin-right: 14px; font: 400 16px/1 var(--sans); font-variant-numeric: tabular-nums; text-decoration: none; color: var(--slate); }
.top__tel:hover { color: var(--royal); }
.menu-btn {
  min-height: 50px; min-width: 92px; padding: 0 18px; border: 0; border-radius: 2px; cursor: pointer;
  background: var(--white); color: var(--ink); font: 500 16px/1 var(--sans); box-shadow: inset 0 0 0 1px var(--line);
}
.menu-btn:hover { box-shadow: inset 0 0 0 1px var(--royal); }
.inner .top { background: rgba(242, 244, 247, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
/* home: the header rides the voyage in the hull's colours, then settles on the page */
.home .top .brand__on-page { display: none; }
.home .top .brand__on-hull { display: block; }
.home .top .top__tel { color: var(--foam); text-shadow: 0 1px 12px rgba(12, 22, 51, .6); }
.home .top .top__tel:hover { color: var(--gold); }
.home .top .menu-btn { background: rgba(12, 22, 51, .55); color: var(--foam); box-shadow: inset 0 0 0 1px rgba(238, 241, 246, .32); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.home .top.is-solid { background: rgba(12, 22, 51, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-hull); }

/* ---------------------------------------------------------------- the deck directory (menu) */
.directory {
  position: fixed; inset: 0; z-index: 80; overflow-y: auto; background: var(--hull); color: var(--foam);
  padding: 20px var(--gutter) 48px;
}
.directory[hidden] { display: none; }
.directory__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.directory__head img { width: 104px; }
.directory__close { background: var(--foam); color: var(--hull); }
.directory__close:hover { background: var(--white); }
.directory__ship { display: block; width: 100%; max-width: var(--wrap); height: auto; margin: 28px auto 34px; color: var(--gold); }
.directory__grid { display: grid; grid-template-columns: 1.1fr 1.1fr .9fr; gap: 40px 56px; max-width: var(--wrap); margin: 0 auto; }
.directory h2 { font: 500 15px/1.3 var(--sans); letter-spacing: .02em; color: var(--dusk); margin: 0 0 10px; }
.directory ul { list-style: none; border-top: 1px solid var(--line-hull); }
.directory li a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-hull);
  text-decoration: none; font: 400 clamp(26px, 2.6vw, 36px)/1.05 var(--display); font-variation-settings: "opsz" 60;
}
.directory li a small { font: 400 14px/1.3 var(--sans); color: var(--dusk); text-align: right; }
.directory li a:hover, .directory li a[aria-current="page"] { color: var(--gold); }
.directory address { font-style: normal; color: var(--dusk); font-size: 16px; line-height: 1.7; margin: 18px 0 22px; }
.directory address a { color: var(--foam); }
body.menu-open { overflow: hidden; }

/* ================================================================ HOME: the voyage */
#world { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 1.6s ease; pointer-events: none; }
.world-live #world { opacity: 1; }
.home { background: var(--hull); }

.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-content: start; padding: calc(var(--top) + clamp(20px, 5vh, 56px)) var(--gutter) clamp(44px, 9vh, 96px); overflow: hidden; color: var(--foam); }
.hero__still { position: absolute; inset: 0; z-index: 0; }
.hero__still picture, .dusk__still picture { display: block; width: 100%; height: 100%; }
.hero__still img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero__still::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,22,51,.45) 0%, rgba(12,22,51,.12) 34%, rgba(12,22,51,0) 52%, rgba(12,22,51,0) 80%, var(--hull) 100%); }
.world-live .hero__still { opacity: 0; transition: opacity 1.4s ease .2s; }
.hero__copy { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 20px clamp(32px, 5vw, 88px); align-items: start; max-width: var(--wrap); margin: 0 auto; width: 100%; }
.hero__side { padding-top: clamp(24px, 3.2vw, 52px); }
.hero__copy::before { content: ""; position: absolute; inset: -14% -6% -24% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 34% 42%, rgba(12, 22, 51, .5), rgba(12, 22, 51, .22) 48%, rgba(12, 22, 51, 0) 72%); }
.hero h1 { font-size: clamp(60px, 8.6vw, 140px); line-height: .9; letter-spacing: -.01em; margin-bottom: 24px; text-shadow: 0 2px 40px rgba(12, 22, 51, .45); }
.hero h1 span { display: block; }
.hero__lede { max-width: 440px; font-size: 19px; color: var(--foam); text-shadow: 0 1px 18px rgba(12, 22, 51, .8); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 28px; }
.hero__actions .tel { color: var(--foam); }
.hero__cue { position: absolute; right: var(--gutter); bottom: clamp(44px, 9vh, 96px); z-index: 2; margin: 0; font-size: 15px; color: var(--foam); opacity: .86; max-width: 11em; text-align: right; transition: opacity .4s ease; }
.is-scrolled .hero__cue { opacity: 0; }

/* the decks: plain sections without 3D; captions over the voyage with it */
.journey { position: relative; z-index: 2; }
.deck { position: relative; padding: clamp(72px, 12vh, 128px) var(--gutter); color: var(--foam); background: var(--hull); border-top: 1px solid var(--line-hull); }
.deck:nth-of-type(odd) { background: var(--hull-2); }
.deck__grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); max-width: var(--wrap); margin: 0 auto; align-items: start; }
.deck__label { display: block; font: 500 15px/1.3 var(--sans); color: var(--gold); margin-bottom: 14px; }
.deck h2 { font-size: clamp(64px, 8.6vw, 132px); line-height: .9; margin-bottom: 22px; }
.deck__lede { font-size: 19px; line-height: 1.6; }
.deck__lines { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 4px 0 26px; }
.deck__lines a { font: 400 26px/1.3 var(--display); font-variation-settings: "opsz" 40; text-decoration: none; border-bottom: 1px solid rgba(210, 178, 75, .55); }
.deck__lines a:hover { color: var(--gold); border-color: var(--gold); }
.deck__more { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.deck__figs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.deck__figs figure { margin: 0; }
.deck__figs figure:first-child { grid-column: 1 / -1; }
.deck__figs img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--window); background: var(--hull-2); }
.deck__figs figcaption { font-size: 14px; color: var(--dusk); margin-top: 8px; }
.dusk { position: relative; padding: clamp(96px, 16vh, 180px) var(--gutter); color: var(--foam); text-align: center; overflow: hidden; background: var(--hull); }
.dusk__still { position: absolute; inset: 0; }
.dusk__still img { width: 100%; height: 100%; object-fit: cover; }
.dusk__still::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(12,22,51,.2), rgba(12,22,51,.75) 75%); }
.dusk__copy { position: relative; max-width: 820px; margin: 0 auto; }
.dusk h2 { font-size: clamp(60px, 8vw, 128px); line-height: .92; margin-bottom: 24px; }
.dusk p { font-size: 19px; max-width: 620px; margin: 0 auto 30px; }
.dusk__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 26px; }
.gauge { display: none; }
.deck__photo { display: none; margin: 0 0 20px; }
.deck__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.has-3d .deck__photo { display: block; }
.has-3d .deck h2 { font-size: clamp(52px, 5.6vw, 88px); margin-bottom: 16px; }

/* ---------- with the voyage running ---------- */
.has-3d .hero { background: transparent; }
.has-3d .deck { background: transparent; border: 0; min-height: 190vh; padding-top: 0; padding-bottom: 0; display: flex; flex-direction: column; }
.has-3d .deck__grid { display: block; max-width: none; margin: 0; flex: 1; }
.has-3d .deck__figs { display: none; }
.has-3d .deck__copy {
  position: sticky; top: calc(var(--top) + 9vh); max-width: 470px; padding: 34px 36px 36px; margin-left: max(5vw, 190px);
  background: radial-gradient(ellipse at 30% 40%, rgba(12, 22, 51, .66), rgba(12, 22, 51, .28) 70%, rgba(12, 22, 51, 0) 100%);
  border-radius: 28px;
}
.has-3d .deck--right .deck__copy { margin-left: auto; margin-right: 5vw; }
@media (min-width: 761px) and (max-height: 980px) {
  /* a laptop screen: the longest card (luxury) must sit whole between the header and the fold */
  .has-3d .deck__copy { top: calc(var(--top) + 2vh); padding-top: 26px; padding-bottom: 28px; }
  .has-3d .deck__photo img { aspect-ratio: 21 / 9; }
  .has-3d .deck__lines { margin-bottom: 20px; }
}
.has-3d .deck h2 { text-shadow: 0 2px 30px rgba(12, 22, 51, .55); }
.has-3d .deck__lede, .has-3d .deck__lines { text-shadow: 0 1px 14px rgba(12, 22, 51, .85); }
.has-3d .dusk { background: transparent; min-height: 170vh; padding-top: 0; display: flex; align-items: flex-start; justify-content: center; }
.has-3d .dusk__still { display: none; }
.has-3d .dusk__copy { position: sticky; top: calc(var(--top) + 17vh); }
.has-3d .dusk h2, .has-3d .dusk p { text-shadow: 0 2px 26px rgba(12, 22, 51, .8); }
.has-3d .gauge {
  display: block; position: fixed; left: var(--gutter); top: 50%; z-index: 20; transform: translateY(-50%);
  opacity: 0; pointer-events: none; transition: opacity .6s ease;
}
.has-3d .gauge.is-on { opacity: 1; pointer-events: auto; }
.gauge ol { list-style: none; position: relative; padding-left: 26px; }
.gauge ol::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 14px; width: 1px; background: rgba(238, 241, 246, .35); }
.gauge a { position: relative; display: flex; align-items: center; min-height: 40px; font: 400 15px/1 var(--sans); color: rgba(238, 241, 246, .78); text-decoration: none; text-shadow: 0 1px 10px rgba(12, 22, 51, .9); }
.gauge a::before { content: ""; position: absolute; left: -23px; width: 9px; height: 1px; background: currentColor; }
.gauge a[aria-current="true"] { color: var(--foam); font-weight: 500; }
.gauge a[aria-current="true"]::after { content: ""; position: absolute; left: -30px; width: 22px; height: 22px; background: url(../img/star.svg) center / contain no-repeat; filter: drop-shadow(0 0 8px rgba(210, 178, 75, .6)); }
.gauge a:hover { color: var(--gold); }
body.still-mode .hero__copy, body.still-mode .deck__copy, body.still-mode .dusk__copy, body.still-mode .top, body.still-mode .gauge, body.still-mode .hero__cue { visibility: hidden; }

/* ================================================================ solid ground: the rest of every page */
.after { position: relative; z-index: 3; background: var(--seasalt); }
.band { padding: clamp(72px, 11vh, 136px) var(--gutter); }
.band + .band { border-top: 1px solid var(--line); }
.band--white { background: var(--white); }
.band--hull { background: var(--hull); color: var(--foam); border-top: 0; }
.band--hull + .band { border-top: 0; }

/* the deck: a heading on the left, the content on the right, on a hairline */
.deckrow { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); max-width: var(--wrap); margin: 0 auto; }
.deckrow h2 { font-size: clamp(44px, 5vw, 72px); line-height: .95; }
.deckrow__body { max-width: 72ch; }
.deckrow__body > p:first-child { font-size: 20px; line-height: 1.6; }
.lede { font-size: 20px; line-height: 1.6; }
.muted { color: var(--slate); }

/* the lines we represent: a monochrome row on the hull */
.lines-band { padding: clamp(64px, 10vh, 112px) var(--gutter); background: var(--hull); color: var(--foam); }
.lines-band__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 20px 64px; align-items: end; max-width: var(--wrap); margin: 0 auto 44px; }
.lines-band h2 { font-size: clamp(44px, 5.2vw, 76px); line-height: .95; }
.lines-band__head p { color: var(--dusk); margin: 0; }
.logos { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: var(--wrap); margin: 0 auto; border-top: 1px solid var(--line-hull); border-left: 1px solid var(--line-hull); }
.logos li { border-right: 1px solid var(--line-hull); border-bottom: 1px solid var(--line-hull); }
.logos a { display: grid; place-items: center; height: 132px; padding: 22px; text-decoration: none; transition: background .2s ease; }
.logos a:hover { background: var(--hull-2); }
.logos img { max-height: 52px; max-width: min(150px, 100%); width: auto; filter: brightness(0) invert(1); opacity: .86; transition: opacity .2s ease; }
.logos a:hover img { opacity: 1; }
.logos img.tall { max-height: 74px; }

/* windows: every photograph is cut like a liner's window */
.window { margin: 0; }
.window img { width: 100%; border-radius: var(--window); object-fit: cover; background: var(--mist); }
.window figcaption { font-size: 15px; line-height: 1.5; color: var(--slate); margin-top: 10px; }
.band--hull .window figcaption { color: var(--dusk); }
.window--promenade img { aspect-ratio: 21 / 9; }
.window-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 34px 0 6px; padding-top: 22px; border-top: 1px solid var(--line); }
.window-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.window-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.window-row img { aspect-ratio: 4 / 3; }
.window-row .window--tall img { aspect-ratio: 3 / 4; }

/* inner pages: the page header */
.inner main { padding-top: var(--top); }
.pagehead { padding: clamp(36px, 7vh, 72px) var(--gutter) 0; }
.crumbs { max-width: var(--wrap); margin: 0 auto 26px; font-size: 15px; color: var(--slate); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--dusk); }
.crumbs a { color: var(--slate); text-decoration: none; border-bottom: 1px solid transparent; }
.crumbs a:hover { color: var(--royal); border-color: currentColor; }
.pagehead__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; max-width: var(--wrap); margin: 0 auto 40px; }
.pagehead h1 { font-size: clamp(64px, 9.6vw, 148px); line-height: .88; color: var(--royal); }
.pagehead__aside p { font-size: 20px; line-height: 1.6; margin-bottom: 22px; }
.pagehead__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.pagehead .window--promenade { max-width: var(--wrap); margin: 0 auto; }

/* the fleet: ship names set as a line of type */
.fleet { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 34px; margin: 6px 0 0; }
.fleet li { font: 400 clamp(28px, 2.6vw, 38px)/1.2 var(--display); font-variation-settings: "opsz" 50; color: var(--royal); }
.band--hull .fleet li { color: var(--foam); }

/* ruled lists: what's included, facts */
.ruled { list-style: none; border-top: 1px solid var(--line); margin: 8px 0 26px; }
.ruled li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.band--hull .ruled, .band--hull .ruled li { border-color: var(--line-hull); }
.ruled strong { font-weight: 500; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }

/* questions */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 18px 0; font: 500 19px/1.4 var(--sans); min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 30px/1 var(--display); color: var(--royal); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--royal); }
.faq__a { padding: 0 0 22px; max-width: 68ch; }
.faq__a p:last-child { margin-bottom: 0; }

/* testimonials and the Google rating */
.rating { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
.rating strong { font: 400 clamp(96px, 11vw, 168px)/.8 var(--display); color: var(--royal); letter-spacing: -.02em; }
.band--hull .rating strong { color: var(--gold); }
.rating span { font-size: 18px; }
.stars { color: var(--gold); letter-spacing: 3px; }
.quote { margin: 0; padding: 26px 0 28px; border-top: 1px solid var(--line); }
.quote p { font: 400 clamp(21px, 1.8vw, 25px)/1.42 var(--display); font-variation-settings: "opsz" 22; letter-spacing: .005em; color: var(--ink); max-width: 62ch; }
.quote footer { font-size: 16px; color: var(--slate); }
.quote footer b { font-weight: 500; color: var(--ink); }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; }
.clamp { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.clamp.is-open { display: block; -webkit-line-clamp: unset; }
.more { background: none; border: 0; padding: 8px 0; min-height: 44px; font: 500 16px/1 var(--sans); color: var(--royal); cursor: pointer; text-decoration: underline; text-underline-offset: 5px; }
.wall { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 26px; }
.wall li { background: var(--white); border-radius: 14px; padding: 20px 22px; box-shadow: 0 1px 0 var(--line); }
.wall b { display: block; font-weight: 500; }
.wall .when { display: block; font-size: 14px; color: var(--slate); }
.wall .reply { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; color: var(--slate); }
.wall .reply i { font-style: normal; font-weight: 500; color: var(--royal); display: block; margin-bottom: 4px; }
.mono { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--royal); color: var(--white); font: 500 16px/1 var(--sans); margin-bottom: 12px; }

/* the lines, deck by deck (cruise lines page) and line rows */
.linerow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px clamp(28px, 5vw, 72px); align-items: center; padding: 34px 0; border-top: 1px solid var(--line); }
.linerow:last-child { border-bottom: 1px solid var(--line); }
.linerow img { aspect-ratio: 4 / 3; }
.linerow h3 { font-size: clamp(38px, 3.8vw, 54px); font-variation-settings: "opsz" 80; color: var(--royal); margin-bottom: 14px; }
.linerow__logo { height: 34px; width: auto; margin-bottom: 18px; filter: brightness(0); opacity: .72; }
.linerow__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 8px; }
.deckhead { display: flex; align-items: baseline; gap: 22px; max-width: var(--wrap); margin: 0 auto 8px; }
.deckhead h2 { font-size: clamp(52px, 6.4vw, 96px); color: var(--royal); }
.deckhead p { margin: 0; color: var(--slate); max-width: 44ch; }

/* index lists: cruise types, destinations */
.index { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--line); }
.index li { padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.index h3 { font-size: clamp(30px, 2.6vw, 38px); color: var(--royal); margin-bottom: 8px; }
.index p { margin: 0 0 10px; }
.index .ask { font-size: 16px; }
.regions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 44px; }
.regions h3 { font-size: 30px; color: var(--royal); margin-bottom: 10px; }
.regions ul { list-style: none; border-top: 1px solid var(--line); }
.regions li { padding: 10px 0; border-bottom: 1px solid var(--line); }

/* the closing band: the gold sheer line, then the hull */
.closing { position: relative; padding: clamp(80px, 12vh, 140px) var(--gutter); background: var(--hull); color: var(--foam); border-top: 3px solid var(--gold); }
.closing__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; max-width: var(--wrap); margin: 0 auto; }
.closing h2 { font-size: clamp(52px, 7vw, 112px); line-height: .92; }
.closing p { color: var(--dusk); margin: 18px 0 0; max-width: 52ch; }
.closing__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.closing .tel { color: var(--foam); }

/* contact */
.office { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; }
.office h3 { font-size: 30px; color: var(--royal); margin-bottom: 10px; }
.office address { font-style: normal; line-height: 1.75; }
.office dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.office dt { color: var(--slate); }
.office dd { margin: 0; }
.map { width: 100%; height: 380px; border: 0; border-radius: var(--window); background: var(--mist); display: block; }
.form { display: grid; gap: 16px; max-width: 640px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: 16px; }
.form input, .form textarea { font: 400 17px/1.4 var(--sans); padding: 14px 16px; border: 1px solid #B7C0CE; border-radius: 4px; background: var(--white); color: var(--ink); width: 100%; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--royal); outline-offset: 1px; border-color: var(--royal); }
.form__status { min-height: 1.6em; font-size: 16px; margin: 0; }
.form__status.is-err { color: #8A1C1C; }
.form__status.is-ok { color: var(--royal); }

/* ---------------------------------------------------------------- footer: the hull */
.foot { position: relative; z-index: 3; background: var(--hull); color: var(--foam); border-top: 3px solid var(--gold); padding: 64px var(--gutter) 40px; }
.closing + .foot { border-top: 1px solid var(--line-hull); }
.foot__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 36px 44px; max-width: var(--wrap); margin: 0 auto; }
.foot__brand img { width: 120px; margin-bottom: 18px; }
.foot__brand p { color: var(--dusk); font-size: 16px; max-width: 34ch; }
.foot h2 { font: 500 15px/1.3 var(--sans); letter-spacing: .02em; color: var(--dusk); margin: 0 0 12px; }
.foot ul { list-style: none; }
.foot li a { display: inline-block; padding: 5px 0; text-decoration: none; font-size: 16px; }
.foot li a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.foot address { font-style: normal; font-size: 16px; line-height: 1.7; color: var(--foam); }
.foot address a { color: var(--foam); }
.foot__hours { color: var(--dusk); font-size: 15px; margin-top: 10px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; max-width: var(--wrap); margin: 44px auto 0; padding-top: 22px; border-top: 1px solid var(--line-hull); font-size: 14px; color: var(--dusk); }
.foot__base a { color: var(--dusk); }
.asata { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 14px; color: var(--dusk); text-decoration: none; }
.asata img { width: 58px; height: auto; filter: grayscale(1) brightness(1.6); opacity: .85; }

/* ---------------------------------------------------------------- phones and tablets */
@media (max-width: 1100px) {
  .directory__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .deck__grid, .deckrow, .pagehead__grid, .lines-band__head, .closing__grid, .linerow, .office { grid-template-columns: 1fr; }
  .quotes, .index, .facts { grid-template-columns: 1fr; }
  .regions { grid-template-columns: 1fr 1fr; }
  .window-row, .window-row--4 { grid-template-columns: 1fr 1fr; }
  .window-row > :first-child:nth-last-child(3) { grid-column: 1 / -1; }
  .window--promenade img { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  :root { --top: 72px; --window: 14px; }
  body { font-size: 17px; }
  .brand img { width: 84px; }
  .top__tel, .top .top__actions > .btn { display: none; }
  .directory__grid { grid-template-columns: 1fr; }
  .directory__ship { margin: 18px 0 22px; }
  .hero { padding-bottom: 64px; }
  .hero h1 { font-size: clamp(56px, 16vw, 84px); }
  .hero__cue { display: none; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logos a { height: 104px; padding: 16px; }
  .logos img { max-height: 40px; }
  .has-3d .deck { min-height: 170vh; }
  .has-3d .gauge { display: none; }
  .has-3d .deck__photo { margin-bottom: 14px; }
  .has-3d .deck__photo img { aspect-ratio: 12 / 5; border-radius: 12px; }
  .has-3d .deck__lede { font-size: 16.5px; line-height: 1.5; }
  .has-3d .deck__lines { gap: 4px 18px; margin: 2px 0 16px; }
  .has-3d .deck__lines a { font-size: 22px; }
  .has-3d .deck__copy, .has-3d .deck--right .deck__copy { margin: 0; top: auto; bottom: 24px; position: sticky; max-width: none; padding: 22px 20px 24px; border-radius: 22px;
    background: linear-gradient(180deg, rgba(12,22,51,.2), rgba(12,22,51,.78) 30%, rgba(12,22,51,.86)); }
  .has-3d .deck__grid { width: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
  .hero__copy { grid-template-columns: 1fr; }
  .hero__side { padding-top: 0; }
  .deck h2 { font-size: clamp(58px, 17vw, 84px); }
  .has-3d .dusk__copy { top: auto; }
  .has-3d .dusk { align-items: flex-end; padding-bottom: 20vh; }
  .regions, .window-row, .window-row--2, .window-row--4 { grid-template-columns: 1fr; }
  .window-row > :first-child:nth-last-child(3) { grid-column: auto; }
  .foot__grid { grid-template-columns: 1fr; }
  .pagehead h1 { font-size: clamp(56px, 15vw, 88px); }
  .rating strong { font-size: 104px; }
  .map { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
