/* Harbor Frenzy website (Claude outputs/design-v2/WEBSITE-design.md and the Web-* boards).
   The design system's colors, Luckiest Guy and Nunito hosted here, the sticker look: 3px navy outlines,
   rounded corners, hard navy shadows, no gradients or blur. No scripts, no cookies, no outside requests. */

@font-face {
  font-family: "Luckiest Guy";
  src: url("/harborfrenzy/fonts/LuckiestGuy-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/harborfrenzy/fonts/Nunito-Variable.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --navy: #0b3a5b;
  --surface: #fff6e3;
  --sand: #f6e7c1;
  --rule: #dcc89a;
  --white: #ffffff;
  --teal: #0b7f86;
  --sea: #3dcfd3;
  --muted: #4f6475;
  --footer-muted: #c9dbe6;
  --gutter: 56px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--navy);
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.45;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.display {
  font-family: "Luckiest Guy", "Nunito", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.05;
}

/* The wordmark: white with a navy edge and a hard navy shadow, as on the title screen. */
.wordmark {
  font-family: "Luckiest Guy", "Nunito", sans-serif;
  text-transform: uppercase;
  color: var(--white);
  -webkit-text-stroke: 6px var(--navy);
  paint-order: stroke fill;
  text-shadow: 0 3px 0 var(--navy);
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
}

/* Header */
.site-header { background: var(--surface); border-bottom: 3px solid var(--navy); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.site-header .wordmark { font-size: 30px; text-decoration: none; -webkit-text-stroke-width: 5px; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { font-weight: 800; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 3px; }

/* Home: hero */
.hero {
  position: relative;
  min-height: 640px;
  background: var(--sea) url("/harborfrenzy/images/harbor.png") center top / max(100%, 1280px) auto no-repeat;
  border-bottom: 3px solid var(--navy);
  overflow: hidden;
}
.hero .wrap { position: relative; padding-top: 196px; padding-bottom: 72px; }
.hero-copy { position: relative; z-index: 1; max-width: 580px; }
.eyebrow { margin: 0 0 6px; font-weight: 900; font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; }
.hero h1 { margin: 0 0 28px; font-size: 76px; font-weight: 400; }
.hero h1 .wordmark { -webkit-text-stroke-width: 9px; text-shadow: 0 5px 0 var(--navy); }
.sticker {
  margin: 0 0 22px;
  max-width: 490px;
  padding: 14px 22px;
  background: rgba(255, 246, 227, 0.94);
  border: 3px solid var(--navy);
  border-radius: 18px;
  font-weight: 800;
  font-size: 21px;
  line-height: 1.35;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.chip {
  display: inline-block;
  padding: 7px 16px;
  background: var(--surface);
  border: 3px solid var(--navy);
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
}
.hero-scoop {
  position: absolute;
  right: max(6vw, 60px);
  bottom: 0;
  height: 420px;
  width: auto;
  max-width: none;
}

/* Sections */
.section { padding: 64px 0 72px; }
.section.sand { background: var(--sand); }
.section-title { margin: 0 0 32px; text-align: center; font-size: 44px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.card {
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 24px;
  box-shadow: 0 6px 0 var(--navy);
  padding: 22px 24px 24px;
}
.card h3 { margin: 0 0 8px; font-size: 24px; }
.card p { margin: 0; color: var(--muted); }

/* Home: the first three cards link down the page */
.card-link { display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: transform 0.12s ease, box-shadow 0.12s ease; }
.card-link p { flex: 1; }
.card-link .more { margin-top: 14px; color: var(--teal); font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.card-link:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--navy); }
.card-link:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--navy); }
.section-lead { max-width: 640px; margin: -16px auto 32px; text-align: center; color: var(--muted); }
.to-top { margin: 36px 0 0; text-align: center; }
.to-top a { color: var(--teal); font-weight: 900; }
.harbor-no { margin: 0 0 2px; color: var(--muted); font-weight: 900; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }

/* Draw to dock: the video beside three steps */
.dock { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.video-frame { position: relative; }
.video-frame video {
  width: 100%;
  background: var(--sea);
  border: 3px solid var(--navy);
  border-radius: 18px;
  box-shadow: 0 6px 0 var(--navy);
}
.video-toggle {
  position: absolute; right: 14px; bottom: 16px;
  width: 48px; height: 48px; padding: 0;
  display: grid; place-items: center;
  background: var(--surface); color: var(--navy);
  border: 3px solid var(--navy); border-radius: 50%;
  box-shadow: 0 4px 0 var(--navy);
  cursor: pointer;
}
.video-toggle:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--navy); }
.video-toggle svg { width: 24px; height: 24px; }
.video-toggle .icon-pause, .video-toggle.is-playing .icon-play { display: none; }
.video-toggle.is-playing .icon-pause { display: block; }
.steps ol { list-style: none; margin: 0 0 20px; padding: 0; counter-reset: step; }
.steps li { position: relative; margin: 0 0 18px; padding-left: 56px; min-height: 40px; counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--navy); color: var(--surface);
  border-radius: 50%;
  font-family: "Luckiest Guy", "Nunito", sans-serif; font-size: 22px; line-height: 1; padding-top: 3px;
}
.steps strong { font-weight: 900; }
.careful {
  margin: 0;
  padding: 14px 18px;
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 18px;
}
.careful strong { font-weight: 900; }

