/* HunterCloudSec Master Stylesheet */

/* ===== DESIGN TOKENS ===== */
:root {
  /* Brand Colors */
  --hcs-blue-900: #002a4a;
  --hcs-blue-500: #659ec9;
  --hcs-gold-300: #f4d4a3;
  --hcs-mute: #646468;
  
  /* Surfaces */
  --bg-main: #ffffff;
  --surface-1: #f8f9fa;
  --surface-2: #e9ecef;
  --border-subtle: #dee2e6;
  
  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --radius-lg: 24px;
  --shadow-soft: 0 2px 8px rgba(0, 42, 74, 0.08);
  
  /* Typography */
  --font-headline: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: var(--bg-main);
  color: #212529;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--hcs-blue-500);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--hcs-blue-900);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

h1 {
  font-size: 3rem;
  color: var(--hcs-blue-900);
}

h2 {
  font-size: 2rem;
  color: var(--hcs-blue-900);
  margin-bottom: 24px;
}

h3 {
  font-size: 1.5rem;
  color: var(--hcs-blue-900);
}

p {
  margin-bottom: 16px;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--hcs-text);
}

.meta {
  font-size: 0.875rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

code {
  font-family: 'Courier New', monospace;
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* ===== NAVBAR ===== */
.hcs-nav-wrapper {
  background: var(--hcs-blue-900);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-soft);
}

.hcs-nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: var(--radius-lg);
  background: var(--hcs-blue-900);
}

.hcs-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: white;
}

.hcs-brand:hover {
  color: var(--hcs-gold-300);
}

.hcs-brand-name {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
}

.hcs-brand-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hcs-gold-300);
}

.hcs-nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

.hcs-nav-links a {
  color: white;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}

.hcs-nav-links a:hover {
  color: var(--hcs-gold-300);
}

.hcs-nav-links a[aria-current="page"] {
  color: var(--hcs-gold-300);
}

.hcs-nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--hcs-gold-300);
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero {
  padding: 32px 0 24px 0;
  text-align: center;
  margin-bottom: 1px;
}

.hero h1 {
  margin-bottom: 32px;
}

.hero p {
  font-size: 1.25rem;
  color: #495057;
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

section {
  padding: 36px 0;
}

/* ===== CARDS & COMPONENTS ===== */
.card {
  background: white;
  border-radius: 12px;
  padding: 0;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 42, 74, 0.15);
  border-color: var(--hcs-blue-500);
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--hcs-blue-900) 0%, var(--hcs-blue-500) 100%);
}

.card-content {
  padding: 32px;
}

.card-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tag {
  background: var(--hcs-blue-500);
  color: white;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag.accent {
  background: var(--hcs-gold-300);
  color: var(--hcs-blue-900);
}

/* ===== GRID LAYOUTS ===== */
.grid {
  display: grid;
  gap: 32px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 320px));
  justify-content: center;
}

/* ===== CASE STUDY SPECIFIC ===== */
.case-study-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.case-study-card p {
  color: #495057;
  margin-bottom: 16px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 5.1em;
}

.post-wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.post-content {
  padding: 0;
}

.post-content section {
  padding: 32px 0;
}

.phase {
  background: var(--surface-1);
  padding: 48px;
  border-radius: 12px;
  margin-bottom: 48px;
  border: 1px solid var(--border-subtle);
}

.phase h3 {
  margin-bottom: 24px;
  color: var(--hcs-blue-900);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.gallery img {
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
}

.gallery img:hover {
  transform: scale(1.02);
}

/* ===== DEFINITION BOX ===== */
.definition-box {
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
  border-left: 4px solid var(--hcs-blue-500);
  padding: 24px;
  border-radius: 8px;
  margin: 32px 0;
}

.definition-list {
  margin: 0;
}

.definition-list dt {
  font-weight: 700;
  color: var(--hcs-blue-900);
  margin-bottom: 8px;
  font-size: 1.125rem;
}

.definition-list dd {
  margin: 0;
  line-height: 1.7;
  color: #374151;
}

/* ===== AHA CALLOUT ===== */
.hcs-callout {
  background: linear-gradient(135deg, #fff9f0 0%, #fff4e6 100%);
  border-left: 4px solid var(--hcs-gold-300);
  border-radius: 8px;
  padding: 32px;
  margin: 48px 0;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.hcs-aha-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--hcs-blue-900);
  color: #64748b;
  margin-bottom: 12px;
}

.hcs-aha-content h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #1f2937;
  margin: 0;
  color: var(--hcs-text);
}

.hcs-aha-media {
  flex-shrink: 0;
  width: 220px;
}

.hcs-aha-media img {
  width: 100%;
  border-radius: 8px;
}

/* ===== PROBLEM LIST ===== */
.problem-list {
  padding-left: 1.25rem;
  margin: 24px 0;
  list-style: none;
}

.problem-list li {
  margin-bottom: 12px;
  line-height: 1.6;
  position: relative;
  padding-left: 24px;
}

.problem-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--hcs-blue-500);
  font-weight: bold;
}

/* ===== EXAMPLE BLOCK ===== */
.hcs-example-block {
  background: #1e293b;
  border-radius: 8px;
  padding: 24px;
  margin: 32px 0;
  overflow-x: auto;
}

.hcs-example-header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.hcs-example-label {
  background: var(--hcs-blue-500);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.hcs-example-title {
  color: #e2e8f0;
  font-weight: 600;
}

.hcs-example-block pre {
  margin: 0;
  background: transparent;
}

.hcs-example-block code {
  background: transparent;
  color: #e2e8f0;
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ===== HERO IMAGE ===== */
.hcs-hero {
  margin: 16px auto 2rem;
  max-width: 100%;
}

.hcs-hero-image {
  width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

/* ===== ENDCAP SECTIONS ===== */
.hcs-endcap {
  background: var(--surface-1);
  padding: 32px;
  border-radius: 12px;
  margin: 48px 0;
}

.hcs-endcap-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.hcs-lessons-list {
  list-style: none;
  padding: 0;
}

.hcs-lessons-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  line-height: 1.6;
}

.hcs-lessons-list li:last-child {
  border-bottom: none;
}

.hcs-next-text {
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0;
}

/* ===== ARTIFACT TAGS & FOOTER ===== */
.artifact-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 48px 0 24px;
}

.artifact-tag {
  background: var(--hcs-blue-500);
  color: white;
  padding: 8px 16px;
  border-radius: 16px;
  font-size: 0.875rem;
  font-weight: 600;
}

.hcs-artifact-footer {
  border-top: 2px solid var(--border-subtle);
  padding-top: 24px;
  margin-top: 48px;
}

.hcs-footer-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  color: #6c757d;
}

