/* ==========================================================================
   Cruising with Katie LLC
   One stylesheet, no frameworks, no external fonts (nothing to download =
   fast first paint). Mobile-first; breakpoints at 640 / 900 / 1100.
   ========================================================================== */

:root {
  /* Palette sampled from Katie's own watercolor worksheet and logo:
     deep teal-blues, pale washed blues, and hibiscus pink. No warm oranges -
     they are not in her brand.
       --navy      logo artwork
       --sea       #005070, the dominant tone in her worksheet
       --mist      the pale blue her worksheet uses for card fills
       --rose      hibiscus, darkened to #b8446b so white text clears 4.5:1
                   (her actual petals are ~#f8d8e0, far too pale for that) */
  --navy:      #0e3159;
  --navy-2:    #164272;
  --navy-soft: #1d4d78;
  --logo-teal: #598995;
  --sea:       #005070;
  --sea-2:     #006080;
  --sky:       #a0d0f0;
  --teal:      #006080;
  --teal-dark: #005070;
  --mist:      #eef5fa;
  --mist-2:    #d9e8f2;
  --rose:     #b8446b;
  --rose-dark:#9c3459;
  --ink:       #182430;
  --body:      #3c4d5e;
  --muted:     #5f7386;
  --line:      #dde5ec;
  --white:     #ffffff;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1160px;
  --narrow: 760px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(14, 49, 89, .06), 0 2px 8px rgba(14, 49, 89, .06);
  --shadow-md: 0 4px 12px rgba(14, 49, 89, .08), 0 12px 32px rgba(14, 49, 89, .10);
  --shadow-lg: 0 8px 24px rgba(14, 49, 89, .12), 0 24px 60px rgba(14, 49, 89, .16);
  /* The logo is a near-square badge rather than a horizontal wordmark, so the
     header has to be tall enough for the script inside it to stay legible. */
  --header-h: 76px;
  --logo-h: 58px;

  /* Rewritten with a content hash at build time, same as every other asset. */
  --hero-photo: url("../img/hero-tropical.jpg?v=05964203");
}

@media (min-width: 1100px) {
  :root { --header-h: 92px; --logo-h: 72px; }
}

/* --- reset ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2rem, 5.2vw, 3.15rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.15rem); }
h3 { font-size: 1.24rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--rose); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .45em; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88em;
  background: var(--mist-2);
  padding: .12em .38em;
  border-radius: 4px;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: .8rem 1.2rem;
  border-radius: 0 0 var(--radius) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* --- layout --------------------------------------------------------------- */

/* padding-inline, not the `padding` shorthand: a shorthand on any element that
   also carries .wrap (e.g. .hero-inner) would silently reset the gutter to 0. */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.wrap.narrow { max-width: var(--narrow); }
.center { text-align: center; }

.section { padding: clamp(2.75rem, 6vw, 4.75rem) 0; }
.section-tint { background: var(--mist); }
.section-title { text-align: center; margin-bottom: 2rem; }

