@charset "UTF-8";
/* ==========================================================================
   OGC Developer Site — Styles (SCSS)
   ========================================================================== */
/* ==========================================================================
   OGC site recreation — restyled to match Figma "OGC website 2.0" design
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
:root {
  --dark: #16171b;
  --navy: #24406a;
  --navy-border: #142b54;
  --ink: #181d27;
  --gray-700: #414651;
  --gray-600: #535862;
  --gray-500: #757575;
  --gray-border: #d5d7da;
  --border: #d6d6d6;
  --bg-alt: #f0f5fc;
  --bg-cta: #e6ebf4;
  --footer-card: #292929;
  --nav-text: #d4d4d8;
  --white: #ffffff;
  --radius-sm: 5px;
  --radius: 8px;
  --radius-lg: 16px;
  --max: 1280px;
  --shadow-xs: 0 1px 2px rgba(10,13,18,.05);
  --shadow-card: 0 12px 8px rgba(10,13,18,.08), 0 4px 3px rgba(10,13,18,.03);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

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

/* ---------- Corner ribbon: Fork me on GitHub ---------- */
.corner-ribbon {
  position: fixed;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  overflow: hidden;
  z-index: 500;
  pointer-events: none;
}

.corner-ribbon a {
  pointer-events: auto;
  position: absolute;
  display: block;
  width: 260px;
  top: 42px;
  right: -66px;
  transform: rotate(45deg);
  background: #171b1f;
  color: #fff;
  text-align: center;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.corner-ribbon a:hover {
  background: #000;
}

/* ---------- Header ---------- */
header.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.1);
}

.nav-row {
  max-width: 1608px;
  margin: 0 auto;
  padding: 22px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
}

footer .logo img {
  height: 48px;
}

nav.main-nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

nav.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--nav-text);
  padding: 4px 0;
}

nav.main-nav a:hover,
nav.main-nav li.active a {
  color: #fff;
}

nav.main-nav .caret {
  font-size: 10px;
  opacity: 0.8;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

.nav-icon {
  color: #fff;
  opacity: 0.9;
  font-size: 16px;
}

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-navy {
  background: var(--navy);
  border-color: var(--navy-border);
  color: #fff;
  border-radius: var(--radius);
  padding: 12px 20px;
  box-shadow: var(--shadow-xs);
}

.btn-navy:hover {
  background: #1c3355;
}

.btn-ghost {
  background: var(--bg-cta);
  border-color: var(--gray-border);
  color: var(--gray-700);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}

.btn-white-pill {
  background: #fff;
  color: var(--dark);
  border-radius: var(--radius-sm);
  padding: 8px 22px;
  font-weight: 500;
  font-size: 15px;
}

.btn-hero-outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 15px 40px;
  font-size: 18px;
  font-weight: 500;
}

.btn-hero-white {
  background: #fff;
  border-color: #fff;
  color: #000;
  border-radius: var(--radius-sm);
  padding: 15px 40px;
  font-size: 18px;
  font-weight: 500;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 16px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: 96px 60px;
  overflow: hidden;
  background: radial-gradient(ellipse 900px 700px at 50% 40%, rgba(38, 110, 150, 0.55), transparent 70%), radial-gradient(circle at 30% 70%, rgba(20, 90, 120, 0.35), transparent 55%), radial-gradient(circle at 70% 20%, rgba(30, 120, 140, 0.3), transparent 50%), var(--dark);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(120, 200, 220, 0.35) 1px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.18;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero .inner {
  position: relative;
  max-width: 1081px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  text-align: center;
}

.hero h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.hero .lead {
  font-size: 20px;
  color: #fafafa;
  letter-spacing: 0.2px;
  max-width: 900px;
  margin: 0 auto;
}

.hero .btn-row {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Hero split (text + code) ---------- */
.hero-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  width: 100%;
  text-align: left;
}

.hero-split .col-text {
  flex: 1.2;
}

.hero-split .col-text h1 {
  font-size: 52px;
  margin: 0 0 8px;
}

.hero-split .col-code {
  flex: 1;
  max-width: 420px;
  width: 100%;
}

.hero-code .code-panel {
  margin: 0;
  max-width: 100%;
}

.btn-copy {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--dark);
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}

