:root {
  color-scheme: light;
  --ink: #1b1a17;
  --charcoal: #2b2723;
  --background: #f7f4ef;
  --section: #f1ece4;
  --accent: #d07a3a;
  --accent-green: #2f8a6a;
  --muted: #6d645b;
  --border: rgba(27, 26, 23, 0.08);
  --shadow: 0 24px 60px rgba(27, 26, 23, 0.12);
  --shadow-soft: 0 12px 30px rgba(27, 26, 23, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--background);
  line-height: 1.6;
  letter-spacing: -0.005em;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  padding: 8px 14px;
  background: white;
  color: var(--ink);
  border: 1px solid var(--border);
  z-index: 999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
.button:focus-visible,
.text-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

main a:not(.button):not(.text-link):not(.nav-link):not(.logo):not(.mega-link):not(.mega-item):not(.reference-story-link) {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.narrow {
  width: min(860px, 90vw);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
}

.site-header.is-scrolled {
  background: rgba(247, 244, 239, 0.98);
  border-bottom-color: var(--border);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6px 0;
  gap: 24px;
}

.logo {
  font-weight: 500;
  letter-spacing: -0.02em;
}

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

.menu-toggle {
  display: none !important;
  border: 1px solid var(--border);
  background: transparent;
  padding: 8px 14px;
  border-radius: 0;
  color: var(--charcoal);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
  line-height: 1;
}

.site-nav > *,
.header-utility > * {
  display: inline-flex;
  align-items: center;
}

.header-utility {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
  line-height: 1;
}

.nav-link {
  color: var(--charcoal);
}

.nav-details {
  position: relative;
}

.nav-details::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 28px;
}

.chevron {
  font-size: 0.75em;
  color: var(--muted);
}

.nav-trigger {
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding: 0 0 4px;
  font: inherit;
  line-height: 1;
}

.site-nav a,
.header-utility .nav-link {
  position: relative;
  padding-bottom: 4px;
  line-height: 1;
}

.site-nav a::after,
.nav-trigger::after,
.header-utility .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.nav-details:hover .nav-trigger::after,
.nav-details:focus-within .nav-trigger::after,
.header-utility .nav-link:hover::after,
.header-utility .nav-link:focus-visible::after {
  transform: scaleX(1);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 14px;
  display: grid;
  gap: 10px;
  min-width: 240px;
  box-shadow: var(--shadow);
  z-index: 20;
}

.mega-menu {
  position: fixed;
  width: 100vw;
  padding: 0;
  left: 0;
  right: 0;
  margin: 0;
  transform: none;
  top: 48px;
  background: var(--background);
  border-top: 1px solid rgba(208, 122, 58, 0.2);
}

.mega-menu-inner {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 32px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.mega-item {
  display: grid;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: none;
  transition: color 0.2s ease;
}

.mega-link {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mega-link:hover,
.mega-link:focus-visible {
  background: rgba(15, 17, 21, 0.04);
  border-color: rgba(27, 26, 23, 0.08);
}

.mega-media {
  height: 42px;
  display: inline-flex;
  align-items: center;
}

.mega-media img {
  height: 100%;
  width: auto;
  opacity: 0.9;
}

.mega-title {
  font-weight: 600;
  color: var(--ink);
}

.mega-text {
  color: var(--muted);
  font-size: 0.9rem;
}

.mega-item a {
  color: var(--charcoal);
  font-weight: 500;
}

.mega-arrow {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mega-link:hover .mega-arrow,
.mega-link:focus-visible .mega-arrow {
  color: var(--ink);
}

.mega-item:hover .mega-media img {
  opacity: 1;
}

.language-switch .dropdown {
  min-width: 120px;
}

.language-menu {
  gap: 8px;
}

.nav-details .dropdown {
  display: none;
}

.nav-details:hover .dropdown,
.nav-details:focus-within .dropdown {
  display: grid;
}

.dropdown:hover {
  display: grid;
}

.dropdown a {
  color: var(--charcoal);
  font-size: 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 0;
  border: 1px solid transparent;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 16px 30px rgba(208, 122, 58, 0.25);
}

.button.secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--charcoal);
}

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

.text-link {
  color: var(--charcoal);
  font-weight: 500;
}

.text-link.secondary-cta {
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid rgba(27, 26, 23, 0.25);
  padding-bottom: 2px;
}

.text-link.secondary-cta:hover {
  border-bottom-color: rgba(27, 26, 23, 0.5);
}

.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background: radial-gradient(
      circle at top left,
      rgba(208, 122, 58, 0.18),
      transparent 55%
    ),
    var(--background);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 420px;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  text-transform: none;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: #243a4a;
  font-weight: 600;
  margin: 0 0 12px;
}

.eyebrow::after {
  content: " •";
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  font-family: "Fraunces", "Inter", system-ui, -apple-system, "Segoe UI",
    sans-serif;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.6rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0;
  color: var(--charcoal);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 460px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(247, 244, 239, 0.92) 0%,
      rgba(247, 244, 239, 0.7) 45%,
      rgba(247, 244, 239, 0.2) 70%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(27, 26, 23, 0.06),
      transparent 55%
    ),
    linear-gradient(
      to right,
      rgba(27, 26, 23, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      rgba(27, 26, 23, 0.05) 1px,
      transparent 1px
    ),
    url("images/hero-abstract.svg") center/cover no-repeat;
  background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px, cover;
  background-position: 0 0, 0 0, 0 0, 0 0, center;
  opacity: 0.9;
  z-index: 0;
}

.logo-marquee {
  overflow: hidden;
  padding: 18px 0;
  background: var(--background);
}

.logo-cloud-controls {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.logo-marquee-toggle {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--charcoal);
  padding: 6px 12px;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

.logo-marquee-toggle:hover {
  border-color: rgba(27, 26, 23, 0.2);
}

.logo-cloud.is-paused .logo-track {
  animation-play-state: paused;
}

.logo-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: logo-marquee 60s linear infinite;
}

.logo-set {
  display: flex;
  align-items: center;
  gap: 56px;
}

.logo-set img {
  height: 60px;
  width: auto;
  opacity: 0.9;
  filter: none;
}

.positioning {
  padding: 70px 0;
}

.positioning p {
  font-size: 1.1rem;
  color: var(--muted);
}

.products {
  padding: 80px 0 60px;
  background: var(--section);
}

.products .section-header {
  margin-bottom: 40px;
}

.section-header {
  margin-bottom: 32px;
}

.section-subtitle {
  color: var(--muted);
  max-width: 620px;
}

.text-muted {
  color: var(--muted);
}

.small-note {
  margin: 12px auto 0;
  max-width: 820px;
  font-size: 0.9rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: #1a1d24;
  padding: 0;
  border-radius: 0;
  border: none;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 18px 50px rgba(27, 26, 23, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  color: white;
  position: relative;
}

.card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transform: scale(1.02);
  transition: transform 0.35s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 16, 0.05) 0%,
    rgba(15, 15, 16, 0.5) 70%,
    rgba(15, 15, 16, 0.75) 100%
  );
  z-index: 1;
}

