/* ══════════════════════════════════════════════════════════════════════════
   Waikiki Beach Snorkel — built on Industry: light technical ground,
   Barlow Condensed over Barlow, square corners, hairline borders, and
   registration marks on every framed object.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --ground:        #F1F7F9;
  --ink:           #08283A;
  --cyan:          #00B4CE;
  --cyan-deep:     #00849A;
  --cyan-light:    #7FE3F2;
  --coral:         #FF6A3D;
  --coral-deep:    #C2431C;
  --photo-ground:  #DCEEF2;

  --rule:          rgba(8, 40, 58, .16);
  --rule-soft:     rgba(8, 40, 58, .13);
  --rule-frame:    rgba(8, 40, 58, .2);
  --rule-dark:     rgba(255, 255, 255, .22);

  --body-light:    rgba(8, 40, 58, .8);
  --body-light-hi: rgba(8, 40, 58, .85);
  --body-dark:     rgba(255, 255, 255, .84);

  --font-display:  'Barlow Condensed', 'Helvetica Neue', Arial, sans-serif;
  --font-body:     'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --font-mark:     'Saira', 'Helvetica Neue', Arial, sans-serif;

  --measure:       1240px;
  --gutter:        32px;
  --header-clear:  130px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan-deep); text-decoration: none; }
a:hover { color: var(--coral); }
img { max-width: 100%; display: block; }
::selection { background: rgba(0, 180, 206, .28); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.wrap { max-width: var(--measure); margin: 0 auto; padding-inline: var(--gutter); }

/* Skip link — keyboard users shouldn't have to tab the whole nav. */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 50;
  background: var(--ink); color: #fff; padding: 12px 20px;
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.skip:focus { left: 0; color: #fff; }

/* ── Blueprint frame ───────────────────────────────────────────────────────
   The structural motif: square, hairline-bordered, four + registration
   marks bleeding past the corners. One component, never hand-placed. */
.blueprint { position: relative; border: 1px solid var(--rule-frame); border-radius: 0; }
.blueprint > .corner {
  position: absolute; width: 11px; height: 11px; pointer-events: none;
  color: color-mix(in srgb, currentColor 55%, transparent);
}
.blueprint > .corner::before,
.blueprint > .corner::after { content: ""; position: absolute; background: currentColor; }
.blueprint > .corner::before { left: 5px; top: 0; width: 1px; height: 100%; }
.blueprint > .corner::after  { top: 5px; left: 0; width: 100%; height: 1px; }
.blueprint > .corner.tl { top: -6px; left: -6px; }
.blueprint > .corner.tr { top: -6px; right: -6px; }
.blueprint > .corner.bl { bottom: -6px; left: -6px; }
.blueprint > .corner.br { bottom: -6px; right: -6px; }

/* ── Type roles ────────────────────────────────────────────────────────────*/
.kicker {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--cyan-deep);
}
.eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--cyan-deep);
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; margin: 0; }
p { text-wrap: pretty; }

/* ── Logo lockup ───────────────────────────────────────────────────────────
   The SVG carries the arched wordmark, hibiscus and island chain; the word
   SNORKEL is live text laid over it so it stays editable. Every value scales
   linearly from a 468px base — set --lockup-w and the rest follows. */
.lockup-header { --lockup-w: 140px; }
.lockup-footer { --lockup-w: 180px; }
.lockup {
  position: relative; display: block; flex: none;
  width: var(--lockup-w); height: calc(var(--lockup-w) * .6923);
}
.lockup img { position: absolute; inset: 0; width: 100%; height: 100%; }
.lockup .word {
  position: absolute; left: 0; right: 0;
  top: calc(var(--lockup-w) * .5145);
  height: calc(var(--lockup-w) * .0992);
  display: flex; align-items: flex-end; justify-content: center;
  font-family: var(--font-mark); font-weight: 800; font-style: italic;
  font-size: calc(var(--lockup-w) * .1378);
  line-height: .72; white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: calc(var(--lockup-w) * .0047) #2c2e35;
}