.hcs-footer-label {
  font-weight: 600;
  color: var(--hcs-blue-900);
}

.hcs-footer-sep {
  color: #dee2e6;
}

/* ===== ABOUT PAGE SPLIT LAYOUT ===== */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
}

.split-layout img {
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--hcs-blue-500);
  color: white;
}

.btn-primary:hover {
  background: var(--hcs-blue-900);
  color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hcs-nav {
    flex-direction: column;
    gap: 24px;
  }
  
  .hcs-nav-links {
    gap: 24px;
  }
  
  .split-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .phase {
    padding: 32px 24px;
  }
  
  .hcs-callout {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 48px 0;
  }
  
  .hero p {
    font-size: 1.125rem;
    line-height: 1.8;
    padding: 0 16px;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2rem;
    text-align: center;
    padding: 0 16px;
  }
  
  .hero .meta {
    text-align: center;
  }
  
  .hero .card-meta {
    justify-content: center;
  }
  
  section {
    padding: 48px 0;
  }
  
  .hcs-nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  
  .grid {
    gap: 24px;
  }
  
  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    justify-content: center;
  }
  
  .card {
    max-width: 320px;
    margin: 0 auto;
  }
  
  .case-study-card h3 {
    text-align: center;
  }
  
  .case-study-card p {
    text-align: center;
  }
  
  .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .card-content .card-meta {
    justify-content: center;
  }
  
  .focus-areas-container {
    flex-direction: column;
    align-items: center;
    gap: 16px !important;
  }
  
  .focus-area-item {
    width: 100%;
    max-width: 300px;
    justify-content: flex-start;
  }
  
  .post-wrapper {
    padding: 0 20px;
  }
  
  .post-content h2 {
    font-size: 1.5rem;
    padding: 0;
    text-align: center;
  }
  
  .post-content h3 {
    font-size: 1.25rem;
  }
  
  .post-content p {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  .phase {
    padding: 24px 20px;
  }
  
  .definition-box {
    padding: 20px;
    margin: 24px 0;
  }
  
  .hcs-callout {
    padding: 24px 20px;
    margin: 32px 0;
  }
  
  .hcs-example-block {
    padding: 20px;
    margin: 24px 0;
  }
  
  .hcs-endcap {
    padding: 24px 20px;
    margin: 32px 0;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.875rem;
    line-height: 1.3;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .hero p {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  .hcs-brand-name {
    font-size: 1.25rem;
  }
  
  .card {
    padding: 24px;
  }
  
  .card-content {
    padding: 20px;
  }
  
  .post-wrapper {
    padding: 0 16px;
  }
  
  .phase {
    padding: 20px 16px;
  }
  
  .definition-box,
  .hcs-callout,
  .hcs-example-block,
  .hcs-endcap {
    padding: 16px;
    margin: 20px 0;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
}.flow-container {
      max-width: 900px;
      margin: 0 auto;
      background: white;
      padding: 48px;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0, 42, 74, 0.08);
    }

    .flow-title {
      font-size: 1.5rem;
      font-weight: 700;
      color: #002a4a;
      margin-bottom: 32px;
      text-align: center;
    }

    .flow-step {
      display: flex;
      align-items: flex-start;
      margin-bottom: 32px;
      position: relative;
    }

    .flow-step:last-child {
      margin-bottom: 0;
    }

    .flow-step:not(:last-child)::after {
      content: '';
      position: absolute;
      left: 27px;
      top: 56px;
      width: 2px;
      height: calc(100% - 20px);
      background: linear-gradient(180deg, #659ec9 0%, #002a4a 100%);
    }

    .step-number {
      flex-shrink: 0;
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: linear-gradient(135deg, #002a4a 0%, #659ec9 100%);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 1.25rem;
      margin-right: 24px;
      box-shadow: 0 4px 12px rgba(0, 42, 74, 0.15);
      position: relative;
      z-index: 1;
    }

    .step-content {
      flex: 1;
      padding-top: 4px;
    }

    .step-name {
      font-size: 1.125rem;
      font-weight: 700;
      color: #002a4a;
      margin-bottom: 8px;
    }

    .step-description {
      font-size: 1rem;
      color: #495057;
      line-height: 1.6;
    }

    @media (max-width: 768px) {
      .flow-container {
        padding: 32px 24px;
      }

      .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
        margin-right: 16px;
      }

      .flow-step:not(:last-child)::after {
        left: 23px;
        top: 48px;
      }

      .step-name {
        font-size: 1rem;
      }

      .step-description {
        font-size: 0.9375rem;
      }
    }


    /* =========================================================
   Role Matrix (Table) — HunterCloudSec
   Works with:
   <figure class="hcs-figure">
     <table class="hcs-role-matrix">...
========================================================= */

/* Optional figure wrapper */
.hcs-figure {
  margin: 28px 0;
}

/* Table base */
.hcs-role-matrix {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface-1, #ffffff);
  border: 1px solid var(--border-subtle, #e5e5e5);
  border-radius: var(--radius-lg, 18px);
  overflow: hidden;
  box-shadow: var(--shadow-soft, 0 6px 18px rgba(15, 18, 22, 0.06));
}

/* Header */
.hcs-role-matrix thead th {
  text-align: left;
  font-family: var(--font-body, Inter, system-ui, -apple-system, "Segoe UI", sans-serif);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  padding: 16px 18px;
  background: var(--surface-2, #f6f8fa);
  color: var(--text-primary, #111111);
  border-bottom: 1px solid var(--border-subtle, #e5e5e5);
}

/* Body cells */
.hcs-role-matrix tbody td {
  padding: 18px;
  vertical-align: top;
  color: var(--text-primary, #111111);
  border-bottom: 1px solid var(--border-subtle, #e5e5e5);
}

/* Remove last row border */
.hcs-role-matrix tbody tr:last-child td {
  border-bottom: none;
}

/* Column sizing */
.hcs-role-matrix thead th:first-child,
.hcs-role-matrix tbody td:first-child {
  width: 22%;
}

/* Role column styling */
.hcs-role-matrix tbody td:first-child {
  font-weight: 700;
  font-family: var(--font-body, Inter, system-ui, -apple-system, "Segoe UI", sans-serif);
  color: var(--hcs-blue-900, #002a4a);
  white-space: nowrap;
}

/* Experience label */
.hcs-role-matrix tbody td strong {
  display: inline-block;
  font-family: var(--font-body, Inter, system-ui, -apple-system, "Segoe UI", sans-serif);
  font-weight: 700;
  color: var(--text-primary, #111111);
  margin-bottom: 8px;
}

/* Notes list */
.hcs-role-notes {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--text-muted, #5f6368);
  line-height: 1.55;
}

.hcs-role-notes li {
  margin: 6px 0;
}

/* Zebra striping (subtle) */
.hcs-role-matrix tbody tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.02);
}

/* Hover (desktop) */
@media (hover: hover) and (pointer: fine) {
  .hcs-role-matrix tbody tr:hover td {
    background: rgba(101, 158, 201, 0.10); /* uses your HCS blue tone vibe */
  }
}

/* Responsive: stack into “cards” on small screens */
@media (max-width: 720px) {
  .hcs-role-matrix,
  .hcs-role-matrix thead,
  .hcs-role-matrix tbody,
  .hcs-role-matrix th,
  .hcs-role-matrix td,
  .hcs-role-matrix tr {
    display: block;
    width: 100%;
  }

  .hcs-role-matrix thead {
    /* visually hide header but keep accessible */
    position: absolute;
    left: -9999px;
    top: -9999px;
  }

  .hcs-role-matrix tbody tr {
    border-bottom: 1px solid var(--border-subtle, #e5e5e5);
    padding: 14px 14px 12px;
    background: var(--surface-1, #ffffff);
  }

  .hcs-role-matrix tbody tr:last-child {
    border-bottom: none;
  }

  .hcs-role-matrix tbody td {
    border: none;
    padding: 10px 8px;
  }

  /* Role title as a “card header” */
  .hcs-role-matrix tbody td:first-child {
    width: auto;
    padding: 8px 8px 4px;
    font-size: 1.05rem;
  }

  /* Add label before the experience cell */
  .hcs-role-matrix tbody td:nth-child(2)::before {
    content: "Post-Login Experience";
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-muted, #5f6368);
    margin-bottom: 6px;
  }

  .hcs-role-matrix tbody td:nth-child(2) strong {
    margin-bottom: 6px;
  }
}


/* =========================================================
   Artifacts & References — HunterCloudSec
========================================================= */

.hcs-artifacts {
  margin: 56px 0;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle, #e5e5e5);
}

.hcs-artifact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* Individual artifact item */
.hcs-artifact-item {
  background: var(--surface-1, #ffffff);
  border: 1px solid var(--border-subtle, #e5e5e5);
  border-radius: var(--radius-sm, 12px);
  padding: 20px 22px;
}

/* Label (what this thing is) */
.hcs-artifact-label {
  display: block;
  font-family: var(--font-body, Inter, system-ui, -apple-system, "Segoe UI", sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted, #5f6368);
  margin-bottom: 6px;
}

/* Link styling */
.hcs-artifact-link {
  font-family: var(--font-body, Inter, system-ui, -apple-system, "Segoe UI", sans-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--hcs-blue-900, #002a4a);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.hcs-artifact-link:hover,
.hcs-artifact-link:focus {
  border-bottom-color: currentColor;
}

/* Non-link text artifact */
.hcs-artifact-text {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary, #111111);
  line-height: 1.55;
}

/* Supporting note under link */
.hcs-artifact-note {
  margin-top: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted, #5f6368);
  max-width: 70ch;
}

/* Optional subtle hover affordance (desktop only) */
@media (hover: hover) and (pointer: fine) {
  .hcs-artifact-item:hover {
    border-color: var(--hcs-blue-500, #659ec9);
  }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .hcs-artifacts {
    margin: 40px 0;
  }

  .hcs-artifact-item {
    padding: 18px;
  }

  .hcs-artifact-note {
    max-width: none;
  }
}



.principles-list dt {
  font-weight: 600;
  margin-top: 1rem;
}

.principles-list dd {
  margin-left: 0;
  color: #555;
}


.hcs-threat-model {
  margin-top: 3rem;
}

.threat-model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.threat-block,
.impact-block {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.25rem;
}

.threat-block h4,
.impact-block h4 {
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.threat-block ul,
.impact-block ul {
  padding-left: 1.25rem;
  margin: 0;
}

.threat-block li,
.impact-block li {
  margin-bottom: 0.5rem;
  color: #374151;
}

.hcs-system-architecture {
  margin-top: 3rem;
}

.architecture-intro {
  max-width: 760px;
  color: #374151;
  margin-bottom: 1rem;
}

.architecture-flow {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 520px;
}

.architecture-flow li {
  position: relative;
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-weight: 500;
}

/* Connector arrow */
.architecture-flow li::after {
  content: "↓";
  position: absolute;
  left: 50%;
  bottom: -0.9rem;
  transform: translateX(-50%);
  color: #9ca3af;
  font-size: 1.1rem;
}

.architecture-flow li:last-child::after {
  content: none;
}

/* Decision styling */
.architecture-flow .decision {
  font-weight: 600;
  text-align: center;
}

.architecture-flow .pass {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
}

.architecture-flow .fail {
  background: #fef2f2;
  border-color: #ef4444;
  color: #7f1d1d;
}


.architecture-execution {
  margin-top: 2.5rem;
  max-width: 760px;
}

.architecture-execution h4 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.architecture-execution p {
  color: #374151;
  margin-bottom: 1rem;
}

.architecture-decisions {
  margin: 1rem 0 1.25rem 1.25rem;
}

.architecture-decisions li {
  margin-bottom: 0.5rem;
}


/* =========================================================
   HunterCloudSec — Web Scanner: Technical Implementation
   Drop-in section styles (no JS required)
========================================================= */

/* Optional: if you already have tokens, these will inherit nicely */
:root {
  --hcs-navy: #002A4A;
  --hcs-accent: #659EC9;
  --hcs-sand: #F4D4A3;

  --hcs-bg: #ffffff;
  --hcs-text: #0f172a;
  --hcs-muted: #475569;
  --hcs-border: #e5e7eb;

  --hcs-card: #ffffff;
  --hcs-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --hcs-radius: 16px;
}

/* Section wrapper */
.hcs-section {
  background: var(--hcs-bg);
  color: var(--hcs-text);
  padding: 2.25rem 0;
}

.hcs-section__header {
  max-width: 980px;
  margin: 0 auto 1.25rem auto;
  padding: 0 1rem;
}

.hcs-section__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}

.hcs-section__subtitle {
  margin: 0;
  color: var(--hcs-muted);
  max-width: 72ch;
}

/* Steps grid */
.hcs-steps {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 840px) {
  .hcs-steps {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  /* Make Step 4 full-width (nice emphasis) */
  .hcs-step:nth-child(4) {
    grid-column: 1 / -1;
  }
}

/* Step card */
.hcs-step {
  background: var(--hcs-card);
  border: 1px solid var(--hcs-border);
  border-radius: var(--hcs-radius);
  box-shadow: var(--hcs-shadow);
  padding: 1.25rem;
}

.hcs-step__meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.hcs-step__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--hcs-navy);
  background: rgba(101, 158, 201, 0.22);
  border: 1px solid rgba(101, 158, 201, 0.35);
  white-space: nowrap;
}

.hcs-step__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.hcs-step__hint {
  margin: 0.5rem 0 0.75rem 0;
  color: var(--hcs-muted);
}

/* Lists */
.hcs-list {
  margin: 0.75rem 0 0 1.05rem;
  color: var(--hcs-text);
}

.hcs-list li {
  margin: 0.35rem 0;
  color: var(--hcs-text);
}

.hcs-list strong {
  color: var(--hcs-navy);
}

/* Definition list (for “Evaluate: …”) */
.hcs-dl {
  margin: 0.9rem 0 0 0;
  border-top: 1px solid var(--hcs-border);
  padding-top: 0.85rem;
  display: grid;
  gap: 0.75rem;
}

.hcs-dl__row dt {
  font-weight: 700;
  color: var(--hcs-navy);
}

.hcs-dl__row dd {
  margin: 0.2rem 0 0 0;
  color: var(--hcs-muted);
}

/* Chips (headers list) */
.hcs-chiplist {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hcs-chip {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--hcs-border);
  background: rgba(0, 42, 74, 0.04);
  color: var(--hcs-navy);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Pills (triage states) */
.hcs-pilllist {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hcs-pill {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--hcs-border);
  font-weight: 700;
  font-size: 0.9rem;
}

.hcs-pill--ok {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.28);
  color: #166534;
}

.hcs-pill--warn {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.30);
  color: #92400e;
}

.hcs-pill--muted {
  background: rgba(100, 116, 139, 0.12);
  border-color: rgba(100, 116, 139, 0.26);
  color: #334155;
}

/* Callouts */
.hcs-callout {
  margin-top: 0.95rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--hcs-border);
  background: rgba(0, 42, 74, 0.03);
  
}

.hcs-callout__title {
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: var(--hcs-navy);
}

.hcs-callout__body {
  color: var(--hcs-muted);
}

.hcs-callout--danger {
  border-color: rgba(220, 38, 38, 0.25);
  background: rgba(220, 38, 38, 0.06);
}

.hcs-callout--note {
  border-color: rgba(101, 158, 201, 0.35);
  background: rgba(101, 158, 201, 0.10);
}

/* =========================
   HunterCloudSec – Sections (drop-in styles)
   Uses your palette: #002A4A / #659EC9 / #F4D4A3
========================= */

:root {
  --hcs-navy: #002a4a;
  --hcs-blue: #659ec9;
  --hcs-sand: #f4d4a3;

  --hcs-bg: #ffffff;
  --hcs-surface: #f6f8fb;
  --hcs-border: #e6eaf0;

  --hcs-text: #0f172a;
  --hcs-muted: #475569;

  --hcs-shadow: 0 10px 30px rgba(2, 10, 24, 0.08);
}

.hcs-section {
  padding: 28px 0;
}

.hcs-section__header {
  margin-bottom: 14px;
}

.hcs-h2 {
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 6px 0;
  color: var(--hcs-text);
  letter-spacing: -0.02em;
}

.hcs-muted {
  margin: 0;
  color: var(--hcs-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Cards */
.hcs-card {
  background: var(--hcs-bg);
  border: 1px solid var(--hcs-border);
  border-radius: 14px;
  box-shadow: var(--hcs-shadow);
}

.hcs-card--padded {
  padding: 18px;
}

/* Callouts */
.hcs-callout {
  margin-top: 14px;
  border-radius: 12px;
  padding: 14px 14px;
  border: 1px solid var(--hcs-border);
  background: var(--hcs-surface);
}

.hcs-callout--note {
  border-left: 4px solid var(--hcs-blue);
}

.hcs-callout--closing {
  border-left: 4px solid var(--hcs-sand);
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf6 100%);
}

.hcs-closing {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--hcs-text);
}

/* Financial alignment list */
.hcs-icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.hcs-icon-list__item {
  display: grid;
  grid-template-columns: max-content 24px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--hcs-border);
}

.hcs-icon-list__arrow {
  color: var(--hcs-muted);
  text-align: center;
}

.hcs-icon-list__text {
  color: var(--hcs-text);
  font-size: 14px;
}

/* Chips */
.hcs-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--hcs-border);
  background: #fff;
  color: var(--hcs-navy);
}

.hcs-chip--risk {
  border-color: rgba(101, 158, 201, 0.35);
  background: rgba(101, 158, 201, 0.12);
  color: var(--hcs-navy);
}

/* Results grid */
.hcs-grid {
  display: grid;
  gap: 12px;
}

.hcs-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hcs-stat {
  background: var(--hcs-bg);
  border: 1px solid var(--hcs-border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--hcs-shadow);
}

.hcs-stat__title {
  margin: 0 0 6px 0;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--hcs-navy);
}

.hcs-stat__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--hcs-text);
}

/* Takeaways */
.hcs-takeaways {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.hcs-takeaways__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid var(--hcs-border);
  background: #ffffff;
}

.hcs-takeaways__bullet {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  color: #ffffff;
  background: var(--hcs-navy);
}

/* Resume bullets */
.hcs-bullets {
  margin: 0;
  padding-left: 18px;
  color: var(--hcs-text);
}

.hcs-bullets li {
  margin: 8px 0;
  line-height: 1.55;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 820px) {
  .hcs-grid--2 {
    grid-template-columns: 1fr;
  }

  .hcs-icon-list__item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hcs-icon-list__arrow {
    display: none;
  }
}


/* =========================================================
  HunterCloudSec Persona Section Styles
  File: /assets/css/hcs-persona.css  (suggested)
  Requires: your existing brand variables (or uses fallbacks)
========================================================= */

/* ---- Brand Tokens (fallbacks if not defined elsewhere) ---- */
:root {
  --hcs-navy: var(--brand-blue, #002A4A);
  --hcs-accent: var(--accent-blue, #659EC9);
  --hcs-sand: var(--brand-secondary, #F4D4A3);

  --hcs-bg: var(--main-bg, #ffffff);
  --hcs-text: var(--text-primary, #111111);
  --hcs-muted: var(--text-muted, #51657a);
  --hcs-border: var(--border-color, #e5e5e5);

  --hcs-card: #ffffff;
  --hcs-shadow: 0 10px 30px rgba(0,0,0,0.08);
  --hcs-radius: 16px;
}

/* ---- Container helper ---- */
.hcs-container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* ---- Section ---- */
.hcs-persona {
  background: var(--hcs-bg);
  color: var(--hcs-text);
  padding: 2.25rem 0;
}

.hcs-persona__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .hcs-persona__grid {
    grid-template-columns: 380px 1fr;
    align-items: start;
  }
}

/* ---- Cards ---- */
.hcs-card {
  background: var(--hcs-card);
  border: 1px solid var(--hcs-border);
  border-radius: var(--hcs-radius);
  box-shadow: var(--hcs-shadow);
}

/* ---- Left column ---- */
.hcs-persona__left {
  display: grid;
  gap: 0.9rem;
}

.hcs-persona__photo-card {
  margin: 0;
  padding: 0.75rem;
}

.hcs-persona__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: calc(var(--hcs-radius) - 6px);
  border: 1px solid var(--hcs-border);
  display: block;
}

.hcs-persona__bio {
  padding: 1rem 1.05rem;
}

.hcs-persona__bio-text {
  margin: 0 0 0.75rem 0;
  line-height: 1.5;
  font-size: 0.95rem;
  color: var(--hcs-text);
}

.hcs-persona__bio-text:last-child {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--hcs-text), #000 10%);
}

/* ---- Right column ---- */
.hcs-persona__right {
  display: grid;
  gap: 1rem;
}

.hcs-persona__header {
  padding: 0.25rem 0.25rem 0;
}

.hcs-persona__name {
  margin: 0;
  font-size: clamp(1.6rem, 2vw, 2.1rem);
  letter-spacing: -0.02em;
  color: var(--hcs-text);
}

.hcs-persona__role {
  margin: 0.25rem 0 0.45rem 0;
  color: var(--hcs-muted);
  font-size: 0.95rem;
}

.hcs-persona__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--hcs-muted);
}

.hcs-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--hcs-accent), #fff 20%);
}

/* ---- Pills ---- */
.hcs-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--hcs-accent), #fff 60%);
  background: color-mix(in srgb, var(--hcs-accent), #fff 88%);
  color: color-mix(in srgb, var(--hcs-navy), #000 8%);
  font-weight: 600;
}

/* ---- Cards grid ---- */
.hcs-persona__cards {
  display: grid;
  gap: 0.9rem;
}

.hcs-persona__card {
  padding: 1rem 1.05rem;
}

.hcs-persona__card-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.hcs-persona__card-title h3 {
  margin: 0;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--hcs-text);
}

/* ---- Icons ---- */
.hcs-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.9rem;
  border: 1px solid var(--hcs-border);
  background: #fff;
}

.hcs-icon--ok {
  border-color: color-mix(in srgb, #22c55e, #fff 60%);
  background: color-mix(in srgb, #22c55e, #fff 90%);
}

.hcs-icon--warn {
  border-color: color-mix(in srgb, #f59e0b, #fff 60%);
  background: color-mix(in srgb, #f59e0b, #fff 90%);
}

.hcs-icon--tool {
  border-color: color-mix(in srgb, var(--hcs-accent), #fff 55%);
  background: color-mix(in srgb, var(--hcs-accent), #fff 88%);
}

/* ---- List ---- */
.hcs-list {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.55;
  color: var(--hcs-text);
  font-size: 0.95rem;
}

.hcs-list li {
  margin: 0.3rem 0;
}

/* ---- Microcopy ---- */
.hcs-persona__microcopy {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: var(--hcs-muted);
  border-top: 1px solid var(--hcs-border);
  padding-top: 0.75rem;
}


.hcs-footer-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  row-gap: 0.5rem;
  column-gap: 1rem;
  font-size: 0.95rem;
  color: #4b5563;
}

.hcs-footer-label {
  font-weight: 600;
  color: #111827;
}

.hcs-footer-value {
  color: #4b5563;
}


.hcs-threat-model h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hcs-threat-model h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.hcs-threat-model ul {
  margin: 0.25rem 0 1.25rem 1.25rem;
  padding: 0;
}

.hcs-threat-model li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}
.hcs-threat-model h3::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #cbd5e1; /* light slate */
  border-radius: 50%;
  margin-right: 0.5rem;
  transform: translateY(-1px);
}
.hcs-threat-model h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hcs-threat-model h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.hcs-threat-model ul {
  margin: 0.25rem 0 1.25rem 1.25rem;
  padding: 0;
}

.hcs-threat-model li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}
.hcs-threat-model h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hcs-threat-model h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.hcs-threat-model ul {
  margin: 0.25rem 0 1.25rem 1.25rem;
  padding: 0;
}

.hcs-threat-model li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}
/* kill any "fake bullet" before your subheadings */
.hcs-threat-model h3::before,
.hcs-threat-model h4::before {
  content: none !important;
  display: none !important;
}

/* prevent headings being treated like list items */
.hcs-threat-model h3,
.hcs-threat-model h4 {
  display: block !important;
  list-style: none !important;
}
html {
  scroll-behavior: smooth;
}


/* Attack Matrix */
.attack-matrix {
    max-width: 980px;
    margin: 24px auto;
    padding: 0 16px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  }

  .attack-matrix h2 {
    font-size: 22px;
    margin: 0 0 12px;
    letter-spacing: .2px;
  }

  .table-wrap {
    overflow: auto;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    background: #fff;
  }

  .attack-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 760px;
  }

  .attack-table thead th {
    position: sticky;
    top: 0;
    background: #fafafa;
    text-align: left;
    font-weight: 650;
    padding: 14px 14px;
    border-bottom: 1px solid #e7e7e7;
    font-size: 13px;
    letter-spacing: .2px;
  }

  .attack-table tbody td {
    padding: 14px 14px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
    font-size: 14px;
  }

  .attack-table tbody tr:hover td {
    background: #fcfcfc;
  }

  .attack-table code {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 8px;
    background: #0b1020;
    color: #d7ffe3;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 12.5px;
    white-space: nowrap;
  }

  .tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
  }

  .tag-ok {
    background: #e9fbef;
    color: #155d2d;
    border: 1px solid #b8f0c7;
  }

  .tag-warn {
    background: #fff6e6;
    color: #7a4a00;
    border: 1px solid #ffe1ad;
  }

  .tag-bad {
    background: #ffecec;
    color: #7a1a1a;
    border: 1px solid #ffc0c0;
  }

  /* ===============================
   Detection Insights (clean report style)
================================ */

.insights {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 10px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.insights h2 {
  font-size: 26px;
  margin-bottom: 28px;
  color: #1a1a1a;
  color: var(--hcs-blue-900);
  border-bottom: 3px solid var(--hcs-blue-500);
  padding-bottom: 10px;
  letter-spacing: 0.4px;
}
/* List */
.insight-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Each row */
.insight-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #e5e5e5;
}

/* Numbers */
.insight-list .num {
  min-width: 42px;
  font-weight: 700;
  font-size: 14px;
  color: #7b1212;
  letter-spacing: 1px;
  opacity: 0.85;
}

/* Text */
.insight-list p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* Inline payload styling */
.insight-list code {
  background: #111827;
  color: #d1fae5;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
}


/* Evidence / Screenshot styling */

.evidence {
  margin: 50px 0;
  padding: 18px;
  background: #fafafa;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
}

.evidence img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.evidence figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

.fig-label {
  font-weight: 700;
  color: #7b1212;
  margin-right: 6px;
  letter-spacing: 0.5px;
}

/* ================================
   Evidence Collection Section
================================ */
/* Evidence Collection — report style */

.evidence {
  margin: 90px 0;
  max-width: 860px;
}

/* Remove card look */
.evidence {
  border: none;
  background: transparent;
  padding: 0;
}

/* Heading */
.evidence h2 {
  font-size: 36px;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

/* Intro line */
.evidence-lead {
  font-size: 18px;
  color: #555;
  margin-bottom: 22px;
}

/* Bullet list */
.evidence ul {
  margin-left: 22px;
  margin-bottom: 28px;
}

.evidence li {
  margin-bottom: 14px;
  font-size: 18px;
  line-height: 1.65;
}

/* Divider line */
.evidence-proof {
  border-top: 1px solid #e5e5e5;
  padding-top: 22px;
  font-size: 18px;
  font-style: italic;
  color: #222;
}


/* ================================
Tools Section
================================ */
/* Evidence Collection — report style */

.tech {
  margin: 90px 0;
  max-width: 860px;
}

/* Remove card look */
.tech {
  border: none;
  background: transparent;
  padding: 0;
}

/* Heading */
.tech h2  {
  font-size: 36px;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

/* Intro line */
.tech-lead {
  font-size: 18px;
  color: #555;
  margin-bottom: 22px;
}

/* Bullet list */
.tech ul {
  margin-left: 22px;
  margin-bottom: 28px;
}

.tech li {
  margin-bottom: 14px;
  font-size: 18px;
  line-height: 1.65;
}

/* Divider line */
.tech-proof {
  border-top: 1px solid #e5e5e5;
  padding-top: 22px;
  font-size: 18px;
  font-style: italic;
  color: #222;
}


/* Evidence / Screenshot styling */

.evidence {
  margin: 50px 0;
  padding: 18px;
  background: #fafafa;
  border-radius: 8px;
}

.evidence img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.evidence figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

.fig-label {
  font-weight: 700;
  color: #7b1212;
  margin-right: 6px;
  letter-spacing: 0.5px;
}


/* ===========================
   HCS — Insights + Evidence
=========================== */

.hcs-insights {
  margin: 3rem 0;
}

.hcs-insights__header h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
  letter-spacing: 0.01em;
}

.hcs-insights__lede {
  margin: 0 0 1.25rem;
  max-width: 70ch;
  color: rgba(0, 0, 0, 0.7);
}

.hcs-insights__list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  border-top: 2px solid rgba(123, 18, 18, 0.55);
}

.hcs-insight {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1.25rem 0;
}

.hcs-insight__top {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: start;
}

.hcs-insight__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  color: #7b1212;
  border: 1px solid rgba(123, 18, 18, 0.35);
  background: rgba(123, 18, 18, 0.04);
}

.hcs-insight__title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
}

.hcs-insight__body {
  margin-top: 0.75rem;
  max-width: 85ch;
}

.hcs-insight__label {
  margin: 0.85rem 0 0.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hcs-insight__text {
  margin: 0;
  color: rgba(0, 0, 0, 0.78);
  line-height: 1.6;
}

.hcs-insight code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: rgba(0, 0, 0, 0.06);
  padding: 0.12em 0.35em;
  border-radius: 0.4em;
  font-size: 0.95em;
}

/* Evidence block */
.hcs-evidence {
  margin-top: 1rem;
  padding: 0.9rem 1rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.hcs-evidence__title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.65);
}

/* Gallery */
.hcs-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.75rem;
}

.hcs-shot {
  grid-column: span 6; /* two-up on desktop */
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.hcs-shot__link {
  display: block;
}

.hcs-shot__img {
  width: 100%;
  height: auto;
  display: block;
}

.hcs-shot__cap {
  padding: 0.6rem 0.75rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.72);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Optional JSON details */
.hcs-json {
  margin-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 0.75rem;
}

.hcs-json summary {
  cursor: pointer;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.72);
}

.hcs-json pre {
  margin: 0.75rem 0 0;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.045);
  overflow: auto;
}

