/* ──────────────────────────────────────────────────────────────
   Portfolio v2 — extends about.css
   ────────────────────────────────────────────────────────────── */

/* All sections full-bleed, no Bootstrap container constraints here */

/* ───────── Hero ───────── */
.hero-section {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  height: 600px;
  position: relative;
  background-color: #131926;
}

.top-text { padding-top: 200px; margin-top: 0; }

#top-section h1 {
  font-weight: 700;
  font-size: 48px;
  line-height: 64px;
  text-transform: uppercase;
  color: #fff;
  text-align: left;
}

#top-section .hero-sub {
  padding-top: 14px;
  text-align: left;
  color: rgba(255,255,255,.65);
  font-size: 18px;
  line-height: 28px;
  max-width: 580px;
}

.container {
  padding-right: 15px;
  padding-left: 48px;
  margin-right: auto;
  margin-left: auto;
  max-width: 970px;
}

.container-fluid {
  margin-right: auto;
  margin-left: auto;
  max-width: 970px;
}

/* Prevent full-bleed arch-block from causing horizontal scroll */
body { overflow-x: hidden; }

#footer .footer-text {
  width: 450px;
  color: #e8e8e8;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
#footer .footer-content {
  float: none;
  width: auto;
}

/* ───────── Section base ───────── */
.platform-section {
  padding: 110px 0 90px;
  position: relative;
}