.btn-copy:hover {
  background: #eee;
}

.code-panel::-webkit-scrollbar {
  height: 6px;
}

.code-panel::-webkit-scrollbar-thumb {
  background: #4b4b4b;
  border-radius: 3px;
}

.code-panel::-webkit-scrollbar-track {
  background: transparent;
}

.hero-page {
  padding: 72px 60px 88px;
  text-align: left;
}

.hero-page .inner {
  align-items: flex-start;
  text-align: left;
  max-width: 900px;
  margin: 0;
}

.hero-page h1 {
  font-size: 46px;
}

.breadcrumb {
  font-size: 13px;
  color: #cfe3ec;
  margin-bottom: 16px;
}

.breadcrumb a {
  text-decoration: underline;
  opacity: 0.85;
}

/* ---------- Sections ---------- */
section {
  padding: 96px 60px;
}

section.alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 862px;
  margin: 0 auto 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.section-head h2 {
  font-size: 48px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-head p {
  color: var(--gray-600);
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
}

.section-head.left {
  align-items: flex-start;
  text-align: left;
  margin: 0 0 48px;
}

/* ---------- Grids / Cards ---------- */
.grid {
  display: grid;
  gap: 32px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.news-card .thumb {
  height: 240px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--dark));
}

.news-card .tag {
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px;
}

.news-card h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.35;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
}

.badge-purple {
  background: #f9f5ff;
  color: var(--navy);
}

.badge-indigo {
  background: #eef4ff;
  color: #3538cd;
}

.badge-green {
  background: #ecfdf3;
  color: #027a48;
}

.badge-pink {
  background: #fdf2fa;
  color: #c11574;
}

/* Insights layout: big card + stacked list */
.insights-layout {
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.insight-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.insight-main .thumb {
  flex: 1;
  min-height: 300px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy), var(--dark));
}

.insight-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
}

.insight-row {
  display: flex;
  gap: 24px;
}

.insight-row .thumb {
  width: 200px;
  height: 130px;
  flex: none;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy), var(--dark));
}

.insight-row .body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.insight-row .meta {
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px;
}

.insight-row h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #000;
}

.badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ---------- Metrics / stats split section ---------- */
.metrics {
  display: flex;
  gap: 96px;
  align-items: center;
}

.metrics .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.metrics .heading-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.metrics .heading-block .kicker {
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
}

.metrics .heading-block h2 {
  font-size: 48px;
  font-weight: 600;
  color: #000;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.25;
}

.metrics .heading-block p {
  color: var(--gray-600);
  font-size: 20px;
  margin: 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 32px;
}

.metric-item .num {
  font-size: 60px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.metric-item .label {
  color: var(--gray-600);
  font-size: 18px;
  font-weight: 500;
  margin-top: 4px;
}

.metrics .image {
  flex: 1;
  height: 480px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy), var(--dark));
}

.metrics.reverse {
  flex-direction: row-reverse;
}

/* ---------- Testimonial ---------- */
.testimonial {
  max-width: 1218px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.testimonial .quote-mark {
  font-size: 40px;
  color: var(--navy);
  opacity: 0.5;
}

.testimonial blockquote {
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  max-width: 994px;
  margin: 0;
  line-height: 1.4;
}

.testimonial .attribution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.testimonial .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--dark));
}

.testimonial cite {
  font-style: normal;
  color: var(--gray-600);
  font-size: 15px;
  font-weight: 600;
}

/* ---------- Programs (left content) ---------- */
.programs-layout {
  display: flex;
  gap: 96px;
  align-items: center;
}