.hcs-json code {
  background: none;
  padding: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hcs-insight__top {
    grid-template-columns: 60px 1fr;
  }
  .hcs-shot {
    grid-column: span 12; /* stacked on mobile */
  }
}
.hcs-evidence-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}

.hcs-evidence-pair figure {
  margin: 0;
}

.hcs-evidence-pair img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e3e3e3;
}

.hcs-evidence-pair figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: #444;
}
.hcs-evidence-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}

.hcs-evidence-pair figure {
  margin: 0;
}

.hcs-evidence-pair img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e3e3e3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: zoom-in;
}

.hcs-evidence-pair img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.hcs-evidence-pair figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: #444;
}

.hcs-evidence-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 20px;
}


/* UPDATED */
.hcs-insights {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}

.hcs-insights h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.hcs-insight-intro {
  color: #666;
  margin-bottom: 40px;
}

.hcs-insight {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  margin-bottom: 60px;
}

.hcs-insight-number {
  font-family: monospace;
  font-size: 1.1rem;
  color: #999;
  padding-top: 6px;
}

.hcs-insight-body h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--hcs-blue-500);
  margin-top: 18px;
  margin-bottom: 6px;
  text-transform: none;
  letter-spacing: 0;
}


/* ================================
   Design Architecture Section
================================ */