/* ── Buttons ───────────────────────────────────────────────────────────────*/
.btn {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .11em; text-align: center;
  transition: background-color .15s, color .15s, border-color .15s;
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

.btn-nav {
  background: var(--cyan); color: #fff; padding: 11px 22px;
  font-size: 16px; letter-spacing: .1em;
}
.btn-nav:hover { background: #08849A; color: #fff; }

.btn-hero { font-size: 17px; padding: 15px 32px; }
.btn-hero-fill { background: var(--cyan); color: #fff; }
.btn-hero-fill:hover { background: var(--cyan-light); color: var(--ink); }
.btn-hero-ghost { border: 1px solid rgba(255, 255, 255, .5); color: #fff; }
.btn-hero-ghost:hover { border-color: var(--coral); color: var(--coral); }

.btn-book {
  display: block; width: 100%; background: var(--cyan); color: #fff;
  font-size: 19px; padding: 18px 24px;
}
.btn-book:hover { background: #08849A; color: #fff; }

/* ── Header ────────────────────────────────────────────────────────────────*/
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(241, 247, 249, .94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(8, 40, 58, .14);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px 32px; flex-wrap: wrap; padding-block: 14px;
}
.site-nav {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  letter-spacing: .09em; text-transform: uppercase;
}
.site-nav a { color: var(--ink); }
.site-nav a:not(.btn):hover { color: var(--coral); }

/* ── Hero ──────────────────────────────────────────────────────────────────*/
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--focus, center);
}
/* Two washes, both from the spec's vocabulary. The vertical one is the
   design as handed off; the horizontal one is a legibility scrim over the
   type column. Tuned for the final hero (deep blue water, bright sky at
   top left) — light enough that the photo still carries, heavy enough that
   the kicker and headline clear the cloud highlights. */
.hero .wash {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(96deg,
      rgba(8, 40, 58, .6) 0%, rgba(8, 40, 58, .52) 32%,
      rgba(8, 40, 58, .34) 50%, rgba(8, 40, 58, .12) 68%,
      rgba(8, 40, 58, 0) 84%),
    linear-gradient(180deg,
      rgba(8, 40, 58, .3) 0%, rgba(0, 120, 142, .12) 55%, rgba(8, 40, 58, .34) 100%);
}
@media (max-width: 860px) {
  /* Single column on a phone — the type spans the full width, so the
     scrim has to cover it rather than fading out to the right. */
  .hero .wash {
    background:
      linear-gradient(180deg,
        rgba(8, 40, 58, .5) 0%, rgba(8, 40, 58, .55) 60%, rgba(8, 40, 58, .62) 100%),
      linear-gradient(180deg,
        rgba(8, 40, 58, .3) 0%, rgba(0, 120, 142, .12) 55%, rgba(8, 40, 58, .34) 100%);
  }
}
.hero .wrap { position: relative; padding-block: 120px 128px; }
.hero-kicker {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: .24em; text-transform: uppercase; color: var(--cyan-light);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(44px, 6.2vw, 78px); line-height: .94; letter-spacing: -.01em;
  margin-bottom: 24px; text-wrap: balance;
}
.hero p {
  font-size: 19px; line-height: 1.55; max-width: 44ch;
  margin: 0 0 36px; color: rgba(255, 255, 255, .86);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Section header row ────────────────────────────────────────────────────*/
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 18px; margin-bottom: 52px;
}
.section-head h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1; letter-spacing: .01em; }

/* ── Trip cards ────────────────────────────────────────────────────────────*/
.trips { padding-block: 80px 24px; }
.trip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 40px; }
/* Cards stretch to equal height in the grid; the body flexes so the
   price/duration rule lands on the same baseline across all three
   regardless of how long the description runs. */
.trip-card { display: flex; flex-direction: column; color: var(--ink); background: transparent; }
.trip-card:hover { color: var(--ink); }
.trip-card .band { height: 210px; flex: none; background: var(--photo-ground); overflow: hidden; }
.trip-card .band img { width: 100%; height: 100%; object-fit: cover; }
.trip-card .body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.trip-card .kicker { display: block; margin-bottom: 10px; }
.trip-card h3 { font-size: 30px; line-height: 1.05; margin-bottom: 12px; }
.trip-card p { margin: 0 0 18px; font-size: 16px; line-height: 1.55; color: rgba(8, 40, 58, .78); }
.trip-card .foot {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--rule); padding-top: 14px; margin-top: auto;
}
.trip-card .price { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.trip-card .duration {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--coral);
}
.trip-card:hover { border-color: var(--cyan); }
.trip-card:hover .duration { color: var(--coral-deep); }

