/* Commercial Weight — Brand Stylesheet v2 */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;700;900&family=Poppins:wght@300;400;500&display=swap');

:root {
  --night:  #0D1B2A;
  --surf:   #1F3A52;
  --blaze:  #E8601C;
  --steel:  #8AACBE;
  --frost:  #EFF3F6;
  --white:  #FFFFFF;
  --divider:#CBD5DE;
  --logo-gradient-start: #E8601C;
  --logo-gradient-end:   #241E2C;

  /* Tag colours by type */
  --tag-presence-bg:   #D4EAD0;
  --tag-presence-text: #1A5C14;
  --tag-value-bg:      #FDE8DC;
  --tag-value-text:    #A83E08;
  --tag-likelihood-bg: #D6E8F5;
  --tag-likelihood-text:#0F3A5C;
  --tag-neutral-bg:    #E8ECF0;
  --tag-neutral-text:  #3A4E5C;

  /* Volume trap */
  --trap-bg: #2A1008;
  --trap-accent: #E8601C;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  background: var(--white);
  color: var(--night);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── LOGO ─────────────────────────────────────────────── */
.logo-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-symbol svg { display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-commercial {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--night);
}
.logo-weight {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--night);
}

/* ── SITE HEADER ──────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--divider);
  padding: 0 48px;
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--surf);
  text-decoration: none;
  transition: color 0.2s;
}
.site-nav a:hover, .site-nav a.active { color: var(--blaze); }
.nav-cta {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--blaze);
  color: var(--white) !important;
  padding: 10px 22px;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--night) !important; }

/* ── PAGE HERO ────────────────────────────────────────── */
.page-hero {
  background: var(--night);
  padding: 88px 48px 80px;
}
.page-hero-inner { max-width: 1160px; margin: 0 auto; }
.sector-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blaze);
  margin-bottom: 24px;
  display: block;
}
.page-hero h1 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 46px);
  color: var(--white);
  line-height: 1.12;
  max-width: 780px;
  margin-bottom: 32px;
}
.hero-meta { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero-keyword {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: var(--steel);
}
.hero-keyword span { font-family: 'Raleway', sans-serif; font-weight: 600; color: var(--white); }

/* ── MAIN CONTENT ─────────────────────────────────────── */
.page-content { max-width: 1160px; margin: 0 auto; padding: 0 48px; }

/* ── SECTION HEADERS ──────────────────────────────────── */
.section-header {
  padding: 72px 0 44px;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 56px;
}
.section-header h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--night);
}
.section-intro {
  font-size: 14px;
  color: var(--surf);
  max-width: 680px;
  margin-top: 10px;
  line-height: 1.65;
}

/* ── SCORING EXPLAINER ────────────────────────────────── */
.scoring-explainer {
  background: var(--frost);
  border-left: 3px solid var(--blaze);
  padding: 22px 28px;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.scoring-explainer-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blaze);
}
.scoring-explainer p {
  font-size: 13px;
  color: var(--surf);
  line-height: 1.6;
  max-width: 860px;
}

/* ── MARKET FRAME ─────────────────────────────────────── */
.market-frame {
  background: var(--frost);
  padding: 52px;
  margin-bottom: 72px;
}
.market-frame-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 36px;
}
.market-frame-item h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blaze);
  margin-bottom: 10px;
}
.market-frame-item p { font-size: 14px; color: var(--night); line-height: 1.7; }
.market-statement {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--night);
  line-height: 1.45;
  border-left: 3px solid var(--blaze);
  padding-left: 24px;
}

/* ── DEMAND GROUPS ────────────────────────────────────── */
.demand-groups { display: flex; flex-direction: column; gap: 3px; margin-bottom: 72px; }

.demand-group {
  background: var(--white);
  border: 1px solid var(--divider);
  padding: 48px 52px;
  display: grid;
  grid-template-columns: 110px 1fr 1fr;
  gap: 48px;
  align-items: start;
  transition: border-color 0.2s;
}
.demand-group:hover { border-color: var(--steel); }

/* Score block */
.demand-score {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.score-number {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  /* colour set inline via data-score */
}
.score-denom {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--steel);
  margin-top: -2px;
}
.score-bar {
  width: 100%;
  height: 4px;
  background: var(--divider);
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}
.score-bar-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  /* width and background set inline */
}
.score-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 8px;
}

/* Main body */
.demand-group-main h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--night);
  margin-bottom: 16px;
  line-height: 1.25;
}

/* Tags */
.demand-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }

.tag {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 5px 10px;
}

