:root {
  --fog: #E4ECEA;
  --fog-deep: #D3DFDC;
  --ink: #12324A;
  --sea: #2F6B7A;
  --speckle: #B8A673;
  --buoy: #F0B429;
  --paper: #F6F8F6;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;

  --gutter: clamp(16px, 5vw, 64px);
  --measure: 34em;
}

* { box-sizing: border-box; }

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

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

a { color: var(--sea); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--buoy); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 8px; background: var(--paper); padding: 6px 10px; z-index: 2; }

/* ---------- header ---------- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px var(--gutter);
}
.mark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}
.top nav { display: flex; gap: 22px; }
.top nav a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
}
.top nav a:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(24px, 6vw, 72px) var(--gutter) 0;
  overflow: hidden;
}
.wordmark {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(5.5rem, 21vw, 15.5rem);
  line-height: 0.78;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.wordmark span { display: block; }
.wordmark span + span { color: var(--sea); padding-left: 0.42em; }
.lede {
  max-width: 24em;
  margin: clamp(20px, 3vw, 32px) 0 0;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
}

/* The one moment: the cod glides in once (a single eased move, so it never stalls),
   while a small separate wiggle makes it read as swimming. Then it rests. */
.water {
  position: relative;
  margin-top: clamp(8px, 2vw, 16px);
  height: clamp(120px, 22vw, 260px);
  border-bottom: 2px solid var(--ink);
}
.cod {
  position: absolute;
  right: 0;
  bottom: 14%;
  width: min(620px, 78vw);
  animation: glide 1.9s cubic-bezier(0.16, 0.84, 0.3, 1) both;
}
.cod img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 30% 50%;
  animation: wiggle 0.95s ease-in-out 2;
}
@keyframes glide {
  from { transform: translateX(-70vw); opacity: 0; }
  30%  { opacity: 1; }
  to   { transform: none; opacity: 1; }
}
@keyframes wiggle {
  0%, 100% { transform: none; }
  25% { transform: rotate(-1.4deg); }
  75% { transform: rotate(1.4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .cod, .cod img { animation: none; }
}

@media (min-width: 900px) {
  /* On wide screens the cod rests beside the wordmark, just above the waterline. */
  .water { margin-top: clamp(-300px, -18vw, -160px); height: clamp(200px, 20vw, 300px); }
  .cod { width: min(620px, 50vw); bottom: 10%; }
}

/* ---------- catch slate ---------- */
section h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
}
.catch {
  padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(40px, 6vw, 72px);
}
.catch h2 { margin-bottom: 28px; }
.slate { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.fish {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 20px 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--fog-deep);
}
.fish-icon { border-radius: 16px; display: block; }
.fish-body h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
}
.fish-body p { margin: 0 0 10px; max-width: var(--measure); }
.fish-link { font-weight: 600; }
.fish-status { margin: 0; display: grid; gap: 8px; min-width: 190px; }
.fish-status div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 6px;
  border-bottom: 1px dotted var(--sea);
}
.fish-status dt { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.fish-status dd { margin: 0; }
.tag {
  background: var(--buoy);
  color: var(--ink);
  padding: 1px 9px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- about + contact ---------- */
.about, .contact {
  padding: clamp(40px, 6vw, 72px) var(--gutter);
}
.about { background: var(--paper); }
.about p, .contact p { max-width: var(--measure); margin: 14px 0 0; }
.email {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 6vw, 3rem);
  line-height: 1.1;
  color: var(--ink);
  text-decoration-thickness: 3px;
  text-decoration-color: var(--buoy);
  overflow-wrap: anywhere;
}

/* ---------- footer ---------- */
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 24px var(--gutter) 40px;
  border-top: 2px solid var(--ink);
  font-size: 0.95rem;
}
.foot p { margin: 0; }

/* ---------- small screens ---------- */
@media (max-width: 640px) {
  .fish { grid-template-columns: 56px minmax(0, 1fr); }
  .fish-icon { width: 56px; height: 56px; border-radius: 13px; }
  .fish-status { grid-column: 1 / -1; min-width: 0; }
  .top nav { gap: 16px; }
}

/* ---------- plain pages (privacy) ---------- */
.page { padding: clamp(24px, 5vw, 56px) var(--gutter) clamp(48px, 7vw, 80px); }
.page h1 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: 0.9;
}
.page h2 { margin-top: 36px; font-size: 1.8rem; }
.page p, .page ul { max-width: var(--measure); }
.page .updated { color: var(--sea); margin-top: 0; }