.section-cta {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--teal-dark) 100%);
  color: #dbe7f0;
}
.section-cta h2 { color: #fff; }
.section-cta .lede { color: #cadaea; }

.lede {
  font-size: clamp(1.06rem, 2.1vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: .7rem;
}

/* --- buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: .97rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, background-color .18s ease;
  text-align: center;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--rose); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--rose-dark); color: #fff; box-shadow: var(--shadow-md); }

.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: var(--navy-2); color: #fff; }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

.section-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.section-cta .btn-outline:hover { background: #fff; color: var(--navy); }

/* Rose on navy is only 2.3:1 - invert the primary button on dark bands so it
   still reads as the main action. */
.section-cta .btn-primary { background: #fff; color: var(--navy); }
.section-cta .btn-primary:hover { background: var(--sky); color: var(--navy); }

.btn-lg { padding: .95rem 2rem; font-size: 1.03rem; }
/* Full width, but never a stretched lozenge - past ~26rem a 999px radius
   stops reading as a button. */
.btn-block { width: 100%; max-width: 26rem; margin-inline: auto; }
form .btn-block { max-width: none; }

.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn.is-pending {
  background: var(--mist-2);
  color: var(--muted);
  border-color: transparent;
  font-weight: 600;
  cursor: default;
}

.fake-link {
  color: var(--teal-dark);
  font-weight: 700;
  font-size: .95rem;
}

/* --- header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: var(--logo-h); width: auto; }

.nav-toggle {
  display: block;
  background: none;
  border: 0;
  padding: .6rem;
  cursor: pointer;
  margin-right: -.6rem;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: relative; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: .5rem 20px 1.4rem;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.site-nav.is-open { display: block; }

.site-nav ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.site-nav li { margin: 0; border-bottom: 1px solid var(--line); }

.site-nav a {
  display: block;
  padding: .85rem .2rem;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--rose); }
.nav-cta { width: 100%; }

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: none;
    overflow: visible;
    max-height: none;
  }
  .site-nav ul { display: flex; gap: 1.35rem; margin: 0; }
  .site-nav li { border: 0; }
  .site-nav a { padding: .35rem 0; font-size: .94rem; }
  .site-nav ul a.is-active { border-bottom: 2px solid var(--rose); }
  .nav-cta { width: auto; padding: .62rem 1.25rem; }
}

/* --- home hero ------------------------------------------------------------ */

/* Tropical photo under a heavy teal wash. The gradient is nearly opaque on
   purpose - the photo should read as atmosphere behind the words, in keeping
   with the soft watercolor feel, not as a full-strength picture competing
   with the headline. It also keeps text contrast well clear of 4.5:1. */
.hero {
  position: relative;
  background:
    linear-gradient(155deg,
      rgba(14, 49, 89, .93) 0%,
      rgba(0, 80, 112, .90) 48%,
      rgba(0, 96, 128, .86) 100%),
    var(--hero-photo) center / cover no-repeat;
  background-color: var(--navy);
  color: #e6eef5;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 70px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C240,72 420,4 720,26 C1020,48 1230,70 1440,34 L1440,70 L0,70 Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  /* block-only, so .wrap's inline gutter survives */
  padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(4.5rem, 9vw, 6rem);
  align-items: center;
}

.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  color: #9fd6dd;
  margin-bottom: 1.1rem;
}
.hero p.hero-sub { color: #cbdcea; font-size: 1.08rem; max-width: 46ch; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.7rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin-top: 1.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.18);
  list-style: none;
  padding-left: 0;
  font-size: .9rem;
  color: #b9d0e2;
}
.hero-trust li { margin: 0; display: flex; align-items: center; gap: .45rem; }
.hero-trust li::before {
  content: "";
  width: 16px; height: 16px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239fd6dd'%3E%3Cpath d='M8.2 14.5 4 10.3l1.5-1.4 2.7 2.7 6.3-6.3L16 6.7z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.hero-photo {
  position: relative;
  justify-self: center;
  max-width: 340px;
  width: 100%;
}
.hero-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--mist-2);
}
.hero-badge {
  position: absolute;
  bottom: -14px;
  left: -14px;
  background: #fff;
  color: var(--navy);
  border-radius: var(--radius);
  padding: .6rem .9rem;
  box-shadow: var(--shadow-md);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.3;
  max-width: 190px;
}
.hero-badge span { display: block; color: var(--teal-dark); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; }
  .hero-photo { justify-self: end; max-width: 380px; }
}

/* --- page hero (interior) -------------------------------------------------
   Katie's own watercolour flourishes, lifted from her worksheet, plus a soft
   wave edge instead of a hard border. Purely decorative, so they're hidden
   from assistive tech and dropped entirely on small screens where they'd
   crowd the text. */

.page-hero {
  position: relative;
  background: var(--mist);
  padding: clamp(2.25rem, 5vw, 3.5rem) 0 clamp(2.75rem, 5vw, 3.75rem);
  overflow: hidden;
}
.page-hero > .wrap { position: relative; z-index: 2; }
.page-hero .lede { margin-top: .6rem; }

/* hibiscus, top right */
.page-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -34px;
  right: -40px;
  width: 250px;
  height: 282px;
  background: url("../img/decor/hibiscus-tr.png?v=025b23b8") no-repeat center / contain;
  opacity: .55;
  pointer-events: none;
}

