  *,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --ocean-deep: #021627;
    --ocean-mid: #062d4a;
    --ocean-blue: #0a4f7e;
    --electric: #00b4d8;
    --electric-bright: #48cae4;
    --sand: #f4e9d0;
    --sand-light: #fdf6ec;
    --white: #ffffff;
    --text-muted: #8eb8d4;
    --border: rgba(0,180,216,0.2);
    --section-bg: #041c2e;
    --card-bg: #062d4a;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', sans-serif;
    background: var(--ocean-deep);
    color: var(--white);
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 4rem;
    height: 72px;
    background: rgba(2,22,39,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .nav-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.6rem; font-weight: 800; letter-spacing: 0.08em;
    color: var(--white); text-decoration: none;
  }
  .nav-logo span { color: var(--electric); }
  .nav-logo .b-mark { width: 1.55em; height: 1.55em; margin-right: .5rem; vertical-align: -.3em; }
  .nav-logo .b-mark path { fill: var(--electric); }
  .nav-logo .b-mark circle { fill: var(--ocean-deep, #03121f); }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    color: var(--text-muted); text-decoration: none;
    font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--electric); }
  .nav-cta {
    background: var(--electric); color: var(--ocean-deep);
    padding: 0.5rem 1.25rem; border-radius: 4px;
    font-size: 0.875rem; font-weight: 600; text-decoration: none;
    transition: background 0.2s;
  }
  .nav-cta:hover { background: var(--electric-bright); }

  /* ── HERO ── */
  .hero {
    position: relative; height: 100vh; min-height: 680px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    overflow: hidden;
    background:
      linear-gradient(to bottom, rgba(2,22,39,0.55) 0%, rgba(2,22,39,0.85) 100%),
      url('../img/photos/u559827260.webp') center/cover no-repeat;
  }
  .hero-eyebrow {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem; font-weight: 600; letter-spacing: 0.25em;
    color: var(--electric); text-transform: uppercase;
    margin-bottom: 1.25rem;
  }
  .hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 800; line-height: 0.95;
    text-align: center; text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--white);
    margin-bottom: 1.5rem;
  }
  .hero h1 em {
    font-style: normal; color: var(--electric);
    display: block;
  }
  .hero-sub {
    max-width: 540px; text-align: center;
    font-size: 1.05rem; line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2.5rem;
  }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .btn-primary {
    background: var(--electric); color: var(--ocean-deep);
    padding: 0.85rem 2rem; border-radius: 4px;
    font-size: 0.9rem; font-weight: 600; letter-spacing: 0.05em;
    text-decoration: none; text-transform: uppercase;
    transition: all 0.2s;
  }
  .btn-primary:hover { background: var(--electric-bright); transform: translateY(-2px); }
  .btn-outline {
    border: 1.5px solid rgba(255,255,255,0.35); color: var(--white);
    padding: 0.85rem 2rem; border-radius: 4px;
    font-size: 0.9rem; font-weight: 500; letter-spacing: 0.05em;
    text-decoration: none; text-transform: uppercase;
    transition: all 0.2s;
  }
  .btn-outline:hover { border-color: var(--electric); color: var(--electric); }
  .hero-scroll {
    position: absolute; bottom: 2rem;
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    color: var(--text-muted); font-size: 0.75rem; letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--electric), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
  }
  @keyframes scrollPulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

  /* ── SECTION SHARED ── */
  section { padding: 6rem 4rem; }
  .section-inner { max-width: 1200px; margin: 0 auto; }
  .section-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.3em;
    color: var(--electric); text-transform: uppercase;
    margin-bottom: 0.75rem;
  }
  .section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.05em;
    line-height: 1;
    color: var(--white);
    margin-bottom: 1rem;
  }
  .section-desc {
    font-size: 1rem; line-height: 1.75;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 3rem;
  }
  .divider {
    width: 48px; height: 3px;
    background: var(--electric);
    margin-bottom: 1.5rem;
    border-radius: 2px;
  }

  /* ── TAB NAV ── */
  .tab-section {
    position: relative;
    background-color: var(--section-bg);
    background-image:
      linear-gradient(180deg,
        rgba(2,22,39,.26) 0%,
        rgba(3,25,42,.38) 50%,
        rgba(4,28,46,.70) 82%,
        var(--section-bg) 100%),
      linear-gradient(90deg,
        rgba(4,28,46,.52) 0%,
        rgba(4,28,46,.08) 50%,
        rgba(4,28,46,0) 100%),
      url("../img/site/explore-bg.webp");
    background-size: 100% 52.18vw, 100% 52.18vw, 100% 52.18vw;
    background-position: center top, center top, center top;
    background-repeat: no-repeat, no-repeat, no-repeat;
  }

  .tabs-nav { display: flex; gap: .35rem; flex-wrap: wrap; overflow-x: auto; padding-bottom: 0; margin-bottom: 1.75rem; border-bottom: 1px solid var(--border); }
  .tabs-nav {
    display: flex; gap: 0; border-bottom: 1px solid var(--border);
    margin-bottom: 3rem; overflow-x: auto;
  }
  .tab-btn {
    background: none; border: none; cursor: pointer;
    padding: 1rem 1.75rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s; white-space: nowrap;
  }
  .tab-btn.active { color: var(--electric); border-bottom-color: var(--electric); }
  .tab-btn:hover:not(.active) { color: var(--white); }
  .tab-panel { display: none; }
  .tab-panel.active { display: block !important; min-height: 400px; padding: 1.5rem 0 3rem; }

  .access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
  }
  .access-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.25s;
    display: flex; flex-direction: column; gap: 0.75rem;
  }
  .access-card:hover {
    border-color: var(--electric);
    transform: translateY(-4px);
    background: rgba(10,79,126,0.6);
  }
  .access-card h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem; font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--white);
  }
  .access-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
  .access-card .card-link {
    font-size: 0.8rem; font-weight: 600; color: var(--electric);
    letter-spacing: 0.06em; text-transform: uppercase;
    margin-top: auto;
  }

  /* ── WHERE TO FISH DESTINATIONS ── */
  .wtf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
  }
  .wtf-card {
    position: relative; border-radius: 10px; overflow: hidden;
    cursor: pointer; height: 300px;
    border: 1px solid transparent;
    transition: all .3s;
  }
  .wtf-card:hover { border-color: var(--electric); transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,180,216,.15); }
  .wtf-card-bg {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem; opacity: .25;
  }
  .wtf-card-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; filter: brightness(.5);
    transition: transform .4s, filter .4s;
  }
  .wtf-card:hover .wtf-card-img { transform: scale(1.05); filter: brightness(.62); }
  .wtf-card-over {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(2,22,39,.97) 0%, rgba(2,22,39,.05) 55%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.4rem;
  }
  .wtf-region-tag {
    display: inline-block; margin-bottom: .45rem;
    background: var(--electric); color: var(--ocean-deep);
    font-size: .65rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; padding: .2rem .6rem; border-radius: 3px;
    width: fit-content;
  }
  .wtf-card-over h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.6rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: .05em; color: var(--white); line-height: 1;
    margin-bottom: .35rem;
  }
  .wtf-card-over p {
    font-size: .78rem; color: rgba(255,255,255,.65); line-height: 1.5;
    margin-bottom: .4rem;
  }/* ── LURES ── */
  .lures-section { background: var(--ocean-deep); }
  .lure-categories {
    display: flex; gap: 0; border-bottom: 1px solid var(--border);
    margin-bottom: 3rem; overflow-x: auto;
  }
  .lure-cat-btn {
    background: none; border: none; cursor: pointer;
    padding: 0.75rem 1.5rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.95rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--text-muted);
    border-bottom: 2px solid transparent; margin-bottom: -1px;
    transition: all 0.2s; white-space: nowrap;
  }
  .lure-cat-btn.active { color: var(--electric); border-bottom-color: var(--electric); }
  .lure-cat-btn:hover:not(.active) { color: var(--white); }
  .lure-panel { display: none; }
  .lure-panel.active { display: block; }
  .lure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
  }
  .lure-card {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 8px; overflow: hidden;
    transition: all 0.25s;
  }
  .lure-card:hover { border-color: var(--electric); transform: translateY(-3px); }
  .lure-img-wrap {
    height: 160px; overflow: hidden;
    background: var(--ocean-mid);
    display: flex; align-items: center; justify-content: center;
  }
  .lure-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
  .lure-info { padding: 1.25rem; }
  .lure-info h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem; font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--white); margin-bottom: 0.35rem;
  }
  .lure-info p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; }
  .lure-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
  .lure-tag {
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem; border-radius: 3px;
    background: rgba(0,180,216,0.15); color: var(--electric-bright);
  }

  /* ── BLOG FULL ── */
  .blog-full-header {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem; margin-bottom: 1.75rem;
  }
  .blog-search-wrap {
    display: flex; align-items: center; gap: .75rem;
    flex: 1; max-width: 360px;
  }
  .blog-search {
    flex: 1; background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 6px; padding: .5rem 1rem;
    color: var(--white); font-family: 'Inter',sans-serif; font-size: .85rem;
    transition: border-color .2s;
  }
  .blog-search:focus { outline: none; border-color: var(--electric); }
  .blog-search::placeholder { color: var(--text-muted); }
  .blog-cats {
    display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem;
  }
  .blog-cat-btn {
    padding: .35rem .9rem; border: 1px solid var(--border);
    border-radius: 100px; background: transparent;
    color: var(--text-muted); font-size: .78rem; font-weight: 500;
    cursor: pointer; transition: all .2s; font-family: 'Inter',sans-serif;
    white-space: nowrap;
  }
  .blog-cat-btn:hover,
