/* Surfboards and Fins. Black on white, large type, one accent colour.
   Never a surf brand's palette, typeface or logo mark. */
:root {
  --ink: #111111;
  --muted: #555555;
  --rule: #e6e6e6;
  --paper: #ffffff;
  --panel: #f6f8fb;
  --accent: #0e7490;
  --accent-dark: #0b5c74;
  --accent-ink: #ffffff;
  --max: 720px;
}
* { box-sizing: border-box; }
html { font-size: 19px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
.disclosure-strip {
  font-size: 0.8rem;
  background: var(--panel);
  border-bottom: 1px solid var(--rule);
  padding: 8px 16px;
  text-align: center;
  color: var(--muted);
}
.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 16px 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
}
.logo {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo::before { content: ""; display: inline-block; width: 0.7em; height: 0.7em; background: var(--accent); border-radius: 3px; margin-right: 0.4em; vertical-align: -0.02em; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.92rem; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.page { max-width: var(--max); margin: 0 auto; padding: 8px 16px 72px; }
h1 { font-size: 2.1rem; line-height: 1.2; margin: 0.6em 0 0.25em; letter-spacing: -0.02em; font-weight: 800; }
h2 { font-size: 1.45rem; margin-top: 1.9em; line-height: 1.3; font-weight: 700; }
h3 { font-size: 1.15rem; margin-top: 1.5em; font-weight: 700; }
.updated { color: var(--muted); font-size: 0.85rem; margin-top: 0; }
p, li { max-width: 64ch; }
li { margin-bottom: 0.35em; }
blockquote { border-left: 4px solid var(--rule); margin: 1em 0; padding: 0.2em 1em; color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 700; background: var(--panel); }
figure { margin: 1.6em 0; }
figure img { max-width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 6px; }
figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
strong { font-weight: 700; }
.disclaimer { font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 12px; }
.site-footer { max-width: var(--max); margin: 0 auto; padding: 24px 16px 44px; border-top: 1px solid var(--rule); font-size: 0.85rem; color: var(--muted); }
.site-footer a { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 10px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.hub-list li { margin-bottom: 0.5em; }
/* video facade: click-to-load, no iframe and no cookie set before the click */
.video-facade {
  position: relative;
  margin: 1.2em 0 1.6em;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.85; }
.video-facade iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-facade .play-button {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em;
}
.video-facade .play-button span { pointer-events: none; }
.watch-on-youtube { font-size: 0.9rem; margin: -0.8em 0 1.6em; }
/* tool forms: each field is its own block so a label never sits beside the wrong input */
.tool { margin: 1.6em 0; padding: 20px; background: var(--panel); border-radius: 8px; }
.tool-field { display: block; margin: 0 0 16px; }
.tool-field label { display: block; margin: 0 0 6px; font-weight: 700; font-size: 0.92rem; }
.tool-field input, .tool-field select { display: block; width: 100%; max-width: 320px; padding: 8px 10px; font-size: 1rem; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); color: var(--ink); }
.tool-field button { padding: 10px 18px; font-size: 1rem; font-weight: 700; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 6px; cursor: pointer; }
.tool-field button:hover { background: var(--accent-dark); }
#vol-result, #w2v-result { margin-top: 10px; }
/* board spec strip */
.board-specs { margin: 1.4em 0; }
.board-specs th { width: 40%; }
/* quiver list tables */
.quiver-table { font-size: 0.9rem; }
/* image gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1.6em 0; }
.gallery figure { margin: 0; }
@media (max-width: 600px) {
  html { font-size: 18px; }
  h1 { font-size: 1.7rem; }
  .gallery { grid-template-columns: 1fr; }
}