.programs-image {
  flex: 1;
  height: 620px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy), var(--dark));
}

.programs-list {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.program-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.program-item:last-child {
  border-bottom: none;
}

.program-item h3 {
  font-size: 32px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
}

.program-item p {
  color: var(--gray-500);
  font-size: 16px;
  margin: 0;
}

/* ---------- Team / Agora ---------- */
.agora-layout {
  display: flex;
  gap: 64px;
  align-items: center;
}

.agora-collage {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.agora-collage div {
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--dark));
  height: 130px;
}

.agora-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.agora-content .kicker {
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
}

.agora-content h2 {
  font-size: 48px;
  font-weight: 600;
  color: #000;
  margin: 0;
  letter-spacing: -0.02em;
}

.agora-content p {
  color: var(--gray-600);
  font-size: 20px;
  margin: 16px 0 0;
}

/* ---------- Call to action ---------- */
.cta-box {
  background: var(--bg-cta);
  border-radius: var(--radius-lg);
  padding: 60px 90px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-box .kicker {
  color: var(--navy);
  font-size: 20px;
}

.cta-box h2 {
  font-size: 48px;
  font-weight: 600;
  color: #000;
  max-width: 950px;
  margin: 0;
  line-height: 1.3;
}

.cta-box .btn-navy {
  padding: 10px 22px;
  border-radius: var(--radius-sm);
}

/* ---------- Logo strip ---------- */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  justify-content: center;
}

.logo-strip span {
  font-weight: 700;
  color: var(--gray-600);
  font-size: 14px;
  letter-spacing: 0.02em;
  opacity: 0.8;
}

/* ---------- Article / news list (news.html) ---------- */
.article-list {
  display: grid;
  gap: 20px;
}

.article-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.article-row .thumb {
  width: 96px;
  height: 72px;
  border-radius: var(--radius);
  flex: none;
  background: linear-gradient(135deg, var(--navy), var(--dark));
}

.article-row .meta {
  font-size: 12.5px;
  color: var(--navy);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.article-row h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--ink);
}

.article-row .date {
  color: var(--gray-600);
  font-size: 13px;
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

.pagination a, .pagination span {
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.pagination .current {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy-border);
}

/* ---------- Open calls (standards.html / home) ---------- */
.call-item {
  border-left: 3px solid var(--navy);
  padding: 16px 22px;
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.call-item .tag {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--navy);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-right: 8px;
  text-transform: uppercase;
}

.call-item h4 {
  margin: 10px 0 6px;
  font-size: 16px;
  color: var(--ink);
}

.call-item .due {
  font-size: 13px;
  color: var(--gray-600);
}

/* ---------- Standards categories ---------- */
.std-category {
  margin-bottom: 40px;
}

.std-category h3 {
  font-size: 21px;
  color: var(--navy);
  margin: 0 0 6px;
}

.std-category .desc {
  color: var(--gray-600);
  font-size: 14.5px;
  margin: 0 0 18px;
  max-width: 760px;
}

.std-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.std-tags span {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.std-tags span:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* ---------- General cards (about.html) ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.card h3 {
  color: var(--navy);
  font-size: 19px;
  margin: 0 0 10px;
}

.card p {
  color: var(--gray-600);
  font-size: 14.5px;
  margin: 0 0 16px;
}

.card .learn {
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
}

.split {
  display: flex;
  gap: 64px;
  align-items: center;
}

.split .visual {
  flex: 1;
  height: 280px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy), var(--dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 24px;
}

.split .text {
  flex: 1;
}

.split .text h2 {
  font-size: 32px;
  font-weight: 600;
  color: #000;
  margin: 0 0 16px;
}

.split .text p {
  color: var(--gray-600);
  font-size: 16px;
  margin: 0 0 16px;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 48px 60px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 47px;
}

.footer-top {
  display: flex;
  gap: 61px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-cols {
  display: flex;
  gap: 96px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 15px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-col a, .footer-col p {
  font-size: 16px;
  color: #fff;
  opacity: 0.7;
  margin: 0;
}

.footer-col a:hover {
  opacity: 1;
}

.subscribe-card {
  background: var(--footer-card);
  padding: 30px 42px;
  border-radius: var(--radius);
  flex: 1;
  min-width: 260px;
  max-width: 338px;
}

.subscribe-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 18px;
}

.subscribe-row {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 6px;
  overflow: hidden;
}

.subscribe-row input {
  flex: 1;
  border: none;
  padding: 12px 15px;
  font-size: 14px;
  color: var(--gray-700);
  background: transparent;
  outline: none;
}

.subscribe-row button {
  background: var(--navy);
  border: none;
  color: #fff;
  padding: 13px 16px;
  cursor: pointer;
}

.subscribe-card p {
  font-size: 12px;
  opacity: 0.7;
  margin: 18px 0 0;
  line-height: 1.7;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom .copy {
  font-size: 14px;
  font-weight: 500;
}

.social-row {
  display: flex;
  gap: 15px;
}

.social-row a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

/* ---------- Dev site: hero bullets ---------- */
.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 28px 0 0;
  max-width: 720px;
}

.hero-bullets div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #fafafa;
  font-size: 16px;
}

.hero-bullets .dot {
  color: var(--teal, #4bb7c9);
  flex: none;
  margin-top: 2px;
}

/* ---------- Dev site: testimonials carousel ---------- */
#testimonials.dark-section {
  background: var(--dark);
}

#testimonials.dark-section .eyebrow {
  color: #4bb7c9;
}

#testimonials.dark-section .section-head h2 {
  color: #fff;
}