.blog-cat-btn.active {
    background: var(--electric); border-color: var(--electric);
    color: var(--ocean-deep); font-weight: 600;
  }
  .blog-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
  }
  .blog-article-card {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 8px; overflow: hidden; cursor: pointer;
    transition: all .25s; display: flex; flex-direction: column;
  }
  .blog-article-card:hover {
    border-color: var(--electric); transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0,180,216,.12);
  }
  .bac-img {
    height: 180px; overflow: hidden; position: relative;
    background: var(--ocean-mid);
  }
  .bac-img img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(.65); transition: transform .4s, filter .4s;
  }
  .blog-article-card:hover .bac-img img { transform: scale(1.05); filter: brightness(.8); }
  .bac-cat-badge {
    position: absolute; top: .75rem; left: .75rem;
    font-size: .65rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; padding: .22rem .65rem; border-radius: 3px;
  }
  .cat-technique { background: rgba(0,180,216,.9); color: var(--ocean-deep); }
  .cat-biting { background: rgba(40,167,69,.9); color: #fff; }
  .cat-bait { background: rgba(255,193,7,.9); color: var(--ocean-deep); }
  .cat-conditions { background: rgba(220,53,69,.9); color: #fff; }
  .cat-destination { background: rgba(111,66,193,.9); color: #fff; }
  .cat-gear { background: rgba(23,162,184,.9); color: #fff; }
  .bac-body { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
  .bac-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.15rem; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; color: var(--white); line-height: 1.2;
  }
  .bac-excerpt { font-size: .8rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
  .bac-meta {
    font-size: .7rem; color: rgba(142,184,212,.6);
    display: flex; gap: .75rem; align-items: center; margin-top: auto;
    padding-top: .6rem; border-top: 1px solid rgba(0,180,216,.08);
  }
  .bac-read-time { color: var(--electric); font-weight: 600; }
  .blog-no-results {
    grid-column: 1/-1; text-align: center; padding: 4rem 2rem;
    color: var(--text-muted); font-size: .95rem;
  }

  /* Article detail overlay */
  .article-overlay {
    position: fixed; inset: 0; z-index: 300;
    background: rgba(2,22,39,.98); overflow-y: auto;
    display: none; opacity: 0; transition: opacity .3s;
  }
  .article-overlay.open { display: block; }
  .article-overlay.visible { opacity: 1; }
  .article-inner { max-width: 820px; margin: 0 auto; padding: 2rem 2.5rem 6rem; }
  .article-close {
    display: inline-flex; align-items: center; gap: .5rem;
    background: none; border: 1px solid var(--border);
    color: var(--text-muted); padding: .5rem 1.1rem; border-radius: 5px;
    cursor: pointer; font-family: 'Inter',sans-serif; font-size: .8rem;
    transition: all .2s; margin-bottom: 2rem; margin-top: 1.5rem;
  }
  .article-close:hover { border-color: var(--electric); color: var(--electric); }
  .article-hero-img {
    width: 100%; height: 360px; object-fit: cover;
    border-radius: 10px; filter: brightness(.75);
    margin-bottom: 2rem;
  }
  .article-cat-badge {
    display: inline-block; font-size: .7rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    padding: .25rem .75rem; border-radius: 3px; margin-bottom: .75rem;
  }
  .article-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
    text-transform: uppercase; letter-spacing: .05em;
    color: var(--white); line-height: 1; margin-bottom: .75rem;
  }
  .article-meta-row {
    display: flex; gap: 1.5rem; flex-wrap: wrap;
    font-size: .78rem; color: var(--text-muted);
    margin-bottom: 2.5rem; padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .article-meta-row span { display: flex; align-items: center; gap: .35rem; }
  .article-body p {
    font-size: .95rem; color: rgba(255,255,255,.78);
    line-height: 1.85; margin-bottom: 1.25rem;
  }
  .article-body h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.35rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--white);
    border-left: 3px solid var(--electric); padding-left: .75rem;
    margin: 2rem 0 .85rem;
  }
  .article-body ul {
    list-style: none; display: flex; flex-direction: column; gap: .6rem;
    margin-bottom: 1.25rem;
  }
  .article-body ul li {
    font-size: .9rem; color: rgba(255,255,255,.75);
    line-height: 1.65; display: flex; gap: .6rem;
  }
  .article-body ul li::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--electric); flex-shrink: 0; margin-top: .55rem;
  }
  .article-tip-box {
    background: rgba(0,180,216,.08); border: 1px solid rgba(0,180,216,.25);
    border-left: 3px solid var(--electric); border-radius: 6px;
    padding: 1.1rem 1.4rem; margin: 1.5rem 0;
    font-size: .88rem; color: rgba(255,255,255,.8); line-height: 1.7;
  }
  .article-tip-box strong { color: var(--electric); }
  @media (max-width:700px) {
    .article-inner { padding: 1rem 1.2rem 4rem; }
    .blog-search-wrap { max-width: 100%; }
  }

  /* ── BLOG PREVIEW ── */
  .blog-section { background: var(--section-bg); }

  /* ── STATS BAR ── */
  .stats-bar {
    background: var(--electric);
    padding: 2rem 4rem;
  }
  .stats-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2rem; text-align: center;
  }
  @media (max-width: 700px) { .stats-inner { grid-template-columns: 1fr 1fr; } }
  .stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.5rem; font-weight: 800; color: var(--ocean-deep);
    line-height: 1;
  }
  .stat-label {
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: rgba(2,22,39,0.85);
    margin-top: 0.25rem;
  }

  /* ── FOOTER ── */
  footer {
    background: #010f1a;
    border-top: 1px solid var(--border);
    padding: 3rem 4rem;
  }
  .footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
  }
  @media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
  .footer-brand p {
    font-size: 0.875rem; color: var(--text-muted);
    line-height: 1.7; margin-top: 0.75rem; max-width: 260px;
  }
  footer h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem; font-weight: 700; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--white); margin-bottom: 1rem;
  }
  footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
  footer ul a {
    font-size: 0.85rem; color: var(--text-muted); text-decoration: none;
    transition: color 0.2s;
  }
  footer ul a:hover { color: var(--electric); }
  .footer-bottom {
    max-width: 1200px; margin: 2rem auto 0;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.78rem; color: var(--text-muted);
    flex-wrap: wrap; gap: 0.5rem;
  }

  /* ── TARGET SPECIES EMBEDDED ── */