/* soft wave along the bottom edge */
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 44px;
  z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 44' preserveAspectRatio='none'%3E%3Cpath d='M0,26 C260,48 470,4 720,18 C1010,34 1230,46 1440,20 L1440,44 L0,44 Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
}

@media (max-width: 820px) {
  .page-hero::before { display: none; }
}

/* Tinted bands get the palm-and-ship as a faint watermark */
.section-tint { position: relative; overflow: hidden; }
.section-tint > .wrap { position: relative; z-index: 2; }
.section-tint::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: -60px;
  bottom: -30px;
  width: 300px;
  height: 262px;
  background: url("../img/decor/palm-ship.png?v=d9265e22") no-repeat center / contain;
  opacity: .16;
  pointer-events: none;
}
@media (max-width: 1000px) {
  .section-tint::before { display: none; }
}

/* Shells drift along the foot of the dark call-to-action bands */
.section-cta { position: relative; overflow: hidden; }
.section-cta > .wrap { position: relative; z-index: 2; }
.section-cta::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 4%;
  bottom: 0;
  width: 300px;
  height: 88px;
  background: url("../img/decor/shells.png?v=f52401ee") no-repeat center bottom / contain;
  opacity: .22;
  pointer-events: none;
}
@media (max-width: 900px) {
  .section-cta::after { display: none; }
}

.crumbs {
  background: var(--mist);
  font-size: .85rem;
  color: var(--muted);
  padding: .9rem 0 0;
}
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { margin: 0 .35rem; opacity: .5; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* --- island port guide hero -----------------------------------------------
   The signature photo of the island fills the header, with the title over a
   gradient scrim at the bottom so text stays readable regardless of what the
   photo is doing behind it. */

.island-hero {
  position: relative;
  isolation: isolate;
  background: var(--navy);
}
.island-hero img {
  width: 100%;
  height: clamp(240px, 42vw, 460px);
  object-fit: cover;
  display: block;
}
.island-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom,
    rgba(14, 49, 89, .12) 0%,
    rgba(14, 49, 89, .30) 45%,
    rgba(14, 49, 89, .86) 100%);
  pointer-events: none;
}
.island-hero-text {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 0 0 clamp(1.4rem, 3.5vw, 2.4rem);
}
.island-hero-text .eyebrow { color: var(--sky); }
.island-hero-text h1 { color: #fff; margin-bottom: .3em; }
.island-hero-text .lede { color: #dbe7f0; max-width: 46ch; }

/* --- credentials ----------------------------------------------------------- */

.cred-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) {
  /* auto-fit rather than a fixed count, so adding a credential doesn't
     require touching the CSS */
  .cred-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
}

/* The real partner badge, where we have clean artwork for it */
.cred-badge {
  height: 62px;
  display: flex;
  align-items: center;
  margin-bottom: .9rem;
}
.cred-badge img { max-height: 62px; width: auto; }
.cred.has-badge h3 { padding-left: 0; }
.cred.has-badge h3::before { content: none; }

.cred {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--rose);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.cred h3 {
  font-size: 1.06rem;
  margin-bottom: .45rem;
  padding-left: 1.9rem;
}
/* A small seal mark, rather than a borrowed partner logo */
.cred h3::before {
  content: "";
  position: absolute;
  left: 1.4rem;
  width: 20px; height: 20px;
  margin-top: .15rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8446b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M8.5 14.5 7 22l5-2.5L17 22l-1.5-7.5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.cred p { font-size: .94rem; color: var(--muted); margin: 0; }

/* --- ship class pages ------------------------------------------------------ */

.ships-in-class {
  font-size: .95rem;
  color: var(--muted);
  background: var(--mist);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: .9rem 1.1rem;
  margin-bottom: 1.6rem;
}
.ships-in-class strong { color: var(--ink); }

/* Credited photography. The credit line is small but never hidden - CC BY and
   CC BY-SA require attribution, and burying it would defeat the licence. */
.shot-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}
@media (min-width: 640px) { .shot-grid { grid-template-columns: 1fr 1fr; } }
.shot-grid .ship-shot { margin: 0; }
/* A lone odd image at the end spans the full width rather than sitting
   awkwardly in half a row. */
.shot-grid .ship-shot:last-child:nth-child(odd) { grid-column: 1 / -1; }
.shot-grid .ship-shot:last-child:nth-child(odd) img { aspect-ratio: 2 / 1; }

.ship-shot { margin: 0 0 2rem; }
.ship-shot img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--mist-2);
}
.ship-shot figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1rem;
  justify-content: space-between;
  align-items: baseline;
  margin-top: .6rem;
}
.shot-caption { font-size: .92rem; font-weight: 600; color: var(--ink); }
.shot-credit { font-size: .76rem; color: var(--muted); }
.shot-credit a { color: var(--muted); }

