:root {
  --bg: #0a0f1a;
  --bg-2: #0f1624;
  --panel: #121b2b;
  --panel-2: #162235;
  --paper: #e8edf1;
  --paper-2: #dde4e9;
  --ink: #eef3f7;
  --ink-dark: #18222d;
  --light: #eef3f7;
  --light-muted: #9aa7b6;
  --muted: #9aa7b6;
  --muted-dark: #677482;
  --line: rgba(255,255,255,.09);
  --line-dark: rgba(17,24,39,.11);
  --accent: #69a7ff;
  --accent-2: #8ec5ff;
  --accent-soft: rgba(105,167,255,.14);
  --max: 1180px;
  --radius: 18px;
  --ease: cubic-bezier(.22,.68,.18,1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: rgba(105,167,255,.32);
  color: #fff;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.page-noise {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: .045;
  background-image:
    radial-gradient(rgba(255,255,255,.8) .5px, transparent .5px);
  background-size: 5px 5px;
}

.ambient {
  position: fixed;
  z-index: -2;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: .18;
  transform: translate3d(0,0,0);
}

.ambient--one {
  right: -260px;
  top: -180px;
  background: #2f69b4;
  animation: ambientFloat 18s ease-in-out infinite alternate;
}

.ambient--two {
  left: -340px;
  top: 44vh;
  background: #1a395e;
  animation: ambientFloat 22s ease-in-out infinite alternate-reverse;
}

@keyframes ambientFloat {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(70px,40px,0) scale(1.08); }
}

.shell {
  width: min(var(--max), calc(100% - 44px));
  margin-inline: auto;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(10,15,26,.72);
  backdrop-filter: blur(22px) saturate(130%);
  transition: background .35s var(--ease), border-color .35s var(--ease);
}

.header__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand__logo {
  display: block;
  width: auto;
  height: 34px;
}

.nav {
  display: flex;
  gap: 28px;
  color: #b8c2cf;
  font-size: 13px;
}

.nav a {
  position: relative;
  transition: color .25s var(--ease);
}

.nav a:hover { color: #fff; }

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--accent);
  transition: right .35s var(--ease);
}

.nav a:hover::after { right: 0; }