.card-content {
  padding: 20px;
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 2;
  min-height: 300px;
  align-content: end;
}

.card-category {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
}

.card p {
  color: rgba(255, 255, 255, 0.92);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, max-height 0.25s ease;
}

.card-link {
  color: rgba(255, 255, 255, 0.9);
}


.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(27, 26, 23, 0.16);
}

.card:hover .card-media img {
  transform: scale(1.06);
}

.card:hover p {
  opacity: 1;
  max-height: 320px;
}

.training {
  padding: 70px 0 90px;
  background: var(--section);
  border-top: 1px solid rgba(27, 26, 23, 0.06);
}

.training-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  background: white;
  border: 1px solid var(--border);
  padding: 40px;
  box-shadow: var(--shadow);
}

.training-copy {
  display: grid;
  gap: 14px;
  align-content: center;
}

.training-copy .card-category {
  color: var(--charcoal);
}

.training-copy p {
  color: var(--muted);
}

.outcome {
  margin-top: 4px;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.training-visual {
  min-height: 260px;
  background: linear-gradient(
      140deg,
      rgba(208, 122, 58, 0.16),
      rgba(15, 15, 16, 0.3)
    ),
    url("https://zarnnrxwzoxvovjhovhu.supabase.co/storage/v1/object/public/images/general/client-workshops-neurosys.jpg")
      center/cover no-repeat;
}

.target-audience {
  padding: 50px 0 10px;
  background: var(--background);
}

.bullet-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.bullet-list li {
  color: var(--muted);
}

.featured-activities {
  padding: 40px 0 80px;
  background: var(--background);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.featured-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(27, 26, 23, 0.16);
}

.featured-media {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(27, 26, 23, 0.08);
}

.featured-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.featured-card:hover .featured-media img {
  transform: scale(1.03);
}

.featured-body {
  display: grid;
  gap: 14px;
  padding: 24px 26px 28px;
  align-content: start;
}

.featured-body p {
  color: var(--muted);
}

.button.secondary.featured {
  border-color: rgba(31, 93, 69, 0.6);
  color: #1f5d45;
  background: #e6f4ee;
}

.button.secondary.featured:hover {
  box-shadow: 0 12px 24px rgba(47, 138, 106, 0.18);
}

.news-hero {
  padding: 120px 0 40px;
  background: var(--background);
}

.news-list {
  padding: 24px 0 80px;
  background: var(--background);
}

.news-grid {
  display: grid;
  gap: 26px;
}

.news-card {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(27, 26, 23, 0.16);
}

.news-card-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.news-card-body {
  display: grid;
  gap: 12px;
  padding: 24px 26px 28px;
  align-content: start;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(47, 138, 106, 0.35);
  color: #2f8a6a;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card-body p {
  color: var(--muted);
}

.news-detail {
  padding: 120px 0 90px;
  background: var(--background);
}

.news-detail-inner {
  display: grid;
  gap: 20px;
  width: min(860px, 90vw);
  margin: 0 auto;
}

.news-detail-media {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.news-detail-media img {
  width: 100%;
  display: block;
}

.news-detail-content {
  display: grid;
  gap: 16px;
}

.news-detail-content p {
  color: var(--muted);
}

.platforms {
  padding: 80px 0;
  background: var(--background);
}

.platforms-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 32px;
  align-items: start;
}

.platforms-list {
  display: grid;
  gap: 10px;
}

.platform-tab {
  text-align: left;
  border: 1px solid var(--border);
  background: white;
  padding: 12px 14px;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.platform-tab:hover,
.platform-tab:focus-visible {
  border-color: rgba(27, 26, 23, 0.2);
  color: var(--ink);
}

.platform-tab.active {
  border-color: rgba(208, 122, 58, 0.4);
  color: var(--ink);
  background: rgba(15, 17, 21, 0.02);
}

.platforms-detail {
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 24px 28px;
}

.platform-panel {
  display: none;
  gap: 12px;
}

.platform-panel.active {
  display: grid;
}

.platform-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.platform-panel-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.platform-panel-badge {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.platform-panel-logo img {
  max-height: 56px;
  width: auto;
}

.platform-panel p {
  color: var(--muted);
}

.platform-panel-subtitle {
  font-weight: 600;
  color: var(--ink);
}

.platform-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}


.events {
  padding: 90px 0;
  background: var(--background);
}

.product-hero {
  padding: 90px 0;
  background: var(--background);
}

.product-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

.product-hero-visual {
  min-height: 320px;
  background: linear-gradient(
      140deg,
      rgba(208, 122, 58, 0.16),
      rgba(15, 15, 16, 0.25)
    ),
    url("images/assistant-mock.svg") center/cover no-repeat;
}

.training-hero-visual {
  background: linear-gradient(
      140deg,
      rgba(15, 15, 16, 0.35),
      rgba(15, 15, 16, 0.1)
    ),
    url("https://zarnnrxwzoxvovjhovhu.supabase.co/storage/v1/object/public/images/general/client-workshops-neurosys.jpg")
      center/cover no-repeat;
}

.product-overview {
  padding: 40px 0 70px;
}

.product-overview p + p {
  margin-top: 16px;
}

.hero-note {
  margin-top: 12px;
  font-size: 0.9rem;
}

.product-concept {
  padding: 70px 0 90px;
  background: var(--background);
}

.concept-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: center;
}

.concept-points {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.concept-tree-illustration {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.concept-tree-illustration svg {
  width: 100%;
  height: auto;
}

.tree-flow {
  stroke: rgba(43, 39, 35, 0.35);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 6 10;
  animation: tree-flow 6s linear infinite;
}

.tree-node rect {
  fill: #ffffff;
  stroke: var(--border);
}

.tree-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  fill: var(--muted);
}

.tree-title {
  font-size: 0.95rem;
  fill: var(--ink);
  font-weight: 600;
}

.tree-node.small .tree-title {
  font-size: 0.9rem;
  font-weight: 500;
}

@keyframes tree-flow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -40;
  }
}