.platform-section.tone-a { background-color: #131926; }
.platform-section.tone-b { background-color: #0d1219; }
.platform-section.tone-c { background-color: #122028; }

.platform-section + .platform-section { border-top: 1px solid rgba(255,255,255,.04); }

/* Eyebrow */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(127,244,211,.7);
  margin-bottom: 18px;
}
.eyebrow.eyebrow-warm   { color: rgba(255,158,92,.75); }
.eyebrow.eyebrow-violet { color: rgba(213,206,236,.75); }
.eyebrow.eyebrow-pink   { color: rgba(255,176,151,.75); }

.eyebrow .eyebrow-divider {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 14px;
  opacity: .5;
}

/* Title block */
.platform-title {
  font-size: 56px;
  line-height: 64px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -1px;
}

@media screen and (max-width: 768px) {
  .platform-title { font-size: 38px; line-height: 46px; }
}

.platform-tagline {
  font-size: 22px;
  line-height: 34px;
  color: rgba(255,255,255,.75);
  font-weight: 300;
  max-width: 760px;
  margin: 0 0 36px;
}

@media screen and (max-width: 768px) {
  .platform-tagline { font-size: 18px; line-height: 28px; }
}

.platform-tagline strong { font-weight: 600; color: #fff; }

/* Prominent URL button */
.url-bar {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 24px;
  background: rgba(127,244,211,.06);
  border: 1px solid rgba(127,244,211,.25);
  text-decoration: none;
  margin-bottom: 36px;
  transition: background .2s, border-color .2s, transform .15s;
}
.url-bar:hover {
  background: rgba(127,244,211,.12);
  border-color: rgba(127,244,211,.5);
  transform: translateY(-1px);
  text-decoration: none;
}
.url-bar .url-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(127,244,211,.7);
  border-right: 1px solid rgba(127,244,211,.2);
  padding-right: 14px;
}
.url-bar .url-value {
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  font-family: 'Courier New', monospace;
  letter-spacing: -.3px;
}
.url-bar .url-arrow {
  color: rgba(127,244,211,.6);
  font-size: 18px;
  transition: transform .2s, color .2s;
}
.url-bar:hover .url-arrow { color: #7FF4D3; transform: translateX(4px); }

.url-bar.url-warm   { background: rgba(255,158,92,.06); border-color: rgba(255,158,92,.25); }
.url-bar.url-warm:hover { background: rgba(255,158,92,.12); border-color: rgba(255,158,92,.5); }
.url-bar.url-warm .url-label, .url-bar.url-warm .url-arrow { color: rgba(255,158,92,.7); border-color: rgba(255,158,92,.2); }
.url-bar.url-warm:hover .url-arrow { color: #FF9E5C; }

.url-bar.url-violet   { background: rgba(213,206,236,.06); border-color: rgba(213,206,236,.25); }
.url-bar.url-violet:hover { background: rgba(213,206,236,.12); border-color: rgba(213,206,236,.5); }
.url-bar.url-violet .url-label, .url-bar.url-violet .url-arrow { color: rgba(213,206,236,.7); border-color: rgba(213,206,236,.2); }
.url-bar.url-violet:hover .url-arrow { color: #D5CEEC; }

.url-bar.url-pink   { background: rgba(255,176,151,.06); border-color: rgba(255,176,151,.25); }
.url-bar.url-pink:hover { background: rgba(255,176,151,.12); border-color: rgba(255,176,151,.5); }
.url-bar.url-pink .url-label, .url-bar.url-pink .url-arrow { color: rgba(255,176,151,.7); border-color: rgba(255,176,151,.2); }
.url-bar.url-pink:hover .url-arrow { color: #FFB097; }

.url-bar-status {
  display: inline-block;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(127,244,211,.08);
  color: #7FF4D3;
  border: 1px solid rgba(127,244,211,.25);
  margin-left: 14px;
  vertical-align: middle;
}

/* ───────── Screenshot showcase ───────── */
.showcase-wrap {
  margin: 60px 0 80px;
  position: relative;
}

.showcase-frame {
  width: 100%;
  position: relative;
  background: #000;
  border: 1px solid rgba(255,255,255,.08);
  cursor: zoom-in;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 8px 20px rgba(0,0,0,.4);
}

.showcase-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s ease;
}

.showcase-frame:hover img { transform: scale(1.005); }

.showcase-frame::after {
  content: "↗ click to expand";
  position: absolute;
  bottom: 14px;
  right: 18px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.5);
  background: rgba(0,0,0,.5);
  padding: 6px 10px;
  pointer-events: none;
  transition: color .2s, background .2s;
}

.showcase-frame:hover::after { color: #fff; background: rgba(0,0,0,.7); }

.showcase-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  font-family: 'Outfit', sans-serif;
  letter-spacing: .3px;
  pointer-events: none;
}

/* Thumbs */
.showcase-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.thumb-wrap {
  position: relative;
  cursor: pointer;
  opacity: .45;
  transition: opacity .25s, border-color .25s;
  border: 2px solid transparent;
}

.thumb-wrap img {
  height: 70px;
  width: auto;
  display: block;
}

.thumb-wrap:hover { opacity: .8; }
.thumb-wrap.active { opacity: 1; border-color: rgba(127,244,211,.6); }

/* ───────── Lightbox ───────── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,.95);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img { max-width: 96vw; max-height: 92vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 20px; right: 28px;
  font-size: 32px; color: rgba(255,255,255,.6); cursor: pointer;
  line-height: 1; transition: color .2s; z-index: 100000;
}
.lightbox-close:hover { color: #fff; }

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  font-family: 'Outfit', sans-serif;
  letter-spacing: .3px;
  text-align: center;
  max-width: 80vw;
  pointer-events: none;
}

/* ───────────────────────────────────────────────────────────
   ARCHITECTURE DIAGRAMS — full-width SVG
   ─────────────────────────────────────────────────────────── */
.arch-block {
  margin: 60px calc(50% - 50vw) 0;
  width: 100vw;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(127,244,211,.04), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  background-color: #131926;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 70px 0 80px;
  overflow: hidden;
}

.arch-block.arch-warm {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,158,92,.04), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  background-color: #0d1219;
}

.arch-block.arch-violet {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(213,206,236,.04), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  background-color: #122028;
}

.arch-block .container { max-width: 1280px; padding-left: 40px; padding-right: 40px; }

.arch-block .arch-header {
  text-align: center;
  margin-bottom: 50px;
}

.arch-block .arch-eyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,255,255,.35);
  margin-bottom: 12px;
}

.arch-block .arch-title {
  font-size: 22px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin: 0;
  letter-spacing: -.3px;
}

.arch-svg-wrap {
  width: 100%;
  position: relative;
}

.arch-svg-wrap svg { width: 100%; height: auto; display: block; }

/* SVG node text */
.arch-svg-wrap text {
  font-family: 'Outfit', 'Helvetica Neue', sans-serif;
  fill: rgba(255,255,255,.85);
}
.arch-svg-wrap .nlabel {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.arch-svg-wrap .nsub {
  font-size: 10px;
  fill: rgba(255,255,255,.4);
  letter-spacing: .3px;
}
.arch-svg-wrap .ntype {
  font-size: 9px;
  fill: rgba(255,255,255,.3);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* SVG nodes (rectangles with subtle glow) */
.arch-svg-wrap .node-box {
  fill: rgba(255,255,255,.025);
  stroke: rgba(255,255,255,.12);
  stroke-width: 1;
}

.arch-svg-wrap .node-box.accent-cool   { stroke: rgba(127,244,211,.5); }
.arch-svg-wrap .node-box.accent-warm   { stroke: rgba(255,158,92,.5); }
.arch-svg-wrap .node-box.accent-violet { stroke: rgba(213,206,236,.5); }
.arch-svg-wrap .node-box.accent-pink   { stroke: rgba(255,176,151,.5); }
.arch-svg-wrap .node-box.accent-blue   { stroke: rgba(128,191,255,.5); }

.arch-svg-wrap .node-marker {
  fill: rgba(127,244,211,.9);
  filter: drop-shadow(0 0 4px rgba(127,244,211,.5));
}
.arch-svg-wrap .node-marker.m-warm   { fill: rgba(255,158,92,.9);  filter: drop-shadow(0 0 4px rgba(255,158,92,.5)); }
.arch-svg-wrap .node-marker.m-violet { fill: rgba(213,206,236,.9); filter: drop-shadow(0 0 4px rgba(213,206,236,.5)); }
.arch-svg-wrap .node-marker.m-pink   { fill: rgba(255,176,151,.9); filter: drop-shadow(0 0 4px rgba(255,176,151,.5)); }
.arch-svg-wrap .node-marker.m-blue   { fill: rgba(128,191,255,.9); filter: drop-shadow(0 0 4px rgba(128,191,255,.5)); }

/* Static connector lines */
.arch-svg-wrap .conn-line {
  stroke: rgba(255,255,255,.1);
  stroke-width: 1;
  fill: none;
}

/* Static flow connector lines */
.arch-svg-wrap .flow-path {
  stroke: rgba(127,244,211,.6);
  stroke-width: 2;
  fill: none;
}
.arch-svg-wrap .flow-path.fp-warm   { stroke: rgba(255,158,92,.6); }
.arch-svg-wrap .flow-path.fp-violet { stroke: rgba(213,206,236,.6); }
.arch-svg-wrap .flow-path.fp-pink   { stroke: rgba(255,176,151,.6); }
.arch-svg-wrap .flow-path.fp-blue   { stroke: rgba(128,191,255,.6); }

/* Node groups — static, full opacity */
.arch-svg-wrap .node-pulse {
  opacity: 1;
}

/* Layer labels (vertical group dividers) */
.arch-svg-wrap .layer-label {
  font-size: 9px;
  font-weight: 700;
  fill: rgba(255,255,255,.3);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.arch-svg-wrap .layer-divider {
  stroke: rgba(255,255,255,.06);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}

/* Hide diagram labels on mobile, keep node compact */
@media screen and (max-width: 768px) {
  .arch-block { padding: 50px 0 60px; }
  .arch-block .container { padding-left: 20px; padding-right: 20px; }
  .arch-block .arch-title { font-size: 18px; }
}

/* ───────────────────────────────────────────────────────────
   KELP ARCH — crown-jewel large integrated diagram
   ─────────────────────────────────────────────────────────── */
.kelp-arch-block {
  margin: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(127,244,211,.06), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(255,158,92,.04), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(255,176,151,.04), transparent 60%),
    linear-gradient(180deg, #0d1219 0%, #112028 100%);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 90px 0 110px;
  overflow: hidden;
}

.kelp-arch-block .container { max-width: 1400px; padding: 0 40px; }

/* Full-width container for the KelpObserve diagram */
.kelp-arch-container { max-width: 100%; padding: 0 24px; margin: 0 auto; }
.kelp-arch-container .kelp-arch-header { max-width: 960px; margin-left: auto; margin-right: auto; }

.kelp-arch-header {
  text-align: center;
  margin-bottom: 60px;
}

.kelp-arch-header .kelp-arch-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #7FF4D3;
  margin-bottom: 18px;
}

.kelp-arch-header h2 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 18px;
  line-height: 52px;
  letter-spacing: -.5px;
  max-width: 920px;
}

.kelp-arch-header p {
  font-size: 16px;
  line-height: 26px;
  color: rgba(255,255,255,.6);
  max-width: 760px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .kelp-arch-block { padding: 60px 0 70px; }
  .kelp-arch-header h2 { font-size: 28px; line-height: 36px; }
}

/* SVG cluster backdrops (dashed grouping rects) */
.arch-svg-wrap .cluster-bg {
  fill: rgba(255,255,255,.015);
  stroke: rgba(255,255,255,.08);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

.arch-svg-wrap .cluster-bg.cb-warm   { stroke: rgba(255,158,92,.18); fill: rgba(255,158,92,.025); }
.arch-svg-wrap .cluster-bg.cb-cool   { stroke: rgba(127,244,211,.22); fill: rgba(127,244,211,.03); }
.arch-svg-wrap .cluster-bg.cb-violet { stroke: rgba(213,206,236,.18); fill: rgba(213,206,236,.025); }
.arch-svg-wrap .cluster-bg.cb-blue   { stroke: rgba(128,191,255,.18); fill: rgba(128,191,255,.025); }
.arch-svg-wrap .cluster-bg.cb-pink   { stroke: rgba(255,176,151,.18); fill: rgba(255,176,151,.025); }

/* PVS platforms band — solid emphasis backdrop */
.arch-svg-wrap .platform-band {
  fill: rgba(127,244,211,.04);
  stroke: rgba(127,244,211,.25);
  stroke-width: 1.5;
}

.arch-svg-wrap .cluster-label {
  font-size: 10px;
  font-weight: 700;
  fill: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Outfit', sans-serif;
}
.arch-svg-wrap .cluster-label.cl-warm   { fill: rgba(255,158,92,.85); }
.arch-svg-wrap .cluster-label.cl-cool   { fill: rgba(127,244,211,.95); }
.arch-svg-wrap .cluster-label.cl-violet { fill: rgba(213,206,236,.85); }
.arch-svg-wrap .cluster-label.cl-blue   { fill: rgba(128,191,255,.85); }
.arch-svg-wrap .cluster-label.cl-pink   { fill: rgba(255,176,151,.85); }

/* Row labels on the left */
.arch-svg-wrap .row-label {
  font-size: 9px;
  font-weight: 700;
  fill: rgba(255,255,255,.25);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: 'Outfit', sans-serif;
}

/* Three-act headers for illustrated diagram */
.arch-svg-wrap .act-label {
  font-size: 18px;
  font-weight: 700;
  fill: rgba(255,255,255,.78);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-family: 'Outfit', sans-serif;
}

/* KelpObserve illustrated story diagram */
.kelp-story-wrap .story-divider {
  stroke: rgba(255,255,255,.08);
  stroke-width: 1;
}

.kelp-story-wrap .story-title,
.kelp-story-wrap .platform-title,
.kelp-story-wrap .step-title,
.kelp-story-wrap .outcome-title {
  fill: rgba(255,255,255,.9);
  font-family: 'Outfit', sans-serif;
}

.kelp-story-wrap .story-title {
  font-size: 22px;
  font-weight: 700;
}

.kelp-story-wrap .story-copy,
.kelp-story-wrap .step-copy,
.kelp-story-wrap .outcome-copy {
  fill: rgba(255,255,255,.58);
  font-family: 'Outfit', sans-serif;
}

.kelp-story-wrap .story-copy {
  font-size: 14px;
}

.kelp-story-wrap .story-note {
  font-size: 13px;
  fill: rgba(255,255,255,.58);
  font-family: 'Outfit', sans-serif;
}

.kelp-story-wrap .warm-text { fill: rgba(255,158,92,.9); }
.kelp-story-wrap .blue-text { fill: rgba(128,191,255,.9); }
.kelp-story-wrap .pink-text { fill: rgba(255,176,151,.9); }

.kelp-story-wrap .flat-stroke {
  fill: none;
  stroke-width: 1.7;
  stroke-linejoin: round;
}

.kelp-story-wrap .flat-line,
.kelp-story-wrap .signal-line,
.kelp-story-wrap .story-flow,
.kelp-story-wrap .reef-line,
.kelp-story-wrap .sea-line,
.kelp-story-wrap .kelp-forest path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kelp-story-wrap .flat-line { stroke-width: 1.8; }
.kelp-story-wrap .flat-line.thin { stroke-width: 1.1; }
.kelp-story-wrap .signal-line {
  stroke-width: 1.2;
  stroke-dasharray: 4 7;
}

.kelp-story-wrap .warm { stroke: rgba(255,158,92,.7); }
.kelp-story-wrap .blue { stroke: rgba(128,191,255,.7); }
.kelp-story-wrap .pink { stroke: rgba(255,176,151,.72); }
.kelp-story-wrap .cool { stroke: rgba(127,244,211,.72); }
.kelp-story-wrap .violet { stroke: rgba(213,206,236,.72); }

.kelp-story-wrap .flat-fill.warm,
.kelp-story-wrap .flat-fill.warm-soft { fill: rgba(255,158,92,.14); }
.kelp-story-wrap .flat-fill.blue,
.kelp-story-wrap .flat-fill.blue-soft { fill: rgba(128,191,255,.14); }
.kelp-story-wrap .flat-fill.pink,
.kelp-story-wrap .flat-fill.pink-soft { fill: rgba(255,176,151,.14); }
.kelp-story-wrap .flat-fill.cool,
.kelp-story-wrap .flat-fill.cool-soft { fill: rgba(127,244,211,.16); }
.kelp-story-wrap .flat-fill.violet,
.kelp-story-wrap .flat-fill.violet-soft { fill: rgba(213,206,236,.14); }
.kelp-story-wrap .flat-fill.dark { fill: rgba(8,18,25,.82); }
.kelp-story-wrap .flat-fill.diver-dark { fill: rgba(16,31,40,.95); }

.kelp-story-wrap .sea-line {
  stroke: rgba(128,191,255,.45);
  stroke-width: 2;
}
.kelp-story-wrap .sea-line.faint {
  stroke: rgba(128,191,255,.22);
  stroke-width: 1.3;
}
.kelp-story-wrap .reef-line {
  stroke: rgba(255,255,255,.22);
  stroke-width: 2;
}

.kelp-story-wrap .kelp-forest path {
  stroke: rgba(127,244,211,.62);
  stroke-width: 4;
}
.kelp-story-wrap .kelp-blades ellipse {
  fill: rgba(127,244,211,.22);
  stroke: rgba(127,244,211,.35);
  stroke-width: .8;
}
.kelp-story-wrap .bubble {
  fill: none;
  stroke: rgba(128,191,255,.42);
  stroke-width: 1.2;
}

.kelp-story-wrap .story-flow {
  stroke-width: 2.5;
  stroke-dasharray: 7 9;
}
.kelp-story-wrap .story-flow.warm { stroke: rgba(255,158,92,.62); }
.kelp-story-wrap .story-flow.blue { stroke: rgba(128,191,255,.62); }
.kelp-story-wrap .story-flow.pink { stroke: rgba(255,176,151,.62); }
.kelp-story-wrap .story-flow.violet { stroke: rgba(213,206,236,.62); }

.kelp-story-wrap .platform-panel {
  fill: rgba(13,29,38,.9);
  stroke: rgba(127,244,211,.35);
  stroke-width: 1.4;
}
.kelp-story-wrap .platform-title {
  font-size: 25px;
  font-weight: 700;
}
.kelp-story-wrap .platform-sub {
  font-size: 12px;
  font-weight: 700;
  fill: rgba(127,244,211,.9);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.kelp-story-wrap .workflow-spine {
  stroke: rgba(255,255,255,.16);
  stroke-width: 1.5;
  stroke-dasharray: 3 8;
}
.kelp-story-wrap .step-dot {
  stroke-width: 2;
}
.kelp-story-wrap .step-dot.warm { fill: rgba(255,158,92,.16); stroke: rgba(255,158,92,.72); }
.kelp-story-wrap .step-dot.cool { fill: rgba(127,244,211,.16); stroke: rgba(127,244,211,.72); }
.kelp-story-wrap .step-dot.violet { fill: rgba(213,206,236,.16); stroke: rgba(213,206,236,.72); }
.kelp-story-wrap .step-dot.blue { fill: rgba(128,191,255,.16); stroke: rgba(128,191,255,.72); }
.kelp-story-wrap .step-icon {
  fill: none;
  stroke: rgba(255,255,255,.82);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.kelp-story-wrap .step-icon.thin { stroke-width: 1; }
.kelp-story-wrap .step-fill { fill: rgba(255,255,255,.78); }
.kelp-story-wrap .step-fill.pink { fill: rgba(255,176,151,.78); }
.kelp-story-wrap .step-title {
  font-size: 18px;
  font-weight: 700;
}
.kelp-story-wrap .step-copy {
  font-size: 13px;
}

.kelp-story-wrap .outcome-title {
  font-size: 21px;
  font-weight: 700;
}
.kelp-story-wrap .outcome-copy {
  font-size: 14px;
}

/* Platform brand label inside band */
.arch-svg-wrap .brand-label {
  font-size: 13px;
  font-weight: 700;
  fill: #fff;
  letter-spacing: -.2px;
  font-family: 'Outfit', sans-serif;
}

.arch-svg-wrap .brand-sub {
  font-size: 9px;
  fill: rgba(255,255,255,.5);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
}

/* Smaller node labels for dense diagram */
.arch-svg-wrap .nlabel-sm {
  font-size: 11px;
  font-weight: 600;
  fill: rgba(255,255,255,.85);
  font-family: 'Outfit', sans-serif;
}
.arch-svg-wrap .nsub-sm {
  font-size: 9px;
  fill: rgba(255,255,255,.45);
  font-family: 'Outfit', sans-serif;
}

/* Legend */
.kelp-arch-legend {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.05);
}

.kelp-arch-legend .lg-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,.65);
}

.kelp-arch-legend .lg-swatch {
  width: 14px;
  height: 14px;
  border: 1.5px solid;
}

.kelp-arch-legend .lg-warm   { border-color: rgba(255,158,92,.7); background: rgba(255,158,92,.1); }
.kelp-arch-legend .lg-cool   { border-color: rgba(127,244,211,.7); background: rgba(127,244,211,.1); }
.kelp-arch-legend .lg-violet { border-color: rgba(213,206,236,.7); background: rgba(213,206,236,.1); }
.kelp-arch-legend .lg-blue   { border-color: rgba(128,191,255,.7); background: rgba(128,191,255,.1); }
.kelp-arch-legend .lg-pink   { border-color: rgba(255,176,151,.7); background: rgba(255,176,151,.1); }

/* ───────────────────────────────────────────────────────────
   RESEARCH PROJECT SECTIONS — full-width split
   ─────────────────────────────────────────────────────────── */
.research-intro {
  padding: 110px 0 60px;
  background-color: #112933;
  text-align: center;
}

.research-intro h2 {
  font-size: 48px;
  font-weight: 700;
  color: #FF9E5C;
  margin: 0 0 14px;
  letter-spacing: -.5px;
}

.research-intro p {
  font-size: 17px;
  color: rgba(255,255,255,.6);
  max-width: 640px;
  margin: 0 auto;
  line-height: 28px;
}

/* Each research project = full-width section */
.research-section {
  padding: 0;
  background-color: #131926;
  border-top: 1px solid rgba(255,255,255,.04);
}

.research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

@media screen and (max-width: 992px) {
  .research-grid { grid-template-columns: 1fr; }
}

.research-image {
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 420px;
}

.research-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19,25,38,.45), rgba(19,25,38,.15));
}

