/* Catching Gapseed — site styles */
:root {
  --navy: #232A57;
  --navy-2: #343C70;
  --turq: #58B9C7;
  --turq-dark: #2F8FA0;
  --turq-light: #DDF1F4;
  --sand: #F7E5D1;
  --sand-light: #FCF5EC;
  --coral: #F36D69;
  --coral-dark: #D9504C;
  --green: #6E9D53;
  --green-light: #E6F0DF;
  --tan: #D0A67E;
  --ink: #232A57;
  --muted: #5B6285;
  --line: #E6E1D8;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(35, 42, 87, .06), 0 6px 20px rgba(35, 42, 87, .08);
  --head: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--turq-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.15; margin: 0 0 .4em; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.ic { flex: none; vertical-align: middle; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--head); font-weight: 600; font-size: 1.05rem;
  background: var(--coral); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s; }
.btn:hover { background: var(--coral-dark); color: #fff; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sand); color: var(--navy); }
.btn-block { width: 100%; margin-top: 10px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { width: 210px; height: auto; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); padding: 8px; cursor: pointer; }
.nav-toggle .shut { display: none; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { font-family: var(--head); font-weight: 500; font-size: 1.05rem; color: var(--navy); text-decoration: none; padding: 8px 12px; border-radius: 999px; }
.site-nav a:hover { background: var(--turq-light); }
.site-nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.nav-search { display: inline-flex; align-items: center; gap: 6px; }
.nav-search span { display: none; }

@media (max-width: 980px) {
  .brand img { width: 180px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 18px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; font-size: 1.15rem; }
  .nav-search span { display: inline; }
  .nav-toggle[aria-expanded="true"] .open { display: none; }
  .nav-toggle[aria-expanded="true"] .shut { display: inline; }
}

/* Hero */
.hero { position: relative; background: linear-gradient(160deg, var(--turq) 0%, #6FC6D2 55%, #8ED3DC 100%); color: var(--navy); padding: 56px 0 90px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.35), transparent 45%); pointer-events: none; }
.hero-inner > * { min-width: 0; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; }
.eyebrow { font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); opacity: .8; margin-bottom: 10px; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); margin-bottom: .25em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.hero .lead { color: var(--navy); font-size: 1.2rem; }
.hero-art img { width: 100%; max-width: 420px; margin-left: auto; filter: drop-shadow(0 18px 30px rgba(35, 42, 87, .25)); }
.hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 60px; fill: #fff; }

.search-box { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: var(--shadow); max-width: 560px; margin-top: 22px; color: var(--muted); }
.search-box input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 1.05rem; padding: 10px 4px; color: var(--navy); background: transparent; }
.search-box input:focus { outline: none; }
.search-box:focus-within { box-shadow: 0 0 0 3px var(--coral), var(--shadow); }
.search-box-page { margin-top: 12px; border: 1px solid var(--line); }

@media (max-width: 760px) {
  .hero { padding: 36px 0 76px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 140px; margin: 0; }
  .search-box .btn { padding: 10px 16px; }
}

/* Section scaffolding */
.block { padding: 56px 0; }
.block-sand { background: var(--sand-light); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.sub { margin-top: 36px; }
.empty { color: var(--muted); background: var(--sand-light); border-radius: var(--radius); padding: 22px; }

/* Right-now chips */
.now { padding: 8px 0 30px; }
.chips { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; }
.chip { scroll-snap-align: start; flex: none; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; min-width: 210px;
  border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; text-decoration: none; color: var(--navy); background: #fff; }
.chip:hover { border-color: var(--turq); color: var(--navy); }
.chip .dot { grid-row: 1 / 4; width: 12px; height: 12px; border-radius: 50%; }
.chip-name { font-family: var(--head); font-weight: 600; font-size: 1.05rem; }
.chip-state { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.chip-when { font-size: .85rem; color: var(--muted); }
.is-open .dot, .is-on .dot { background: var(--green); box-shadow: 0 0 0 4px var(--green-light); }
.is-open .chip-state, .is-open .state { color: var(--green); }
.is-closed .dot { background: var(--coral); box-shadow: 0 0 0 4px #FDE3E2; }
.is-closed .chip-state, .is-closed .state { color: var(--coral-dark); }
.is-on .chip-state, .is-on .state { color: var(--turq-dark); }
.is-on .dot { background: var(--turq); box-shadow: 0 0 0 4px var(--turq-light); }
.is-off .dot { background: #B9BCCB; }
.is-off .state { color: var(--muted); }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 22px; border-radius: var(--radius);
  text-decoration: none; color: #fff; transition: transform .15s, box-shadow .15s; min-height: 118px; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: #fff; }
.tile-icon { grid-row: 1 / 3; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.2); }
.tile-title { font-family: var(--head); font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.tile-desc { font-size: .92rem; opacity: .92; }
.tile-coral { background: var(--coral); }
.tile-turq { background: var(--turq-dark); }
.tile-green { background: var(--green); }
.tile-navy { background: var(--navy); }
.tile-sand { background: var(--sand); color: var(--navy); }
.tile-sand:hover { color: var(--navy); }
.tile-sand .tile-icon { background: rgba(35,42,87,.08); }
.tile-turq-dark { background: #1F6F7E; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 0; padding: 18px; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
.card-media { position: relative; aspect-ratio: 16 / 10; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255,255,255,.9);
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.25), transparent 50%), var(--ph); }
.badge { position: absolute; top: 12px; display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 700; letter-spacing: .03em; padding: 5px 10px; border-radius: 999px; }
.badge-pick { left: 12px; background: #fff; color: var(--navy); }
.badge-pick .ic { color: #E0A526; fill: #E0A526; }
.badge-sample { right: 12px; background: var(--navy); color: #fff; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-kicker { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--turq-dark); margin: 0 0 4px; }
.card-body h3 { margin-bottom: 6px; }
.card-summary { font-size: .95rem; color: var(--muted); margin-bottom: 10px; }
.card-loc { margin: auto 0 0; display: flex; align-items: center; gap: 4px; font-size: .88rem; font-weight: 600; color: var(--navy); }
.card-loc .ic { color: var(--coral); }

/* Specials */
.specials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.special { background: #fff; border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); border-top: 5px solid var(--coral); display: flex; flex-direction: column; }
.special-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.special-when { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--coral-dark); }
.special-price { font-family: var(--head); font-weight: 700; font-size: 1.3rem; color: var(--navy); }
.special p { font-size: .95rem; color: var(--muted); }
.special-place { margin-top: auto; font-weight: 600; font-size: .9rem; text-decoration: none; }

/* Filters */
.filters { margin-bottom: 26px; display: grid; gap: 10px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); width: 56px; }
.pill { font: inherit; font-size: .92rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); text-decoration: none; cursor: pointer; }
.pill:hover { border-color: var(--turq); color: var(--navy); }
.pill.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Page heads */
.page-head { background: var(--sand-light); padding: 44px 0 36px; border-bottom: 1px solid var(--line); }
.page-head .lead { margin: 0; }
.page-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--turq); color: #fff; margin-bottom: 14px; }
.page-head-eat .page-icon { background: var(--coral); }
.page-head-services .page-icon { background: var(--green); }
.page-head-things .page-icon { background: var(--navy); }
.page-head-fish .page-icon { background: #1F6F7E; }

/* Place detail */
.place { padding: 28px 0 60px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.place-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.place-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 22px; background: var(--sand); }
.place-media-empty { aspect-ratio: 16 / 4; }
.place-media img { width: 100%; height: 100%; object-fit: cover; }
.pick { color: #B8860B; }
.prose { font-size: 1.05rem; max-width: 42em; }
.place-side { position: sticky; top: 100px; }
.info-card { background: var(--sand-light); border-radius: var(--radius); padding: 22px; }
.info-card p { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; word-break: break-word; }
.info-card .ic { color: var(--turq-dark); margin-top: 2px; }
.info-card a { font-weight: 600; }
.map-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; }
.more-places { margin-top: 30px; }
.notice { background: var(--turq-light); border-radius: 12px; padding: 12px 16px; }
.notice-ok { background: var(--green-light); }
.notice-err { background: #FDE3E2; margin-bottom: 18px; }
@media (max-width: 860px) { .place-grid { grid-template-columns: 1fr; gap: 24px; } .place-side { position: static; } }

/* Seasons */
.seasons-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.season { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; scroll-margin-top: 100px; }
.season:target { box-shadow: 0 0 0 3px var(--turq); }
.season header { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.season h3 { margin: 0; }
.state { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.state .dot { width: 10px; height: 10px; border-radius: 50%; }
.season-when { color: var(--muted); font-size: .92rem; margin: 4px 0 12px; }
.strip { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; margin-bottom: 14px; }
.strip span { font-size: .7rem; font-weight: 700; text-align: center; padding: 5px 0; border-radius: 5px; }
.strip .on { background: var(--green-light); color: var(--green); }
.strip .off { background: #F3F1EE; color: #A3A6B8; }
.is-on .strip .on, .is-off .strip .on { background: var(--turq-light); color: var(--turq-dark); }
.strip .now { outline: 2px solid var(--navy); outline-offset: -2px; }
.season dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0 0 10px; font-size: .92rem; }
.season dt { font-weight: 700; }
.season dd { margin: 0; }
.season-notes { font-size: .9rem; color: var(--muted); margin: 0; }
.rules { margin-top: 36px; background: var(--turq-light); border-radius: var(--radius); padding: 24px 26px; }
.rules ul { margin: 0 0 12px; padding-left: 20px; }
.rules li { margin-bottom: 8px; }
.disclaimer { font-size: .88rem; color: var(--muted); margin-top: 20px; }

/* Fish ID */
.fish-search { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; color: var(--muted); }
.fish-search input { border: 0; font: inherit; padding: 5px 0; width: 150px; color: var(--navy); }
.fish-search input:focus { outline: none; }
.fish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.fish { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; scroll-margin-top: 100px; }
.fish:target { box-shadow: 0 0 0 3px var(--turq); }
.fish-art { aspect-ratio: 16 / 10; display: grid; place-items: center; background: var(--sand-light); color: var(--fc); }
.fish-art svg { width: 46%; opacity: .9; }
.fish-photo { position: relative; margin: 0; aspect-ratio: 16 / 10; background: var(--sand-light); }
.fish-photo img { width: 100%; height: 100%; object-fit: cover; }
.fish-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 10px 5px; font-size: .68rem; line-height: 1.3; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.6)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fish-photo figcaption a { color: #fff; text-decoration: none; }
.fish-photo figcaption a:hover { text-decoration: underline; }
.sci { font-style: italic; color: var(--muted); font-size: .9rem; margin: 0 0 4px; }
.fish-body { padding: 18px 20px 20px; }
.fish-body h2 { font-size: 1.4rem; margin-bottom: 2px; }
.local { font-size: .95rem; color: var(--muted); margin-bottom: 12px; }
.fish dl { margin: 0; font-size: .93rem; }
.fish dt { font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--turq-dark); margin-top: 10px; }
.fish dd { margin: 2px 0 0; }
.fish dd.rule { font-weight: 600; }
.grp-watch-out { color: #B7791F; }
.grp-reef { color: var(--coral-dark); }
.grp-offshore { color: var(--navy); }
.grp-shellfish { color: #9C6B45; }
.fish-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.fish-links a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; }
@media (max-width: 600px) { .card-media { aspect-ratio: 16 / 7; } }
@media (max-width: 600px) { .fish-search { margin-left: 0; width: 100%; } .fish-search input { width: 100%; } .fish-grid { grid-template-columns: 1fr; } }

/* Gapseed explainer + CTA */
.block-gapseed { background: var(--turq-light); }
.block-gapseed a { color: var(--turq-dark); font-weight: 600; }
.gapseed { display: grid; grid-template-columns: 160px 1fr; gap: 36px; align-items: center; max-width: 900px; }
.gapseed p { font-size: 1.1rem; }
@media (max-width: 600px) { .gapseed { grid-template-columns: 1fr; gap: 18px; } .gapseed img { width: 110px; } }
.cta-band { background: var(--turq-light); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner p { margin: 0; color: var(--muted); }

/* Forms */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #D5D0C6; border-radius: 12px; background: #fff; color: var(--navy); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--turq); box-shadow: 0 0 0 3px var(--turq-light); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { justify-self: start; }
@media (max-width: 600px) { .form .two { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { position: relative; margin-top: 0; color: #DCE0F0; }
.footer-wave { display: block; width: 100%; height: 50px; fill: var(--navy); }
.footer-body { background: var(--navy); padding: 30px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { flex: none; border-radius: 50%; }
.footer-name { font-family: var(--head); font-size: 1.5rem; font-weight: 700; color: #fff; margin: 0; }
.footer-tag { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--turq); margin-bottom: 10px; }
.footer-what { font-size: .92rem; }
.site-footer h3 { color: #fff; font-size: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #DCE0F0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .btn-light { color: var(--navy); }
.site-footer .btn-light:hover { text-decoration: none; }
.footer-base { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.15); margin-top: 30px; padding-top: 18px; font-size: .85rem; }
.footer-base p { margin: 0; }
.ld-credit { display: inline-flex; align-items: center; gap: 10px; color: #DCE0F0; }
.ld-credit:hover { text-decoration: none !important; opacity: .85; }
.ld-credit img { height: 28px; width: auto; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