.dify-workflows {
  padding: 80px 0;
  background: var(--section);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.workflow-card {
  background: white;
  border: 1px solid var(--border);
  padding: 24px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow-soft);
}

.workflow-visual {
  height: 110px;
  border: 1px solid rgba(27, 26, 23, 0.08);
  background: linear-gradient(
      140deg,
      rgba(208, 122, 58, 0.12),
      rgba(15, 15, 16, 0.08)
    ),
    url("images/dify-workflow-card.svg") center/cover no-repeat;
}

.workflow-card p {
  color: var(--muted);
}

.workflow-card .text-muted {
  font-size: 0.9rem;
}

.references {
  padding: 90px 0;
  background: var(--background);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.work-card {
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 14px;
  overflow: hidden;
}

.work-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--section);
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-status {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 17, 21, 0.7);
  color: var(--background);
  font-size: 0.75rem;
  padding: 4px 8px;
  letter-spacing: 0.02em;
}

.work-logo {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 17, 21, 0.75);
  padding: 6px 10px;
  height: 36px;
  display: inline-flex;
  align-items: center;
}

.work-logo img {
  height: 100%;
  width: auto;
  opacity: 0.9;
}

.work-content {
  padding: 0 20px 20px;
  display: grid;
  gap: 10px;
}