.menu {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  padding: 188px 0 132px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.018), transparent 34%),
    radial-gradient(circle at 72% 34%, rgba(105,167,255,.17), transparent 28%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1180px, calc(100% - 44px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(300px, .64fr);
  gap: 110px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow--light { color: #95bce8; }

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

h1 {
  max-width: 1050px;
  margin-bottom: 34px;
  font-size: clamp(62px, 7.8vw, 112px);
  line-height: .93;
  letter-spacing: -.066em;
  font-weight: 640;
  text-wrap: balance;
}

h2 {
  max-width: 1000px;
  margin-bottom: 26px;
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: .99;
  letter-spacing: -.052em;
  font-weight: 610;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -.03em;
  font-weight: 630;
}

.hero__lead {
  max-width: 800px;
  margin-bottom: 38px;
  color: #aeb9c7;
  font-size: 20px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.button {
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform .28s var(--ease),
    background-color .28s var(--ease),
    border-color .28s var(--ease),
    box-shadow .28s var(--ease);
}

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

.button--dark {
  background: linear-gradient(135deg, #f9fbff, #dfe9f6);
  color: #0d1623;
  box-shadow: 0 12px 32px rgba(80,134,205,.16);
}

.button--dark:hover {
  box-shadow: 0 16px 42px rgba(80,134,205,.24);
}

.button--full { width: 100%; }

.text-link {
  position: relative;
  color: #d8e0ea;
  font-size: 14px;
  font-weight: 650;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: rgba(216,224,234,.45);
  transform-origin: left;
  transition: transform .3s var(--ease), background .3s var(--ease);
}

.text-link:hover::after {
  transform: scaleX(.55);
  background: var(--accent);
}

.hero__aside {
  border-top: 1px solid var(--line);
}

.hero__aside p {
  margin: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  color: #96a4b4;
  font-size: 14px;
  transition: color .28s var(--ease), transform .28s var(--ease);
}

.hero__aside p:hover {
  color: #d6dee7;
  transform: translateX(6px);
}

.statement {
  padding: 34px 0 126px;
}

.statement__inner {
  padding-top: 48px;
}

.statement p {
  max-width: 1040px;
  margin: 0;
  color: #dce5ee;
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.08;
  letter-spacing: -.048em;
  text-wrap: balance;
}

.section {
  position: relative;
  padding: 124px 0;
}

.section--dark {
  background:
    linear-gradient(180deg, rgba(255,255,255,.018), transparent 20%),
    var(--bg-2);
  color: var(--light);
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.section--light {
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.34)),
    var(--paper);
  color: var(--ink-dark);
}

.section--paper {
  background: linear-gradient(180deg, #e1e7eb, #dbe2e7);
  color: var(--ink-dark);
}

.section-head {
  margin-bottom: 72px;
}

.section-head > p:last-child {
  max-width: 790px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.76;
}

.section--dark .section-head > p:last-child {
  color: var(--light-muted);
}

.work-list {
  border-top: 1px solid var(--line);
}

.work-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 26px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  transition:
    padding-left .34s var(--ease),
    background-color .34s var(--ease);
}

.work-item:hover {
  padding-left: 12px;
  background: linear-gradient(90deg, rgba(105,167,255,.06), transparent 72%);
}

.work-item > span {
  padding-top: 7px;
  color: #64798f;
  font-size: 11px;
}

.work-item h3 {
  font-size: clamp(30px, 3vw, 42px);
}

.work-item p {
  max-width: 780px;
  margin: 0;
  color: #93a0af;
}

.areas {
  display: grid;
  grid-template-columns: .76fr 1.24fr;
  gap: 100px;
}

.areas__intro {
  position: sticky;
  top: 122px;
  align-self: start;
}

.areas__intro p:last-child {
  color: var(--muted-dark);
  max-width: 520px;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 12px;
}

.skills span {
  padding: 10px 15px;
  border: 1px solid rgba(17,24,39,.12);
  border-radius: 999px;
  background: rgba(247,249,250,.48);
  color: #243044;
  font-size: 14px;
  box-shadow: 0 5px 20px rgba(20,30,45,.025);
  transition:
    transform .28s var(--ease),
    border-color .28s var(--ease),
    box-shadow .28s var(--ease),
    background .28s var(--ease);
}

.skills span:hover {
  transform: translateY(-3px);
  border-color: rgba(105,167,255,.45);
  background: #eef3f6;
  box-shadow: 0 10px 30px rgba(53,91,140,.09);
}

.open-ended {
  grid-column: 2;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}

.open-ended p {
  max-width: 720px;
  margin: 0;
  color: var(--muted-dark);
}

.open-ended strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-dark);
}

.principles {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 96px;
}

.principles__heading {
  position: sticky;
  top: 122px;
  align-self: start;
}

.principles__list {
  border-top: 1px solid var(--line-dark);
}

.principle {
  padding: 34px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: transform .34s var(--ease);
}

.principle:hover {
  transform: translateX(8px);
}

.principle p {
  margin: 0;
  max-width: 700px;
  color: var(--muted-dark);
}

.ai-section {
  background:
    radial-gradient(circle at 85% 15%, rgba(105,167,255,.14), transparent 30%),
    linear-gradient(180deg, #0f1725, #101a2a);
  color: var(--light);
  overflow: hidden;
}

.ai-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 96px;
}

.ai-layout__copy {
  position: sticky;
  top: 122px;
  align-self: start;
}

.ai-layout__copy p:last-child {
  color: #97a5b4;
  font-size: 17px;
  line-height: 1.76;
}

.ai-layout__examples {
  border-top: 1px solid var(--line);
}

.example {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition:
    padding-left .34s var(--ease),
    background-color .34s var(--ease);
}

.example:hover {
  padding-left: 10px;
  background: linear-gradient(90deg, rgba(105,167,255,.055), transparent);
}

.example p {
  margin: 0;
  color: #96a4b4;
  max-width: 680px;
}

.training {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 96px;
}

.training__copy p:last-child {
  color: var(--light-muted);
  font-size: 17px;
  line-height: 1.76;
}

.training__topics {
  border-top: 1px solid var(--line);
}

.topic {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: transform .3s var(--ease);
}

.topic:hover {
  transform: translateX(7px);
}

.topic strong {
  display: block;
  margin-bottom: 5px;
  font-size: 19px;
  color: #f2f6fb;
}

.topic span {
  color: #94a2b2;
}

.start__head {
  margin-bottom: 64px;
}

.start__head > p:last-child {
  max-width: 720px;
  color: var(--muted-dark);
  font-size: 17px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(17,24,39,.09);
  border-radius: 18px;
  background: rgba(236,241,244,.76);
  box-shadow: 0 14px 40px rgba(22,34,50,.04);
  display: flex;
  flex-direction: column;
  transition:
    transform .34s var(--ease),
    box-shadow .34s var(--ease),
    border-color .34s var(--ease);
}

.step:hover {
  transform: translateY(-6px);
  border-color: rgba(105,167,255,.35);
  box-shadow: 0 22px 54px rgba(43,76,118,.10);
}

.step span {
  color: #7890a8;
  font-size: 11px;
}

.step h3 {
  margin-top: auto;
  margin-bottom: 0;
  color: var(--ink-dark);
}

.contact-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(105,167,255,.08), transparent 28%),
    linear-gradient(180deg, #dfe6ea, #d9e1e6);
  color: var(--ink-dark);
}

.contact {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 96px;
}

.contact__copy > p:last-of-type {
  max-width: 650px;
  color: var(--muted-dark);
  font-size: 17px;
}

.contact__meta {
  display: grid;
  gap: 8px;
  margin-top: 34px;
}

.contact__meta a {
  color: #18304f;
  font-weight: 680;
}

.contact__meta span {
  color: var(--muted-dark);
}

.contact-form {
  padding: 30px;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 18px;
  background: rgba(235,240,243,.88);
  box-shadow: 0 20px 60px rgba(30,49,77,.07);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: #2a3647;
  font-size: 12px;
  font-weight: 650;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 0 12px;
  border: 0;
  border-bottom: 1px solid #b3bdc8;
  outline: 0;
  background: transparent;
  color: var(--ink-dark);
  transition: border-color .25s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form textarea { resize: vertical; }

.contact-form small {
  display: block;
  margin-top: 12px;
  color: var(--muted-dark);
}

.footer {
  border-top: 1px solid rgba(255,255,255,.07);
  background: var(--bg);
}

.footer__inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #758395;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(.975);
  filter: blur(12px);
  transition:
    opacity 1s cubic-bezier(.16,.72,.18,1),
    transform 1.05s cubic-bezier(.16,.72,.18,1),
    filter 1.05s cubic-bezier(.16,.72,.18,1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

[data-reveal="hero"] {
  transform: translate3d(0, 46px, 0) scale(.965);
  filter: blur(16px);
  transition-duration: 1.25s;
}

@media (max-width: 980px) {
  .hero__grid,
  .areas,
  .principles,
  .ai-layout,
  .training,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero__grid,
  .areas,
  .principles,
  .ai-layout,
  .training,
  .contact {
    gap: 64px;
  }

  .areas__intro,
  .principles__heading,
  .ai-layout__copy {
    position: static;
  }

  .open-ended {
    grid-column: 1;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(var(--max), calc(100% - 28px));
  }

  .header__inner { min-height: 64px; }

  .menu { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 14px;
    right: 14px;
    padding: 18px;
    flex-direction: column;
    gap: 18px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(12,18,30,.96);
    box-shadow: 0 20px 50px rgba(0,0,0,.26);
  }

  .nav.open { display: flex; }

  .hero {
    min-height: auto;
    padding: 136px 0 90px;
  }

  .section { padding: 92px 0; }

  h1 { font-size: clamp(50px, 16vw, 78px); }
  h2 { font-size: clamp(38px, 12vw, 58px); }

  .steps {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .ambient {
    opacity: .11;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .ambient {
    animation: none;
  }

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

  * { transition-duration: .01ms !important; }
}


/* V9 eye-comfort refinements */
.section--light,
.section--paper,
.contact-section {
  color: #1e2a35;
}

.section--light h1,
.section--light h2,
.section--light h3,
.section--paper h1,
.section--paper h2,
.section--paper h3,
.contact-section h1,
.contact-section h2,
.contact-section h3 {
  color: #1a2631;
}

.section--light p,
.section--paper p,
.contact-section p {
  color: #667482;
}

.section--light .eyebrow,
.section--paper .eyebrow,
.contact-section .eyebrow {
  color: #4e7391;
}

.section--light .skills span,
.section--paper .skills span {
  border-color: rgba(32,47,61,.10);
  color: #263748;
}

.section--light .skills span:hover,
.section--paper .skills span:hover {
  background: #e5edf2;
  border-color: rgba(78,115,145,.28);
}

.step {
  background: rgba(226,233,238,.78);
  border-color: rgba(32,47,61,.09);
}

.step:hover {
  background: rgba(232,239,243,.98);
}

.contact-form {
  background: rgba(228,235,239,.94);
  border-color: rgba(32,47,61,.08);
}

.contact-form input,
.contact-form textarea {
  border-bottom-color: #98a6b3;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #4e7391;
}

.open-ended,
.principles__list,
.ai-layout__examples {
  border-color: rgba(32,47,61,.10);
}

.principle,
.example {
  border-color: rgba(32,47,61,.10);
}


/* V10 cinematic focus transition */
.section-head.reveal,
.areas__intro.reveal,
.principles__heading.reveal,
.ai-layout__copy.reveal,
.training__copy.reveal,
.start__head.reveal,
.contact__copy.reveal {
  transform: translate3d(0, 42px, 0) scale(.972);
  filter: blur(14px);
}

.section-head.reveal.visible,
.areas__intro.reveal.visible,
.principles__heading.reveal.visible,
.ai-layout__copy.reveal.visible,
.training__copy.reveal.visible,
.start__head.reveal.visible,
.contact__copy.reveal.visible {
  transform: translate3d(0,0,0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: no-preference) {
  .work-item.reveal,
  .principle.reveal,
  .example.reveal,
  .topic.reveal,
  .step.reveal,
  .skills.reveal {
    transition-duration: .9s;
  }
}


/* V11: repeatable viewport blur */
.reveal {
  transition:
    opacity .95s cubic-bezier(.16,.72,.18,1),
    transform 1s cubic-bezier(.16,.72,.18,1),
    filter 1s cubic-bezier(.16,.72,.18,1);
}

.reveal:not(.visible) {
  opacity: .18;
  transform: translate3d(0, 28px, 0) scale(.982);
  filter: blur(11px);
}

[data-reveal="hero"]:not(.visible) {
  opacity: .12;
  transform: translate3d(0, 42px, 0) scale(.968);
  filter: blur(15px);
}

/* V14 service architecture */
.hero__lead--strong {
  color: #dce7f3;
  font-weight: 560;
}

.hero__aside strong {
  color: #eef4fb;
  font-weight: 650;
}

.services-section {
  overflow: clip;
}

.services-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 94px;
  align-items: start;
}

.services-intro {
  position: sticky;
  top: 118px;
}

.services-intro p:last-child {
  max-width: 520px;
  color: var(--muted-dark);
  font-size: 17px;
  line-height: 1.74;
}

.service-accordion {
  border-top: 1px solid var(--line-dark);
}

.service-item {
  border-bottom: 1px solid var(--line-dark);
}

.service-item summary {
  list-style: none;
  display: grid;
  grid-template-columns: 46px 1fr 34px;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 20px 0;
  cursor: pointer;
  transition: padding-left .3s var(--ease), background .3s var(--ease);
}

.service-item summary::-webkit-details-marker {
  display: none;
}

.service-item summary:hover {
  padding-left: 8px;
  background: linear-gradient(90deg, rgba(105,167,255,.07), transparent 72%);
}

.service-number {
  color: #788697;
  font-size: 11px;
  letter-spacing: .08em;
}

.service-title {
  color: #1a2633;
  font-size: clamp(22px, 2.35vw, 31px);
  line-height: 1.15;
  letter-spacing: -.035em;
  font-weight: 620;
}

.service-toggle {
  position: relative;
  width: 28px;
  height: 28px;
  justify-self: end;
  border: 1px solid rgba(17,24,39,.15);
  border-radius: 50%;
}

.service-toggle::before,
.service-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1px;
  background: #334155;
  transform: translate(-50%, -50%);
  transition: transform .28s var(--ease), opacity .28s var(--ease);
}

.service-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.service-item[open] .service-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.service-body {
  padding: 0 50px 34px 64px;
  animation: serviceOpen .32s var(--ease);
}

.service-body > p {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--muted-dark);
  font-size: 16px;
}

.service-body ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-body li {
  position: relative;
  padding-left: 17px;
  color: #3e4c5d;
  font-size: 14px;
  line-height: 1.55;
}

.service-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6d9fd9;
}

.service-accordion .open-ended {
  grid-column: auto;
  margin-top: 28px;
}

@keyframes serviceOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.about-section {
  background:
    radial-gradient(circle at 78% 22%, rgba(105,167,255,.13), transparent 28%),
    linear-gradient(180deg, #0f1725, #0b121e);
  color: #eef3f7;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 96px;
  align-items: end;
}

.about-copy > p:not(.eyebrow) {
  max-width: 770px;
  color: #9eabba;
  font-size: 17px;
  line-height: 1.78;
}

.about-note {
  padding: 30px 0 6px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-note__kicker {
  display: block;
  margin-bottom: 16px;
  color: #7eaee5;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.about-note p {
  margin: 0 0 28px;
  color: #d9e3ec;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.22;
  letter-spacing: -.03em;
}

.start-section {
  border-top: 1px solid rgba(17,24,39,.06);
}

@media (max-width: 900px) {
  .services-layout,
  .about-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .services-intro {
    position: static;
  }

  .service-body ul {
    grid-template-columns: 1fr;
  }

  .service-body {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 620px) {
  .service-item summary {
    grid-template-columns: 30px 1fr 30px;
    gap: 10px;
    min-height: 80px;
  }

  .service-title {
    font-size: 21px;
  }

  .service-body {
    padding-bottom: 28px;
  }
}

/* V15: targeted additions to the v14 visual system. */
[hidden] { display: none !important; }
section[id], main[id] { scroll-margin-top: 96px; }
.header.scrolled { background: rgba(10,15,26,.94); }
.hero h1 { font-size: clamp(62px, 7.2vw, 102px); line-height: 1.02; }
.hero__grid { gap: 72px; }
.hero__lead { font-size: 18px; margin-bottom: 24px; }
.hero__lead--strong { font-size: 16px; }
.section { padding: 100px 0; }
.section-head { margin-bottom: 48px; }
.managed-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.managed-card { padding: 34px; border: 1px solid rgba(180,205,235,.18); border-radius: 18px; background: rgba(255,255,255,.025); }
.managed-card--accent { background: linear-gradient(140deg, rgba(105,167,255,.12), rgba(255,255,255,.02)); }
.managed-card h3 { font-size: 28px; }
.managed-card p:not(.eyebrow), .scope-note p { color: #aebac9; }
.managed-card .button { margin-top: 12px; }
.check-list { padding: 0; list-style: none; margin: 26px 0 0; }
.check-list li { padding: 12px 0 12px 23px; position: relative; border-top: 1px solid var(--line); color: #c9d5e2; }
.check-list li::before { content: '—'; color: #8ec5ff; position: absolute; left: 0; }
.scope-note { margin-top: 32px; padding: 24px 0 0; border-top: 1px solid var(--line); max-width: 950px; }
.scope-note h3 { font-size: 20px; }
.scope-note p { margin-bottom: 12px; font-size: 15px; }
.step { gap: 22px; }
.step h3 { margin-top: 0; font-size: 24px; }
.step p { margin: 0; font-size: 15px; }
.technology { border-block: 1px solid var(--line); padding: 26px 0; }
.technology summary { cursor: pointer; font-size: 25px; }
.technology summary span { display: block; color: #aebac9; font-size: 14px; margin-top: 8px; }
.technology p { color: #aebac9; max-width: 900px; margin: 24px 0 0; }
.section--light p, .section--paper p, .contact-section p { color: #506071; }
.services-intro p:last-child, .service-body > p, .principle p, .start__head > p:last-child, .contact__copy > p:last-of-type, .contact-form small { color: #506071; }
.contact-form button:disabled { cursor: not-allowed; opacity: .6; transform: none; }
#formStatus { font-size: 14px; margin: 14px 0 0; }
.footer__inner { color: #a4b2c3; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 200; transform: translateY(-180%); padding: 12px 20px; color: #101a29; background: #eef3f7; border-radius: 8px; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #729ddb; outline-offset: 5px; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid #3f668c; outline-offset: 4px; }
/* Override previous reveal layers, including JavaScript-off and focus states. */
.reveal:not(.reveal-enabled), .reveal:focus-within { opacity: 1 !important; transform: none !important; filter: none !important; will-change: auto; }
.reveal-enabled:not(.visible) { opacity: .2; filter: blur(8px); transform: translate3d(0, 24px, 0); }
.reveal.visible { will-change: auto; }
@media (max-width: 980px) { .hero__grid { gap: 40px; } }
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .managed-grid { grid-template-columns: 1fr; }
  .managed-card { padding: 24px; }
  .hero h1 { font-size: clamp(48px, 12vw, 72px); }
  .hero { padding-bottom: 60px; }
  .statement { padding-bottom: 72px; }
  .hero__aside p { padding: 18px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal:not(.visible), [data-reveal="hero"]:not(.visible) { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* =========================================================
   Groundwork IT v20 — motion & decoration layer only
   No content/layout rewrite: progressive visual enhancement.
   ========================================================= */

/* Scroll progress */
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 220;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--accent), #b8d8ff 58%, #7eaee5);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  box-shadow: 0 0 18px rgba(105,167,255,.5);
}


/* Hero: subtle technical grid + mouse-reactive light pool. */
.hero {
  --hero-x: 72%;
  --hero-y: 34%;
  isolation: isolate;
}

.hero::before {
  background:
    radial-gradient(circle at var(--hero-x) var(--hero-y), rgba(105,167,255,.19), transparent 0 28%),
    linear-gradient(180deg, rgba(255,255,255,.018), transparent 34%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.78), transparent 93%);
  opacity: .95;
  transition: background-position .2s linear;
}

/* Thin moving “signal” beam, intentionally very faint. */
.hero .shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 8%;
  top: 17%;
  width: 74%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(142,197,255,.72), transparent);
  opacity: .28;
  transform: translateX(-22%) rotate(-7deg);
  filter: blur(.2px);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero .shell::before { animation: signalSweep 8.5s var(--ease) infinite; }
}

@keyframes signalSweep {
  0%, 14% { opacity: 0; transform: translateX(-30%) rotate(-7deg); }
  30% { opacity: .3; }
  64% { opacity: .16; }
  82%, 100% { opacity: 0; transform: translateX(48%) rotate(-7deg); }
}

/* Hero heading gets a very restrained light pass. */
.hero h1 {
  position: relative;
  background: linear-gradient(104deg, #eef3f7 0%, #eef3f7 38%, #cfe4ff 50%, #eef3f7 62%, #eef3f7 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: titleSheen 8s ease-in-out infinite; }
}

@keyframes titleSheen {
  0%, 18% { background-position: 100% 0; }
  42% { background-position: 0 0; }
  100% { background-position: 0 0; }
}

/* Button sheen: only visible on hover/focus. */
.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.button::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -55%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.78), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}

.button:hover::after,
.button:focus-visible::after {
  opacity: .72;
  animation: buttonSheen .72s ease-out both;
}

@keyframes buttonSheen {
  from { left: -55%; }
  to { left: 125%; }
}

/* Hero side items: staggered arrival, while keeping the original block. */
@media (prefers-reduced-motion: no-preference) {
  .hero__aside.visible p {
    animation: asideItemIn .72s var(--ease) both;
  }
  .hero__aside.visible p:nth-child(1) { animation-delay: .08s; }
  .hero__aside.visible p:nth-child(2) { animation-delay: .18s; }
  .hero__aside.visible p:nth-child(3) { animation-delay: .28s; }
}

@keyframes asideItemIn {
  from { opacity: 0; transform: translate3d(14px, 10px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Blueprint texture for sections. It is masked so text never sits on a busy pattern. */
.section--dark,
.section--light,
.section--paper,
.about-section,
.contact-section {
  isolation: isolate;
  overflow: clip;
}

.section--dark::before,
.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(142,197,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142,197,255,.026) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 82% 22%, #000 0 12%, transparent 58%);
}

.section--light::before,
.section--paper::before,
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(78,115,145,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78,115,145,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 12% 18%, #000 0 9%, transparent 55%);
}

/* Decorative section edge markers. */
.section--dark::after,
.section--light::after,
.section--paper::after,
.about-section::after,
.contact-section::after {
  content: "";
  position: absolute;
  right: max(22px, calc((100% - var(--max)) / 2));
  top: 42px;
  width: 64px;
  height: 1px;
  pointer-events: none;
  opacity: .45;
  background: linear-gradient(90deg, transparent, currentColor);
}

/* Spotlight follows the pointer inside the main cards. */
.managed-card,
.step,
.contact-form {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.managed-card::before,
.step::before,
.contact-form::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle 260px at var(--spot-x) var(--spot-y), rgba(105,167,255,.16), transparent 70%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}

.managed-card:hover::before,
.step:hover::before,
.contact-form:hover::before,
.managed-card:focus-within::before,
.step:focus-within::before,
.contact-form:focus-within::before {
  opacity: 1;
}

/* Work-list gets a clean “system line” on interaction. */
.work-item {
  position: relative;
}

.work-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25%;
  bottom: 25%;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(var(--accent-2), var(--accent));
  transform: scaleY(0);
  transform-origin: center;
  opacity: 0;
  transition: transform .32s var(--ease), opacity .32s var(--ease);
}

.work-item:hover::before,
.work-item:focus-within::before {
  transform: scaleY(1);
  opacity: .75;
}

/* Accordion row gets a traveling highlight instead of more motion/rotation. */
.service-item summary {
  position: relative;
  overflow: hidden;
}

.service-item summary::after {
  content: "";
  position: absolute;
  left: -20%;
  bottom: 0;
  width: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #78aee6, transparent);
  opacity: 0;
}

.service-item summary:hover::after,
.service-item summary:focus-visible::after {
  opacity: .8;
  animation: rowSignal 1s ease-out both;
}

@keyframes rowSignal {
  from { left: -20%; }
  to { left: 100%; }
}

/* Details open state: icon gains a soft ring. */
.service-item[open] .service-toggle {
  border-color: rgba(105,167,255,.42);
  box-shadow: 0 0 0 6px rgba(105,167,255,.08), 0 0 24px rgba(105,167,255,.15);
}

/* Hovering chips feels a little more alive. */
.skills span:hover {
  transform: translateY(-3px) rotate(-.6deg);
}

/* Ambient lights react to scroll using CSS variables updated by JS. */
.ambient--one {
  margin-top: var(--ambient-one-y, 0px);
}

.ambient--two {
  margin-top: var(--ambient-two-y, 0px);
}

/* Motion polish: slightly stagger repeated reveal collections. */
@media (prefers-reduced-motion: no-preference) {
  .work-list .reveal:nth-child(2n),
  .principles__list .reveal:nth-child(2n),
  .steps .reveal:nth-child(2n) { --delay: 70ms; }

  .work-list .reveal:nth-child(3n),
  .principles__list .reveal:nth-child(3n),
  .steps .reveal:nth-child(3n) { --delay: 120ms; }
}

/* Reduced motion remains truly reduced. */
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .hero h1 { background: none; color: #eef3f7; }
  .hero::before { transition: none; }
}

/* Layering fixes for the decorative overlays. */
.section--dark::before,
.section--light::before,
.section--paper::before,
.about-section::before,
.contact-section::before,
.section--dark::after,
.section--light::after,
.section--paper::after,
.about-section::after,
.contact-section::after {
  z-index: 0;
}

.section > .shell,
.about-section > .shell,
.contact-section > .shell {
  position: relative;
  z-index: 1;
}

.managed-card::before,
.step::before,
.contact-form::before {
  z-index: 0;
}

.managed-card > *,
.step > *,
.contact-form > * {
  position: relative;
  z-index: 1;
}

.header.scrolled {
  box-shadow: 0 14px 38px rgba(0,0,0,.16);
  border-bottom-color: rgba(142,197,255,.12);
}


.footer .brand__logo {
  height: 30px;
}

@media (max-width: 720px) {
  .brand__logo {
    height: 28px;
  }

  .footer .brand__logo {
    height: 26px;
  }
}
