/* Foundations */
:root {
  color-scheme: dark;
  --bg: #101014;
  --surface: #19191f;
  --text: #f4f4f4;
  --muted: #b9b9c2;
  --line: #44444f;
  --accent: #c4acff;
  --page: 76rem;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
textarea {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
button {
  color: inherit;
}
a,
button,
summary,
textarea {
  -webkit-tap-highlight-color: transparent;
}
:where(a, button, summary, textarea):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
img,
svg {
  max-width: 100%;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, Arial, sans-serif;
  font-weight: 500;
}
h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.25rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}
.home .hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
}
h2 {
  font-size: clamp(2rem, 3.3vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
}
h3 {
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
h4 {
  font-size: 1.0625rem;
}
h1 span,
h2 span {
  color: var(--muted);
}
p,
dd,
li {
  overflow-wrap: break-word;
}
p {
  max-width: 66ch;
}
ul {
  padding-left: 1.2rem;
}
p + p {
  margin-top: 1rem;
}
.small {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}
.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.section {
  padding: 5rem max(1.5rem, calc((100% - var(--page)) / 2));
}
.section-intro {
  margin-bottom: 2.5rem;
}
.section-intro > p:last-child {
  margin-top: 1.25rem;
  color: var(--muted);
  max-width: 60ch;
}
.text-link,
.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 2.75rem;
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-color: #747478;
}
.text-link:hover,
.email-link:hover {
  color: var(--accent);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 3.2rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 0.3rem;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.18s;
}
.light {
  background: var(--text);
  color: #151515;
}
.light:hover {
  background: #dfd1ff;
}
.dark {
  background: #151515;
  color: #fff;
}
.dark:hover {
  background: #333;
}
.skip-link {
  position: absolute;
  top: 0;
  left: 1rem;
  transform: translateY(-150%);
  z-index: 100;
  padding: 0.8rem;
  background: var(--text);
  color: #111;
}
.skip-link:focus {
  transform: none;
}

/* Shared navigation and footer */
.site-header {
  max-width: 84rem;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  min-height: 7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.wordmark {
  display: inline-flex;
  gap: 0.2em;
  font-family: Manrope, Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.wordmark span {
  color: var(--accent);
}
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.4rem;
  font-size: 1.125rem;
}
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
}
.site-header nav a:hover,
.site-header nav a[aria-current] {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.4em;
}
.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 2.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #888;
  white-space: nowrap;
}
.site-footer {
  padding: 2.5rem max(1.5rem, calc((100% - var(--page)) / 2)) 6rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.site-footer p {
  font-size: 0.875rem;
  color: var(--muted);
}
.footer-links:empty {
  display: none;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 1rem;
}
.footer-links a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

/* Leave a preview of the services below the opening dot field. */
.home .site-header {
  position: relative;
  z-index: 2;
  mix-blend-mode: screen;
  max-width: none;
  margin-inline: clamp(1.25rem, 4vw, 6rem);
  padding-inline: clamp(0rem, 2vw, 4rem);
}
.home .hero {
  isolation: isolate;
  position: relative;
  max-width: none;
  min-height: 0;
  padding-bottom: 2rem;
  padding-inline: clamp(1.25rem, 6vw, 10rem);
  padding-top: 1rem;
}
@media (min-width: 601px) {
  .home .hero {
    align-content: start;
    padding-top: clamp(1rem, 2svh, 1.5rem);
  }
  .home .hero-message {
    align-self: start;
    margin-top: 1rem;
  }
}
@media (min-width: 1101px) {
  .hero-diagram {
    margin-inline: -1.5rem -3vw;
  }
}
.home .hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgb(196 172 255 / 30%) 1px, transparent 1.2px);
  background-size: 36px 36px;
  opacity: 0.55;
  animation: ambient-dots 10s ease-in-out infinite;
  animation-play-state: paused;
  mask-image: radial-gradient(
    ellipse var(--copy-fade-x, 52vw) var(--copy-fade-y, 24rem) at var(--copy-center-x, 25%)
      var(--copy-center-y, 45%),
    transparent 78%,
    #000 100%
  );
}
/* One ambient field, independent of logo arrivals and respecting motion preferences. */
.home:has(.flow-network[data-motion='running']) .hero::before {
  animation-play-state: running;
}
@keyframes ambient-dots {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.8;
  }
}