#testimonials.dark-section .section-head p {
  color: #b9cdd8;
}

.testi-carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 74px 0;
}

.testi-track {
  position: relative;
  min-height: 190px;
}

.testi-slide {
  display: none;
  text-align: center;
}

.testi-slide.active {
  display: block;
  animation: testiFade 0.4s ease;
}

@keyframes testiFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.testi-quote {
  font-size: 24px;
  font-style: italic;
  color: #fff;
  line-height: 1.5;
  margin: 0 0 20px;
}

.testi-attr {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}

.testi-media {
  position: relative;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.testi-ticks {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 1;
}

.testi-ticks button {
  width: 28px;
  height: 3px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  border: none;
  padding: 0;
  cursor: pointer;
}

.testi-ticks button.active {
  background: #fff;
}

.testi-avatar {
  overflow: hidden;
  position: relative;
  z-index: 2;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 30px;
  border: 4px solid var(--dark);
}

.testi-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.testi-arrow {
  position: absolute;
  top: 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testi-arrow:hover {
  color: #fff;
}

.testi-arrow.left {
  left: 0;
}

.testi-arrow.right {
  right: 0;
}

/* ---------- Dev site: icon badges ---------- */
.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.icon-badge svg {
  width: 22px;
  height: 22px;
}

/* ---------- Dev site: standards cards ---------- */
.std-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.std-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.std-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/11;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--dark));
  margin-bottom: 14px;
}

.std-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.std-thumb .ribbon {
  position: absolute;
  top: 16px;
  left: -38px;
  width: 160px;
  transform: rotate(-45deg);
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 5px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.std-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 4px 0 8px;
}

.std-card p {
  font-size: 14px;
  color: var(--gray-600);
  margin: 0;
  flex: 1;
}

.std-icons {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn:hover {
  background: var(--navy);
}

.subgroup-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 48px 0 20px;
}

.subgroup-title:first-child {
  margin-top: 0;
}

/* ---------- Dev site: code sprints ---------- */
.sprint-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sprint-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sprint-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 24px rgba(10, 13, 18, 0.12);
}

.sprint-card .thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-alt);
}

.sprint-card .thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sprint-card .badge-latest {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 20px;
}