.design-architecture {
    background: #0f172a;              /* dark slate */
    border-radius: 14px;
    padding: 28px 32px;
    margin: 40px 0;
    border-left: 6px solid #3b82f6;   /* HunterCloudSec blue accent */
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* Section heading */
.design-architecture h2 {
    color: #e2e8f0;
    font-size: 28px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

/* Lead paragraph */
.design-list-lead {
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 18px;
    font-weight: 500;
}

/* Bullet list container */
.design-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* Each bullet */
.design-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    color: #e2e8f0;
    line-height: 1.6;
    font-size: 16px;
}

/* Custom bullet */
.design-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    top: 2px;
    color: #3b82f6;
    font-size: 18px;
}

/* Inline code styling */
.design-list code {
    background: #1e293b;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 14px;
    color: #38bdf8;
    font-family: "Fira Code", monospace;
}

/* Strong emphasis */
.design-list strong {
    color: #f8fafc;
}

.design-list-lead code {
  color: #3b82f6;
}

.insight-lead {
  
  color: var(--text-primary);
}

.insight-list {
  color: #22c55e;
}



.insight-list-08 li {
  position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
}

/* List */
.insight-list-08 {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Each row */
.insight-list-08 li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

/* Numbers */
.insight-list-08 .num {
  min-width: 42px;
  font-weight: 700;
  font-size: 14px;
  color: #7b1212;
  letter-spacing: 1px;
  opacity: 0.85;
}

/* Text */
.insight-list-08 p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* Inline payload styling */
.insight-list code {
  background: #111827;
  color: #d1fae5;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
}

/* Custom bullet */
.insight-list-08 li::before {
    content: "▹";
    position: absolute;
    left: 0;
    top: 1px;
    color: #3b82f6;
    font-size: 18px;
}

.evidence-standard {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--hcs-surface);
  border-radius: 14px;

}

