:root {
  --foam: #e8f1f4;
  --paper: #f4f7f6;
  --ink: #1a2b3c;
  --tide: #2a6f7f;
  --coral: #d4674a;
  --sand: #c4b49a;
  --muted: #5c6d78;
  --line: rgba(26, 43, 60, 0.14);
  --display: "Syne", sans-serif;
  --body: "Literata", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
}

a {
  color: var(--tide);
}

a:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  background: var(--ink);
  color: var(--foam);
  padding: 0.6rem 1rem;
}

.skip:focus {
  top: 1rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 6vw;
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mark-moon {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: inset -0.28rem 0 0 0 var(--paper);
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav a:hover {
  color: var(--tide);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 6vw 6rem;
  background: var(--foam);
}

.tide {
  position: absolute;
  inset: auto 0 8%;
  width: 100%;
  height: 42%;
  pointer-events: none;
  opacity: 0.45;
}

.tide-path {
  fill: none;
  stroke: var(--tide);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.tide-path-slow {
  stroke: var(--coral);
  opacity: 0.7;
}

.eyebrow,
.kicker,
.fact-label,
.footer-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  position: relative;
  margin: 0.8rem 0 1.4rem;
  font-family: var(--display);
  font-size: clamp(3.2rem, 9vw, 7.2rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.hero h1 em {
  font-style: italic;
  font-family: var(--body);
  font-weight: 400;
  color: var(--tide);
}

.lede {
  position: relative;
  max-width: 36rem;
  margin: 0 0 2rem;
  font-size: 1.2rem;
}

.hero-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: var(--foam);
}

.btn-primary:hover {
  background: var(--tide);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--foam);
}

.band,
.pieces,
.visit {
  padding: 5.5rem 6vw;
}

.band {
  display: grid;
  gap: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.band-copy h2,
.pieces h2,
.visit h2 {
  margin: 0.5rem 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.facts li {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.fact-label {
  display: block;
  margin-bottom: 0.25rem;
}

.fact-value {
  font-size: 1.15rem;
}

.pieces-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.card {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
}

.card h3 {
  margin: 1rem 0 0.4rem;
  font-family: var(--display);
  font-size: 1.35rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.swatch {
  height: 8rem;
}

.swatch-foam {
  background: linear-gradient(160deg, #b9d4dc, #e8f1f4 70%);
}

.swatch-ink {
  background: linear-gradient(160deg, #1a2b3c, #2a6f7f);
}

.swatch-coral {
  background: linear-gradient(160deg, #d4674a, #c4b49a);
}

.visit {
  background: var(--ink);
  color: var(--foam);
}

.visit .kicker,
.visit .hours dt {
  color: var(--sand);
}

.visit h2 {
  max-width: 18ch;
}

.hours {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0;
}

.hours div {
  margin: 0;
}

.hours dt {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.hours dd {
  margin: 0;
}

.visit a {
  color: var(--foam);
}

.site-footer {
  display: grid;
  gap: 0.5rem;
  padding: 2rem 6vw 2.5rem;
  background: var(--ink);
  color: var(--sand);
  border-top: 1px solid rgba(232, 241, 244, 0.12);
}

.footer-brand {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  color: var(--foam);
}

.footer-meta {
  margin: 0;
  max-width: 40rem;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .site-header {
    flex-wrap: wrap;
    row-gap: 0.15rem;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.9rem;
  }
}

@media (min-width: 800px) {
  .band {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
  }

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

  .hours {
    grid-template-columns: repeat(3, 1fr);
  }
}

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