.hero-credit {
  position: absolute;
  right: .7rem;
  bottom: .4rem;
  z-index: 3;
  margin: 0;
  font-size: .68rem;
  color: rgba(255, 255, 255, .72);
  pointer-events: none;
}

.verdict-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
  margin-top: 1rem;
}
@media (min-width: 700px) { .verdict-grid { grid-template-columns: 1fr 1fr; } }

.verdict {
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
}
.verdict h2 {
  font-family: var(--sans);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .5rem;
}
.verdict p { font-size: .96rem; margin: 0; }
.verdict-good { background: var(--mist); border-left: 4px solid var(--teal); }
.verdict-good h2 { color: var(--teal-dark); }
.verdict-warn { background: #fdf2f6; border-left: 4px solid var(--rose); }
.verdict-warn h2 { color: var(--rose-dark); }

/* --- generic card grids --------------------------------------------------- */

.grid-3, .link-grid, .resource-grid, .form-grid, .dest-grid, .offer-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-3, .link-grid, .resource-grid, .form-grid, .dest-grid, .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .grid-3, .resource-grid, .dest-grid { grid-template-columns: repeat(3, 1fr); }
  .link-grid { grid-template-columns: repeat(4, 1fr); }
  .form-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .45rem; }
.card p { font-size: .96rem; margin-bottom: 0; }

.card-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--mist-2);
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}

.link-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .18s ease, border-color .18s ease;
}
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal); color: inherit; }
.link-card h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.link-card p { font-size: .9rem; color: var(--muted); margin: 0; }

/* --- cruise lines --------------------------------------------------------- */

.line-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .line-grid { grid-template-columns: repeat(2, 1fr); } }

.line-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.line-logo {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  place-items: center;
  min-height: 92px;
}
.line-logo img { max-height: 60px; width: auto; }
.line-card h3 { margin-bottom: .4rem; }
.line-card p { font-size: .95rem; }
.line-best { color: var(--muted); font-size: .88rem !important; margin-bottom: 0 !important; }
.line-best strong { color: var(--ink); }

/* --- destinations --------------------------------------------------------- */

.dest-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .18s ease;
}
.dest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: inherit; }
.dest-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--mist-2); }
.dest-card-body { padding: 1.3rem; }
.dest-card h3 { margin-bottom: .4rem; }
.dest-card p { font-size: .94rem; color: var(--muted); margin-bottom: .8rem; }

.fact-strip { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .fact-strip { grid-template-columns: repeat(3, 1fr); } }
.fact {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 1.4rem;
  border-left: 4px solid var(--teal);
}
.fact h2 {
  font-family: var(--sans);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--teal-dark);
  margin-bottom: .5rem;
}
.fact p { font-size: .95rem; margin: 0; }

