/* Ferrywright — site stylesheet.
   Design: "chart & crossing". Cool chart paper, deep harbour navy,
   one international-orange accent. Self-hosted OFL fonts, no third-party requests. */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-normal-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-italic-400.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-normal-300-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/GeistMono-normal-400-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #f3f4ef;
  --paper-2: #e9ebe4;
  --card: #fafbf7;
  --ink: #0c1b24;
  --ink-2: #48575f;
  --line: #cdd3cb;
  --line-strong: #0c1b24;

  --harbour: #0a1e28;
  --harbour-2: #11293a;
  --ivory: #e9ece6;
  --ivory-2: #a3b3b9;
  --chart: rgba(233, 236, 230, 0.09);
  --chart-strong: rgba(233, 236, 230, 0.22);

  --buoy: #ff5a1f;
  --buoy-ink: #b93c0b;
  --on-buoy: #0c1b24;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 11vw, 152px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1d25;
    --paper-2: #0b171e;
    --card: #142630;
    --ink: #e9ece6;
    --ink-2: #a3b3b9;
    --line: #26404c;
    --line-strong: #e9ece6;
    --harbour: #08131a;
    --harbour-2: #0f2029;
    --buoy-ink: #ff7a45;
    color-scheme: dark;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

a {
  color: var(--buoy-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

em {
  font-style: italic;
}

code {
  font-family: var(--mono);
  font-size: 0.86em;
}

:focus-visible {
  outline: 2px solid var(--buoy-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.hero :focus-visible,
.band-dark :focus-visible,
.site-footer :focus-visible,
.ticket-pro :focus-visible {
  outline-color: var(--buoy);
}

::selection {
  background: var(--buoy);
  color: var(--on-buoy);
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 50;
  padding: 10px 16px;
  background: var(--buoy);
  color: var(--on-buoy);
  font-weight: 600;
}

.skip:focus {
  left: 16px;
  top: 12px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Small mono label used for section markers and meta lines */
.label {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.label .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--buoy);
  vertical-align: 0.15em;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}

.button .arrow {
  transition: transform 220ms var(--ease);
}

.button:hover .arrow {
  transform: translateX(3px);
}

.button-buoy {
  background: var(--buoy);
  color: var(--on-buoy);
}

.button-buoy:hover {
  background: #ff7440;
}

.button-ghost-dark {
  border-color: var(--chart-strong);
  color: var(--ivory);
}

.button-ghost-dark:hover {
  border-color: var(--ivory);
}

.button-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}

.button-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand svg {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand span {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.005em;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: inherit;
  font-size: 0.92rem;
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 160ms var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  opacity: 1;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--buoy);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45em;
}

/* Home: header sits on the dark hero */
.home .site-header {
  position: absolute;
  inset: 0 0 auto 0;
  border-bottom-color: var(--chart);
  color: var(--ivory);
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: min(100svh, 980px);
  padding-top: 76px;
  background: var(--harbour);
  color: var(--ivory);
}

/* chart graticule */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--chart) 1px, transparent 1px),
    linear-gradient(90deg, var(--chart) 1px, transparent 1px);
  background-size: 120px 120px;
  background-position: -1px -1px;
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
}

.hero-art {
  position: absolute;
  inset: 76px 0 0 0;
  z-index: -1;
  pointer-events: none;
}

.hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

/* keeps the headline legible over the water */
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 30, 40, 0.92) 0%, rgba(10, 30, 40, 0.7) 34%, rgba(10, 30, 40, 0) 62%),
    linear-gradient(0deg, rgba(10, 30, 40, 0.75) 0%, rgba(10, 30, 40, 0) 22%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(min(100svh, 980px) - 76px);
  padding-block: 72px 120px;
}

.hero .label {
  color: var(--ivory-2);
}

.hero h1 {
  max-width: 11.5ch;
  margin-top: 28px;
  font-size: clamp(3.3rem, 8.2vw, 7.6rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
}

.hero h1 em {
  color: var(--buoy);
}

.hero-lead {
  max-width: 46ch;
  margin-top: 32px;
  color: var(--ivory-2);
  font-size: 1.12rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--chart-strong);
  border-radius: 999px;
  background: rgba(10, 30, 40, 0.6);
  backdrop-filter: blur(6px);
  color: var(--ivory);
  font-size: 0.85rem;
  width: fit-content;
}

.status .pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--buoy);
}

.hero-shores {
  position: absolute;
  inset: auto 0 28px 0;
}

.hero-shores .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-2);
}

.hero-meta {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-2);
}