.evidence-standard h3{
  margin: 0 0 .5rem 0;
  font-size: 1rem;
  letter-spacing: .02rem;
  color: var(--hcs-blue-500);
}

.evidence-standard p{
  margin: 0 0 .75rem 0;
  line-height: 1.5;
}

.evidence-standard__bullets{
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: .35rem
  ;
}

/* Divider line */
.evidence-proof {
  border-top: 1px solid #e5e5e5;
  padding-top: 22px;
  font-size: 18px;
  font-style: italic;
  color: #222;
}

/* Project Overview Section */
.project-overview-bar {
    display: grid;
    grid-template-columns: 1fr; /* Stack on mobile */
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 2.5rem 0;
    border-top: 1px solid #1e293b;    /* border-slate-800 */
    border-bottom: 1px solid #1e293b;
    
}

/* Desktop Layout */
@media (min-width: 768px) {
    .project-overview-bar {
        grid-template-columns: repeat(3, 1fr);
    }
}

.overview-label {
    color: var(--hcs-blue-500);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.overview-text {
    font-size: 0.875rem;
    color: var(--hcs-blue-900);
    line-height: 1.5;
}

.risk-meta {
    font-style: italic;
    color: #64748b; /* slate-500 */
}

/* Stack List Styling */
.stack-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: #22d3ee; /* cyan-500 */
    color: var(--hcs-navy);
}