/* ── Open bar band ─────────────────────────────────────────────────────────*/
.open-bar {
  position: relative; background: var(--cyan); color: #fff;
  margin-top: 84px; overflow: hidden;
}
.open-bar > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The spec's wash bottoms out at .46 on the right, where the 18px body copy
   sits over the brightest part of the photo — about 3.9:1. Deepened the
   right end to clear AA; direction and teal-to-ink character are unchanged. */
.open-bar .wash {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(0, 132, 154, .72) 0%, rgba(0, 132, 154, .6) 42%, rgba(8, 40, 58, .64) 100%);
}
.open-bar .wrap {
  position: relative; padding-block: 80px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px 64px; align-items: center;
}
.open-bar .kicker {
  display: block; letter-spacing: .22em; color: rgba(255, 255, 255, .8); margin-bottom: 14px;
}
.open-bar h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: .96; }
.open-bar p { font-size: 18px; line-height: 1.6; margin: 0 0 24px; max-width: 52ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span {
  border: 1px solid rgba(255, 255, 255, .55); padding: 8px 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: .1em; text-transform: uppercase;
}
.open-bar .note { margin-top: 22px; font-size: 15px; color: rgba(255, 255, 255, .8); }

/* ── Trip detail sections ──────────────────────────────────────────────────*/
.trip-detail { padding-block: 84px 0; scroll-margin-top: var(--header-clear); }
.trip-detail .cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 64px; align-items: start; min-width: 0;
}
.trip-detail .cols > * { min-width: 0; }
.trip-detail .kicker { display: block; margin-bottom: 12px; }
.trip-detail h2 { font-size: clamp(36px, 4vw, 52px); line-height: .98; margin-bottom: 20px; }
.trip-detail .intro {
  font-size: 17px; line-height: 1.6; color: var(--body-light);
  margin: 0 0 26px; max-width: 44ch;
}
.specs {
  display: grid; grid-template-columns: auto 1fr; gap: 10px 20px;
  margin: 0 0 26px; font-size: 15.5px; line-height: 1.45;
}
.specs dt { margin: 0; padding-top: 2px; white-space: nowrap; }
.specs dd { margin: 0; color: var(--body-light-hi); }
.included { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px;
  font-size: 15.5px; line-height: 1.45; color: var(--body-light); }
.included li { display: flex; gap: 12px; }
.included li::before { content: "—"; color: var(--cyan); flex: none; }

.ticket-col { display: grid; gap: 32px; min-width: 0; }
.photo-frame { height: 420px; background: var(--photo-ground); min-width: 0; overflow: hidden; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.ticket-card { background: #fff; padding: 32px; }
.ticket-card .kicker { display: block; margin-bottom: 20px; }
.ticket-rows { display: grid; margin-bottom: 26px; }
.ticket-rows .row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; padding: 13px 0; border-top: 1px solid rgba(8, 40, 58, .14);
}
.ticket-rows .row:first-child { border-top: 0; }
.ticket-rows .label { font-size: 16px; color: var(--body-light-hi); }
.ticket-rows .amount { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1; }

/* ── Check in & boarding ───────────────────────────────────────────────────*/
.check-in {
  position: relative; margin-top: 96px; padding-top: 96px;
  scroll-margin-top: var(--header-clear); overflow: hidden;
}
.check-in > img { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--focus, center); }
/* Spec calls for a light wash that tints the paper ground rather than
   replacing it. At the spec's .42–.62 the dark body copy sits straight on a
   busy, high-key photo and is not readable; lifted so the photo still reads
   as imagery behind the content but the text clears AA. */
.check-in .wash {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(241, 247, 249, .86) 0%, rgba(241, 247, 249, .8) 55%, rgba(241, 247, 249, .88) 100%);
}
.check-in .wrap { position: relative; padding-bottom: 96px; }
.check-in .section-head { margin-bottom: 48px; }
.check-in .cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 64px; align-items: start;
}
.check-in .cols > * { min-width: 0; }
.check-in .prose p { font-size: 17px; line-height: 1.6; color: var(--body-light-hi);
  margin: 0 0 20px; max-width: 56ch; }