/* ---------- Sections ---------- */
.section {
  padding-block: var(--section);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 24px 48px;
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head h2 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
}

.section-head .label {
  padding-top: 0.9em;
  border-top: 1px solid var(--line-strong);
}

.section-head p.intro {
  grid-column: 2;
  max-width: 54ch;
  margin: 0;
  color: var(--ink-2);
  font-size: 1.1rem;
}

.section-tight-top {
  padding-top: 0;
}

.section-ruled {
  border-top: 1px solid var(--line);
}

.manifest-copy h2 {
  margin-top: 20px;
}

.privacy-row h2.label {
  font-family: var(--mono);
  font-weight: 500;
  line-height: 1.6;
}

/* ---------- Manifesto ---------- */
.manifesto p:not(.label) {
  max-width: 26ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.4vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.manifesto p span {
  color: var(--ink-2);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 24px 48px;
}

.manifesto-grid .label {
  padding-top: 0.9em;
  border-top: 1px solid var(--line-strong);
  align-self: start;
}

/* ---------- Manifest (illustrated mapping) ---------- */
.manifest-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.manifest-copy h2 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
}

.manifest-copy p {
  max-width: 40ch;
  margin-top: 24px;
  color: var(--ink);
}

.manifest {
  position: relative;
  margin: 0;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line-strong);
  background: var(--card);
  box-shadow: 10px 10px 0 var(--paper-2);
}

.manifest-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line-strong);
}

.manifest-head .label {
  color: var(--ink);
}

.manifest-title {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.1;
}

.manifest-title .to {
  color: var(--buoy-ink);
  font-style: italic;
}

.manifest table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 0.8rem;
}

.manifest th,
.manifest td {
  padding: 11px 8px 11px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: baseline;
}

.manifest thead th {
  padding-top: 16px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.manifest td.type {
  color: var(--ink-2);
}

.manifest .arrow {
  display: inline-block;
  width: 2.2em;
  color: var(--buoy-ink);
}

.manifest-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-2);
}

.stamp {
  display: inline-block;
  padding: 6px 12px;
  border: 2px solid var(--buoy-ink);
  border-radius: 4px;
  color: var(--buoy-ink);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-4deg);
}

.manifest figcaption {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  color: var(--ink-2);
  font-size: 0.82rem;
}

/* ---------- Route (how it works) ---------- */
.route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 2px;
  background-image: linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 16px);
  background-size: 16px 2px;
  opacity: 0.55;
}

.route li {
  position: relative;
  padding-top: 44px;
}

.route li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}

.route li:last-child::before {
  background: var(--buoy);
  border-color: var(--buoy);
}

.route .leg {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--buoy-ink);
}

.route h3 {
  margin-top: 12px;
  font-size: clamp(1.6rem, 2.3vw, 2rem);
  line-height: 1.08;
}

.route p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 0.98rem;
}

/* ---------- Features (editorial list) ---------- */
.features {
  border-top: 1px solid var(--line);
}

.features-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.features-intro {
  position: sticky;
  top: 40px;
}

.features-intro h2 {
  margin-top: 20px;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.features-intro p {
  max-width: 36ch;
  margin-top: 24px;
  color: var(--ink-2);
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.feature-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 4px 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 260ms var(--ease);
}

.feature-list li:hover {
  padding-left: 10px;
}

.feature-list .num {
  grid-row: span 2;
  padding-top: 0.55em;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--buoy-ink);
}

.feature-list h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.05rem);
  line-height: 1.1;
}

.feature-list p {
  max-width: 52ch;
  margin: 8px 0 0;
  color: var(--ink-2);
}

/* ---------- Dark band: limits ---------- */
.band-dark {
  position: relative;
  isolation: isolate;
  background: var(--harbour);
  color: var(--ivory);
}

.band-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--chart) 1px, transparent 1px),
    linear-gradient(90deg, var(--chart) 1px, transparent 1px);
  background-size: 120px 120px;
}

.band-dark .label {
  color: var(--ivory-2);
  border-color: var(--ivory);
}

.band-dark .section-head p.intro {
  color: var(--ivory-2);
}

.notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: note;
}

.notes li {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--chart-strong);
  color: var(--ivory);
  counter-increment: note;
}

.notes li::before {
  content: "Note " counter(note, decimal-leading-zero);
  padding-top: 0.3em;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--buoy);
}

/* ---------- Tickets (plans) ---------- */
.tickets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.ticket {
  --notch: 14px;
  position: relative;
  overflow: clip;
  overflow-clip-margin: 1px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  min-height: 100%;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
}

