:root {
  --paper: #eef3ef;
  --paper-2: #e1ebe6;
  --ink: #122126;
  --muted: #4e5f63;
  --rule: #c3d0cb;
  --navy: #14343f;
  --navy-2: #0e242c;
  --rust: #b44a2a;
  --foam: #d7ebe6;
  --pad: clamp(1.05rem, 4vw, 3rem);
  --col: 74rem;
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --body: "Public Sans", "Avenir Next", sans-serif;
  --ui: "Barlow Condensed", "Avenir Next", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17.5px;
  line-height: 1.58;
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  caret-color: transparent;
}
input, textarea, select, [contenteditable] {
  -webkit-user-select: text;
  user-select: text;
  caret-color: auto;
}
::selection { background: #c9ddd6; color: var(--ink); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 0.16em; }
a:hover { color: var(--rust); }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; cursor: pointer; }

.wrap {
  width: min(var(--col), calc(100% - 2 * var(--pad)));
  margin-left: auto;
  margin-right: auto;
}

.tide {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.48rem var(--pad);
  background: var(--navy-2);
  color: var(--foam);
  font-family: var(--ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mast {
  padding: 1.35rem var(--pad) 1.1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  align-items: end;
  border-bottom: 4px solid var(--navy);
}
.word {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 0.2rem;
}
.word strong {
  font-size: clamp(2.2rem, 5.8vw, 3.8rem);
  font-weight: 400;
  line-height: 0.88;
}
.word small {
  font-family: var(--ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
}
.mast nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem 1rem;
  font-family: var(--ui);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  max-width: 28rem;
}
.mast nav a { color: var(--ink); text-decoration: none; }
.mast nav a[aria-current="page"],
.mast nav a:hover { color: var(--rust); }

.hero {
  position: relative;
  isolation: isolate;
}
.hero img {
  width: 100%;
  height: min(78vh, 40rem);
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
}
.plate {
  position: absolute;
  left: var(--pad);
  bottom: 1.4rem;
  width: min(32rem, calc(100% - 2 * var(--pad)));
  padding: 1.35rem 1.4rem 1.45rem;
  background: rgba(20, 52, 63, 0.92);
  color: var(--foam);
}
.kicker {
  font-family: var(--ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 0.45rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  margin-bottom: 0.55rem;
  color: #f4faf7;
}
.lede { color: #d4e4df; font-size: 1.02rem; }
.more {
  display: inline-flex;
  margin-top: 0.95rem;
  font-family: var(--ui);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid var(--rust);
  padding-bottom: 0.1rem;
  width: max-content;
}
.more:hover { color: var(--foam); }

.folio { padding: 2.4rem 0 1.6rem; }
.folio h2 { font-size: 2rem; margin-bottom: 1.15rem; }
.berths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.berth {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--paper-2);
  text-decoration: none;
  color: inherit;
  border-left: 5px solid var(--rust);
}
.berth img {
  width: 100%;
  height: 12.5rem;
  object-fit: cover;
}
.berth div { padding: 1rem 1.05rem 1.15rem; }
.berth h3 { font-size: 1.55rem; margin: 0.12rem 0 0.4rem; }
.berth p { color: var(--muted); }

.essay { padding: 2.5rem 0 3rem; }
.essay h1 { font-size: clamp(2rem, 4.2vw, 2.95rem); margin: 0.2rem 0 1rem; }
.essay .lead { font-size: 1.12rem; color: var(--muted); margin-bottom: 1.3rem; }
.essay img.wide {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
  margin: 0 0 1.5rem;
}
.essay .copy { max-width: 42rem; }

.also { padding: 0 0 2.6rem; }
.also-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.also a {
  display: block;
  padding: 1rem 1.05rem;
  background: var(--navy);
  color: var(--foam);
  text-decoration: none;
}
.also .kicker { color: #e0a090; }
.also strong { display: block; font-family: var(--display); font-weight: 400; margin-top: 0.2rem; color: #fff; }

.site-foot {
  padding: 1.45rem 0 5.5rem;
  background: var(--navy-2);
  color: #9bb0ac;
  font-family: var(--ui);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.site-foot .wrap { display: grid; gap: 0.6rem; }
.site-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}
.site-foot a { color: #c5d7d2; text-decoration: none; }
.site-foot a:hover { color: #fff; }
.site-foot p { color: #8aa09c; margin: 0; }

.cookie {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 0.95rem var(--pad) 1.15rem;
  background: var(--navy-2);
  color: var(--foam);
}
.cookie.is-on { display: block; }
.cookie-inner {
  width: min(var(--col), 100%);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cookie p { margin: 0; max-width: 42rem; font-size: 0.88rem; }
.cookie a { color: #e0a090; }
.cookie-actions { display: flex; gap: 0.5rem; }
.cookie button {
  border: 1px solid transparent;
  padding: 0.45rem 0.85rem;
  background: var(--rust);
  color: #fff;
  font-family: var(--ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cookie button[data-cookie="essential"] {
  background: transparent;
  border-color: #6a7f7a;
  color: var(--foam);
}

.js [data-rise] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js [data-rise].is-in,
[data-rise] { opacity: 1; transform: none; }

@media (max-width: 880px) {
  .mast { grid-template-columns: 1fr; }
  .mast nav { justify-content: flex-start; max-width: none; }
  .hero img { height: 22rem; }
  .plate { position: static; width: auto; background: var(--navy); }
  .berths { grid-template-columns: 1fr; }
  .also-grid { grid-template-columns: 1fr; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-rise] { opacity: 1; transform: none; transition: none; }
}
