:root {
  --ink: #081014;
  --ink-soft: #42545c;
  --paper: #e9eef0;
  --paper-bright: #f8fbfa;
  --line: rgba(8, 16, 20, 0.16);
  --blue: #00a7c7;
  --blue-deep: #061e28;
  --solar: #f6c744;
  --coral: #ff684d;
  --green: #36b37e;
  --shadow: 0 28px 80px rgba(6, 30, 40, 0.22);
  --display: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(8, 16, 20, 0.08) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(180deg, #f8fbfa 0%, #e9eef0 52%, #dfecef 100%);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

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

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

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(8, 16, 20, 0.88);
  border-bottom: 1px solid transparent;
  color: white;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(0, 167, 199, 0.28);
  box-shadow: 0 8px 30px rgba(8, 16, 20, 0.18);
}

.brand,
.hero-actions,
.site-footer,
.workshop-topics,
.use-case-grid {
  align-items: center;
  display: flex;
}

.brand {
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  background: var(--blue);
  border-radius: 2px;
  box-shadow: 6px 6px 0 var(--solar);
  display: inline-block;
  height: 26px;
  position: relative;
  width: 26px;
}

.brand-mark::after {
  background: var(--ink);
  content: "";
  height: 5px;
  left: 6px;
  position: absolute;
  top: 11px;
  width: 14px;
}

.top-nav {
  align-items: center;
  display: flex;
  gap: clamp(12px, 2.2vw, 30px);
  justify-content: center;
  margin-left: auto;
}

.top-nav > a,
.services-trigger {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
}

.top-nav > a:hover,
.services-trigger:hover,
.services-trigger[aria-expanded="true"],
.text-link:hover {
  color: var(--solar);
}

.services-menu {
  position: relative;
}

.services-trigger {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  gap: 8px;
  padding: 0;
}

.services-trigger i {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  display: block;
  height: 7px;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
  width: 7px;
}

.services-trigger[aria-expanded="true"] i {
  transform: translateY(2px) rotate(225deg);
}

.services-panel {
  background: rgba(8, 16, 20, 0.96);
  border: 1px solid rgba(0, 167, 199, 0.32);
  box-shadow: 12px 12px 0 rgba(0, 167, 199, 0.2);
  display: grid;
  min-width: 290px;
  opacity: 0;
  padding: 8px;
  pointer-events: none;
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  transform: translateY(-8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.services-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.services-panel a {
  border-left: 3px solid transparent;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 800;
  padding: 12px 13px;
}

.services-panel a:hover {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--solar);
  color: white;
}

.nav-cta {
  background: var(--solar);
  border-radius: 2px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 9px 17px;
  text-transform: uppercase;
}

.nav-cta:hover {
  background: white;
}

.hero {
  background: var(--ink);
  color: white;
  min-height: 100svh;
  overflow: hidden;
  padding: 118px clamp(18px, 5vw, 72px) 44px;
  position: relative;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(8, 16, 20, 0.96) 0%, rgba(8, 16, 20, 0.84) 43%, rgba(8, 16, 20, 0.34) 72%, rgba(8, 16, 20, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 167, 199, 0.18), transparent 52%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  inset: 0;
  mix-blend-mode: screen;
  opacity: 0.52;
  position: absolute;
  z-index: 2;
}

.hero-media {
  inset: 0;
  position: absolute;
}

.hero-media img {
  filter: contrast(1.16) saturate(0.9);
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.hero-copy {
  max-width: 820px;
  min-height: calc(100svh - 190px);
  position: relative;
  z-index: 3;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.92;
}

h1 {
  font-size: clamp(3.25rem, 7.8vw, 8rem);
  margin-bottom: 26px;
  max-width: 1040px;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.15rem, 5vw, 5.1rem);
  margin-bottom: 22px;
}

h3 {
  font-size: 1.14rem;
  line-height: 1.25;
  margin-bottom: 14px;
}

.hero-lede {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  max-width: 700px;
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.signal-strip span {
  background: rgba(0, 167, 199, 0.12);
  border: 1px solid rgba(0, 167, 199, 0.38);
  color: #a9f3ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 7px 10px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  align-items: center;
  border-radius: 2px;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
}

.button.primary {
  background: var(--solar);
  box-shadow: 8px 8px 0 rgba(0, 167, 199, 0.38);
  color: var(--ink);
}

.button.primary:hover {
  background: white;
}

.button.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: white;
}

.button-icon {
  border: 2px solid currentColor;
  border-radius: 2px;
  height: 14px;
  position: relative;
  width: 14px;
}

.button-icon::after {
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  content: "";
  height: 5px;
  left: 3px;
  position: absolute;
  top: 3px;
  transform: rotate(45deg);
  width: 5px;
}

.hero-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin: 54px 0 0;
  max-width: 880px;
}

.hero-metrics div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  padding: 16px;
  position: relative;
}

