:root {
  --sea: #101810;
  --nori: #1a3a28;
  --toast: #c86a28;
  --mute: #8aa090;
  --display: "Sawarabi Mincho", "Noto Serif SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 64px; }
body { margin: 0; background: #e8eee8; color: var(--sea); font-family: var(--sans); line-height: 1.75; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.app-link { color: var(--toast); text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; cursor: pointer; }
.tide {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 6;
  opacity: 0.12;
  background-image: url("images/texture.webp");
  background-size: 380px auto;
  mix-blend-mode: multiply;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 80; background: var(--nori); color: #fff; padding: 8px; }
.sheetbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  background: var(--sea);
  color: #d8e8d8;
  border-bottom: 3px solid var(--toast);
}
.brand { font-family: var(--display); font-size: 26px; }
.brand small { display: block; font-family: var(--mono); font-size: 10px; color: var(--mute); letter-spacing: 0.14em; }
.nav-toggle { display: none; background: var(--toast); color: #fff; border: 0; padding: 7px 12px; }
.nori-links { display: flex; gap: 14px; font-size: 14px; flex-wrap: wrap; align-items: center; }
.nori-links a { color: var(--mute); }
.nori-links a.is-active, .nori-links a:hover { color: #fff; }
.nori-links .live { background: var(--toast); color: #fff; padding: 6px 12px; font-weight: 700; }
.sea { position: relative; min-height: 88vh; display: flex; align-items: flex-end; }
.sea .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.leaf {
  position: relative;
  z-index: 2;
  margin: 0 0 28px 6vw;
  max-width: 520px;
  padding: 24px;
  background: rgba(16, 24, 16, 0.9);
  color: #e8eee8;
}
.kicker { font-family: var(--mono); letter-spacing: 0.14em; font-size: 11px; color: var(--toast); margin: 0 0 10px; }
h1, h2 { font-family: var(--display); margin: 0 0 10px; line-height: 1.25; }
h1 { font-size: clamp(26px, 4vw, 40px); }
.lead { color: var(--mute); }
.hole { margin: 16px 0; padding: 14px; background: #0c140c; border-left: 8px solid var(--toast); }
.n { font-family: var(--display); font-size: 32px; margin: 0 0 6px; }
.hole button { margin-top: 8px; background: var(--toast); color: #fff; border: 0; padding: 8px 14px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; padding: 10px 16px; border: 1px solid currentColor; }
.btn.fill { background: var(--nori); color: #fff; border-color: var(--nori); font-weight: 700; }
.w { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
.dark { background: var(--sea); color: #e8eee8; }
.dark .kicker, .dark .app-link { color: #e8a070; }
.dark figure { margin: 24px 0 0; }
.dark img { width: 100%; height: 240px; object-fit: cover; }
.dark figcaption { font-size: 13px; color: var(--mute); margin-top: 8px; }
footer { padding: 20px 24px 48px; color: var(--mute); font-size: 13px; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .sheetbar { flex-wrap: wrap; }
  .nori-links { display: none; width: 100%; flex-direction: column; background: #0c140c; padding: 12px; }
  .nori-links.open { display: flex; }
  .leaf { margin: 0 16px 20px; }
}