.sprint-card .date-label {
  padding: 14px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ---------- Dev site: code panel ---------- */
.code-panel {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  color: #d4d4d8;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 14px;
  line-height: 1.8;
  overflow-x: auto;
  box-shadow: var(--shadow-card);
  margin: 0;
  white-space: pre;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.code-panel .k {
  color: #4bb7c9;
}

.code-panel .s {
  color: #a8e0ac;
}

/* ---------- Dev site: community grid ---------- */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.community-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.community-card .icon-badge {
  margin-bottom: 12px;
}

.community-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.community-card p {
  font-size: 14px;
  color: var(--gray-600);
  margin: 8px 0 12px;
  flex: 1;
}

.community-card a.go {
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
}

/* ---------- Dev site: footer "who is behind" panel ---------- */
.footer-about-panel {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.footer-about-panel h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 16px;
}

.footer-about-panel p {
  color: #b9cdd8;
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 28px;
}

.footer-about-panel p a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}

.footer-about-panel .btn-navy {
  border-radius: var(--radius-sm);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics, .programs-layout, .agora-layout, .split, .insights-layout {
    flex-direction: column;
  }
  .footer-cols {
    gap: 40px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .section-head h2, .metrics .heading-block h2, .agora-content h2, .cta-box h2 {
    font-size: 34px;
  }
  .nav-row {
    padding: 18px 24px;
  }
  section {
    padding: 64px 24px;
  }
  .hero {
    padding: 64px 24px;
  }
  .hero-page {
    padding: 56px 24px 64px;
  }
  .testi-grid, .community-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .std-grid, .std-grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .testi-carousel {
    padding: 8px 54px 0;
  }
  .testi-quote {
    font-size: 20px;
  }
  .hero-split {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-split .col-code {
    max-width: 100%;
  }
  .hero-split .col-text h1 {
    font-size: 40px;
  }
  .corner-ribbon {
    width: 130px;
    height: 130px;
  }
  .corner-ribbon a {
    width: 190px;
    top: 30px;
    right: -50px;
    font-size: 11px;
    padding: 6px 0;
  }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .metric-grid {
    grid-template-columns: 1fr;
  }
  .insight-row {
    flex-direction: column;
  }
  .insight-row .thumb {
    width: 100%;
  }
  .footer-top {
    flex-direction: column;
  }
  .cta-box {
    padding: 40px 24px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-split .col-text h1 {
    font-size: 30px;
  }
  .testi-grid, .community-grid, .std-grid, .std-grid-cards {
    grid-template-columns: 1fr;
  }
  .code-panel {
    font-size: 12.5px;
    padding: 20px;
  }
  .testi-carousel {
    padding: 8px 44px 0;
  }
  .testi-quote {
    font-size: 17px;
  }
  .testi-arrow {
    width: 34px;
    height: 34px;
    font-size: 20px;
    top: 30px;
  }
  .footer-about-panel h3 {
    font-size: 22px;
  }
}
/* ---------- Mobile Menu / Hamburger ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--nav-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 1080px) {
  /* Show hamburger, reposition nav for mobile */
  .hamburger {
    display: flex;
  }
  nav.main-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
  }
  nav.main-nav.open {
    max-height: 400px;
    padding: 12px 24px 20px;
  }
  nav.main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  nav.main-nav ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  nav.main-nav ul li:last-child {
    border-bottom: none;
  }
  nav.main-nav a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
  }
}
/* ---------- OWS page: info box ---------- */
.ows-info-box {
  background: var(--bg-alt);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 24px 28px;
  max-width: 900px;
  margin: 0 auto 56px;
}

.ows-info-box p {
  margin: 0;
  color: var(--gray-700);
  font-size: 15.5px;
  line-height: 1.7;
}

.ows-info-box a {
  color: var(--navy);
  font-weight: 700;
}

/* ---------- OWS page: page title ---------- */
.page-title {
  font-size: 28px;
}