.hero-metrics div::before {
  background: var(--blue);
  content: "";
  height: 2px;
  left: 16px;
  position: absolute;
  right: 16px;
  top: -1px;
}

.hero-metrics dt {
  font-weight: 900;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.hero-metrics dd {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
  margin: 0;
}

.section,
.value-band,
.cta-section {
  margin: 0 auto;
  max-width: 1240px;
  padding: clamp(70px, 9vw, 124px) clamp(18px, 4vw, 42px);
}

.proof-section {
  background: var(--ink);
  color: white;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: none;
  padding: 1px;
}

.proof-section div {
  background:
    linear-gradient(135deg, rgba(0, 167, 199, 0.12), transparent 42%),
    #0c171c;
  min-height: 178px;
  padding: clamp(22px, 4vw, 40px);
}

.proof-section span,
.field-grid span,
.impact-grid span {
  color: var(--solar);
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.proof-section strong {
  display: block;
  font-size: clamp(1.45rem, 2.2vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 420px;
}

.value-band {
  background: var(--solar);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  max-width: none;
}

.value-band p {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.02;
  margin: 0 auto;
  max-width: 1180px;
}

.split-section {
  display: grid;
  gap: clamp(34px, 6vw, 88px);
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
}

.section-heading p,
.copy-stack p,
.production-copy p,
.workshop-layout p,
.cta-section p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 710px;
}

.use-case-grid,
.workshop-topics {
  flex-wrap: wrap;
  gap: 10px;
}

.use-case-grid span,
.workshop-topics span {
  background: var(--ink);
  border: 1px solid rgba(0, 167, 199, 0.28);
  border-radius: 2px;
  color: white;
  font-size: 0.94rem;
  font-weight: 800;
  padding: 9px 13px;
}

.responsible-section {
  background:
    linear-gradient(135deg, rgba(0, 167, 199, 0.15), transparent 34%),
    var(--blue-deep);
  border-radius: 0;
  color: white;
  max-width: 1180px;
  outline: 1px solid rgba(0, 167, 199, 0.32);
  outline-offset: -12px;
}

.responsible-section .eyebrow,
.responsible-section .section-heading p {
  color: #a7f3ff;
}

.principle-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
}

.principle-list li {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  display: flex;
  gap: 12px;
  padding: 16px;
}

.principle-list span {
  background: var(--solar);
  border-radius: 0;
  flex: 0 0 10px;
  height: 10px;
  margin-top: 8px;
}

.principle-list p {
  margin: 0;
}

.services-grid,
.post-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.field-section {
  background: var(--paper-bright);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  max-width: none;
}

.field-copy,
.field-grid,
.impact-section .section-heading,
.impact-grid {
  margin-left: auto;
  margin-right: auto;
  max-width: 1240px;
}

.field-copy h2 {
  max-width: 990px;
}

.field-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}

.field-grid article {
  background: var(--ink);
  border-left: 5px solid var(--coral);
  color: white;
  min-height: 190px;
  padding: 24px;
}

.field-grid article:nth-child(2) {
  border-left-color: var(--blue);
}

.field-grid article:nth-child(3) {
  border-left-color: var(--solar);
}

.field-grid p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.15rem;
  margin: 0;
}

.service-card,
.post-card a,
.production-panel,
.architecture-board {
  background: rgba(248, 251, 250, 0.88);
  border: 1px solid rgba(8, 16, 20, 0.2);
  border-radius: 2px;
  box-shadow: 8px 8px 0 rgba(8, 16, 20, 0.08);
}