/* Keep the animated tool diagram alongside the reading content. */
.hero {
  max-width: 84rem;
  margin: auto;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1rem;
  align-items: center;
  padding: 4.5rem 2rem 4rem;
}
.hero-message {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.hero-copy {
  margin-top: 1.5rem;
  color: var(--muted);
  max-width: 56ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 1.75rem;
}
.hero-diagram {
  position: relative;
  min-width: 0;
}
.flow-network {
  position: relative;
  width: 100%;
  height: clamp(20rem, 30vw, 28rem);
  overflow: hidden;
}
.flow-lines,
.source-tiles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.flow-lines {
  overflow: visible;
}
.source-tile {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #151515;
  border: 1px solid #454545;
  border-radius: 0.5rem;
}
/* Keep a composed static diagram if scripts are unavailable. */
.flow-network:not([data-motion]) .source-tile {
  visibility: hidden;
}
.flow-network:not([data-motion]) .source-tile:nth-child(-n + 4) {
  visibility: visible;
}
.flow-network:not([data-motion]) .source-tile:nth-child(1) {
  left: 16%;
  top: 22%;
}
.flow-network:not([data-motion]) .source-tile:nth-child(2) {
  left: 82%;
  top: 22%;
}
.flow-network:not([data-motion]) .source-tile:nth-child(3) {
  left: 16%;
  top: 74%;
}
.flow-network:not([data-motion]) .source-tile:nth-child(4) {
  left: 82%;
  top: 74%;
}
.source-tile img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}
.source-tile .team-icon {
  filter: grayscale(1) brightness(0) invert(0.8);
}
.source-tile small {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--muted);
  white-space: nowrap;
}
.source-tile small br {
  display: none;
}
.source-tile.logo-wide img {
  width: 2.25rem;
}
.source-tile.logo-monochrome img {
  filter: brightness(0) invert(1);
}
.source-tile.cloud-aws img {
  background: white;
  padding: 2px;
  border-radius: 3px;
}
.chip-hub {
  position: absolute;
  top: 56%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(8.55rem, 12.6vw, 10.8rem);
  height: clamp(8.55rem, 12.6vw, 10.8rem);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chip-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: #0b0b0b;
  stroke: #a9a9b0;
  stroke-width: 1.2;
}
.chip-frame path {
  fill: none;
  stroke: #777;
  stroke-width: 2;
  stroke-linecap: round;
}
.chip-frame .chip-inner {
  fill: none;
  stroke: #444;
}
.hub-brand {
  position: relative;
  width: 56.25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
}
.hub-logo {
  position: relative;
  display: block;
  width: 90%;
  aspect-ratio: 1.5;
  overflow: hidden;
  mix-blend-mode: screen;
}
.hub-logo img {
  position: absolute;
  width: 200%;
  max-width: none;
  height: auto;
  left: -47%;
  top: -44%;
}
.continuous-trail {
  fill: none;
  stroke-width: 1;
}
.data-packet {
  fill: white;
}

.home .section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.home .section-intro {
  margin-bottom: 1.75rem;
}