.research-image .image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(0,0,0,.6);
  color: rgba(255,255,255,.85);
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.research-content {
  padding: 70px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .research-content { padding: 50px 30px; }
}

/* Reverse alternating layout */
.research-section.reverse .research-grid > .research-image { order: 2; }
.research-section.reverse .research-grid > .research-content { order: 1; }

@media screen and (max-width: 992px) {
  .research-section.reverse .research-grid > .research-image,
  .research-section.reverse .research-grid > .research-content { order: 0; }
}

.research-content .r-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255,176,151,.75);
  margin-bottom: 16px;
}

.research-content h3 {
  font-size: 38px;
  line-height: 46px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -.5px;
}

.research-content .r-tagline {
  font-size: 17px;
  line-height: 28px;
  color: rgba(255,255,255,.7);
  font-weight: 300;
  margin: 0 0 24px;
}

.research-content .r-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 28px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.research-content .r-meta-row {
  display: flex;
  gap: 14px;
  font-size: 13px;
  line-height: 20px;
}

.research-content .r-meta-key {
  flex: 0 0 110px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: rgba(255,176,151,.7);
  padding-top: 2px;
}

.research-content .r-meta-val {
  color: rgba(255,255,255,.7);
  flex: 1;
}

.research-content .r-deliverables {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.research-content .r-deliverables li {
  font-size: 14px;
  line-height: 22px;
  color: rgba(255,255,255,.65);
  padding: 5px 0 5px 20px;
  position: relative;
}

.research-content .r-deliverables li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #FFB097;
  font-weight: 600;
}