/* Presence */
.tag-presence-high   { background: var(--tag-presence-bg); color: var(--tag-presence-text); }
.tag-presence-mid    { background: #E8F4E5; color: #2E6B27; }
.tag-presence-low    { background: #F2F5F2; color: #5A7A56; }

/* Value */
.tag-value-high      { background: #FDE8DC; color: #A83E08; }
.tag-value-mid       { background: #FEF2EB; color: #C05A20; }
.tag-value-low       { background: #FEF7F4; color: #C07050; }

/* Likelihood */
.tag-likelihood-high { background: #D6E8F5; color: #0F3A5C; }
.tag-likelihood-mid  { background: #E5EFF7; color: #1A4A6A; }
.tag-likelihood-low  { background: #EFF5FA; color: #2A5A7A; }

/* Other (gap type, convenience, etc.) */
.tag-other           { background: var(--tag-neutral-bg); color: var(--tag-neutral-text); }
.tag-gap             { background: #0D1B2A; color: #FFFFFF; }

.demand-group-main p { font-size: 14px; color: var(--surf); line-height: 1.7; }

/* Detail column */
.demand-group-detail h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blaze);
  margin-bottom: 8px;
  margin-top: 24px;
}
.demand-group-detail h4:first-child { margin-top: 0; }
.demand-group-detail p { font-size: 13px; color: var(--night); line-height: 1.65; }

/* ── TOPICS TO OWN ────────────────────────────────────── */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-bottom: 72px;
}
.topic-card {
  background: var(--frost);
  padding: 40px 36px;
}
.topic-number {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 52px;
  color: var(--blaze);
  line-height: 1;
  margin-bottom: 20px;
}
.topic-card h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--night);
  margin-bottom: 12px;
  line-height: 1.3;
}
.topic-primary {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blaze);
  margin-bottom: 12px;
}
.topic-card p { font-size: 13px; color: var(--surf); line-height: 1.65; }
.topic-approach {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
  font-size: 13px;
  color: var(--night);
  line-height: 1.65;
}

/* ── VOLUME TRAP ──────────────────────────────────────── */
.volume-trap {
  background: var(--trap-bg);
  border-left: 4px solid var(--trap-accent);
  padding: 36px 48px;
  margin-bottom: 72px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.volume-trap-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}
.volume-trap-content {}
.volume-trap-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--trap-accent);
  margin-bottom: 8px;
}
.volume-trap p { font-size: 14px; color: #F0D8CC; line-height: 1.7; }

/* ── UNGOVERNED LAYER ─────────────────────────────────── */
.ungoverned {
  background: var(--night);
  padding: 72px 52px;
  margin-bottom: 88px;
}
.ungoverned-eyebrow {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blaze);
  margin-bottom: 28px;
}
.ungoverned p {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--white);
  line-height: 1.65;
  max-width: 840px;
}

/* ── BESPOKE CTA ──────────────────────────────────────── */
.bespoke-cta {
  background: var(--frost);
  border-top: 3px solid var(--blaze);
  padding: 64px 52px;
  margin-bottom: 88px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.bespoke-cta h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--night);
  margin-bottom: 14px;
}
.bespoke-cta p { font-size: 14px; color: var(--surf); max-width: 600px; line-height: 1.7; }

.btn-primary {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--blaze);
  color: var(--white);
  padding: 18px 36px;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--night); }

.btn-secondary {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid var(--night);
  color: var(--night);
  padding: 16px 28px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--night); color: var(--white); }

/* ── MORE ANALYSES ────────────────────────────────────── */
.more-analyses {
  border-top: 1px solid var(--divider);
  padding: 72px 0 88px;
}
.more-analyses h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--night);
  margin-bottom: 32px;
}
.analyses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 3px;
}
.analysis-link {
  background: var(--frost);
  padding: 24px 28px;
  text-decoration: none;
  display: block;
  transition: background 0.2s;
}
.analysis-link:hover { background: var(--steel); }
.analysis-link:hover .analysis-link-title { color: var(--white); }
.analysis-link:hover .analysis-link-kw { color: rgba(255,255,255,0.7); }
.analysis-link-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--night);
  line-height: 1.35;
  margin-bottom: 6px;
}
.analysis-link-kw { font-size: 11px; color: var(--steel); font-family: 'Poppins', sans-serif; }

/* ── SITE FOOTER ──────────────────────────────────────── */
.site-footer { background: var(--night); padding: 52px 48px; }
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-left .logo-commercial,
.footer-left .logo-weight { color: var(--white); }
.footer-right { font-size: 12px; color: var(--steel); font-family: 'Poppins', sans-serif; }
.footer-right a { color: var(--steel); text-decoration: none; }
.footer-right a:hover { color: var(--white); }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 960px) {
  .site-header { padding: 0 24px; }
  .page-hero { padding: 56px 24px 48px; }
  .page-content { padding: 0 24px; }

  .demand-group {
    grid-template-columns: 90px 1fr;
    grid-template-rows: auto auto;
    padding: 32px 24px;
    gap: 24px;
  }
  .demand-group-detail { grid-column: 1 / -1; }

  .market-frame { padding: 32px 24px; }
  .market-frame-grid { grid-template-columns: 1fr; gap: 28px; }
  .topics-grid { grid-template-columns: 1fr; }
  .volume-trap { padding: 28px 24px; }
  .ungoverned { padding: 48px 24px; }
  .bespoke-cta { grid-template-columns: 1fr; padding: 40px 24px; }
  .site-footer { padding: 40px 24px; }
  .footer-inner { flex-direction: column; gap: 16px; }
}

@media (max-width: 600px) {
  .header-inner { height: 60px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .score-number { font-size: 44px; }
}