.stack-list li {
    margin-bottom: 0.25rem;
}



/* Project Overview Section */
.case-overview-bar {
    display: grid;
    grid-template-columns: 1fr; /* Stack on mobile */
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 2.5rem 0;
    
    border-top: 1px solid var(--hcs-blue-500);    /* border-slate-800 */
    
    border-bottom: 1px solid #1e293b;
    
}

/* Desktop Layout */
@media (min-width: 768px) {
    .case-overview-bar {
        grid-template-columns: repeat(3, 1fr);
    }
}

.case-overview-label {
    color: var(--hcs-blue-500);
    color: #111111;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.case-overview-text {
    font-size: 0.875rem;
    color: var(--hcs-blue-900);
    color: #1e293b;

    line-height: 1.5;
}

.risk-meta {
    font-style: italic;
    color: #64748b; /* slate-500 */
}

/* Stack List Styling */
.case-stack-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: #22d3ee; /* cyan-500 */
    color: var(--hcs-navy);
   
}

.case-stack-list li {
    margin-bottom: 0.25rem;
}


.case-overview-bar {
  margin-top: 0;
  border-top: 3px solid var(--hcs-blue-500);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2rem 0;
  background: linear-gradient(to bottom, rgba(10,40,70,0,0.03), transparent);


}


