/* Released Group — corporate navy theme
   Matches Prospective Shareholder Brief PDF palette */

:root {
  --navy: #0E2240;
  --navy-deep: #081629;
  --navy-soft: #1a3352;
  --accent: #3a6ea5;
  --mint: #e8f1ec;
  --mint-border: #cfe3d6;
  --ink: #1a1a1a;
  --muted: #5a6a7a;
  --rule: #d9dfe6;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --max: 1120px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--navy); font-weight: 700; line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: 2.6rem; letter-spacing: -0.01em; }
h2 { font-size: 1.9rem; border-bottom: 2px solid var(--rule); padding-bottom: 0.4em; margin-top: 2.4em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
  padding: 22px 0;
  border-bottom: 4px solid var(--accent);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: baseline; gap: 10px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-mark { font-weight: 800; font-size: 1.2rem; letter-spacing: 0.08em; text-transform: uppercase; }
.brand-acn { font-size: 0.72rem; opacity: 0.65; letter-spacing: 0.05em; }
nav.main-nav a {
  color: #fff;
  margin-left: 28px;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
}
nav.main-nav a:hover, nav.main-nav a.active { opacity: 1; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* Hamburger toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  border: 1px solid rgba(58,110,165,0.12);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: -20%; right: -5%;
  width: 420px; height: 420px;
  border: 1px solid rgba(58,110,165,0.08);
  border-radius: 50%;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

/* Brand logo SVG */
.brand-logo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.brand-logo svg {
  width: 100%;
  height: 100%;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  opacity: 0.7;
  margin-bottom: 18px;
}
.hero h1 { color: #fff; max-width: 820px; font-size: 3rem; }
.hero .lede { font-size: 1.2rem; max-width: 720px; opacity: 0.88; margin-top: 18px; }
.hero-rule { width: 180px; height: 4px; background: var(--accent); margin-top: 36px; }
.hero .cta-row { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.btn-primary:hover { background: var(--accent); color: #fff; border-color: var(--accent); text-decoration: none; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: #fff; text-decoration: none; }
.btn-dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-soft); border-color: var(--navy-soft); text-decoration: none; color: #fff; }

/* Page header (non-home pages) */
.page-header {
  background: var(--navy);
  color: #fff;
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  top: -60%; right: -8%;
  width: 400px; height: 400px;
  border: 1px solid rgba(58,110,165,0.1);
  border-radius: 50%;
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  opacity: 0.65;
  margin-bottom: 14px;
}
.page-header h1 { color: #fff; font-size: 2.4rem; margin: 0; }
.page-header .sub { opacity: 0.85; margin-top: 14px; max-width: 680px; }
.page-header-rule { width: 120px; height: 3px; background: var(--accent); margin-top: 28px; }

/* Client logo strip */
.logo-strip {
  text-align: center;
  padding: 8px 0;
}
.logo-strip-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 20px;
}
.logo-strip-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px 40px;
  flex-wrap: wrap;
}
.client-logo {
  height: 36px;
  width: auto;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: opacity 0.2s, filter 0.2s;
}
.client-logo:hover {
  opacity: 0.8;
  filter: grayscale(0%);
}

/* Sections */
section { padding: 72px 0; }
section.tight { padding: 40px 0; }
section.soft { background: var(--bg-soft); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.four-col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 28px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.card:hover { border-color: var(--accent); box-shadow: 0 2px 12px rgba(14,34,64,0.06); }
.card h3 { margin-top: 0; }
.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  text-align: center;
  line-height: 48px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.card .icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  flex-shrink: 0;
}
.card-mint .icon {
  background: var(--accent);
}

.card-mint { background: var(--mint); border-color: var(--mint-border); }

/* Key-value table (matches PDF style) */
table.kv {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
table.kv tr { border-bottom: 1px solid var(--rule); }
table.kv tr:nth-child(even) { background: var(--mint); }
table.kv th {
  text-align: left;
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.9rem;
}
table.kv td {
  padding: 12px 16px;
  font-size: 0.95rem;
  vertical-align: top;
}
table.kv td:first-child { width: 34%; font-weight: 600; color: var(--navy); }

/* Lists */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px solid var(--rule);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 1px;
  transform: rotate(45deg);
}

/* Pull quote / callout */
.callout {
  border-left: 4px solid var(--accent);
  background: var(--bg-soft);
  padding: 22px 28px;
  margin: 32px 0;
  font-size: 1.05rem;
}
.callout em { color: var(--muted); font-style: normal; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-top: 10px; }

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 48px 0;
}
.stat { padding: 28px 24px; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: none; }
.stat .num { font-size: 2.2rem; font-weight: 800; color: var(--navy); display: block; line-height: 1; }
.stat .label { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 8px; display: block; }

/* Timeline / phases */
.phases { counter-reset: phase; margin: 32px 0; }
.phase {
  counter-increment: phase;
  position: relative;
  padding: 20px 0 20px 76px;
  border-bottom: 1px solid var(--rule);
}
.phase::before {
  content: counter(phase, decimal-leading-zero);
  position: absolute;
  left: 0; top: 20px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--serif);
}
.phase h4 { margin: 0 0 6px; color: var(--navy); font-size: 1.1rem; }
.phase p { margin: 0; color: var(--muted); }

/* CTA band */
.cta-band {
  background: var(--navy);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; border: none; margin-top: 0; }
.cta-band p { opacity: 0.88; max-width: 620px; margin: 0 auto 28px; font-size: 1.1rem; }

/* Presentation cards */
.presentation-card {
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 24px 28px;
  margin-bottom: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.presentation-card:hover { border-color: var(--accent); box-shadow: 0 2px 12px rgba(14,34,64,0.06); }
.presentation-card h3 { margin: 8px 0 10px; font-size: 1.15rem; }
.presentation-card h3 a { color: var(--navy); }
.presentation-card h3 a:hover { color: var(--accent); }
.presentation-card p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.presentation-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.presentation-date { color: var(--muted); }
.presentation-price { color: var(--muted); }
.presentation-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-live { background: #e8f5e9; color: #2e7d32; }
.badge-ondemand { background: #e3f2fd; color: #1565c0; }

/* Form */
form.contact {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 36px;
  border-radius: 4px;
  margin-top: 24px;
}
form.contact label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
form.contact input, form.contact textarea, form.contact select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 18px;
  background: #fff;
}
form.contact input:focus, form.contact textarea:focus, form.contact select:focus {
  outline: none;
  border-color: var(--accent);
}
form.contact textarea { min-height: 140px; resize: vertical; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #fff;
  padding: 56px 0 32px;
  margin-top: 0;
}
.site-footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-heading { color: #fff; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 14px; opacity: 0.7; }
.site-footer a { color: #fff; opacity: 0.8; display: block; margin-bottom: 8px; font-size: 0.92rem; }
.site-footer a:hover { opacity: 1; text-decoration: none; }
.site-footer .fine {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.82rem;
  opacity: 0.55;
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
}

/* Responsive */
@media (max-width: 860px) {
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero { padding: 64px 0 56px; }
  .two-col, .three-col, .four-col { grid-template-columns: 1fr; gap: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--rule); }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 20px; }
  .site-footer .fine { flex-direction: column; gap: 8px; }

  /* Hamburger menu */
  .nav-toggle { display: flex; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    z-index: 1000;
  }
  nav.main-nav.open { display: flex; flex-direction: column; }
  nav.main-nav a {
    margin: 0;
    padding: 12px 32px;
    font-size: 1rem;
    border-bottom: none;
  }
  nav.main-nav a:hover, nav.main-nav a.active {
    border-bottom: none;
    padding-bottom: 12px;
    background: rgba(255,255,255,0.05);
  }
  .site-header .container { position: relative; }
}