*,
*::before,
*::after {box-sizing:border-box;margin:0;padding:0}
:root {
  --deep:#021627;--mid:#062d4a;--blue:#0a4f7e;
  --elec:#00b4d8;--elec2:#48cae4;
  --white:#fff;--muted:#8eb8d4;
  --border:rgba(0,180,216,0.2);--sbg:#041c2e;--cbg:#062d4a;
  --font-display:'Barlow Condensed',Arial Black,sans-serif;
  --font-body:'Inter',Arial,sans-serif;
}
html {scroll-behavior:smooth}
body {font-family:var(--font-body);background:var(--deep);color:var(--white);overflow-x:hidden}

/* NAV */
nav {position:fixed;top:0;left:0;right:0;z-index:100;display:flex;align-items:center;justify-content:space-between;padding:0 3rem;height:68px;background:rgba(2,22,39,0.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}
.nav-logo {font-family:var(--font-display);font-size:1.5rem;font-weight:800;letter-spacing:.08em;color:var(--white);text-decoration:none}
.nav-logo span {color:var(--elec)}

/* SPECIES CARD */
.species-card {position:relative;border-radius:10px;overflow:hidden;cursor:pointer;height:310px;border:1px solid transparent;transition:all .3s}
.species-card:hover {border-color:var(--elec);transform:translateY(-5px);box-shadow:0 18px 40px rgba(0,180,216,.15)}

  .card-photo {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s;filter:brightness(.52)}

  .card-photo {transform:scale(1.05);filter:brightness(.62)}
/* CSS fallback background shown while/if image fails */
.card-bg {position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:5rem;opacity:.18}
/* Gradient overlay */
.card-over {position:absolute;inset:0;background:linear-gradient(to top,rgba(2,22,39,.95) 0%,rgba(2,22,39,.02) 50%);display:flex;flex-direction:column;justify-content:flex-end;padding:1rem}
.card-family {font-size:.56rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--elec);margin-bottom:.22rem}
.card-name {font-family:var(--font-display);font-size:1.25rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;line-height:1;color:var(--white);margin-bottom:.2rem}
.card-sci {font-size:.6rem;color:rgba(255,255,255,.4);font-style:italic;margin-bottom:.4rem}
.card-stats {display:flex;gap:1rem;margin-bottom:.5rem}
.cs {font-size:.62rem;color:var(--muted)}
.cs strong {display:block;font-size:.78rem;color:var(--white);font-weight:600}
.card-cta {display:inline-flex;align-items:center;gap:.35rem;font-size:.65rem;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--elec)}
.card-cta svg {width:13px;height:13px;transition:transform .2s}
.species-card:hover .card-cta svg {transform:translateX(3px)}