.check-in .prose p:last-child { margin-bottom: 0; }
/* Needs a real ground, not a tint — a translucent card over a photo lets
   the boat's livery read through the price rows. */
.walk-card { padding: 28px; background: rgba(246, 250, 251, .95); }
.walk-card .kicker { display: block; margin-bottom: 18px; }
.walk-card .row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; padding: 11px 0; font-size: 15.5px;
  border-top: 1px solid var(--rule-soft);
}
.walk-card .row:first-of-type { border-top: 0; }
.walk-card .row span:first-child { color: var(--body-light-hi); }
.walk-card .time {
  font-family: var(--font-display); font-weight: 600; letter-spacing: .04em;
  color: var(--cyan-deep); white-space: nowrap;
}

/* ── Know before you go ────────────────────────────────────────────────────*/
.know { background: var(--ink); color: #fff; scroll-margin-top: 110px; }
.know .wrap { padding-block: 80px; }
.know h2 {
  font-size: clamp(32px, 3.6vw, 44px); line-height: 1;
  margin-bottom: 48px; border-bottom: 1px solid var(--rule-dark); padding-bottom: 18px;
}
.know .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px; }
.know h3 {
  font-weight: 600; font-size: 15px; letter-spacing: .2em;
  color: var(--cyan-light); margin-bottom: 16px;
}
.know ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px;
  font-size: 16px; line-height: 1.5; color: var(--body-dark); }

/* ── Footer ────────────────────────────────────────────────────────────────*/
.site-footer { border-top: 1px solid var(--rule); }
.site-footer .wrap {
  padding-block: 56px;
  display: grid; grid-template-columns: auto minmax(240px, 1fr) auto;
  gap: 48px; align-items: center;
}
.site-footer .lockup .word { -webkit-text-stroke-color: #2c2e35; }
.site-footer .about { font-size: 15px; line-height: 1.65; color: rgba(8, 40, 58, .72); }
.site-footer .about .kicker { display: block; margin-bottom: 8px; }
.site-footer nav {
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase;
  display: grid; gap: 8px; justify-items: end;
}
.site-footer nav a { color: var(--ink); }
.site-footer nav a:hover { color: var(--coral); }
.site-footer .legal {
  grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 24px;
  font-size: 14px; color: rgba(8, 40, 58, .6);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}

/* ── Responsive ────────────────────────────────────────────────────────────
   Every multi-column grid collapses on its own via auto-fit, and headings
   use clamp(). These two rules cover what auto-fit cannot: a sticky header
   that would wrap to a third of the viewport on a phone, and gutters that
   are too generous at 375px. */
@media (max-width: 860px) {
  :root { --gutter: 20px; --header-clear: 96px; }
  /* A wrapped five-link nav plus the emblem stacks to ~250px on a phone —
     a third of the viewport. Shrink the lockup and run the nav as a single
     scrolling strip with the primary CTA pulled to the front of it. */
  .site-header { position: static; }
  .lockup-header { --lockup-w: 96px; }
  .site-header .wrap { padding-block: 10px; gap: 8px 16px; }
  .site-nav {
    width: 100%; flex-wrap: nowrap; gap: 18px; font-size: 15px;
    overflow-x: auto; scrollbar-width: none;
    padding-bottom: 2px; -webkit-overflow-scrolling: touch;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav > a { flex: none; }
  .site-nav .btn-nav { order: -1; padding: 9px 18px; }
  .hero .wrap { padding-block: 72px 80px; }
  .trips { padding-block: 56px 24px; }
  .open-bar { margin-top: 56px; }
  .open-bar .wrap { padding-block: 56px; }
  .trip-detail { padding-top: 56px; }
  .trip-detail .cols, .check-in .cols { gap: 40px; }
  .check-in { margin-top: 64px; padding-top: 64px; }
  .check-in .wrap { padding-bottom: 64px; }
  .know .wrap { padding-block: 56px; }
  .site-footer .wrap {
    grid-template-columns: 1fr; gap: 32px; padding-block: 40px; justify-items: start;
  }
  .site-footer nav { justify-items: start; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .photo-frame { height: 260px; }
  .ticket-card { padding: 24px; }
}

@media print {
  .site-header, .hero-actions, .btn { display: none; }
  body { background: #fff; }
}