/* Seven harbors */
.harbor-first { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); padding: 0; overflow: hidden; }
.harbor-first .map img { width: 100%; height: 100%; object-fit: cover; border-right: 3px solid var(--navy); }
.harbor-first-text { padding: 28px 30px; align-self: center; }
.harbor-first-text h3 { margin: 0 0 8px; font-size: 36px; }
.harbor-first-text p { margin: 0 0 16px; color: var(--muted); font-size: 18px; }
.harbor-first-text .chip { background: var(--sand); }
.map-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; }
.map-card { padding: 0 0 20px; overflow: hidden; }
.map-card .map { position: relative; margin-bottom: 14px; }
.map-card .map img { width: 100%; border-bottom: 3px solid var(--navy); }
.map-card > p, .map-card > h3 { margin-left: 20px; margin-right: 20px; }
.map-card h3 { margin-top: 0; margin-bottom: 4px; font-size: 20px; font-weight: 900; }
.map-card p { margin-top: 0; margin-bottom: 8px; color: var(--muted); }
.map-card .unlock { margin-bottom: 0; color: var(--navy); font-weight: 800; }
.lock {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--surface); color: var(--navy);
  border: 3px solid var(--navy); border-radius: 50%;
}
.lock svg { width: 20px; height: 20px; }

/* Pests, not peril: three cards, then two centered */
.pest-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; }
.pest-card { grid-column: span 2; padding: 0 0 22px; overflow: hidden; }
.pest-card:nth-child(4) { grid-column: 2 / span 2; }
.pest-card:nth-child(5) { grid-column: 4 / span 2; }
.pest-card img { width: 100%; margin-bottom: 14px; border-bottom: 3px solid var(--navy); }
.pest-card > p, .pest-card > h3 { margin-left: 20px; margin-right: 20px; }
.pest-card h3 { margin-top: 2px; margin-bottom: 6px; font-size: 26px; }
.pest-card p { margin-top: 0; margin-bottom: 10px; color: var(--muted); }
.pest-card .clear { margin-bottom: 0; color: var(--navy); font-weight: 800; }
.tag { display: inline-block; margin-left: 6px; padding: 1px 9px; background: var(--teal); color: var(--white); border-radius: 999px; letter-spacing: 0.5px; }
.pips { display: flex; gap: 5px; margin-bottom: 6px; }
.pips i { width: 13px; height: 13px; background: var(--white); border: 2.5px solid var(--navy); border-radius: 50%; }

.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.screens figure { margin: 0; }
.screens img {
  width: 100%;
  border: 3px solid var(--navy);
  border-radius: 18px;
  box-shadow: 0 6px 0 var(--navy);
}
.screens figcaption { margin-top: 14px; text-align: center; font-weight: 800; }

.fair { max-width: 640px; margin: 0 auto; }
.fair p { margin: 0 0 12px; color: var(--muted); }
.fair p:last-child { margin-bottom: 0; }
.fair strong { color: var(--navy); font-weight: 900; }