.design-standard {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--hcs-surface);
  border-radius: 14px;

}

.design-standard h3{
  margin: 0 0 .5rem 0;
  font-size: 1rem;
  letter-spacing: .02rem;
  color: var(--hcs-blue-500);

}

.design-standard p{
  margin: 0 0 .75rem 0;
  line-height: 1.5;
  color: var(--text-primary);
}

.design-standard__bullets{
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: .35rem;
  color: var(--text-primary);
}

.architecture {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 10px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

}

.architecture h2 {
  font-size: 26px;
  margin-bottom: 28px;
  color: #1a1a1a;
  color: var(--hcs-blue-900);
  border-bottom: 3px solid var(--hcs-blue-500);
  padding-bottom: 10px;
  letter-spacing: 0.4px;
}

.design-standard code {
  color: var(--hcs-text);
}






.problem-framing {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--hcs-surface);
  border-radius: 14px;
  background: var(--hcs-gold-300);
  background: var(--hcs-blue-500);
  background: var(--hcs-blue-900);
  background: var(--hcs-mute);
}

.problem-framing h3{
  margin: 0 0 .5rem 0;
  font-size: 1rem;
  letter-spacing: .02rem;
  color: var(--border-subtle);

}

.problem-framing p{
  margin: 0 0 .75rem 0;
  line-height: 1.5;
  color: var(--hcs-border);
}


.problem-framing {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 10px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

}

.framing h2 {
  font-size: 26px;
  margin-bottom: 28px;
  color: #1a1a1a;
  color: var(--hcs-blue-900);
  border-bottom: 3px solid var(--hcs-blue-500);
  padding-bottom: 10px;
  letter-spacing: 0.4px;
}

.problem-framing code {
  color: var(--hcs-text);
}


/* EXECUTIVE OVERVIEW CSS */
.cs-section {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--hcs-surface);
  border-radius: 14px;
 
}

.cs-section h3 {
  margin: 0 0 .5rem 0;
  font-size: 1rem;
  letter-spacing: .02rem;
  color: var(--border-subtle);

}

.cs-section h2 {
  font-size: 26px;
  margin-bottom: 28px;
  color: #1a1a1a;
  color: var(--hcs-blue-900);
  border-bottom: 3px solid var(--hcs-blue-500);
  padding-bottom: 10px;
  letter-spacing: 0.4px;
}

.cs-section p {
   margin: 0 0 .75rem 0;
  line-height: 1.5;
}


.cs-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 10px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

}

.cs-section cs-exec2 {
  font-size: 26px;
  margin-bottom: 28px;
  color: #1a1a1a;
  color: var(--hcs-blue-900);
  border-bottom: 3px solid var(--hcs-blue-500);
  padding-bottom: 10px;
  letter-spacing: 0.4px;
}

.problem-framing code {
  color: var(--hcs-text);
}

/* =======================================================================
  KEEP this!!!!!
  ========================================== */
.hcs-callout {
  background: #ffffff;
  border: 1px solid var(--hcs-border);
  border-radius: 12px;
  padding: 32px;
  margin: 64px 0;
  display: flex;

  gap: 40px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.hcs-aha-content h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #1f2937;
  margin: 0;
  color: var(--hcs-text);
}