.service-card {
  min-height: 238px;
  padding: 20px;
  position: relative;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.service-card::before,
.post-card a::before {
  background: var(--blue);
  content: "";
  height: 4px;
  left: -1px;
  position: absolute;
  right: -1px;
  top: -1px;
}

.service-card:hover,
.post-card a:hover {
  box-shadow: 12px 12px 0 rgba(0, 167, 199, 0.18);
  transform: translate(-2px, -2px);
}

.card-index {
  color: var(--coral);
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 30px;
}

.service-card p,
.post-card p,
.production-panel li {
  color: var(--ink-soft);
}

.process-list {
  counter-reset: process;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.process-list li {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}

.process-list span {
  color: var(--blue-deep);
  display: inline-block;
  font-weight: 900;
  min-width: 86px;
  text-transform: uppercase;
}

.cost-section {
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
}

.architecture-board {
  align-self: center;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  min-height: 330px;
  padding: 24px;
  position: relative;
}

.architecture-board::before {
  border: 1px dashed rgba(0, 167, 199, 0.52);
  border-radius: 2px;
  content: "";
  inset: 28px;
  position: absolute;
}

.architecture-board div {
  align-items: center;
  background: var(--ink);
  border: 1px solid rgba(0, 167, 199, 0.28);
  border-radius: 2px;
  color: white;
  display: flex;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 800;
  justify-content: center;
  min-height: 82px;
  position: relative;
  z-index: 1;
}

.architecture-board div:nth-child(4) {
  background: var(--solar);
  color: var(--ink);
}

.production-section {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.impact-section {
  background:
    linear-gradient(90deg, rgba(8, 16, 20, 0.92), rgba(8, 16, 20, 0.84)),
    linear-gradient(90deg, rgba(0, 167, 199, 0.22) 1px, transparent 1px) 0 0 / 24px 24px;
  color: white;
  max-width: none;
}

.impact-section .section-heading p {
  color: var(--blue);
}

.impact-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.impact-grid div {
  border: 1px solid rgba(255, 255, 255, 0.14);
  min-height: 230px;
  padding: 24px;
}

.impact-grid h3 {
  color: white;
  font-size: 1.45rem;
}

.impact-grid p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.production-copy {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 13px),
    linear-gradient(135deg, var(--ink), var(--blue-deep));
  border-radius: 2px;
  color: white;
  padding: clamp(28px, 5vw, 58px);
}

.production-copy .eyebrow,
.production-copy p {
  color: #cde9ee;
}

.production-panel {
  padding: clamp(24px, 4vw, 42px);
}

.production-panel ul {
  margin: 22px 0 0;
  padding-left: 18px;
}

.production-panel li + li {
  margin-top: 11px;
}

.workshop-section {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.workshop-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
}

.text-link {
  color: var(--blue-deep);
  font-weight: 900;
}

.post-card a {
  display: block;
  min-height: 214px;
  padding: 22px;
  position: relative;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.post-card span {
  color: var(--coral);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 42px;
  text-transform: uppercase;
}

.cta-section {
  background: var(--ink);
  border: 1px solid rgba(0, 167, 199, 0.28);
  border-radius: 2px;
  box-shadow: var(--shadow);
  color: white;
  margin-bottom: 64px;
  margin-top: 30px;
  max-width: 1120px;
}

.cta-section h2 {
  max-width: 860px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  background: var(--ink);
  border-top: 1px solid rgba(0, 167, 199, 0.28);
  color: rgba(255, 255, 255, 0.72);
  gap: 18px;
  justify-content: space-between;
  padding: 28px clamp(18px, 4vw, 56px);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 18px;
}

.site-footer a {
  color: white;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
    gap: 10px;
    min-height: auto;
  }

  .top-nav {
    flex: 1 0 100%;
    justify-content: flex-start;
    order: 3;
    overflow: visible;
  }

  .services-panel {
    left: 0;
    min-width: min(82vw, 300px);
  }

  .nav-cta {
    margin-left: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 145px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(8, 16, 20, 0.95) 0%, rgba(8, 16, 20, 0.88) 58%, rgba(8, 16, 20, 0.66) 100%);
  }

  .hero-copy {
    min-height: auto;
  }

  .hero-metrics,
  .proof-section,
  .split-section,
  .cost-section,
  .production-section,
  .workshop-layout,
  .field-grid,
  .impact-grid,
  .services-grid,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .principle-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding: 12px 14px;
  }

  .top-nav > a,
  .services-trigger,
  .services-panel a {
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section,
  .value-band,
  .cta-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .architecture-board {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