/* DETAIL OVERLAY */
.detail-overlay {position:fixed;inset:0;z-index:200;background:rgba(2,22,39,.98);overflow-y:auto;display:none;opacity:0;transition:opacity .3s}
.detail-overlay.open {display:block}
.detail-overlay.visible {opacity:1}
.detail-inner {max-width:1080px;margin:0 auto;padding:2rem 2.5rem 6rem}
.close-btn {display:flex;align-items:center;gap:.5rem;background:none;border:1px solid var(--border);color:var(--muted);padding:.5rem 1.1rem;border-radius:5px;cursor:pointer;font-family:var(--font-body);font-size:.8rem;font-weight:500;transition:all .2s;margin-bottom:2.5rem;margin-top:1.5rem}
.close-btn:hover {border-color:var(--elec);color:var(--elec)}
.d-hero {position:relative;height:400px;border-radius:10px;overflow:hidden;margin-bottom:2.5rem;background:var(--mid)}
.d-hero img {width:100%;height:100%;object-fit:cover;filter:brightness(.55)}
.d-hero-fallback {position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:8rem;opacity:.12}
.d-hero-over {position:absolute;inset:0;background:linear-gradient(to right,rgba(2,22,39,.96) 35%,transparent 72%);display:flex;flex-direction:column;justify-content:flex-end;padding:2rem 2.5rem}
.d-family {font-size:.7rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--elec);margin-bottom:.45rem}
.d-name {font-family:var(--font-display);font-size:clamp(2.4rem,5vw,4.2rem);font-weight:800;text-transform:uppercase;letter-spacing:.05em;line-height:.95;color:var(--white);margin-bottom:.28rem}
.d-body {display:grid;grid-template-columns:2fr 1fr;gap:2.5rem}
@media(max-width:740px){.d-body {grid-template-columns:1fr}}
.d-sec {margin-bottom:2.25rem}
.d-sec-title {font-family:var(--font-display);font-size:1.25rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em;color:var(--white);border-left:3px solid var(--elec);padding-left:.7rem;margin-bottom:.8rem}
.d-sec p {font-size:1rem;color:rgba(255,255,255,.7);line-height:1.75;margin-bottom:.5rem}
.info-card {background:var(--cbg);border:1px solid var(--border);border-radius:8px;padding:1.4rem;margin-bottom:1.1rem}
.info-card h4 {font-family:var(--font-display);font-size:.82rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--elec);margin-bottom:.9rem}
.irow {display:flex;justify-content:space-between;align-items:baseline;padding:.4rem 0;border-bottom:1px solid rgba(0,180,216,.08);font-size:.9rem}
.irow:last-child {border-bottom:none}
.info-note {font-size:.9rem;line-height:1.7;color:var(--muted);margin:0}
.irow .k {color:var(--muted)}.irow .v {color:var(--white);font-weight:500;text-align:right;max-width:55%}
@media(max-width:700px){nav {padding:0 1.2rem}.detail-inner {padding:1rem 1.2rem 4rem}}
  .reveal.visible { opacity: 1; transform: none; }

  /* ── PHOTOGRAPHER CREDIT ── */
  .card-credit {
    position: absolute;
    top: .5rem;
    left: .65rem;
    z-index: 10;
    font-size: .56rem;
    font-weight: 500;
    letter-spacing: .03em;
    color: rgba(255,255,255,.82);
    background: rgba(0,0,0,.38);
    padding: .12rem .42rem;
    border-radius: 3px;
    backdrop-filter: blur(4px);
    pointer-events: none;
  }

  /* ── RECORDED CATCHES COMPONENTS ── */
  /* rc-view visibility controlled by inline styles only */
  .rc-btn-p {
    background: var(--electric); color: var(--ocean-deep);
    border: none; border-radius: 6px; padding: 13px 28px;
    cursor: pointer; font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem; font-weight: 800; letter-spacing: .1em;
    text-transform: uppercase; transition: background .2s;
  }
  .rc-btn-p:hover { background: var(--electric-bright); }
  .rc-btn-o {
    background: transparent; color: var(--electric);
    border: 2px solid var(--electric); border-radius: 6px;
    padding: 11px 28px; cursor: pointer;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem; font-weight: 800; letter-spacing: .1em;
    text-transform: uppercase; transition: all .2s;
  }
  .rc-btn-o:hover { background: rgba(0,180,216,.1); }
  .rc-btn-sm {
    background: none; border: 1px solid var(--border);
    color: var(--text-muted); padding: 7px 14px; border-radius: 5px;
    cursor: pointer; font-size: .82rem; font-family: 'Inter', sans-serif;
    transition: all .2s;
  }
  .rc-btn-sm:hover { border-color: var(--electric); color: var(--electric); }
  .rc-catch-row {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 8px; margin-bottom: .75rem;
    cursor: pointer; transition: all .22s; overflow: hidden;
  }
  .rc-catch-row:hover { border-color: var(--electric); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,180,216,.1); }
  .rc-catch-row.rc-open { border-color: var(--electric); }
  .rc-catch-hdr { display: grid; grid-template-columns: 2.4rem 1fr 1fr 1fr 1.2rem; align-items: center; gap: .85rem; padding: .9rem 1.1rem; }
  @media(max-width:580px) { .rc-catch-hdr { grid-template-columns: 2.4rem 1fr 1fr; } .rc-hide-sm { display: none; } }
  .rc-catch-num { width: 34px; height: 34px; background: rgba(0,180,216,.12); border: 1px solid var(--border); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-family: 'Barlow Condensed', sans-serif; font-size: .9rem; font-weight: 700; color: var(--electric); }
  .rc-catch-sp { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--white); }
  .rc-catch-sub { font-size: .78rem; color: var(--text-muted); }
  .rc-catch-arr { color: var(--electric); font-size: .9rem; transition: transform .2s; text-align: right; }
  .rc-catch-row.rc-open .rc-catch-arr { transform: rotate(90deg); }
  .rc-catch-body { display: none; padding: 0 1.1rem 1rem; border-top: 1px solid rgba(0,180,216,.1); }
  .rc-catch-row.rc-open .rc-catch-body { display: block; }
  .rc-info-row { display: flex; gap: .75rem; padding: .55rem 0; border-bottom: 1px solid rgba(0,180,216,.06); font-size: .84rem; }
  .rc-info-row:last-of-type { border-bottom: none; }
  .rc-info-key { font-size: .67rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--electric); min-width: 88px; flex-shrink: 0; }
  .rc-info-val { color: rgba(255,255,255,.8); line-height: 1.5; }
  .rc-photo { margin-top: .9rem; } .rc-photo img { max-width: 100%; width: 520px; border-radius: 8px; display: block; background: rgba(255,255,255,.04); }
  .rc-cam { color: var(--electric); margin-left: .35rem; vertical-align: -.1em; }
  .rc-del-btn { background: rgba(220,53,69,.1); border: 1px solid rgba(220,53,69,.25); color: #f87171; border-radius: 4px; padding: 5px 13px; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; margin-top: .75rem; transition: background .2s; }
  .rc-del-btn:hover { background: rgba(220,53,69,.2); }
  .rc-empty { text-align: center; padding: 3rem 1.5rem; color: var(--text-muted); }
  .rc-empty-icon { font-size: 2.8rem; margin-bottom: .75rem; }

  /* ── SA SPECIES GRID ── */
  .sa-sp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px,1fr));
    gap: 1.1rem;
  }
  /* SA cards reuse .species-card, .card-bg, .card-photo, .card-over etc. */
  .sa-sp-pill {
    padding: .35rem .9rem; border: 1px solid var(--border); border-radius: 100px;
    background: transparent; color: var(--text-muted); font-size: .78rem; font-weight: 500;
    cursor: pointer; transition: all .2s; font-family: 'Inter',sans-serif;
  }
  .sa-sp-pill:hover,