.region-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .region-grid { grid-template-columns: repeat(2, 1fr); } }
.region {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.region h3 { margin-bottom: .4rem; }
.region p { font-size: .95rem; margin: 0; }

.check-list { list-style: none; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .7rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .35em;
  width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2312808c'%3E%3Cpath d='M10 1a9 9 0 100 18 9 9 0 000-18zm-1.3 13L4.5 9.8l1.5-1.4 2.7 2.7 5.3-5.3 1.5 1.4z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.katie-tip {
  margin-top: 2.25rem;
  background: var(--mist);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  border-left: 5px solid var(--rose);
}
.katie-tip h2 {
  font-size: 1.05rem;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--rose-dark);
  margin-bottom: .5rem;
}
.katie-tip p { margin: 0; }

.inline-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.inline-list li { margin: 0; }
.inline-list a {
  display: inline-block;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}
.inline-list a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* --- resources / forms ---------------------------------------------------- */

.resource-card, .form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.resource-card p, .form-card p { font-size: .94rem; color: var(--muted); flex-grow: 1; }
.resource-card .btn, .form-card .btn { align-self: flex-start; margin-top: 1.1rem; }
.form-card.is-primary { border-color: var(--rose); border-width: 2px; }

.resource-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--mist-2) center / 24px 24px no-repeat;
  margin-bottom: 1rem;
}
.resource-icon[data-icon="checklist"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c5f69' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11M4 6l1 1 2-2M4 12l1 1 2-2M4 18l1 1 2-2'/%3E%3C/svg%3E"); }
.resource-icon[data-icon="plane"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230c5f69'%3E%3Cpath d='M21 16v-2l-8-5V3.5a1.5 1.5 0 00-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5z'/%3E%3C/svg%3E"); }
.resource-icon[data-icon="passport"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c5f69' stroke-width='2'%3E%3Crect x='4' y='2' width='16' height='20' rx='2'/%3E%3Ccircle cx='12' cy='10' r='3.5'/%3E%3Cpath d='M9 17.5h6'/%3E%3C/svg%3E"); }
.resource-icon[data-icon="ship"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c5f69' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 17c1.5 0 1.5 1.5 3 1.5s1.5-1.5 3-1.5 1.5 1.5 3 1.5 1.5-1.5 3-1.5 1.5 1.5 3 1.5 1.5-1.5 3-1.5'/%3E%3Cpath d='M5 14V8h14v6M12 8V4M8 8V6h8v2'/%3E%3C/svg%3E"); }
.resource-icon[data-icon="calendar"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c5f69' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }

.step-list { counter-reset: s; list-style: none; padding: 0; }
.step-list li {
  counter-increment: s;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.1rem;
  min-height: 2rem;
}
.step-list li::before {
  content: counter(s);
  position: absolute;
  left: 0; top: -.1em;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .9rem;
}

.callout {
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  margin: 1.8rem 0 0;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
}
.callout h2,
.callout h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.callout p { font-size: .95rem; margin: 0; }
.callout-warn { border-left-color: var(--rose); background: #fdf2f6; }

/* Self-contained: sets its own padding, so it can't rely on .wrap's gutter.
   width keeps a 20px margin either side at every viewport. */
.note-block {
  display: block;
  font-size: .85rem;
  color: var(--muted);
  background: #fffbe9;
  border: 1px dashed #e3cf88;
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  width: calc(100% - 40px);
  max-width: var(--narrow);
  margin: 0 auto 3rem;
}

/* --- offers --------------------------------------------------------------- */

.offer-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.offer-tag {
  background: var(--rose);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .45rem 1.2rem;
}
.offer-body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.offer-body h3 { margin-bottom: .3rem; }
.offer-ship { color: var(--muted); font-size: .88rem; margin-bottom: .9rem; }
.offer-body ul { font-size: .93rem; padding-left: 1.15em; }
.offer-body .btn { margin-top: auto; align-self: flex-start; }

/* --- blog ----------------------------------------------------------------- */

.post-list { display: grid; gap: 1.6rem; }
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
}
.post-card h2 { font-size: 1.4rem; margin-bottom: .5rem; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--rose); }
.post-card p { font-size: .96rem; color: var(--muted); }

.post-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: .7rem;
}
.tag {
  background: var(--mist-2);
  color: var(--teal-dark);
  border-radius: 999px;
  padding: .2rem .7rem;
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.prose { font-size: 1.06rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li { margin-bottom: .6em; }
/* Katie's headshot on the About page: floated beside the text on wide
   screens, full width above it on narrow ones. */
.prose .portrait {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 0 0 1.6rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
@media (min-width: 700px) {
  .prose .portrait {
    float: right;
    width: 300px;
    margin: .3rem 0 1.4rem 2rem;
    shape-outside: margin-box;
  }
}

.prose blockquote {
  margin: 1.8rem 0;
  padding: 1rem 0 1rem 1.5rem;
  border-left: 4px solid var(--teal);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--ink);
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.post-nav {
  display: grid;
  gap: 1rem;
  padding: 2rem 0 3.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav a {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .96rem;
}
.post-nav a:hover { border-color: var(--teal); color: var(--teal-dark); }
.post-nav span {
  display: block;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: .25rem;
}
.post-nav-next { text-align: right; }

/* --- photo gallery ---------------------------------------------------------
   A mosaic rather than a uniform grid: the first tile spans two columns and
   two rows, which stops it reading as a stock-photo contact sheet. */

.photo-mosaic {
  display: grid;
  gap: .7rem;
  grid-template-columns: repeat(2, 1fr);
}
.photo-mosaic figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist-2);
}
.photo-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.2, .8, .3, 1);
}
.photo-mosaic figure:hover img { transform: scale(1.05); }
.photo-mosaic figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem .9rem .7rem;
  color: #fff;
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.3;
  background: linear-gradient(to top, rgba(14, 49, 89, .82), rgba(14, 49, 89, 0));
}
.photo-mosaic figure { aspect-ratio: 4 / 3; }

@media (min-width: 700px) {
  .photo-mosaic { grid-template-columns: repeat(4, 1fr); }
  .photo-mosaic figure:first-child {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
  }
}

/* --- wide photo banner ----------------------------------------------------- */

.banner {
  position: relative;
  isolation: isolate;
  background: var(--navy);
}
.banner img {
  width: 100%;
  height: clamp(200px, 32vw, 340px);
  object-fit: cover;
  display: block;
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14, 49, 89, .78) 0%, rgba(14, 49, 89, .28) 70%);
  pointer-events: none;
}
.banner-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}
.banner-text p {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.6vw, 1.75rem);
  line-height: 1.35;
  max-width: 24ch;
  margin: 0;
}