.work-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work-tag {
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
  padding: 3px 8px;
}

.offices {
  padding: 80px 0;
  background: var(--background);
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.office-card {
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.office-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--section);
}

.office-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.office-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 4px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65));
}

.office-city {
  color: var(--background);
  font-weight: 600;
}

.office-country {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.team-card {
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
  padding: 20px;
}

.team-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--section);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-role {
  color: var(--muted);
  font-size: 0.95rem;
}

.team-links a {
  color: var(--muted);
}

.team-links a:hover {
  color: var(--ink);
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.reference-card {
  background: white;
  border: 1px solid var(--border);
  padding: 24px;
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow-soft);
}

.reference-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.reference-badge {
  border: 1px solid transparent;
  padding: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reference-badge img {
  height: 32px;
  width: auto;
  display: block;
}

.reference-result {
  background: rgba(47, 138, 106, 0.08);
  border: 1px solid rgba(47, 138, 106, 0.24);
  padding: 10px 12px;
  color: var(--charcoal);
}

.reference-story {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border);
  padding: 10px;
  background: var(--background);
}

.reference-story img {
  width: 88px;
  height: 64px;
  object-fit: cover;
  display: block;
}

.reference-story-title {
  font-weight: 600;
  color: var(--ink);
}

.reference-story-link {
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.9rem;
}

.reference-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.automation-context {
  padding: 70px 0;
  background: var(--section);
}

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

