/*
 * The hero is navy rather than near-white. The page beneath it is a long run
 * of pale cards, and starting on the brand's own colour gives the eye a fixed
 * top edge to measure the rest against — the previous white-into-grey wash
 * left the header and the hero reading as one undifferentiated band.
 */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--carisca-navy) 0%, #071e4a 60%, var(--carisca-blue) 100%);
  color: #fff;
  padding-block: var(--space-9) var(--space-8);
  overflow: hidden;
}

/* Two soft washes for depth. Pure atmosphere: the hero reads identically
   without them, which is what a browser lacking radial-gradient shows. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50ch 34ch at 82% 18%, rgb(52 203 247 / 26%), transparent 70%),
    radial-gradient(46ch 30ch at 8% 96%, rgb(52 203 247 / 12%), transparent 70%);
  pointer-events: none;
}

/* A faint grid, masked so it fades out before it reaches the text. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 6%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 6%) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 78% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}

.heroInner {
  position: relative;
  z-index: 1;
  max-width: 62ch;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  /* On navy the cyan finally clears contrast as text — 8.7:1 here, against
     the 1.9:1 that bars it from white grounds everywhere else. */
  color: var(--carisca-cyan);
}

.title { font-size: var(--text-4xl); letter-spacing: -0.015em; color: #fff; }
.lede { font-size: var(--text-lg); color: #c6d5ee; }
.actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-3); }

.upcoming { padding-block: var(--space-8); }

.sectionHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}
.sectionHead h2 { font-size: var(--text-2xl); letter-spacing: -0.01em; }
.seeAll {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-heading); font-weight: 600;
  text-decoration: none; font-size: var(--text-base);
  white-space: nowrap;
}
.seeAll:hover { text-decoration: underline; }
.seeAllIcon { transition: transform var(--dur) var(--ease); }
.seeAll:hover .seeAllIcon { transform: translateX(3px); }

.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
}
.none { color: var(--color-text-subtle); }

.strands { padding-block: var(--space-6) var(--space-8); }
.strandsTitle { font-size: var(--text-2xl); margin-bottom: var(--space-5); }
.strandList {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.strandList li {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.strandList li::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--carisca-blue), var(--carisca-cyan));
}
.strandList li:hover { border-color: var(--color-accent); box-shadow: var(--shadow); }
.strandList h3 { font-size: var(--text-md); margin-bottom: var(--space-2); }
.strandList p { color: var(--color-text-subtle); font-size: var(--text-base); }