/* Both panels are readable without JS; tabs enhance the shared overview. */
.brand-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.55rem;
  margin-bottom: 1.35rem;
  color: var(--accent);
  font-size: clamp(1.125rem, 1.55vw, 1.375rem);
  line-height: 1.5;
}
.brand-line strong {
  color: var(--text);
  font-weight: 600;
}
.offering-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  gap: clamp(1rem, 3vw, 2.5rem);
  width: fit-content;
  max-width: 100%;
  margin-bottom: 2rem;
}
.offering-tabs a {
  display: grid;
  place-items: center;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  min-height: 2.75rem;
  padding: 0.55rem 0.9rem;
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}
.offering-tabs a:is(:hover, :focus-visible) {
  color: var(--accent);
  text-decoration: none;
}
.offering-tabs a[aria-selected='true'] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.offering-panel {
  scroll-margin-top: 6.5rem;
}
.offering-panel:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 8px;
}
.offerings[data-tabs] .offering-panel > .section-intro > .eyebrow {
  display: none;
}
.offerings:not([data-tabs]) #approach {
  margin-top: 3rem;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0;
  border: 1px solid #544366;
  border-radius: 0.65rem;
  color: var(--accent);
  background: #241d30;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.service-card {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  column-gap: 0.75rem;
  padding: 1.5rem;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: linear-gradient(150deg, #24202b, #19191f 70%);
}
.service-card h3 {
  align-self: center;
  min-height: 2.1rem;
  font-size: 1.6rem;
}
.service-lead {
  color: var(--text);
  font-weight: 500;
  margin: 0.75rem 0 0;
}
.service-card > p,
.service-card > ul,
.service-card > details {
  grid-column: 1 / -1;
}
.service-card > .check-list {
  margin: 0.75rem 0;
}
.service-card > .service-details summary {
  padding-block: 0.75rem;
}
.service-card > p:not(.service-lead) {
  color: var(--muted);
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.check-list li {
  position: relative;
  padding-left: 1.3rem;
  margin: 0.7rem 0;
  color: var(--muted);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.service-details {
  margin-top: auto;
  border-top: 1px solid var(--line);
}
.service-details summary,
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  padding: 1rem 0;
  min-height: 3rem;
  font-weight: 500;
}
summary::-webkit-details-marker {
  display: none;
}
summary > span {
  color: var(--accent);
  font-size: 1.4rem;
  flex-shrink: 0;
}
details[open] > summary > span {
  transform: rotate(45deg);
}
.service-details p {
  color: var(--muted);
}
.service-details h4 {
  margin: 1.25rem 0 0.5rem;
}
.service-details .text-link {
  margin-top: 1rem;
}
/* Native details keep both card faces usable without JavaScript. */
.card-open-label,
.card-close-label {
  font-weight: 500;
}
.card-close-label {
  display: none;
}
.service-back h4 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
}
.scope-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.scope-list li {
  margin: 0 0 0.75rem;
  color: var(--muted);
}
.scope-list strong {
  display: inline;
  color: var(--text);
  font-weight: 500;
}
.scope-output strong {
  color: var(--text);
  font-weight: 500;
}
.scope-output {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
@supports selector(:has(*)) {
  .service-card {
    position: relative;
    perspective: 1200px;
  }
  .service-card:has(> details[open]) > :not(details) {
    visibility: hidden;
  }
  .service-card > details[open] .card-open-label {
    display: none;
  }
  .service-card > details[open] .card-close-label {
    display: inline;
  }
  .service-card > details[open] .card-toggle-icon {
    transform: rotate(180deg);
  }
  .service-back {
    position: absolute;
    inset: 1.25rem 1.25rem 5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
    padding: 0.25rem 0.65rem 0.5rem 0.25rem;
    transform-origin: center;
    animation: card-turn 240ms ease-out;
  }
  .service-back::-webkit-scrollbar {
    width: 4px;
  }
  .service-back::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
  }
  .service-back::-webkit-scrollbar-track {
    background: var(--line);
  }
  @keyframes card-turn {
    from {
      opacity: 0;
      transform: rotateY(-20deg);
    }
    to {
      opacity: 1;
      transform: rotateY(0);
    }
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.technology-coverage {
  margin: -0.5rem 0 2rem;
  border-block: 1px solid var(--line);
}
.technology-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem 0 1.5rem;
}
.technology-card {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #39343f;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #211d28, #19191f 75%);
}
.technology-card h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.0625rem;
  margin-bottom: 1rem;
}
.technology-card h3 svg {
  flex-shrink: 0;
  color: var(--accent);
}
.technology-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.technology-tags li {
  padding: 0.25rem 0.65rem;
  border: 1px solid #46404e;
  border-radius: 0.4rem;
  background: #25222b;
  color: #dedbe5;
  font-size: 1rem;
  line-height: 1.5;
}
@media (max-width: 1050px) {
  .technology-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .technology-grid {
    grid-template-columns: 1fr;
  }
}

.security-note {
  max-width: none;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}
.support-note {
  max-width: none;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 1rem;
}
.support-note > span {
  color: var(--accent);
  margin-right: 0.5rem;
}