.research-content .r-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.r-link-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: rgba(255,176,151,.08);
  border: 1px solid rgba(255,176,151,.4);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, transform .15s, border-color .2s;
}

.r-link-primary:hover {
  background: rgba(255,176,151,.16);
  border-color: #FFB097;
  text-decoration: none;
  color: #fff;
  transform: translateY(-1px);
}

.r-link-primary .arrow { color: #FFB097; transition: transform .2s; }
.r-link-primary:hover .arrow { transform: translateX(3px); }

.r-link-secondary {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  padding: 12px 16px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}

.r-link-secondary:hover { color: #fff; border-color: rgba(255,255,255,.3); text-decoration: none; }

.r-funder {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255,255,255,.025);
  border-left: 3px solid #FF9E5C;
  margin-bottom: 24px;
  font-size: 12px;
  color: rgba(255,255,255,.7);
}

.r-funder img { height: 28px; width: auto; opacity: .9; }
.r-funder strong { color: #FF9E5C; font-weight: 700; }

/* ───────────────────────────────────────────────────────────
   HORIZON CONTEXT BANNER
   ─────────────────────────────────────────────────────────── */
.horizon-banner {
  padding: 32px 0;
  background: #131926;
  border-bottom: 1px solid rgba(127,244,211,.12);
}
.horizon-banner-label {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 3px; color: #7FF4D3; margin: 0 0 12px;
}
.horizon-banner-text {
  font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.6);
  max-width: 860px; margin: 0;
}
.horizon-banner-text strong { color: rgba(255,255,255,.85); font-weight: 600; }

/* Horizon banner header with logo */
.horizon-banner-header {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 8px;
}
.horizon-logo {
  flex: 0 0 auto;
  height: 56px;
  width: auto;
  margin-top: 2px;
}

/* Horizon overview cards */
.horizon-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
@media screen and (max-width: 992px) { .horizon-cards { grid-template-columns: repeat(2, 1fr); } }
@media screen and (max-width: 576px) { .horizon-cards { grid-template-columns: 1fr; } }

.horizon-card {
  padding: 22px 20px;
  background: rgba(127,244,211,.04);
  border: 1px solid rgba(127,244,211,.15);
  transition: border-color .2s;
}
.horizon-card:hover { border-color: rgba(127,244,211,.35); }

.horizon-card-icon {
  width: 24px;
  height: 24px;
  color: #7FF4D3;
  margin-bottom: 14px;
  display: block;
}

.horizon-card h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #7FF4D3;
  margin: 0 0 10px;
}