/* INTRODUCTION CSS */
.intro-standard {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--hcs-surface);
  border-radius: 14px;
 
 
  
}

.intro-standard h3{
  margin: 0 0 .5rem 0;
  font-size: 1rem;
  letter-spacing: .02rem;


}

.intro-standard p {
  margin: 0 0 .75rem 0;
  line-height: 1.5;
  color: var(--hcs-border);
  color: var(--hcs-text);

}



.intro-standard__bullets {
  margin: 0;
  padding-left: 1.1rem;
 
  gap: .35rem;
}

.intro {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 10px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

}

.intro h2 {
  font-size: 26px;
  margin-bottom: 28px;
  color: #1a1a1a;
  color: var(--hcs-blue-900);
  border-bottom: 3px solid var(--hcs-blue-500);
  padding-bottom: 10px;
  letter-spacing: 0.4px;
}

.intro-standard code {
  color: var(--hcs-text);
}

/* ===== PROBLEM LIST ===== */
.problem-list {
  padding-left: 1.25rem;
  margin: 24px 0;
  list-style: none;
}

.intro-standard__bullets li {
  margin-bottom: 12px;
  line-height: 1.6;
  position: relative;
  padding-left: 24px;
  display: block;
  margin-bottom: 10px;
  
}

.intro-standard__bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--hcs-blue-500);
  font-weight: bold;
}



/* ATTACK SCENARIOS */

.attack-scenario {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--hcs-surface);
  border-radius: 14px;
 
 
  
}

.attack-scenario h3 {
  margin: 0 0 .5rem 0;
  font-size: 1rem;
  letter-spacing: .02rem;
  color: var(--hcs-blue-500);


}

.attack-scenario p {
  margin: 0 0 .75rem 0;
  line-height: 1.5;
  color: var(--hcs-border);
  color: var(--hcs-text);

}



.attack-scenario__bullets {
  margin: 0;
  padding-left: 1.1rem;
 
  gap: .35rem;
}

.intro {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 10px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

}

.attack-scenario h2 {
  font-size: 26px;
  margin-bottom: 28px;
  color: #1a1a1a;
  color: var(--hcs-blue-900);
  border-bottom: 3px solid var(--hcs-blue-500);
  padding-bottom: 10px;
  letter-spacing: 0.4px;
}


/* Last Section */

.phase-2 {
  max-width: 920px;
  margin: 120px auto;
  padding: 0 24px;
}

/* TTITLE */
.phase-2 h2 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  margin-bottom: 10px;
  color: var(--hcs-blue-900);
  border-bottom: 3px solid var(--hcs-blue-500);
  display: inline-block;
  padding-bottom: 8px;

}

/* Subtitle */
.phase-2 .label {
  font-family: "Inter";
  font-size: 14px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--hcs-blue-500);
  margin-bottom: 32px;
  display: block;
}

/* Phase 2 body */
.phase-2__body p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--hcs-text);
  margin-bottom: 20px;
}

/* Inline */
.phase-2__body code {
  background: rgba(0, 0, 0, 0.05);
  padding: 4px 8px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 16px;
}

.phase-2-gaps_bullets {
  margin: 28px 0 36px 0;
  padding-left: 0;
  list-style: none;

}

.phase-2-gaps_bullets li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  font-size: 18px;
}

.phase-2-gaps_bullets li::before {
  content: "⚠️";
  position: absolute;
  left: 0;
  top: 0;
  color: #c49b2a;
  font-weight: bold;
}

.phase-2-reqs_bullets {
  margin: 28px 0 36px;
  padding-left: 0;
  list-style: none;
}

.phase-2-reqs_bullets li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  font-size: 18px;
}

.phase-2-reqs_bullets li::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--hcs-blue-500);
  font-weight: bold;
}

.phase-2__body p:last-of-type {
  margin-top: 40px;
  font-size: 20px;
  font-weight: 600;
  color: var(--hcs-blue-900);
  border-left: 4px solid var(--hcs-blue-500);
  padding-left: 18px;
}

.case-hero{
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
  text-align: center;
}

.case-hero-content{
  max-width: 70ch;
  margin: 0 auto 1.75rem;
}

/* HERO BACKGROUND */
.case-hero{
  background:
    radial-gradient(circle at 20% 10%, rgba(212,170,82,0.10), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(20,60,110,0.10), transparent 45%);
}

.case-hero h1{
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  margin-top: 2.95rem;
}

.case-subtitle{
  font-size: 1.15rem;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 0.75rem;
  max-width: 60ch;
  margin: 0.75rem auto 0;

}

.case-phase{
  font-weight: 600;
  border-bottom: 2px solid rgba(212,170,82,0.6);
  display: inline-block;
  padding-bottom: 0.35rem;
}

.hcs-hero-image{
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.14),
    0 2px 8px rgba(0,0,0,0.10);
  max-width: min(980px, 92vw);
}

.case-hero .phase-title{
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-top: 0.75rem;
  opacity: 0.95;
}

.case-hero .phase-title{
  display: inline-block;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid rgba(212, 170, 82, 0.6); /* HCS gold vibe */
}

.tag-pill{
  font-size: 0.8rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(212, 170, 82, 0.14); /* soft gold tint */
  color: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
}

.tag-pill{
  background: rgba(20, 60, 110, 0.10);
  border-color: rgba(20, 60, 110, 0.18);
  color: rgba(20, 60, 110, 0.85);
}

.case-hero img.hero-image{
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.14),
    0 2px 8px rgba(0,0,0,0.10);
  max-width: min(980px, 92vw);
}

.case-hero{
  padding-top: 3.25rem;
  padding-bottom: 2rem;
}

.case-hero .tag-row{
  margin-bottom: 1.25rem;
}

@media (max-width: 640px){
  .case-hero h1{
    font-size: 2.1rem;
  }
  .case-hero .subtitle{
    font-size: 1rem;
  }
}


.case-meta-center{
  justify-content: center;
}

.card-meta{
  display:flex;
  flex-wrap:wrap;
  gap:0.5rem;
  margin-bottom:1.25rem;
}

.hcs-hero{
  margin-top: 1.75rem;
}

.hcs-hero{
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.case-hero h1{
  font-size: clamp(2.4rem, 4vw, 3.4rem);
}
.case-phase{
  color: var(--hcs-blue-900);
}



.case-figure {
  margin: 2.5rem 0;
  text-align: center;
}

.case-image {
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  cursor: zoom-in;
  transition: transform .2s ease;
}

.case-image:hover {
  transform: scale(1.01);
}

.fig-label {
  font-weight: 600;
  color: var(--hcs-blue-900);
  margin-right: .5rem;
}

