/* =============================================================================
   NETZERO AQUA — CLIMATE-SMART SHRIMP™ PAGE
   =============================================================================
   Requires na-system.css and na-blocks.css.

   BlueSat demonstrates the technology. Climate Aquaculture explains the
   method. This page has to demonstrate the commercial outcome, so its centre
   of gravity is a farm-performance dashboard that reads production, resources
   and emissions side by side — the argument being that those are one picture,
   not three reports.
   ========================================================================== */

/* ---- Hero benefit strip (five, not four) ---------------------------------- */

.na-benefitstrip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--na-dark-line);
    border-block: 1px solid var(--na-dark-line);
}
.na-benefitstrip div {
    background: var(--na-dark);
    padding: 1.25rem clamp(0.875rem, 0.7rem + 0.6vw, 1.5rem);
}
.na-benefitstrip b {
    display: block;
    font-family: var(--na-font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.na-benefitstrip span { font-size: 0.8125rem; color: var(--na-on-dark-3); }

@media (max-width: 1000px) { .na-benefitstrip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px)  { .na-benefitstrip { grid-template-columns: repeat(2, 1fr); } }

/* ---- Programme flow graphic in the hero -----------------------------------
   The spec draws this as a tree that converges on VERIFY and then MARKET.
   Three columns of two stages, then the two convergence rows beneath.
   -------------------------------------------------------------------------- */

.na-progflow {
    padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    border-radius: var(--na-r-lg);
    background: rgba(0, 24, 48, 0.62);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.na-progflow__title {
    text-align: center;
    font-family: var(--na-font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--na-aqua);
    margin-bottom: 1.25rem;
}
.na-progflow__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}
.na-progflow__cell {
    padding: 0.55rem 0.4rem;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--na-dark-line);
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--na-on-dark-2);
}
.na-progflow__cell--wide { grid-column: 1 / -1; }
.na-progflow__cell--key {
    background: rgba(76, 130, 255, 0.14);
    border-color: rgba(76, 130, 255, 0.34);
    color: var(--na-aqua);
}
.na-progflow__rule {
    grid-column: 1 / -1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--na-dark-line-2), transparent);
    margin: 0.25rem 0;
}

/* ---- Pillar card ---------------------------------------------------------- */

.na-pillar { display: flex; flex-direction: column; }
.na-pillar__n {
    font-family: var(--na-font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--na-aqua);
}
.na-pillar h3 { font-size: 1.0625rem; margin: 0.5rem 0 0.3rem; }
.na-pillar__line { display: block; font-size: 0.875rem; color: var(--na-on-dark-2); }

/* ---- Farm performance dashboard ------------------------------------------- */

.na-perf {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1px;
    background: var(--na-dark-line);
}
.na-perf > * { background: var(--na-dark); padding: 1.25rem; min-width: 0; }
@media (max-width: 900px) { .na-perf { grid-template-columns: 1fr; } }

/* Four small trend cards: biomass, FCR, survival, production. */
.na-minis {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
}
.na-mini {
    padding: 0.875rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--na-dark-line);
}
.na-mini__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.na-mini__top span {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--na-on-dark-3);
}
.na-mini__top b {
    font-family: var(--na-font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.na-mini svg { width: 100%; height: 34px; display: block; }
.na-mini path.l { fill: none; stroke: var(--na-aqua); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.na-mini path.a { fill: rgba(76, 130, 255, 0.14); }
.na-mini--down path.l { stroke: var(--na-blue); }
.na-mini--down path.a { fill: rgba(25, 118, 255, 0.14); }

/* Resource and emissions rows. */
.na-res { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.na-res li {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.75rem;
    align-items: baseline;
    padding: 0.7rem 0.875rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--na-dark-line);
}
/* Direct child only — see the note in na-carbon.css; the same bare selector
   was shrinking the figure inside <b> and leaving the unit at full size. */
.na-res li > span { font-size: 0.8125rem; color: var(--na-on-dark-2); }
.na-res b {
    font-family: var(--na-font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    white-space: nowrap;
}
.na-res em {
    font-style: normal;
    font-family: var(--na-font-mono);
    font-size: 0.75rem;
    color: var(--na-aqua);
    white-space: nowrap;
}

/* The overall score, and what would move it. */
.na-score { text-align: center; padding-bottom: 0.5rem; }
.na-score .na-gauge svg { max-width: 148px; }
.na-score__note {
    font-size: 0.8125rem;
    color: var(--na-on-dark-2);
    margin-top: 0.5rem;
}
.na-improve { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.45rem; }
.na-improve li {
    display: flex;
    gap: 0.6em;
    align-items: baseline;
    font-size: 0.8125rem;
    color: var(--na-on-dark-2);
}
.na-improve li::before { content: "✓"; color: var(--na-aqua); flex: none; }

/* ---- Readiness pathway ---------------------------------------------------- */

.na-path {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: var(--na-line);
    border: 1px solid var(--na-line);
    border-radius: var(--na-r);
    overflow: hidden;
}
.na-path li { background: var(--na-surface); padding: 1.25rem 1.125rem; }
.na-path b {
    display: block;
    font-family: var(--na-font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    color: var(--na-aqua-text);
    margin-bottom: 0.5rem;
}
.na-path h3 {
    font-size: 0.9375rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}
.na-path p { font-size: 0.8125rem; color: var(--na-ink-2); margin: 0; }

@media (max-width: 1000px) { .na-path { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .na-path { grid-template-columns: 1fr; } }

/* ---- Impact grid of seven -------------------------------------------------
   minmax(0, 1fr) rather than 1fr: a bare 1fr has a min-content floor, so the
   card holding "100+" refused to shrink and the row came out uneven. And at
   seven across a column is ~100px wide, which the shared impact figure size
   overflows — so it is stepped down here rather than globally.
   -------------------------------------------------------------------------- */

.na-grid--7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
@media (max-width: 1200px) { .na-grid--7 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .na-grid--7 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.na-grid--7 .na-impact__item { padding-inline: 0.75rem; }
.na-grid--7 .na-impact__value {
    font-size: clamp(1.25rem, 0.95rem + 1vw, 1.75rem);
    white-space: nowrap;
}
.na-grid--7 .na-impact__label { font-size: 0.8125rem; }

/* ---- Traceability record -------------------------------------------------- */

.na-record {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px;
    background: var(--na-dark-line);
    border: 1px solid var(--na-dark-line);
    border-radius: var(--na-r);
    overflow: hidden;
}
.na-record div { background: var(--na-dark-3); padding: 0.75rem 0.875rem; }
.na-record span {
    display: block;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--na-on-dark-3);
}
.na-record b {
    font-family: var(--na-font-mono);
    font-size: 0.8125rem;
    font-weight: 500;
    color: #fff;
}