.ticket-main {
  padding: clamp(24px, 3.2vw, 40px);
}

.ticket-stub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 2px dashed var(--line);
}

.ticket-stub span {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-2);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.ticket-stub::before,
.ticket-stub::after {
  content: "";
  position: absolute;
  left: calc(-1 * var(--notch) - 1px);
  width: calc(2 * var(--notch));
  height: calc(2 * var(--notch));
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
}

.ticket-stub::before {
  top: calc(-1 * var(--notch) - 1px);
  clip-path: inset(50% 0 0 0);
}

.ticket-stub::after {
  bottom: calc(-1 * var(--notch) - 1px);
  clip-path: inset(0 0 50% 0);
}

.ticket h3,
.ticket .ticket-title {
  margin: 0;
  font-size: 2rem;
}

.ticket .price {
  margin: 18px 0 4px;
  font-family: var(--serif);
  font-size: clamp(4rem, 7vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
}

.ticket .price small {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--ink-2);
}

.ticket .terms {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.ticket p {
  color: var(--ink-2);
}

.ticket ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticket ul li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.ticket ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.05em;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--buoy-ink);
  border-radius: 50%;
}

.ticket-pro {
  background: var(--harbour);
  color: var(--ivory);
  border-color: var(--harbour);
}

@media (prefers-color-scheme: dark) {
  .ticket-pro {
    background: #18323f;
    border-color: rgba(233, 236, 230, 0.35);
  }

  .plate {
    filter: brightness(0.88);
  }
}

.ticket-pro p,
.ticket-pro .terms,
.ticket-pro .price small,
.ticket-pro .ticket-stub span {
  color: var(--ivory-2);
}

.ticket-pro ul li {
  border-color: var(--chart-strong);
}

.ticket-pro ul li::before {
  border-color: var(--buoy);
}

.ticket-pro .ticket-stub {
  border-left-color: var(--chart-strong);
}

.ticket-pro .ticket-stub::before,
.ticket-pro .ticket-stub::after {
  border-color: var(--harbour);
}

.ticket-pro .stamp {
  position: absolute;
  top: 26px;
  right: 96px;
  border-color: var(--buoy);
  color: var(--buoy);
}

.plans-more {
  margin-top: 32px;
  font-size: 0.95rem;
}

/* ---------- Workshop ---------- */
.workshop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.plate {
  margin: 0;
  padding: 18px 18px 14px;
  border: 1px solid var(--line-strong);
  background: #f2f3ee;
}

.plate img {
  width: 100%;
  height: auto;
}

.plate figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #cdd3cb;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #48575f;
}

.workshop-copy h2 {
  margin-top: 20px;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
}

.workshop-copy p {
  max-width: 44ch;
  margin-top: 22px;
  color: var(--ink);
}

.workshop-copy .button {
  margin-top: 12px;
}

.privacy-row {
  display: grid;
  grid-template-columns: minmax(0, 220px) repeat(3, minmax(0, 1fr));
  gap: 24px 40px;
  margin-top: var(--section);
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.privacy-row p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.privacy-row p strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
}

/* ---------- Inner pages ---------- */
.page-hero {
  padding-block: clamp(64px, 9vw, 120px) clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 14ch;
  margin-top: 22px;
  font-size: clamp(3rem, 7.4vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.page-hero h1 em {
  color: var(--buoy-ink);
}

.page-hero .lead {
  max-width: 52ch;
  margin-top: 28px;
  color: var(--ink-2);
  font-size: 1.12rem;
}

.notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  max-width: 70ch;
  margin-top: 32px;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--buoy);
  background: var(--card);
  font-size: 0.95rem;
}

.notice strong {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-top: 0.3em;
}

.page-section {
  padding-block: clamp(56px, 8vw, 104px);
}

.page-section + .page-section {
  border-top: 1px solid var(--line);
}

.page-section h2 {
  margin-bottom: 28px;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
}

.ticket .note {
  margin: 18px 0 0;
  font-size: 0.88rem;
}

.ticket .plus {
  margin: 0 0 10px;
  font-size: 0.9rem;
}

/* Compare table */
.table-wrap {
  position: relative;
  overflow-x: auto;
  border-top: 2px solid var(--line-strong);
}