/* --- testimonials --------------------------------------------------------- */

.quote-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.stars { color: #e0a32e; letter-spacing: .12em; font-size: .95rem; margin-bottom: .7rem; }
.quote-card blockquote {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.04rem;
  line-height: 1.55;
  color: var(--ink);
}
.quote-card cite { font-style: normal; font-size: .87rem; color: var(--muted); font-weight: 600; }

/* --- forms ---------------------------------------------------------------- */

.form-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-md);
}

fieldset { border: 0; padding: 0; margin: 0 0 2rem; }
fieldset:last-of-type { margin-bottom: 1.2rem; }
legend {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0;
  margin-bottom: .3rem;
}
.legend-hint { font-size: .9rem; color: var(--muted); margin-bottom: 1.2rem; }

.field { margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }

label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: .35rem; }
.req { color: var(--rose); }
.hint { display: block; font-weight: 400; font-size: .84rem; color: var(--muted); margin-top: .15rem; }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="number"], select, textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: .7rem .85rem;
  border: 1px solid #c6d2de;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(18, 128, 140, .16);
}
textarea { min-height: 130px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='%235f7386'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 12px; padding-right: 2.4rem; }

/* Numbered section badges, matching Katie's printed worksheet */
legend .step-num {
  display: inline-grid;
  place-items: center;
  width: 1.85rem; height: 1.85rem;
  margin-right: .55rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 700;
  vertical-align: -.35rem;
}

/* Yes / No / Unsure rows */
.triple-grid { display: grid; gap: .3rem; }
.triple-head,
.triple-row {
  display: grid;
  grid-template-columns: 1fr repeat(3, 3.4rem);
  align-items: center;
  gap: .25rem;
}
.triple-head span {
  text-align: center;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  padding-bottom: .2rem;
}
.triple-row {
  border: 0; margin: 0; padding: .45rem .2rem .45rem .7rem;
  border-radius: 8px;
}
.triple-row:nth-of-type(odd) { background: var(--mist); }
.triple-row legend {
  float: left;                 /* keeps the label in the first grid column */
  font-family: var(--sans);
  font-size: .94rem;
  font-weight: 500;
  color: var(--body);
  margin: 0; padding: 0;
}
.triple-row label {
  margin: 0;
  display: grid;
  place-items: center;
  min-height: 2.75rem;         /* 44px - the minimum comfortable tap target */
  cursor: pointer;
  border-radius: 6px;
}
.triple-row label:hover { background: rgba(18, 128, 140, .1); }
.triple-row input { accent-color: var(--teal-dark); width: 1.15rem; height: 1.15rem; }

