/* ===== Tokens ===== */
:root{
  --navy: #00023d;
  --navy-deep: #05071f;
  --blue: #29abe2;
  --maroon: #870217;
  --cream: #eeeea8;
  --paper: #f4f1e4;
  --ink: #14172c;
  --off-white: #f2f0e6;

  --display: 'Anton', sans-serif;
  --mono: 'Space Mono', monospace;
  --body: 'Inter', system-ui, sans-serif;

  --container: 1120px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--body);
  background: var(--navy);
  color: var(--off-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; }
h1,h2,h3{ font-family: var(--display); line-height: 1; margin: 0 0 .4em; letter-spacing: .01em; }
p{ margin: 0 0 1em; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* subtle film grain overlay for the whole page */
.grain{
  position: fixed; inset:0; pointer-events:none; z-index: 999;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow{
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  color: var(--maroon);
  margin-bottom: .8em;
}
.eyebrow-light{ color: var(--blue); }

/* ===== Buttons ===== */
.btn{
  display:inline-block;
  font-family: var(--mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .85rem;
  padding: 14px 28px;
  border-radius: 2px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--blue); color: var(--navy-deep); }
.btn-primary:hover{ background: var(--off-white); }
.btn-ghost{ border-color: var(--blue); color: var(--blue); }
.btn-ghost:hover{ background: var(--blue); color: var(--navy-deep); }

/* ===== Header / Nav ===== */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(0,2,61,.88);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(41,171,226,.25);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.nav-brand{
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: .04em;
  color: var(--blue);
  text-decoration: none;
}
.nav-links{
  list-style:none; display:flex; gap: 28px; align-items:center;
  margin:0; padding:0;
}
.nav-links a{
  text-decoration:none;
  font-family: var(--mono);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--off-white);
  opacity: .85;
}
.nav-links a:hover{ opacity:1; color: var(--blue); }
.nav-cta{
  border: 1px solid var(--blue);
  padding: 8px 14px;
  border-radius: 2px;
}
.nav-toggle{
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer; padding: 6px;
}
.nav-toggle span{ width: 24px; height: 2px; background: var(--off-white); display:block; }

/* ===== Hero ===== */
.hero{
  position: relative;
  background: var(--navy);
  padding: 64px 0 90px;
  overflow: hidden;
}
.hero-inner{
  text-align:center;
  display:flex; flex-direction:column; align-items:center;
  gap: 28px;
}
.hero-logo{
  width: min(680px, 100%);
  height:auto;
}
.hero-sub{
  font-family: var(--mono);
  color: var(--off-white);
  opacity:.85;
  font-size: 1rem;
  max-width: 40ch;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; justify-content:center; }

/* jagged zigzag divider echoing the logo's lightning-bolt letterforms */
.zigzag{
  position:absolute; left:0; right:0; bottom:-1px; height: 34px;
  background: var(--paper);
  clip-path: polygon(
    0% 100%, 0% 40%, 4% 90%, 8% 20%, 12% 80%, 16% 10%, 20% 70%,
    24% 30%, 28% 95%, 32% 15%, 36% 75%, 40% 25%, 44% 85%, 48% 5%,
    52% 65%, 56% 35%, 60% 100%, 64% 20%, 68% 80%, 72% 10%, 76% 70%,
    80% 30%, 84% 90%, 88% 15%, 92% 75%, 96% 25%, 100% 60%, 100% 100%
  );
}

/* ===== About ===== */
.about{ background: var(--paper); color: var(--ink); padding: 90px 0; }
.about-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:center;
}
.about-photo{ position:relative; }
.about-photo img{
  filter: grayscale(1) contrast(1.05);
  border: 6px solid var(--ink);
}
.about-copy h2{ font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--navy); }
.about-copy p{ font-size: 1.05rem; }

.tape{
  position:absolute; width: 90px; height: 26px;
  background: rgba(238,238,168,.85);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 2px 4px rgba(0,0,0,.15);
}
.tape-tl{ top:-12px; left: 24px; transform: rotate(-8deg); }
.tape-br{ bottom:-12px; right: 24px; transform: rotate(6deg); }