table.compare {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

table.compare th,
table.compare td {
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

table.compare thead th {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

table.compare tbody th {
  font-weight: 400;
}

table.compare .c {
  width: 18%;
  text-align: center;
  font-variant-numeric: lining-nums tabular-nums;
}

table.compare .yes {
  color: var(--buoy-ink);
  font-weight: 500;
}

.list {
  margin: 0;
  padding-left: 1.2em;
}

.list li {
  margin-bottom: 0.5em;
}

/* Legal prose */
.prose {
  max-width: 68ch;
}

.prose h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 22px 0 18px;
}

.prose h2 {
  margin: 2.2em 0 0.6em;
  padding-top: 0.8em;
  border-top: 1px solid var(--line);
  font-size: 1.9rem;
  line-height: 1.1;
}

.prose .muted,
.muted {
  color: var(--ink-2);
}

.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--harbour);
  color: var(--ivory);
}

.site-footer a {
  color: var(--ivory);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-block: 88px 56px;
}

.footer-top .tagline {
  max-width: 26ch;
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.15;
  color: var(--ivory);
}

.footer-col h2 {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-2);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  text-decoration: none;
  opacity: 0.86;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-legal {
  padding-block: 24px 32px;
  border-top: 1px solid var(--chart-strong);
  color: var(--ivory-2);
  font-size: 0.82rem;
}

.footer-legal p {
  max-width: 90ch;
  margin-bottom: 8px;
}

.footer-legal a {
  overflow-wrap: anywhere;
}

.wordmark {
  margin: 0;
  padding-inline: var(--gutter);
  font-family: var(--serif);
  font-size: clamp(5rem, 19.5vw, 17.5rem);
  line-height: 0.78;
  letter-spacing: -0.035em;
  color: var(--ivory);
  opacity: 0.1;
  white-space: nowrap;
  text-align: center;
  user-select: none;
  transform: translateY(0.12em);
}

/* ---------- Motion (opt-in) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .hero-art img {
    animation: drift 26s ease-in-out infinite alternate;
  }

  .hero .reveal {
    animation: rise 900ms var(--ease) both;
  }

  .hero .reveal:nth-child(2) {
    animation-delay: 80ms;
  }

  .hero .reveal:nth-child(3) {
    animation-delay: 160ms;
  }

  .hero .reveal:nth-child(4) {
    animation-delay: 240ms;
  }

  .hero .reveal:nth-child(5) {
    animation-delay: 320ms;
  }

  .status .pulse::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--buoy);
    animation: ping 2.4s var(--ease) infinite;
  }

  .stamp {
    animation: stamp 600ms var(--ease) both;
    animation-delay: 300ms;
  }

  @supports (animation-timeline: view()) {
    .route::before {
      transform-origin: left center;
      animation: chart-line linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 45%;
    }

    .feature-list li,
    .notes li {
      animation: settle linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }

    .stamp {
      animation: stamp linear both;
      animation-timeline: view();
      animation-range: entry 40% entry 90%;
    }
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-1.5%, -1%, 0) scale(1.035);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ping {
  0% {
    opacity: 0.9;
    transform: scale(0.6);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(2.2);
  }
}

@keyframes stamp {
  from {
    opacity: 0;
    transform: rotate(-4deg) scale(1.12);
  }
  to {
    opacity: 1;
    transform: rotate(-4deg) scale(1);
  }
}

@keyframes chart-line {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes settle {
  from {
    opacity: 0.15;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .manifest-wrap,
  .features-grid,
  .workshop-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .features-intro {
    position: static;
  }

  .route {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 48px;
  }

  .route::before {
    display: none;
  }

  .footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .privacy-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-art img {
    object-position: 74% 50%;
    opacity: 0.38;
  }

  .hero-art::after {
    background: linear-gradient(180deg, rgba(10, 30, 40, 0.55) 0%, rgba(10, 30, 40, 0.5) 60%, rgba(10, 30, 40, 0.8) 100%);
  }
}

@media (max-width: 760px) {
  .section-head,
  .manifesto-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head p.intro {
    grid-column: 1;
  }

  .notes,
  .tickets {
    grid-template-columns: minmax(0, 1fr);
  }

  .notes li {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .site-header .wrap {
    flex-wrap: wrap;
    padding-block: 14px;
    min-height: 0;
  }

  .home .hero {
    padding-top: 112px;
  }

  .hero-art {
    inset: 112px 0 0 0;
  }

  .hero-inner {
    padding-block: 40px 96px;
  }

  .hero-shores {
    display: none;
  }
}

@media (max-width: 520px) {
  .route {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ticket {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .ticket-pro .stamp {
    position: static;
    margin-bottom: 14px;
  }

  .manifest td.type,
  .manifest th.type {
    display: none;
  }

  .manifest .arrow {
    width: 1.6em;
  }

  .ticket-pro .stamp {
    white-space: normal;
  }
}