/* Support */
.page-head { padding: 52px 0 8px; }
.page-head h1 { margin: 0 0 10px; font-size: 60px; }
.page-head p { margin: 0; color: var(--muted); font-size: 18px; }
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  grid-template-areas: "faq contact";
  gap: 56px;
  align-items: start;
  padding: 32px 0 40px;
}
.faq { grid-area: faq; }
.faq-item { padding: 20px 0 22px; border-bottom: 3px solid var(--rule); }
.faq-item:first-child { padding-top: 0; }
.faq-item h2 { margin: 0 0 6px; font-size: 19px; font-weight: 900; }
.faq-item p { margin: 0; color: var(--muted); }
.contact { grid-area: contact; }
.contact h2 { margin: 0 0 6px; font-size: 26px; }
.contact .email { display: inline-block; margin-bottom: 8px; color: var(--teal); font-weight: 900; font-size: 22px; text-decoration: none; overflow-wrap: anywhere; }
.contact .email:hover { text-decoration: underline; }
.contact p { margin: 0; color: var(--muted); font-size: 16px; }

/* Privacy */
.privacy-page { background: var(--sand); }
.policy {
  max-width: 720px;
  margin: 0 auto;
  padding: 52px 56px 64px;
  background: var(--white);
  border-left: 3px solid var(--navy);
  border-right: 3px solid var(--navy);
  font-size: 17px;
  line-height: 26px;
}
.policy h1 { margin: 0 0 10px; font-size: 52px; line-height: 1; }
.policy .updated { margin: 0 0 24px; color: var(--muted); font-weight: 800; }
.policy h2 { margin: 30px 0 8px; font-size: 21px; font-weight: 900; line-height: 1.3; }
.policy p, .policy li { margin: 0 0 12px; }
.policy ul { margin: 0 0 12px; padding-left: 22px; }
.policy a { color: var(--teal); font-weight: 800; }
.policy .short {
  margin: 0 0 8px;
  padding: 16px 20px 6px;
  background: var(--surface);
  border: 3px solid var(--navy);
  border-radius: 18px;
}
.policy .short h2 { margin-top: 0; }

/* Footer */
.site-footer { background: var(--navy); color: var(--white); padding: 28px 0 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 10px; }
.footer-links a { font-weight: 800; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.site-footer small { display: block; color: var(--footer-muted); font-size: 14px; }

/* Phone: one column, 18px margins, nothing wider than the screen. */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .dock { grid-template-columns: 1fr; gap: 28px; }
  .harbor-first { grid-template-columns: 1fr; }
  .harbor-first .map img { border-right: 0; border-bottom: 3px solid var(--navy); }
  .map-grid { grid-template-columns: repeat(2, 1fr); }
  .pest-grid { grid-template-columns: repeat(2, 1fr); }
  .pest-card, .pest-card:nth-child(4), .pest-card:nth-child(5) { grid-column: auto; }
  .support-grid { grid-template-columns: 1fr; grid-template-areas: "contact" "faq"; gap: 36px; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .site-header .wrap { height: 56px; }
  .site-header .wordmark { font-size: 24px; -webkit-text-stroke-width: 4px; }
  .site-nav { gap: 16px; }
  .hero { min-height: 700px; background-size: 1500px auto; }
  .hero .wrap { padding-top: 186px; padding-bottom: 290px; }
  .eyebrow { font-size: 13px; }
  .hero h1 { margin-bottom: 22px; font-size: 44px; }
  .hero h1 .wordmark { -webkit-text-stroke-width: 6px; text-shadow: 0 4px 0 var(--navy); }
  .sticker { font-size: 18px; padding: 12px 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-scoop { right: 12px; height: 250px; }
  .section { padding: 48px 0 56px; }
  .section-title { font-size: 32px; margin-bottom: 24px; }
  .cards, .screens, .map-grid, .pest-grid { grid-template-columns: 1fr; gap: 22px; }
  .harbor-first-text { padding: 20px 20px 24px; }
  .harbor-first-text h3 { font-size: 30px; }
  .page-head h1 { font-size: 44px; }
  .contact .email { font-size: 18px; }
  .policy { padding: 36px 18px 48px; border: 0; }
  .policy h1 { font-size: 40px; }
}