/* Delivery process: three clear stages with an explicit handover. */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.step-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: linear-gradient(150deg, #24202b, #19191f 70%);
}
.step-number {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid #544366;
  border-radius: 0.65rem;
  background: #241d30;
  color: var(--accent);
  font-size: 1.0625rem;
}
.steps h3 {
  margin: 1.25rem 0 0.75rem;
}
.steps p {
  color: var(--muted);
}
.contact-founders {
  border-top: 1px solid #bbb5c2;
  margin-top: 2rem;
  padding-top: 1.5rem;
}
.contact-founders > p {
  max-width: none;
}
.contact-more {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 2rem;
  margin-top: 0.75rem;
}
.contact-more .text-link:hover {
  color: #5b3d80;
}

/* Founder content */
.initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #262030;
  color: var(--accent);
  border: 1px solid #544366;
  margin-bottom: 1.25rem;
}
.role {
  color: var(--accent);
  font-size: 1rem;
  margin: 0.5rem 0 1rem;
}
.page-intro {
  padding-bottom: 3rem;
}
.page-intro h1 {
  max-width: 20ch;
}
.page-lead {
  margin-top: 1.5rem;
  color: var(--muted);
  max-width: 64ch;
}
.profile-list {
  padding-top: 0;
}
.profile {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}
.profile-heading h2 {
  font-size: 2rem;
}
.profile-links {
  display: flex;
  gap: 1.5rem;
}
.profile-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}
.profile-copy h3 {
  margin-bottom: 1.25rem;
}
.profile-copy p {
  color: var(--muted);
}
.profile-copy .profile-areas {
  color: var(--accent);
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  font-size: 1rem;
}
.collaboration {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.collaboration > p:not(.eyebrow) {
  margin-top: 1.5rem;
  color: var(--muted);
}
.collaboration .text-link {
  margin-top: 1rem;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  border-top: 1px solid var(--line);
}
.faq h2 {
  max-width: 12ch;
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq details p {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

/* Contact */
.contact {
  background: #eeedeb;
  color: #151515;
}
.contact .eyebrow {
  color: #584074;
}
.contact h2 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
}
.contact h2 span {
  color: #675778;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 4rem;
}
.contact-inner > div > p:not(.eyebrow) {
  margin-top: 1.25rem;
  color: #555;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.contact .contact-actions p {
  margin: 0;
  color: #555;
}
.contact .email-link:hover {
  color: #584074;
}
.contact :focus-visible {
  outline-color: #584074;
}
.question-dock {
  position: fixed;
  right: 1.25rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 50;
}
.question-dock details {
  position: relative;
}
.question-dock summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid #666;
  border-radius: 2rem;
  background: #202023;
  font-size: 1rem;
  list-style: none;
  box-shadow: 0 0.4rem 1.5rem #0004;
}
.question-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: min(25rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 6rem);
  overflow: auto;
  background: #19191c;
  padding: 1.5rem;
  border: 1px solid #626268;
  border-radius: 1rem;
  box-shadow: 0 0.75rem 3rem #0008;
}
.question-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.5rem;
}
.question-heading h2 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.question-close {
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 0;
  background: none;
  font-size: 1.5rem;
}
.question-panel p {
  margin: 1rem 0;
  color: var(--muted);
}
.question-panel a:not(.button) {
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.question-panel label {
  display: block;
  margin-bottom: 0.5rem;
}
.question-panel textarea {
  display: block;
  width: 100%;
  resize: vertical;
  min-height: 6rem;
  max-height: 12rem;
  padding: 0.75rem;
  background: #101012;
  color: var(--text);
  border: 1px solid #777;
  border-radius: 0.4rem;
}
.question-panel textarea::placeholder {
  color: #b9b9c2;
}
.question-email {
  margin-top: 1rem;
  width: 100%;
}
.copy-message {
  margin-top: 0.75rem;
  background: transparent;
  border: 1px solid #777;
  border-radius: 0.4rem;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
}
.question-status:empty {
  display: none;
}

.email-chooser {
  width: min(30rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 1.5rem;
  overflow: auto;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
}
.email-chooser::backdrop {
  background: #000b;
}
.email-chooser p {
  margin-top: 1rem;
  color: var(--muted);
}
.email-chooser label {
  display: block;
  margin-top: 1rem;
}
.email-chooser input {
  width: 100%;
  padding: 0.65rem;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
}
.email-chooser input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.email-options {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}
.email-options .button {
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}
.email-options .button:is(:hover, :focus-visible) {
  color: var(--bg);
  background: var(--accent);
}
.email-copy-status:empty {
  display: none;
}

/* Equal side columns keep navigation centered independently of the booking label. */
@media (min-width: 1101px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
  .site-header .brand {
    justify-self: start;
  }
  .site-header nav {
    justify-self: center;
  }
  .site-header .nav-contact {
    justify-self: end;
  }
}

/* Responsive layouts */
@media (max-width: 1100px) {
  .site-header {
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
  }
  .site-header nav {
    order: 3;
    width: 100%;
  }
  .hero {
    grid-template-columns: 1.5fr 1fr;
  }
  .service-card {
    padding: 1.25rem;
  }
  .service-card h3 {
    font-size: 1.4rem;
  }
}
@media (max-width: 850px) {
  .service-lead {
    min-height: 0;
  }
  .service-grid,
  .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .service-card h3 {
    min-height: 0;
    font-size: 1.6rem;
  }
  .service-card {
    padding: 1.25rem;
  }
  .faq,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .step-card {
    padding: 1.5rem;
  }
  .profile {
    gap: 2rem;
  }
  .site-footer {
    flex-wrap: wrap;
  }
}
@media (max-width: 600px) {
  .site-header {
    padding: 1rem 1.25rem 0.75rem;
    gap: 0.5rem;
  }
  .wordmark {
    font-size: 1rem;
  }
  .nav-contact {
    font-size: 1rem;
  }
  .site-header nav {
    font-size: 1rem;
    gap: 0.25rem 0.9rem;
    justify-content: space-between;
  }
  .section {
    padding: 3rem 1.25rem;
  }
  .hero {
    display: block;
    padding: 2rem 1.25rem 1rem;
  }
  h1 {
    font-size: clamp(2rem, 7.8vw, 2.8rem);
    line-height: 1.13;
  }
  .home .hero h1 {
    font-size: clamp(1.875rem, 7.2vw, 2.5rem);
  }
  .hero .eyebrow {
    margin-bottom: 1rem;
  }
  .hero-copy {
    margin-top: 1.1rem;
  }
  .hero-actions {
    margin-top: 1.25rem;
    gap: 0.5rem 1rem;
  }
  .hero .button {
    padding: 0.75rem 1rem;
    gap: 0.8rem;
  }
  .hero-diagram {
    margin-top: 1rem;
  }
  .flow-network {
    height: 15rem;
  }
  .chip-hub {
    width: 6.3rem;
    height: 6.3rem;
  }
  .source-tile {
    width: 1.8rem;
    height: 1.8rem;
  }
  /* Keep a composed static diagram if scripts are unavailable. */
  .flow-network:not([data-motion]) .source-tile {
    visibility: hidden;
  }
  .flow-network:not([data-motion]) .source-tile:nth-child(-n + 4) {
    visibility: visible;
  }
  .flow-network:not([data-motion]) .source-tile:nth-child(1) {
    left: 16%;
    top: 22%;
  }
  .flow-network:not([data-motion]) .source-tile:nth-child(2) {
    left: 82%;
    top: 22%;
  }
  .flow-network:not([data-motion]) .source-tile:nth-child(3) {
    left: 16%;
    top: 74%;
  }
  .flow-network:not([data-motion]) .source-tile:nth-child(4) {
    left: 82%;
    top: 74%;
  }
  .source-tile img {
    width: 1.1rem;
    height: 1.1rem;
  }
  .source-tile small {
    display: none;
  }
  .home .offerings {
    padding-top: 1.5rem;
  }
  .offering-tabs a {
    padding-inline: 0.9rem;
  }
  .section-intro {
    margin-bottom: 1.75rem;
  }
  .profile {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .profile {
    padding: 2rem 0;
  }
  .profile-list {
    padding-top: 0;
  }
  .question-dock {
    right: 1rem;
  }
  .question-panel {
    padding: 1.25rem;
  }
  .site-footer {
    padding: 2rem 1.25rem 6rem;
    gap: 1.25rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
/* Keep mobile navigation balanced and the question panel clear of reading content. */
@media (max-width: 600px) {
  .site-header nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-header nav a {
    justify-content: center;
    text-align: center;
  }
  .question-dock {
    position: static;
    margin: 0 1.25rem 1.5rem;
  }
  .question-dock summary {
    justify-content: space-between;
  }
  .question-panel {
    position: static;
    width: 100%;
    max-height: none;
    margin-top: 1rem;
  }
  .site-footer {
    padding-bottom: 2rem;
  }
}

/* Compact booking buttons retain a comfortable touch target. */
.button[data-booking] {
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 0.9rem;
}

/* Booking controls reveal the accent only during interaction. */
.button[data-booking] {
  background: transparent;
  color: inherit;
  border-color: transparent;
}
.button[data-booking]:is(:hover, :focus-visible, :active) {
  background: var(--accent);
  color: #11120d;
}

@media (max-width: 600px) {
  .home .hero {
    min-height: 0;
    padding-bottom: 1rem;
  }
}

/* Keep the single header booking action compact on narrow screens. */
@media (max-width: 400px) {
  .nav-contact.button {
    font-size: 0.875rem;
    white-space: normal;
    text-align: center;
  }
}

/* Repeat the header wordmark in a compact, horizontal footer. */
.site-footer {
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) minmax(0, 4fr);
  align-items: start;
  gap: 2rem clamp(2rem, 5vw, 5rem);
  padding-top: 2rem;
  padding-bottom: 2rem;
  background: var(--bg);
  color: var(--text);
}
.footer-brand {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}
.footer-index {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: clamp(1.25rem, 3vw, 3rem);
  width: 100%;
  max-width: 60rem;
  justify-self: end;
}
.footer-group {
  border-top: 1px solid var(--line);
  padding-top: 0.875rem;
}
.footer-group h2 {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.footer-group ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.footer-group a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding-block: 0.25rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
}
.footer-group a:hover,
.footer-group a:focus-visible {
  color: var(--accent);
}
.footer-meta {
  grid-column: 1 / -1;
  grid-row: 2;
  text-align: left;
}
.footer-meta .footer-links {
  margin-top: 0.5rem;
}
@media (max-width: 760px) {
  .site-footer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-index {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .footer-meta {
    grid-row: 3;
  }
}

.profile-photo {
  display: block;
  width: 7rem;
  height: 7rem;
  object-fit: cover;
  border: 1px solid #666;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}
/* A small, explicitly illustrative workflow preview, opened from service details. */
.demo-open,
.demo-reset {
  padding: 0.5rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.demo-open {
  margin-bottom: 1rem;
}
.workflow-demo {
  width: min(52rem, calc(100% - 2rem));
  max-height: calc(100svh - 2rem);
  overflow-y: auto;
  margin: auto;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  color: var(--text);
}
.workflow-demo::backdrop {
  background: rgb(0 0 0 / 75%);
}
.demo-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.demo-heading .eyebrow {
  margin: 0;
}
.demo-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 1.5rem;
  cursor: pointer;
}
.workflow-demo h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-top: 1rem;
}
.workflow-demo h3 {
  font-size: 1.125rem;
}
.workflow-demo p {
  color: var(--muted);
}
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  margin-block: 1.5rem;
}
.demo-invoice {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}
.workflow-demo dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
  margin-block: 1rem;
}
.workflow-demo dd {
  margin: 0;
  text-align: right;
}
.demo-confirm {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  padding-block: 0.75rem;
  cursor: pointer;
}
.demo-confirm input {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  accent-color: var(--accent);
}
.demo-approve {
  width: 100%;
  justify-content: center;
}
.demo-approve:disabled {
  opacity: 0.5;
  cursor: default;
}
.demo-result {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
@media (max-width: 600px) {
  .demo-grid {
    grid-template-columns: 1fr;
  }
}

/* A compact closing invitation complements the primary hero actions. */
.contact.section {
  padding-block: 2.5rem;
}
.contact h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}
.contact-inner {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 2rem;
}
.contact-inner > div > p:not(.eyebrow) {
  margin-top: 0.5rem;
  margin-bottom: 0;
}
.contact-actions {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }
}

/* Keep tablet logo paths wide enough to approach the chip on separate sides. */
@media (min-width: 601px) and (max-width: 1000px) {
  .hero {
    grid-template-columns: 1.1fr 1fr;
  }
}
