/* ============================================================
   Industry briefing preview pages — /industries/<slug>/

   The public half of the gated deck: hero, the sector's risk
   picture, what the briefing contains, and the locked sections.
   Palette comes from the :root tokens in style.css.
   ============================================================ */

/* ---- hero ---------------------------------------------------- */
.brief-hero {
  padding: calc(var(--nav-h, 108px) + 72px) 0 72px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 133, 64, 0.10), transparent 70%),
    var(--color-navy, #0f1f2e);
  color: var(--color-white, #fff);
}

.brief-hero-inner { max-width: 860px; }

.brief-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-green-light, #00A44E);
}

.brief-hero-title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brief-hero-sub {
  margin: 0 0 28px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
}

.brief-commodity-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.brief-commodity {
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.brief-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--color-green, #008540);
  border: 0;
  border-radius: var(--radius-md, 8px);
  cursor: pointer;
  transition: background var(--transition, 0.18s ease);
}

.brief-cta:hover { background: var(--color-green-light, #00A44E); }

.brief-cta-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* Shown only to a visitor who already holds a session for this deck. */
.brief-resume {
  margin: 0 0 28px;
  padding: 16px 20px;
  background: rgba(0, 133, 64, 0.14);
  border: 1px solid rgba(0, 164, 78, 0.4);
  border-radius: var(--radius-md, 8px);
  font-size: 15px;
  color: #fff;
}

.brief-resume a { color: var(--color-green-light, #00A44E); font-weight: 600; }

/* The risk picture, briefing-contents and closing-CTA sections are hidden
   on every industry page — the hero CTA is the whole point of these pages.
   All three stay in the markup and are restored by dropping the `hidden`
   attribute. This rule keeps that working if any of those classes ever gains a
   `display` of its own, which would otherwise beat the UA `[hidden]` rule. */
.brief-risks[hidden],
.brief-contents[hidden],
.brief-close[hidden] { display: none; }

/* ---- risk picture -------------------------------------------- */
.brief-risks { background: var(--color-white, #fff); }

.brief-risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.brief-risk-card {
  padding: 28px;
  background: var(--color-light, #f8f9fa);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: var(--radius-lg, 12px);
}

.brief-risk-index {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-green, #008540);
}

.brief-risk-text { margin: 0; font-size: 15px; line-height: 1.6; }

/* ---- contents ------------------------------------------------ */
.brief-contents { background: var(--color-light, #f8f9fa); }

.brief-contents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.brief-section-card {
  position: relative;
  padding: 26px;
  background: var(--color-white, #fff);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: var(--radius-lg, 12px);
}

.brief-section-count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted, #6b7280);
}

.brief-section-title {
  margin: 8px 0 10px;
  font-size: 17px;
  font-weight: 600;
}

.brief-section-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-muted, #6b7280);
}

/* Locked sections — the six industry slides and the commercial
   slide are described but not shown. */
.brief-section-card--locked {
  background: linear-gradient(180deg, #fff 0%, #f3f5f7 100%);
  border-style: dashed;
}

.brief-lock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-green, #008540);
}

/* ---- preview shot -------------------------------------------- */
.brief-shot { margin: 40px 0 0; }

.brief-shot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg, 12px);
  border: 1px solid var(--color-border, #e5e7eb);
}

.brief-shot figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-muted, #6b7280);
}

/* ---- closing band -------------------------------------------- */
.brief-close {
  padding: 80px 0;
  background: var(--color-navy, #0f1f2e);
  color: #fff;
  text-align: center;
}

.brief-close-title {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
}

.brief-close-text {
  margin: 0 auto 30px;
  max-width: 560px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 640px) {
  .brief-hero { padding: calc(var(--nav-h, 108px) + 48px) 0 56px; }
}