.shark-doodle{ position:absolute; pointer-events:none; opacity:.95; }

/* ===== Merch ===== */
.merch{ background: var(--cream); color: var(--ink); padding: 90px 0; position: relative; overflow: hidden; }
.shark-doodle-merch{
  width: 240px; right: -20px; bottom: -20px;
  opacity: .5;
  transform: rotate(-4deg);
}
.merch-grid{
  display:grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items:center;
}
.merch-art img{
  border: 6px solid var(--navy);
  box-shadow: 10px 10px 0 var(--maroon);
}
.merch-copy h2{ font-size: clamp(1.7rem,3vw,2.4rem); color: var(--navy); }
.price{
  font-family: var(--mono); font-weight:700; font-size: 1.6rem; color: var(--maroon);
}
.price span{ font-size: .8rem; font-weight: 400; color: var(--ink); opacity: .7; }
.merch-note{ font-family: var(--mono); font-size: .8rem; opacity: .65; margin-top: 10px; }

/* ===== Book / Contact ===== */
.book{ background: var(--navy); padding: 90px 0 110px; }
.book-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:start;
}
.book-copy h2{ font-size: clamp(1.7rem,3vw,2.4rem); color: var(--off-white); }
.book-list{ padding-left: 1.1em; margin: 20px 0; }
.book-list li{ margin-bottom: 8px; }
.book-email{ font-family: var(--mono); font-size: .92rem; }
.book-email a{ color: var(--blue); text-decoration: underline; }

.book-form{
  background: var(--off-white);
  color: var(--ink);
  padding: 32px;
  border-radius: 4px;
  display:flex; flex-direction:column; gap: 6px;
}
.book-form label{
  font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em;
  margin-top: 14px;
}
.book-form .opt{ text-transform:none; opacity:.6; letter-spacing:0; }
.book-form input, .book-form textarea{
  font-family: var(--body);
  font-size: 1rem;
  padding: 12px;
  border: 1.5px solid rgba(20,23,44,.25);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
}
.book-form input:focus, .book-form textarea:focus{
  outline: 2px solid var(--blue); outline-offset: 1px;
}
.book-form button{ margin-top: 20px; cursor: pointer; }
.form-note{ font-family: var(--mono); font-size: .75rem; opacity: .6; margin-top: 10px; margin-bottom:0; }

/* ===== Footer ===== */
.site-footer{ background: var(--navy-deep); padding: 48px 0; position: relative; overflow:hidden; }
.footer-inner{
  display:flex; align-items:center; justify-content:space-between; gap: 24px; flex-wrap:wrap;
  position: relative; z-index: 1;
}
.footer-brand{ font-family: var(--display); color: var(--blue); font-size: 1.2rem; margin:0; }
.footer-tag{ font-family: var(--mono); font-size: .8rem; opacity:.7; margin: 4px 0 0; }
.footer-contact{ text-align:right; font-family: var(--mono); font-size: .85rem; }
.footer-contact a{ color: var(--blue); text-decoration: underline; }
.footer-copy{ opacity: .6; margin: 6px 0 0; font-size: .75rem; }
.shark-doodle-footer{
  position:absolute; left: -40px; bottom: -30px; width: 220px; opacity:.18;
  transform: rotate(4deg);
}

/* ===== Responsive ===== */
@media (max-width: 860px){
  .nav-toggle{ display:flex; }
  .nav-links{
    position:absolute; top:100%; left:0; right:0;
    background: var(--navy); flex-direction:column; align-items:flex-start;
    padding: 20px 24px; gap: 18px;
    display:none;
    border-bottom: 1px solid rgba(41,171,226,.25);
  }
  .nav-links.open{ display:flex; }
  .about-grid, .merch-grid, .book-grid{ grid-template-columns: 1fr; }
  .merch-grid{ display:flex; flex-direction: column-reverse; }
  .footer-inner{ flex-direction:column; text-align:center; }
  .footer-contact{ text-align:center; }
  .shark-doodle-songs{ width: 160px; }
}

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