.sa-sp-pill.active {
    background: var(--electric); border-color: var(--electric);
    color: var(--ocean-deep); font-weight: 600;
  }
  .sa-sp-iucn {
    position: absolute; bottom: .55rem; right: .65rem; z-index: 10;
    font-size: .56rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    padding: .18rem .5rem; border-radius: 3px; backdrop-filter: blur(4px);
  }
  .iucn-cr { background: rgba(220,53,69,.75);  color: #fff; }
  .iucn-en { background: rgba(220,100,20,.75); color: #fff; }
  .iucn-vu { background: rgba(220,180,0,.75);  color: #021627; }
  .iucn-nt { background: rgba(100,160,0,.75);  color: #fff; }
  .iucn-lc { background: rgba(40,167,69,.75);  color: #fff; }
  .iucn-dd { background: rgba(100,100,100,.75);color: #fff; }

  /* ── TRACES GRID: fixed 3 across ── */
  .traces-grid { grid-template-columns: repeat(3, 1fr); }
  @media (max-width: 900px) { .traces-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .traces-grid { grid-template-columns: 1fr; } }

  /* ── ACCESS CARD WITH A PHOTO BANNER ── */
  .access-card.has-photo { padding: 0 0 2rem; overflow: hidden; }
  .access-card.has-photo > *:not(.access-photo) { padding-left: 2rem; padding-right: 2rem; }
  .access-photo {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 1.25rem;
    background: var(--ocean-deep);
  }
  .access-photo img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .35s ease;
  }
  .access-card.has-photo:hover .access-photo img { transform: scale(1.04); }

  /* Why DeepDrift gets its own background photo, swapped in by switchTab() */
  .tab-section.why-bg {
    background-image:
      linear-gradient(180deg,
        rgba(2,22,39,.30) 0%,
        rgba(3,25,42,.46) 50%,
        rgba(4,28,46,.74) 82%,
        var(--section-bg) 100%),
      linear-gradient(90deg,
        rgba(4,28,46,.58) 0%,
        rgba(4,28,46,.12) 52%,
        rgba(4,28,46,0) 100%),
      url("../img/site/why-bg.webp");
  }

  /* ── WHY DEEPDRIFT ── */
  .why-body { max-width: 760px; }
  .why-body p { font-size: 1.02rem; line-height: 1.9; color: var(--text-muted); margin-bottom: 1.5rem; }
  .why-body p:first-child { color: #cfe4f2; }
  .why-open {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.45rem !important;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--white) !important;
    margin-bottom: 1.75rem !important;
  }
  .why-close {
    color: var(--electric-bright) !important;
    font-style: italic;
    border-left: 2px solid var(--electric);
    padding-left: 1.25rem;
    margin-top: 2.5rem;
  }

  /* ── TRACE CARDS: full trace visible on the card ── */
  .traces-grid .trace-card { height:auto; display:flex; flex-direction:column; background:var(--card-bg); border:1px solid var(--border); }
  .trace-card .tr-photo { position:relative; aspect-ratio: 1 / 1.08; overflow:hidden; }
  .trace-card .tr-blur { position:absolute; inset:-6%; width:112%; height:112%; object-fit:cover; filter:blur(20px) brightness(.6); }
  .trace-card .tr-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s; }
  .trace-card .tr-blur { display:none; }
  .trace-card:hover .tr-img { transform:scale(1.03); }
  .trace-card .tr-icon { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:4rem; opacity:.5; }
  .trace-card .tr-meta { padding:.9rem 1rem 1rem; }
  /* ── TRACE PHOTO ZOOM ── */
  #traceZoom { position:fixed; inset:0; z-index:2000; background:rgba(0,8,16,.94); display:none; }
  #traceZoom.open { display:block; }
  #traceZoom .tz-scroll { position:absolute; inset:0; overflow:auto; display:flex; align-items:center; justify-content:center; }
  #traceZoom img { max-width:96vw; max-height:92vh; cursor:zoom-in; }
  #traceZoom.zoomed .tz-scroll { display:block; }
  #traceZoom.zoomed img { max-width:none; max-height:none; width:auto; cursor:zoom-out; }
  #traceZoom .tz-close { position:fixed; top:1rem; right:1rem; z-index:2; width:44px; height:44px; border-radius:50%; border:1px solid rgba(255,255,255,.3); background:rgba(2,22,39,.85); color:#fff; font-size:1.6rem; line-height:1; cursor:pointer; }
  #traceZoom .tz-hint { position:fixed; bottom:1rem; left:50%; transform:translateX(-50%); color:rgba(255,255,255,.6); font-size:.75rem; letter-spacing:.08em; text-transform:uppercase; pointer-events:none; }

/* ── FORMS (consult + catch log) ── */
.dd-form { background: var(--card-bg); border: 1px solid var(--border); border-radius: 10px; padding: 2.5rem; text-align: left; }
.dd-field { margin-bottom: 1.1rem; }
.dd-field label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .4rem; }
.dd-opt { font-weight: 400; text-transform: none; letter-spacing: 0; }
.dd-field input,
.dd-field textarea { width: 100%; background: var(--ocean-deep); border: 1px solid var(--border); border-radius: 5px; padding: .65rem .9rem; color: var(--white); font-family: 'Inter', sans-serif; font-size: .9rem; }
.dd-field textarea { resize: vertical; }
.dd-field input:focus,
.dd-field textarea:focus { outline: 2px solid var(--electric); outline-offset: 1px; border-color: var(--electric); }
.dd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.dd-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .8rem; line-height: 1.5; color: var(--text-muted); margin: 1.25rem 0; }
.dd-consent input { margin-top: .2rem; flex: none; }
.dd-consent a { color: var(--electric); }
.dd-submit { width: 100%; background: var(--electric); color: var(--ocean-deep); border: none; border-radius: 6px; padding: .95rem; cursor: pointer; font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.dd-submit:hover { background: var(--electric-bright); }
.dd-submit:disabled { opacity: .6; cursor: wait; }
.dd-msg { text-align: center; font-size: .85rem; padding: .65rem; border-radius: 5px; margin-top: .85rem; }
.dd-msg.success { background: rgba(40,167,69,.15); color: #4ade80; }
.dd-msg.error { background: rgba(220,53,69,.15); color: #f87171; }
.dd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#consult .dd-form { padding: 2.5rem; }
@media (max-width: 600px) { .dd-row { grid-template-columns: 1fr; } .dd-form { padding: 1.5rem; } }

/* ── KEYBOARD FOCUS (the original removed no outlines, but cards had no focus state) ── */
[role="button"]:focus-visible,
a:focus-visible,
button:focus-visible { outline: 2px solid var(--electric); outline-offset: 2px; }

/* ── LEGAL PAGES ── */
.legal { max-width: 760px; margin: 0 auto; padding: 120px 1.5rem 5rem; line-height: 1.75; }
.legal h1 { font-family: 'Barlow Condensed', sans-serif; font-size: 2.6rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .5rem; }
.legal h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .06em; color: var(--electric); margin: 2rem 0 .5rem; }
.legal p,
.legal li { color: var(--text-muted); font-size: .95rem; margin-bottom: .75rem; }
.legal ul { padding-left: 1.25rem; }
.legal a { color: var(--electric); }
.legal .draft { background: rgba(220,160,0,.12); border: 1px solid rgba(220,160,0,.4); color: #f5c451; padding: .75rem 1rem; border-radius: 6px; font-size: .85rem; margin: 1rem 0 2rem; }

/* ── MOBILE NAVIGATION (the original had no menu, so the links ran off-screen on phones) ── */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; padding: 0 11px; }
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s, opacity .2s; }
nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-cta-mobile { display: none; }
@media (max-width: 1100px) {
  nav { padding: 0 1.2rem; }
  .nav-toggle { display: flex; }
  nav > .nav-cta { display: none; }
  .nav-links { display: none; }
  nav.open .nav-links { display: flex; flex-direction: column; gap: 0; position: absolute; top: 72px; left: 0; right: 0; background: rgba(2,22,39,.98); border-bottom: 1px solid var(--border); padding: .5rem 1.2rem 1.25rem; }
  nav.open .nav-links li { border-bottom: 1px solid var(--border); }
  nav.open .nav-links a { display: block; padding: .95rem 0; font-size: 1rem; }
  nav.open .nav-cta-mobile { display: block; border-bottom: 0; padding-top: 1rem; }
  nav.open .nav-cta-mobile .nav-cta { display: block; text-align: center; padding: .85rem; color: var(--ocean-deep); }
}
@media (max-width: 700px) {
  .lure-categories { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .lure-cat-btn { flex: none; }
}

/* ── ACCESSIBILITY ── */
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 3000; background: var(--electric); color: var(--ocean-deep); padding: .6rem 1rem; border-radius: 4px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; }
[role="dialog"]:focus { outline: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
*::before,
*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.nav-links a,
.nav-cta { white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1280px) { .nav-links { gap: 1.25rem; } nav { padding: 0 2rem; } }

/* ── ICONS (replace the mixed-colour emoji with one consistent line set) ── */
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; flex: none; }

/* ── LURE ILLUSTRATIONS ── */
.lure-img-wrap { background: radial-gradient(ellipse at 50% 45%, rgba(0,180,216,.14), rgba(0,180,216,0) 70%), #0a3050; }
.lure-svg { width: 78%; max-width: 210px; height: auto; overflow: visible; transition: transform .35s ease; }
/* the drawings live in the hidden sprite, so these rules target the sprite's own shapes */
symbol[id^="lure-"] path,
symbol[id^="lure-"] circle { stroke: var(--electric); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
symbol[id^="lure-"] .f { fill: rgba(0,180,216,.16); }
symbol[id^="lure-"] .d { fill: var(--electric); stroke: none; }
symbol[id^="lure-"] .h { stroke: rgba(255,255,255,.42); stroke-width: 1.6; }
symbol[id^="lure-"] .a { stroke: var(--text-muted); stroke-width: 2; }
.lure-card:hover .lure-svg { transform: scale(1.06) rotate(-2deg); }

/* ═══════════════ POLISH PASS: same identity, finer finish ═══════════════ */

/* icons sit neatly beside their labels */
.tab-btn .ic,
.blog-cat-btn .ic,
.sa-sp-pill .ic,
.rc-btn-p .ic,
.rc-btn-o .ic,
.nav-links .ic { margin-right: .4rem; vertical-align: -.2em; }
.bac-meta .ic,
.article-meta-row .ic,
.rc-catch-sub .ic { width: 1em; height: 1em; margin-right: .3rem; vertical-align: -.15em; opacity: .85; }
.ic-xl { width: 3.2rem; height: 3.2rem; stroke-width: 1.2; }
.card-bg .ic,
.d-hero-fallback .ic,
.tr-icon .ic,
.wtf-card-bg .ic { width: 4.5rem; height: 4.5rem; stroke-width: 1.1; }
.rc-empty-icon .ic { color: var(--electric); opacity: .8; }
.rc-catch-arr .ic { width: .95rem; height: .95rem; }

/* emblem above each headline figure in the stats bar */
.stat-ic { display: block; margin: 0 auto .35rem; width: 1.7rem; height: 1.7rem; stroke-width: 1.5; color: rgba(2,22,39,.6); }

/* the conservation badge no longer covers the "View full profile" line */
.sa-sp-iucn { top: .65rem; left: .65rem; bottom: auto; right: auto; }

/* explore header: keep the photo, calm it behind the controls so the tabs and intro read clearly */
.tab-section {
  background-image:
    linear-gradient(180deg, rgba(2,22,39,.24) 0%, rgba(3,25,42,.34) 28%, rgba(4,28,46,.66) 52%, rgba(4,28,46,.88) 80%, var(--section-bg) 100%),
    linear-gradient(90deg, rgba(4,28,46,.56) 0%, rgba(4,28,46,.1) 50%, rgba(4,28,46,0) 100%),
    url("../img/site/explore-bg.webp");
}
.tab-section.why-bg { background-image: linear-gradient(180deg, rgba(2,22,39,.24) 0%, rgba(3,25,42,.34) 28%, rgba(4,28,46,.66) 52%, rgba(4,28,46,.88) 80%, var(--section-bg) 100%), linear-gradient(90deg, rgba(4,28,46,.58) 0%, rgba(4,28,46,.12) 52%, rgba(4,28,46,0) 100%), url("../img/site/why-bg.webp"); }

/* all seven tabs on one row on a desktop screen */
@media (min-width: 1100px) { .tab-btn { padding: 1rem 1.05rem; font-size: .98rem; letter-spacing: .06em; } .tabs-nav { flex-wrap: nowrap; } }
.tab-btn { position: relative; }
.tab-btn.active .ic { filter: drop-shadow(0 0 6px rgba(0,180,216,.55)); }

/* typography finishing: no lonely last words */
h1,
h2,
h3,
.hero-sub,
.section-title,
.section-desc,
.wtf-card-over h3 { text-wrap: balance; }
p,
li { text-wrap: pretty; }

/* a wave rises into the stats bar where the hero ends */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 26px; pointer-events: none; z-index: 1;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'><path d='M0 22C120 4 240 40 360 22S600 4 720 22s240 18 360 0 240-18 360 0V40H0z' fill='%2300b4d8'/></svg>") center bottom / 100% 100% no-repeat; }

/* gentle entrance for the hero (switched off for people who prefer less motion) */
@keyframes ddFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-eyebrow,
.hero h1,
.hero-sub,
.hero-actions { animation: ddFadeUp .8s ease both; }
.hero h1 { animation-delay: .08s; } .hero-sub { animation-delay: .18s; } .hero-actions { animation-delay: .28s; }

/* the trace photos are bright blue: soften them a touch so they sit with the dark theme */
.trace-card .tr-img,
.trace-card .tr-blur { filter: saturate(.82) brightness(.96); }

/* search boxes get a magnifier */
.blog-search,
#rcSearch { padding-left: 2.5rem !important; background-repeat: no-repeat; background-position: .85rem 50%; background-size: 1.05rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238eb8d4' stroke-width='1.8' stroke-linecap='round'><circle cx='11' cy='11' r='6.5'/><path d='m16 16 4.5 4.5'/></svg>"); }

/* refinements after review */
.stat-ic { width: 2.1rem; height: 2.1rem; color: rgba(2,22,39,.7); }
.tab-section { background-image:
    linear-gradient(180deg, rgba(2,22,39,.24) 0%, rgba(3,25,42,.38) 26%, rgba(4,28,46,.74) 50%, rgba(4,28,46,.92) 76%, var(--section-bg) 100%),
    linear-gradient(90deg, rgba(4,28,46,.56) 0%, rgba(4,28,46,.1) 50%, rgba(4,28,46,0) 100%),
    url("../img/site/explore-bg.webp"); }
.tab-section.why-bg { background-image:
    linear-gradient(180deg, rgba(2,22,39,.24) 0%, rgba(3,25,42,.38) 26%, rgba(4,28,46,.74) 50%, rgba(4,28,46,.92) 76%, var(--section-bg) 100%),
    linear-gradient(90deg, rgba(4,28,46,.58) 0%, rgba(4,28,46,.12) 52%, rgba(4,28,46,0) 100%),
    url("../img/site/why-bg.webp"); }
.lure-img-wrap { height: 172px; }
.lure-svg { width: 88%; max-width: 250px; }
.lure-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .lure-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lure-grid { grid-template-columns: 1fr; } }

.info-soon { border-style: dashed; background: rgba(0,180,216,.04); }
.info-soon h4 .ic { margin-right: .4rem; vertical-align: -.2em; }
@media (max-width: 700px) { .stat-num { font-size: clamp(1.8rem, 8.2vw, 2.6rem); white-space: nowrap; } }

/* Sections ease in as they scroll into view. Only active when JavaScript is running (the "js" class),
   so without it everything simply shows. Switched off for people who prefer less motion. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ═══════════════ LAYOUT: one alignment system, no stray scrollbars ═══════════════
   Everything that introduces a section is centred, to match the hero, the stats and the consult form.
   Cards keep their text left-aligned (that is easier to read). */

/* section headings: label, title, rule and intro all centred */
.section-label, .section-title, .section-desc { text-align: center; }
.section-title, .section-desc { margin-left: auto; margin-right: auto; }
.divider { margin-left: auto; margin-right: auto; }
.section-desc { max-width: 680px; }
.section-cta { text-align: center; margin-top: 2.25rem; }

/* tab row, lure categories, filter pills: centred, never scrolling.
   (The old rows used overflow-x:auto, and a 1px overhang from the active underline made a scrollbar appear.) */
.tabs-nav, .lure-categories { overflow: visible !important; justify-content: center; flex-wrap: wrap; }
.tabs-nav { gap: .1rem .35rem; }
@media (min-width: 1240px) { .tabs-nav { flex-wrap: nowrap; } }
.pill-row, .blog-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.blog-cats { margin-bottom: 1.75rem; }

/* the intro line under each tab */
.tab-panel > p, #tab-wtf > div:first-child > p { margin-left: auto; margin-right: auto; text-align: center; }

/* blog tab header: title above, search below, both centred */
.blog-full-header { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.blog-full-header .blog-search-wrap { width: 100%; max-width: 520px; }

/* grids: same columns as before, but a short last row sits in the middle instead of hugging the left */
.sa-sp-grid, .wtf-grid, .blog-articles-grid, .lure-grid, .traces-grid, .access-grid {
  display: flex; flex-wrap: wrap; justify-content: center; --g: 1.25rem; --cols: 3; gap: var(--g);
}
.sa-sp-grid > *, .wtf-grid > *, .blog-articles-grid > *, .lure-grid > *, .traces-grid > *, .access-grid > * {
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--g)) / var(--cols)); min-width: 0;
}
.sa-sp-grid { --cols: 4; --g: 1.1rem; }
@media (max-width: 1050px) { .sa-sp-grid { --cols: 3; } }
@media (max-width: 800px)  { .sa-sp-grid, .wtf-grid, .blog-articles-grid, .lure-grid, .traces-grid, .access-grid { --cols: 2; } }
@media (max-width: 520px)  { .sa-sp-grid, .wtf-grid, .blog-articles-grid, .lure-grid, .traces-grid, .access-grid { --cols: 1; } }

/* "Why DeepDrift" text block sits in the middle of the page */
.why-body { margin-left: auto; margin-right: auto; }

/* nav: logo left, button right, links truly centred on the page */
@media (min-width: 1101px) {
  nav { display: grid; grid-template-columns: 1fr auto 1fr; }
  nav > .nav-logo { justify-self: start; }
  nav > .nav-cta { justify-self: end; }
}

/* header text sits over the photo now that it is centred: keep it crisp */
#explore .section-title, #explore .section-desc { text-shadow: 0 2px 16px rgba(2,22,39,.85), 0 0 3px rgba(2,22,39,.6); }
#explore .section-label { color: var(--electric-bright); text-shadow: 0 1px 8px rgba(2,22,39,.9); }

/* tabs scale with the window so all seven stay on one row from 1000px up */
@media (min-width: 1000px) {
  .tabs-nav { flex-wrap: nowrap; }
  .tab-btn { padding: 1rem clamp(.5rem, 1.15vw, 1.05rem); font-size: clamp(.8rem, 1.1vw, .98rem); letter-spacing: clamp(.03em, .45vw, .06em); }
  .tab-btn .ic { margin-right: clamp(.25rem, .4vw, .4rem); }
}

/* tablets and phones: tabs and lure categories become tidy centred pill buttons (no scrolling, no stacked list) */
@media (max-width: 999px) {
  .tabs-nav { border-bottom: 0; gap: .5rem; margin-bottom: 2rem; }
  .tab-btn { border: 1px solid var(--border); border-radius: 999px; margin-bottom: 0; padding: .6rem 1rem; font-size: .92rem; background: rgba(2,22,39,.35); }
  .tab-btn.active { background: rgba(0,180,216,.16); border-color: var(--electric); }
  .lure-categories { border-bottom: 0; gap: .5rem; margin-bottom: 2rem; }
  .lure-cat-btn { border: 1px solid var(--border); border-radius: 999px; margin-bottom: 0; padding: .55rem 1rem; }
  .lure-cat-btn.active { background: rgba(0,180,216,.16); border-color: var(--electric); }
}
@media (max-width: 559px) {
  .tabs-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .tabs-nav .tab-btn { border-radius: 10px; padding: .65rem .4rem; font-size: .86rem; white-space: normal; text-align: center; line-height: 1.2; }
  .tabs-nav .tab-btn:last-child { grid-column: 1 / -1; }
  .tabs-nav .tab-btn .ic { display: block; margin: 0 auto .25rem; }
  .lure-cat-btn { padding: .5rem .85rem; font-size: .88rem; }
}


/* ── Phones (added 23 Oct 2026 after a full mobile review) ── */
@media (max-width: 700px) {
  section { padding: 4rem 1.25rem; }
  #explore, #consult { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }   /* these two carry inline 4rem padding */
  .stats-bar { padding: 1.75rem 1.25rem; }
  footer { padding-left: 1.25rem; padding-right: 1.25rem; }
  .d-hero { height: 300px; }
  .d-hero-over { background: linear-gradient(to top, rgba(2,22,39,.92) 8%, rgba(2,22,39,.12) 65%); padding: 1.25rem; }
  .dd-field input, .dd-field textarea, #rcSearch { font-size: 16px; }   /* 16px stops iPhones zooming in when a field is tapped */
  .dd-consent input { width: 20px; height: 20px; margin-top: 0; }
  .sa-sp-pill, .lure-cat-btn { min-height: 40px; }
  .sa-sp-iucn { font-size: .7rem; }
  .card-family { font-size: .68rem; }
  .card-sci { font-size: .74rem; }
}
@media (max-width: 600px) { #consult .dd-form { padding: 1.5rem; } }