.horizon-card p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.6);
  margin: 0;
}

.horizon-banner-outline {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.horizon-banner-outline-title {
  font-size: 14px; font-weight: 700; color: rgba(255,255,255,.7);
  text-transform: uppercase; letter-spacing: 2px; margin: 0 0 14px;
}
.horizon-banner-outline-list {
  list-style: none; margin: 0; padding: 0;
}
.horizon-banner-outline-list li {
  font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.55);
  padding: 5px 0 5px 18px; position: relative;
}
.horizon-banner-outline-list li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 6px; height: 6px; background: #7FF4D3;
}
.horizon-banner-outline-list li strong {
  color: rgba(255,255,255,.8); font-weight: 600;
}

/* ───────────────────────────────────────────────────────────
   TECH STACK
   ─────────────────────────────────────────────────────────── */
.tech-stack-section { padding: 100px 0; background-color: #0d1219; }
.tech-stack-section h2 {
  font-size: 32px; font-weight: 700; color: #fff; margin-bottom: 30px; letter-spacing: -.5px;
}

.tech-stack-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-top: 1px solid rgba(255,255,255,.06);
}
.tech-stack-grid .stack-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: #7FF4D3; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.04);
}
.tech-stack-grid .stack-value {
  font-size: 14px; color: rgba(255,255,255,.7); padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.04); line-height: 22px;
}
@media screen and (max-width: 576px) { .tech-stack-grid { grid-template-columns: 1fr; } }