.context-card {
  background: white;
  border: 1px solid var(--border);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.context-note {
  margin-top: 16px;
}

.automation-why {
  padding: 90px 0;
  background: var(--background);
}

.value-streams {
  padding: 80px 0;
  background: var(--section);
}

.value-streams p {
  color: var(--muted);
}

.stream-list {
  margin: 16px 0;
  display: grid;
  gap: 8px;
  color: var(--charcoal);
}

.stream-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stream-cards div {
  background: white;
  border: 1px solid var(--border);
  padding: 12px;
  box-shadow: var(--shadow-soft);
}


.context-canvas {
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.context-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.context-group {
  display: grid;
  gap: 10px;
  padding-left: 12px;
  border-left: 2px solid rgba(36, 58, 74, 0.12);
}

.context-group + .context-group {
  margin-top: 16px;
}

.context-group:nth-child(2) {
  border-left-color: rgba(47, 94, 125, 0.16);
}

.context-group:nth-child(3) {
  border-left-color: rgba(26, 29, 36, 0.14);
}

.context-group-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.context-group .context-grid {
  margin: 0;
  gap: 12px;
}

.context-group .context-card {
  background: white;
  border: 1px solid var(--border);
}

.automation-bridge {
  padding: 40px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.flow-compare {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.flow-block {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: white;
}

.flow-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.flow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.flow-node {
  padding: 6px 12px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.flow-arrow {
  color: var(--muted);
}

.flow-before {
  background: var(--surface);
  color: var(--muted);
}

.flow-before .flow-node {
  background: transparent;
}

.flow-after {
  border-color: rgba(47, 94, 125, 0.35);
}

.flow-points {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.flow-points li::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}

.system-compare {
  padding: 90px 0;
  background: var(--background);
}

.audience {
  padding: 80px 0;
  background: var(--section);
}

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

.audience-card {
  background: white;
  border: 1px solid var(--border);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.product-final-cta {
  padding: 80px 0 110px;
  background: var(--background);
}

.dify-proof {
  padding: 90px 0;
  background: var(--background);
}

.dify-proof-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.dify-proof-visual {
  min-height: 320px;
  border: 1px solid rgba(27, 26, 23, 0.08);
  background: linear-gradient(
      140deg,
      rgba(208, 122, 58, 0.1),
      rgba(15, 15, 16, 0.12)
    ),
    url("images/dify-flow-diagram.svg") center/cover no-repeat;
}

.assistants-columns {
  padding: 50px 0 80px;
  background: var(--section);
  border-top: 1px solid rgba(27, 26, 23, 0.06);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.column-card {
  background: white;
  border: 1px solid var(--border);
  padding: 24px;
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow-soft);
}

.column-card a {
  margin-top: 4px;
}

.product-outcomes {
  padding: 40px 0 20px;
  background: var(--background);
}

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

.outcome-item {
  background: var(--section);
  border: 1px solid rgba(27, 26, 23, 0.08);
  padding: 18px;
  text-align: center;
}

.outcome-value {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
}

.outcome-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.product-fit {
  padding: 60px 0 80px;
  background: var(--background);
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.fit-card {
  background: var(--section);
  border: 1px solid rgba(27, 26, 23, 0.08);
  padding: 22px;
  display: grid;
  gap: 10px;
}

.fit-card p {
  color: var(--muted);
}

.column-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.value-section {
  padding: 90px 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.value-card {
  background: white;
  border: 1px solid var(--border);
  padding: 24px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow-soft);
}

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

.value-grid-staggered .value-card:nth-child(3) {
  grid-column: 1 / -1;
  max-width: 520px;
  margin: 0 auto;
}

.value-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(36, 58, 74, 0.08);
  border: 1px solid rgba(36, 58, 74, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  color: #243a4a;
}

.value-icon::before {
  content: "";
  width: 14px;
  height: 14px;
  display: block;
  background: currentColor;
  border-radius: 50%;
  opacity: 0.9;
}

.value-icon-context::before {
  box-shadow: -6px -4px 0 0 currentColor, 6px 4px 0 0 currentColor;
}

.value-icon-cross::before {
  width: 16px;
  height: 6px;
  border-radius: 999px;
}

.value-icon-evolve::before {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
}

.value-card p {
  color: var(--muted);
}

.use-cases {
  padding: 80px 0;
  background: var(--section);
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.use-case-card {
  background: white;
  border: 1px solid var(--border);
  padding: 24px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow-soft);
}

.use-case-card p {
  color: var(--muted);
}

.build-steps {
  padding: 90px 0;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.step-card {
  background: white;
  border: 1px solid var(--border);
  padding: 24px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow-soft);
}

.step-number {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.step-card p {
  color: var(--muted);
}

.integrations {
  padding: 80px 0;
  background: var(--section);
}

.products-index-hero {
  padding: 120px 0 60px;
  background: var(--background);
}

.products-index-list {
  padding: 40px 0 90px;
  background: var(--background);
}

.product-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-list-card {
  background: white;
  border: 1px solid var(--border);
  padding: 24px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow-soft);
  color: var(--charcoal);
}

.product-list-card p {
  color: var(--muted);
}

.placeholder-panel {
  padding: 70px 0;
  background: var(--section);
  border-top: 1px solid rgba(27, 26, 23, 0.06);
  border-bottom: 1px solid rgba(27, 26, 23, 0.06);
}

.product-system {
  margin-top: 64px;
  padding: 20px 0 12px;
  background: var(--section);
  border-bottom: 1px solid rgba(27, 26, 23, 0.06);
}

.system-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.system-label {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.system-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0 8px;
  border: none;
  color: var(--muted);
  background: transparent;
  font-weight: 500;
  position: relative;
}

.system-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.system-item:hover::after,
.system-item:focus-visible::after,
.system-item.active::after {
  transform: scaleX(1);
}

.system-item.active {
  color: var(--ink);
}

.system-note {
  margin-top: 10px;
  color: var(--muted);
}

.integrations p + p {
  margin-top: 12px;
}

.integrations ul {
  margin: 16px 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.delivery {
  padding: 90px 0;
}

.delivery-flow {
  position: relative;
}

.delivery-flow .column-card {
  position: relative;
}

.delivery-flow .column-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.1rem;
}

.delivery-destination {
  border-color: rgba(47, 94, 125, 0.35);
  background: rgba(47, 94, 125, 0.04);
}

.assurance-bar {
  margin-top: 20px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--section);
  color: var(--muted);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.assurance-bar::before {
  content: "●";
  color: var(--accent);
  font-size: 0.6rem;
}

.services-hero .product-hero-inner {
  align-items: center;
}

.services-visual {
  height: 260px;
  border: 1px solid rgba(27, 26, 23, 0.08);
  background:
    linear-gradient(140deg, rgba(36, 58, 74, 0.12), rgba(15, 15, 16, 0.06)),
    radial-gradient(circle at 30% 30%, rgba(36, 58, 74, 0.2), transparent 60%);
  border-radius: 14px;
}

.services-flow {
  padding: 80px 0;
  background: var(--section);
}

.services-overview {
  padding: 70px 0;
  background: var(--background);
}

.service-steps {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.service-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  background: white;
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.service-step-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(36, 58, 74, 0.08);
  border: 1px solid rgba(36, 58, 74, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #243a4a;
}

.service-step h3 {
  margin: 0 0 8px;
}

.service-step ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

@media (max-width: 768px) {
  .service-step {
    grid-template-columns: 1fr;
  }

  .service-steps::before {
    left: 22px;
  }
}

.contact-hero .product-hero-inner {
  align-items: center;
}

.product-hero-visual.contact-visual {
  position: relative;
  overflow: hidden;
  color: rgba(36, 58, 74, 0.7);
  background:
    linear-gradient(140deg, rgba(208, 122, 58, 0.16), rgba(15, 15, 16, 0.25)),
    url("images/contact-visual.svg") center/cover no-repeat;
}


.contact-details {
  padding: 80px 0;
  background: var(--section);
}

.contact-details-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.contact-info-card,
.contact-person-card {
  background: white;
  border: 1px solid var(--border);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.contact-info-card h3 {
  margin: 0 0 8px;
}

.contact-person-card {
  display: grid;
  gap: 16px;
}

.contact-person-photo {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(27, 26, 23, 0.08);
}

.contact-person-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-person-body {
  display: grid;
  gap: 6px;
}

.contact-person-body a {
  color: var(--charcoal);
}

@media (max-width: 900px) {
  .contact-details-grid {
    grid-template-columns: 1fr;
  }
}

.mini-case {
  padding: 80px 0;
  background: var(--background);
}

.mini-case p {
  color: var(--muted);
  max-width: 720px;
}

.faq {
  padding: 80px 0;
  background: var(--section);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  padding: 24px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow-soft);
}

.faq-item p {
  color: var(--muted);
}

.product-cta {
  padding: 90px 0 120px;
}

.cta-panel {
  background: white;
  border: 1px solid var(--border);
  padding: 32px;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow);
}

.cta-inline {
  padding: 30px 0 70px;
  background: var(--background);
}

.cta-inline-inner {
  background: white;
  border: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.event-card {
  background: white;
  border: 1px solid var(--border);
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.event-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--section);
  background-image: var(--event-image);
  background-size: cover;
  background-position: center;
}

.event-date-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.event-content {
  display: grid;
  gap: 10px;
  padding: 0 20px 20px;
}

.event-content p {
  color: var(--muted);
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.event-actions {
  margin-top: 4px;
}

.credentials {
  padding: 70px 0 40px;
  background: var(--section);
}

.testimonials {
  padding: 90px 0;
  background: var(--background);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 24px;
  display: grid;
  gap: 16px;
}

.testimonial-quote {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  color: rgba(208, 122, 58, 0.6);
  line-height: 1;
}

.testimonial-text {
  color: var(--muted);
  font-size: 1.12rem;
}

.testimonial-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--section);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.98rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-role {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 2px;
}

.testimonial-company {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 2px;
}

.testimonial-logo {
  height: 28px;
  display: inline-flex;
  align-items: center;
}

.testimonial-logo img {
  height: 100%;
  width: auto;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.credential {
  background: white;
  border: none;
  border-radius: 0;
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 8px;
}

.credential-icon {
  width: 40px;
  height: auto;
  margin: 0 auto;
}

.credential-value {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

.credential-label {
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--border);
  background: var(--background);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-brand a,
.footer-links a {
  color: var(--charcoal);
}

.footer-title {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.contact-card {
  padding: 120px 0;
  background: var(--section);
  border-top: 1px solid rgba(27, 26, 23, 0.08);
  position: relative;
}

.contact-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -80px;
  height: 80px;
  background: linear-gradient(
    180deg,
    rgba(247, 244, 239, 0) 0%,
    rgba(241, 236, 228, 1) 100%
  );
}

.contact-card-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: start;
}

.contact-band {
  background: transparent;
  padding: 24px 0 70px;
}

.contact-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 0;
  align-items: stretch;
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 0;
  overflow: hidden;
  min-height: 140px;
}

.contact-band-copy h2 {
  margin-bottom: 8px;
}

.contact-band-copy p {
  color: rgba(255, 255, 255, 0.8);
}

.contact-band-copy {
  background: #2b2723;
  color: white;
  padding: 20px 24px;
  display: grid;
  align-content: center;
}

.contact-band-card {
  background: white;
  border: none;
  box-shadow: none;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0;
  align-items: stretch;
  padding: 0;
  border-left: 1px solid var(--border);
  width: 100%;
  height: 100%;
}

.contact-band-card .contact-photo {
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
}

.contact-band-details {
  padding: 20px 24px;
}

.contact-band-card .contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-band-card .contact-name,
.contact-band-card .contact-role {
  margin-left: 0;
}

.contact-band-card .button {
  margin-top: 8px;
}

.contact-band-details {
  display: grid;
  align-content: center;
  gap: 6px;
}

.contact-card-inner p {
  color: var(--muted);
}

.contact-copy {
  display: grid;
  gap: 12px;
  align-content: start;
}

.contact-person {
  background: white;
  padding: 0 0 20px;
  border: 1px solid var(--border);
  display: grid;
  gap: 8px;
  justify-items: start;
}

.contact-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid rgba(27, 26, 23, 0.08);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-name,
.contact-role,
.contact-person a,
.contact-person .button {
  margin-left: 20px;
}

.contact-person .button {
  margin-top: 8px;
}

.contact-name {
  font-weight: 600;
  color: var(--ink);
}

.contact-role {
  color: var(--muted);
  font-size: 0.95rem;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 900px) {
  .header-utility {
    gap: 12px;
  }

  .card-grid,
  .event-grid,
  .value-grid,
  .use-case-grid,
  .step-grid,
  .faq-grid,
  .two-column,
  .product-hero-inner,
  .fit-grid,
  .outcome-grid,
  .workflow-grid,
  .work-grid,
  .office-grid,
  .reference-grid,
  .team-grid,
  .testimonial-grid,
  .platforms-layout,
  .dify-proof-inner,
  .system-nav,
  .product-list-grid,
  .context-grid,
  .audience-grid,
  .featured-grid,
  .news-card {
    grid-template-columns: 1fr;
  }

  .stream-cards {
    grid-template-columns: 1fr;
  }

  .flow-compare {
    grid-template-columns: 1fr;
  }

  .delivery-flow .column-card:not(:last-child)::after {
    content: "";
  }


  .concept-layout {
    grid-template-columns: 1fr;
  }

  .concept-tree-illustration {
    max-width: 480px;
  }

  .platforms-detail {
    padding: 20px;
  }

  .card p {
    opacity: 1;
    max-height: none;
  }

  .cta-inline-inner {
    flex-direction: column;
    align-items: flex-start;
  }


  .contact-card-inner {
    grid-template-columns: 1fr;
  }

  .contact-band-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .training-panel {
    grid-template-columns: 1fr;
  }

  .training-visual {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .site-nav {
    position: absolute;
    top: 68px;
    right: 4vw;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    display: none;
    min-width: 240px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex !important;
  }

  .header-inner {
    position: relative;
  }

  .nav-link {
    display: none;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    padding: 10px 0 0;
  }

  .mega-menu {
    grid-template-columns: 1fr;
    min-width: unset;
  }
}

@media (max-width: 520px) {
  .credentials-grid {
    grid-template-columns: 1fr;
  }
}

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

  .logo-track {
    animation: none;
  }

  .tree-flow {
    animation: none;
  }
}

@keyframes logo-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