@media (max-width: 520px) {
  .triple-head, .triple-row { grid-template-columns: 1fr repeat(3, 2.6rem); }
  .triple-row legend { font-size: .88rem; }
}

.choice-grid { display: grid; gap: .55rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: .65rem .85rem;
  cursor: pointer;
  font-weight: 500;
  font-size: .94rem;
  color: var(--body);
  margin: 0;
  transition: border-color .15s ease, background-color .15s ease;
}
.choice:hover { border-color: var(--teal); background: #f2f8fc; }
.choice input { margin: .25rem 0 0; flex: none; accent-color: var(--teal-dark); }

.form-warning {
  font-size: .85rem;
  color: #8a5a00;
  background: #fff8e5;
  border: 1px dashed #e0c169;
  border-radius: 8px;
  padding: .6rem .85rem;
  margin-top: .9rem;
}

.newsletter {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 460px;
  margin: 1.4rem auto 0;
}
.newsletter input[type="email"] { flex: 1 1 220px; }
.section-cta .newsletter input[type="email"] { border-color: transparent; }

.form-footnote { font-size: .87rem; color: var(--muted); margin-top: 1rem; }

/* --- shorter-feeling forms -------------------------------------------------
   The quote form used to show ~20 fields at once, which reads as work. Now the
   six essentials are visible and everything else lives behind a disclosure.
   Native <details>, so it still opens with JavaScript off. */

.assure {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .5rem;
}
.assure li {
  margin: 0;
  font-size: .82rem;
  font-weight: 600;
  color: var(--teal-dark);
  background: var(--mist);
  border: 1px solid var(--mist-2);
  border-radius: 999px;
  padding: .3rem .8rem;
}

.opt {
  font-weight: 400;
  font-size: .8rem;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

/* Compact adults / children steppers side by side */
.count-row { display: flex; gap: .9rem; }
.count-field { display: flex; align-items: center; gap: .5rem; }
.count-field label { margin: 0; font-weight: 500; font-size: .92rem; color: var(--body); }
.count-field input { width: 4.6rem; text-align: center; }

.more-details {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}
.more-details[open] { background: #fff; }

.more-details > summary {
  cursor: pointer;
  padding: .95rem 1.1rem .95rem 2.5rem;
  position: relative;
  list-style: none;
  border-radius: var(--radius);
}
.more-details > summary::-webkit-details-marker { display: none; }
.more-details > summary::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.35rem;
  width: 9px; height: 9px;
  border-right: 2px solid var(--teal-dark);
  border-bottom: 2px solid var(--teal-dark);
  transform: rotate(-45deg);
  transition: transform .18s ease;
}
.more-details[open] > summary::before { transform: rotate(45deg); top: 1.2rem; }
.more-details > summary:hover { background: var(--mist-2); }
.more-details[open] > summary:hover { background: var(--mist); }

.more-title {
  display: block;
  font-weight: 700;
  color: var(--navy);
  font-size: .98rem;
}
.more-sub {
  display: block;
  font-size: .86rem;
  color: var(--muted);
  margin-top: .15rem;
}
.more-body {
  padding: .4rem 1.1rem 1.2rem;
  border-top: 1px solid var(--line);
  margin-top: .2rem;
}

/* --- referral / share ------------------------------------------------------ */

.share-grid {
  display: grid;
  gap: .7rem;
  grid-template-columns: 1fr;
  margin: 1.5rem 0 0;
}
@media (min-width: 560px) { .share-grid { grid-template-columns: 1fr 1fr; } }

.share-btn {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-weight: 600;
  font-size: .96rem;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s ease, transform .12s ease, box-shadow .18s ease;
}
.share-btn:hover {
  border-color: var(--teal);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.share-btn .ico { font-size: 1.3rem; line-height: 1; flex: none; }

.copy-row { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.copy-row input {
  flex: 1 1 15rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92rem;
  background: var(--mist);
}
.copy-ok {
  display: block;
  margin-top: .7rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--teal-dark);
}

/* --- contact -------------------------------------------------------------- */

.contact-layout { display: grid; gap: 2.25rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1.25fr .75fr; gap: 3rem; } }

.contact-details { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact-details li {
  display: flex;
  gap: .85rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .96rem;
}
.contact-details strong { display: block; color: var(--ink); font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; margin-bottom: .15rem; }

/* --- floating CTA --------------------------------------------------------- */

.float-cta {
  position: fixed;
  z-index: 90;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: stretch;
  background: var(--rose);
  color: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(140%);
  transition: transform .28s cubic-bezier(.2, .8, .3, 1);
}
.float-cta.is-visible { transform: translateY(0); }

.float-cta-link {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .8rem 1rem;
  color: #fff;
  text-decoration: none;
  flex-grow: 1;
  min-width: 0;
}
.float-cta-link:hover { color: #fff; background: var(--rose-dark); }
.float-cta-icon { font-size: 1.5rem; flex: none; line-height: 1; }
.float-cta-text { min-width: 0; }
.float-cta-text strong { display: block; font-size: .84rem; font-weight: 600; opacity: .92; }
.float-cta-text em { display: block; font-style: normal; font-weight: 800; font-size: 1.02rem; }

.float-cta-close {
  flex: none;
  width: 42px;
  background: rgba(0, 0, 0, .16);
  border: 0;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.float-cta-close:hover { background: rgba(0, 0, 0, .3); }

@media (min-width: 700px) {
  .float-cta { left: auto; right: 22px; bottom: 22px; max-width: 340px; border-radius: 999px; }
  .float-cta-link { padding: .85rem 1.1rem; }
}

/* --- footer --------------------------------------------------------------- */

.site-footer {
  background: var(--navy);
  color: #a9c1d6;
  padding: clamp(2.5rem, 6vw, 4rem) 0 0;
  margin-top: 0;
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding-bottom: 2.5rem;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; } }

/* A dedicated white version of the badge, not a CSS filter - inverting the
   colour artwork would flatten the navy and teal into the same grey. */
.footer-brand img { height: 104px; width: auto; }
.footer-tag { font-family: var(--serif); font-style: italic; color: #9fd6dd; margin: .9rem 0 1.1rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { margin-bottom: .45rem; }

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-family: var(--sans);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .9rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .5rem; }
.site-footer a { color: #a9c1d6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 1.4rem;
  padding-bottom: 1.6rem;
  font-size: .82rem;
  color: #849eb7;  /* 4.72:1 on --navy; #7f9ab3 fell just under 4.5 */
}
.footer-bottom p { margin-bottom: .5rem; }
.footer-fine { max-width: 78ch; }

/* leave room for the floating CTA on small screens */
@media (max-width: 699px) {
  .site-footer { padding-bottom: 84px; }
}

/* --- print ---------------------------------------------------------------- */

@media print {
  .site-header, .site-footer, .float-cta, .skip-link, .note-block { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a { text-decoration: underline; }
}

/* --- FAQ ------------------------------------------------------------------- */

.faq-list { display: grid; gap: .7rem; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.faq-item[open] { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.faq-item > summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.1rem 1rem 2.6rem;
  position: relative;
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1.4rem;
  width: 9px; height: 9px;
  border-right: 2px solid var(--teal-dark);
  border-bottom: 2px solid var(--teal-dark);
  transform: rotate(-45deg);
  transition: transform .18s ease;
}
.faq-item[open] > summary::before { transform: rotate(45deg); top: 1.25rem; }
.faq-item > summary:hover { background: var(--mist); }
.faq-answer { padding: 0 1.1rem 1.1rem 2.6rem; }
.faq-answer p { font-size: .98rem; margin: 0; }