/* Open source */
.open-source-section { padding: 70px 0; background-color: #131926; }
.open-source-section h3 { font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.open-source-section p { font-size: 15px; line-height: 26px; color: rgba(255,255,255,.65); max-width: 720px; margin: 0; }
.open-source-section a { color: #7FF4D3; text-decoration: none; border-bottom: 1px solid rgba(127,244,211,.3); }
.open-source-section a:hover { border-bottom-color: #7FF4D3; }

/* Contact CTA */
.contact-cta { padding: 90px 0; text-align: center; background-color: #0d1219; }
.contact-cta h2 { font-size: 32px; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: -.5px; }
.contact-cta p { font-size: 16px; color: rgba(255,255,255,.55); margin-bottom: 26px; }
.contact-cta a.cta-btn {
  display: inline-block; padding: 14px 32px; font-size: 15px; font-weight: 600;
  color: #131926; background: #7FF4D3; text-decoration: none;
  transition: background .2s, transform .1s;
}
.contact-cta a.cta-btn:hover { background: #5ce0bb; transform: translateY(-1px); }

/* ───────── Header overrides (same as about) ───────── */
.header-logo { padding-left: 48px; }
.header-logo div {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 71px;
  height: 90px;
}
.header-logo img { height: 90px; }
.header-toggle .bar { background-color: #eee; }
.header-nav a::before { content: none; }

@media only screen and (max-width: 1024px) {
  .header-logo { padding-left: 24px; z-index: 99999; }
  .header-logo img { height: 49px; }
}

.header-search svg { fill: rgba(255,255,255,1); }
.header-search svg:hover { fill: #fff; }
#search-open { text-align: center; }
.header-nav { width: 100%; padding-right: 48px; }
.link-nav { text-align: right; }
@media only screen and (max-width: 992px) { .link-nav { text-align: center; } #search-open { margin-left: 0; } }
.header-nav nav a {
  font-weight: 400; font-size: 16px; line-height: 24px; color: #fff;
  font-family: 'Gotham', sans-serif;
}
.header-nav nav a:hover { text-decoration: none; color: rgba(255,255,255,1); }

/* ───────── Reveal ───────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ───────── Hero responsive ───────── */
@media screen and (max-width: 768px) {
  #top-section h1 { font-size: 32px; line-height: 42px; }
  .hero-section { height: 460px; }
  .top-text { padding-top: 160px; }
  .platform-section { padding: 70px 0 60px; }
  .url-bar .url-value { font-size: 14px; }
}
