/*
Theme Name: Techwinn
Theme URI: https://techwinn.local
Author: Techwinn
Description: Custom Techwinn theme — header only.
Version: 1.7.0
Requires at least: 6.0
Tested up to: 6.7
Text Domain: techwinn
*/

/* Reset / base for header only */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #181d27;
  background: #ffffff;
  --hero-scribble: #9caf88;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

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

/* ========== Header ========== */
.site-header {
  --header-surface: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}

.site-header a,
.site-header button,
.site-header .menu-toggle,
.site-header .primary-nav__link,
.site-header .primary-nav__list a,
.site-header .header-cta {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.site-header .site-logo:focus,
.site-header .site-logo:active,
.site-header .menu-toggle:focus,
.site-header .menu-toggle:active,
.site-header .primary-nav__list a:focus,
.site-header .primary-nav__list a:active {
  background-color: transparent;
  outline: none;
  box-shadow: none;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  opacity: var(--header-surface);
  pointer-events: none;
}

.site-header.is-menu-open {
  --header-surface: 1;
}

.site-header__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 64px;
}

/* Logo */
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-logo__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.site-logo__text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #181d27;
  line-height: 1;
}

/* Right-side actions */
.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: #141414;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}

.header-cta:hover {
  background: #2a2a2a;
  color: #ffffff;
}

.header-cta:active {
  transform: scale(0.98);
}

.header-cta--mobile {
  display: none;
}

/* Desktop navigation — centered */
.primary-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
}

.primary-nav__panel {
  display: contents;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav__list > .menu-item {
  position: relative;
}

.primary-nav__list > .menu-item > a,
.primary-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #181d27;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.primary-nav__list > .menu-item > a:hover,
.primary-nav__link:hover {
  color: #535862;
}

/* Dropdown ready for WP menus (Appearance → Menus) */
.primary-nav__list .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 180px;
  padding: 8px;
  list-style: none;
  margin: 0;
  background: #ffffff;
  border: 1px solid #e9eaeb;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 20;
}

.primary-nav__list .menu-item-has-children:hover > .sub-menu,
.primary-nav__list .menu-item-has-children:focus-within > .sub-menu,
.primary-nav__list .menu-item-has-children.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.primary-nav__list .sub-menu a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #414651;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.primary-nav__list .sub-menu a:hover {
  background: #f5f5f5;
  color: #181d27;
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  color: #181d27;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  box-shadow: none;
}

.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggle:focus-visible,
.menu-toggle:active,
.menu-toggle[aria-expanded="true"] {
  background: transparent;
  outline: none;
  box-shadow: none;
  color: #181d27;
}

.menu-toggle__icon {
  width: 24px;
  height: 24px;
}

.menu-toggle__icon--close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon--open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon--close {
  display: block;
}

/* ========== Mobile ========== */
@media (max-width: 768px) {
  .site-header__inner {
    padding: 12px 16px;
    gap: 16px;
  }

  .header-cta--desktop {
    display: none;
  }

  .header-cta--mobile {
    display: inline-flex;
    width: 100%;
    max-width: 280px;
    margin: 16px auto 0;
    padding: 12px 20px;
    font-size: 15px;
    opacity: 0;
    transform: translateY(-10px);
    transition:
      opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0s;
  }

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

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    grid-template-rows: 0fr;
    transform: none;
    background: #ffffff;
    border-bottom: 1px solid transparent;
    overflow: hidden;
    pointer-events: none;
    transition:
      grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.35s ease;
  }

  .primary-nav.is-open {
    grid-template-rows: 1fr;
    border-bottom-color: #e9eaeb;
    pointer-events: auto;
  }

  .primary-nav__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
    overflow: hidden;
    padding: 0 16px;
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 0.3s ease,
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      padding 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .primary-nav.is-open .primary-nav__panel {
    opacity: 1;
    transform: translateY(0);
    padding: 16px 16px 20px;
  }

  .primary-nav__list {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
  }

  .primary-nav__list > .menu-item {
    width: 100%;
    opacity: 0;
    transform: translateY(-10px);
    transition:
      opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .primary-nav.is-open .primary-nav__list > .menu-item {
    opacity: 1;
    transform: translateY(0);
  }

  .primary-nav.is-open .primary-nav__list > .menu-item:nth-child(1) { transition-delay: 0.04s; }
  .primary-nav.is-open .primary-nav__list > .menu-item:nth-child(2) { transition-delay: 0.08s; }
  .primary-nav.is-open .primary-nav__list > .menu-item:nth-child(3) { transition-delay: 0.12s; }
  .primary-nav.is-open .primary-nav__list > .menu-item:nth-child(4) { transition-delay: 0.16s; }
  .primary-nav.is-open .primary-nav__list > .menu-item:nth-child(5) { transition-delay: 0.2s; }
  .primary-nav.is-open .primary-nav__list > .menu-item:nth-child(6) { transition-delay: 0.24s; }
  .primary-nav.is-open .header-cta--mobile {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.28s;
  }

  .primary-nav__list > .menu-item > a,
  .primary-nav__link {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 14px 4px;
    font-size: 16px;
    border-bottom: 1px solid #f0f1f3;
    -webkit-tap-highlight-color: transparent;
    background: transparent;
  }

  .primary-nav__list > .menu-item > a:focus,
  .primary-nav__list > .menu-item > a:active,
  .primary-nav__link:focus,
  .primary-nav__link:active {
    background: transparent;
    color: inherit;
    outline: none;
    box-shadow: none;
  }

  .header-cta--mobile,
  .header-cta--mobile:focus,
  .header-cta--mobile:active {
    -webkit-tap-highlight-color: transparent;
  }

  .primary-nav__list > .menu-item:last-child > a,
  .primary-nav__list > .menu-item:last-child .primary-nav__link {
    border-bottom: none;
  }

  .primary-nav__list .sub-menu {
    position: static;
    transform: none;
    min-width: 0;
    margin: 0;
    padding: 4px 0 8px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    text-align: center;
  }

  .primary-nav__list .sub-menu a {
    text-align: center;
  }

  .primary-nav__list .menu-item-has-children.is-open > .sub-menu {
    display: block;
  }

  .primary-nav__list .menu-item-has-children:hover > .sub-menu {
    display: none;
  }

  .primary-nav__list .menu-item-has-children.is-open:hover > .sub-menu,
  .primary-nav__list .menu-item-has-children.is-open > .sub-menu {
    display: block;
  }
}

/* ========== Hero ========== */
.hero {
  --hero-bg: #faf9f6;
  --hero-text: #1a1a1a;
  --hero-scribble: #9caf88;
  --hero-network: #c4bfb6;
  --hero-network-strong: #9a948a;
  --hero-pulse: #6b6560;
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
  min-height: calc(100vh - 72px);
  padding: 72px 32px 80px;
  display: flex;
  align-items: center;
}

.hero__network {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(58%, 760px);
  color: var(--hero-network);
  pointer-events: none;
  z-index: 0;
}

.hero__network-svg {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.hero__network-grid {
  opacity: 0.28;
}

.hero__network-routes {
  color: var(--hero-network-strong);
  opacity: 0.85;
}

.hero__network-nodes {
  color: var(--hero-network-strong);
  opacity: 0.75;
}

.hero__network-pulses {
  color: var(--hero-pulse);
}

.hero__network-pulses circle {
  filter: drop-shadow(0 0 4px rgba(107, 101, 96, 0.35));
  opacity: 0;
}

.hero__network-routes path.is-drawing {
  animation: hero-network-draw 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__network-routes path.is-drawn {
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}

@keyframes hero-network-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.hero__network-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, transparent 0%, transparent 42%, var(--hero-bg) 88%),
    linear-gradient(180deg, var(--hero-bg) 0%, transparent 18%, transparent 82%, var(--hero-bg) 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.hero__title {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--hero-text);
}

.hero__line {
  display: block;
}

.hero__line--accent {
  position: relative;
  display: inline-block;
  padding-bottom: 0.12em;
}

.hero__scribble {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.02em;
  width: 104%;
  height: 0.28em;
  color: var(--hero-scribble);
  pointer-events: none;
  overflow: visible;
}

.hero__scribble path {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: hero-scribble 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.hero__scribble path:nth-child(2) {
  animation-delay: 0.48s;
}

.hero__scribble path:nth-child(3) {
  animation-delay: 0.58s;
}

@keyframes hero-scribble {
  to {
    stroke-dashoffset: 0;
  }
}

.hero__line--strong {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero__pitch {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr) minmax(0, 0.85fr);
  gap: 40px 48px;
  align-items: start;
  margin-top: 56px;
  max-width: 920px;
}

.hero__pitch-shapes {
  position: absolute;
  inset: -24px -8% -32px -4%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__pitch-shape {
  position: absolute;
  display: block;
  background: rgba(26, 26, 26, 0.045);
  border-radius: 28px;
}

.hero__pitch-shape--1 {
  width: 180px;
  height: 120px;
  top: -10px;
  left: -20px;
  border-radius: 36px;
}

.hero__pitch-shape--2 {
  width: 140px;
  height: 160px;
  top: 18%;
  left: 38%;
  border-radius: 40px;
}

.hero__pitch-shape--3 {
  width: 170px;
  height: 130px;
  right: 4%;
  bottom: -18px;
  border-radius: 36px;
}

.hero__pitch-lead,
.hero__pitch-item {
  position: relative;
  z-index: 1;
}

.hero__pitch-text {
  margin: 0;
  max-width: 34ch;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.125rem);
  font-weight: 400;
  line-height: 1.55;
  color: #2a2a2a;
}

.hero__pitch-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding-bottom: 4px;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #111111;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.15s ease;
}

.hero__pitch-link:hover,
.hero__pitch-link:focus-visible {
  opacity: 0.7;
}

.hero__pitch-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  color: #111111;
  margin-bottom: 14px;
}

.hero__pitch-icon svg {
  width: 100%;
  height: 100%;
}

.hero__pitch-heading {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #111111;
}

.hero__pitch-desc {
  margin: 8px 0 0;
  max-width: 22ch;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.45;
  color: #5c5c5c;
}

.hero__pitch-item:last-child {
  margin-left: -20px;
  padding-left: 0;
}

@media (max-width: 1024px) {
  .hero__network {
    width: 70%;
    opacity: 0.7;
  }

  .hero__network-fade {
    background:
      linear-gradient(270deg, transparent 0%, var(--hero-bg) 75%),
      linear-gradient(180deg, var(--hero-bg) 0%, transparent 20%, transparent 80%, var(--hero-bg) 100%);
  }

  .hero__pitch {
    grid-template-columns: 1fr 1fr;
    gap: 32px 28px;
    max-width: 100%;
  }

  .hero__pitch-lead {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 48px 20px 64px;
    min-height: calc(100vh - 64px);
    align-items: flex-start;
  }

  .hero__network {
    width: 100%;
    opacity: 0.4;
  }

  .hero__network-fade {
    background:
      linear-gradient(180deg, var(--hero-bg) 0%, transparent 25%, transparent 55%, var(--hero-bg) 88%),
      linear-gradient(90deg, var(--hero-bg) 0%, transparent 55%);
  }

  .hero__title {
    max-width: none;
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }

  .hero__pitch {
    grid-template-columns: 1fr;
    margin-top: 40px;
    gap: 28px;
  }

  .hero__pitch-item:last-child {
    margin-left: 0;
    padding-left: 0;
  }

  .hero__pitch-shapes {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__network-routes path.is-drawing {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* ========== Hero 2 — Confidence / panels ========== */
.hero-alt {
  --ha-ink: #3f4248;
  --ha-muted: #6b6f76;
  --ha-star: #e31c23;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: flex-end;
  padding: 120px 32px 56px;
  background: #f7f8fa;
}

.hero-alt__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-alt__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #f6c9a4 0%,
    #f4dfd0 24%,
    #efe8ef 48%,
    #d9e8f6 74%,
    #b8d4ef 100%
  );
}

.hero-alt__rods {
  position: absolute;
  inset: -12% -4%;
  display: flex;
  align-items: stretch;
  gap: 0;
  transform: skewX(-8deg);
}

.hero-alt__rod {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  margin-left: -2.2%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.34) 18%,
    rgba(255, 255, 255, 0.22) 82%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border-left: 1px solid rgba(255, 255, 255, 0.65);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  /* Wide rod body with diagonal end caps only */
  clip-path: polygon(
    0% var(--rod-top-l, 8%),
    100% var(--rod-top-r, 0%),
    100% calc(100% - var(--rod-bot-r, 6%)),
    0% calc(100% - var(--rod-bot-l, 0%))
  );
}

.hero-alt__rod:first-child {
  margin-left: 0;
}

.hero-alt__rod--1 {
  flex: 1.1 1 0;
  --rod-top-l: 12%;
  --rod-top-r: 2%;
  --rod-bot-l: 0%;
  --rod-bot-r: 9%;
  opacity: 0.9;
}

.hero-alt__rod--2 {
  flex: 1.35 1 0;
  --rod-top-l: 2%;
  --rod-top-r: 11%;
  --rod-bot-l: 8%;
  --rod-bot-r: 0%;
  opacity: 1;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.42) 20%,
    rgba(255, 255, 255, 0.28) 80%,
    rgba(255, 255, 255, 0.1) 100%
  );
}

.hero-alt__rod--3 {
  flex: 1 1 0;
  --rod-top-l: 14%;
  --rod-top-r: 4%;
  --rod-bot-l: 1%;
  --rod-bot-r: 11%;
  opacity: 0.75;
}

.hero-alt__rod--4 {
  flex: 1.45 1 0;
  --rod-top-l: 0%;
  --rod-top-r: 13%;
  --rod-bot-l: 10%;
  --rod-bot-r: 0%;
  opacity: 1;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.46) 22%,
    rgba(255, 255, 255, 0.3) 78%,
    rgba(255, 255, 255, 0.1) 100%
  );
}

.hero-alt__rod--5 {
  flex: 0.95 1 0;
  --rod-top-l: 16%;
  --rod-top-r: 6%;
  --rod-bot-l: 0%;
  --rod-bot-r: 12%;
  opacity: 0.7;
}

.hero-alt__rod--6 {
  flex: 1.3 1 0;
  --rod-top-l: 3%;
  --rod-top-r: 14%;
  --rod-bot-l: 11%;
  --rod-bot-r: 1%;
  opacity: 0.95;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.4) 20%,
    rgba(255, 255, 255, 0.26) 80%,
    rgba(255, 255, 255, 0.08) 100%
  );
}

.hero-alt__rod--7 {
  flex: 1.05 1 0;
  --rod-top-l: 11%;
  --rod-top-r: 1%;
  --rod-bot-l: 2%;
  --rod-bot-r: 9%;
  opacity: 0.8;
}

.hero-alt__rod--8 {
  flex: 1.4 1 0;
  --rod-top-l: 0%;
  --rod-top-r: 10%;
  --rod-bot-l: 12%;
  --rod-bot-r: 0%;
  opacity: 1;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.44) 22%,
    rgba(255, 255, 255, 0.28) 78%,
    rgba(255, 255, 255, 0.1) 100%
  );
}

.hero-alt__rod--9 {
  flex: 1 1 0;
  --rod-top-l: 13%;
  --rod-top-r: 3%;
  --rod-bot-l: 0%;
  --rod-bot-r: 10%;
  opacity: 0.78;
}

.hero-alt__rod--10 {
  flex: 1.2 1 0;
  --rod-top-l: 4%;
  --rod-top-r: 12%;
  --rod-bot-l: 8%;
  --rod-bot-r: 0%;
  opacity: 0.92;
}

.hero-alt__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero-alt__title {
  margin: 0;
  max-width: none;
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 5.2vw, 4.35rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: var(--ha-ink);
}

.hero-alt__title-line {
  display: block;
}

.hero-alt__meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 48px;
}

.hero-alt__lead {
  display: flex;
  align-items: center;
  gap: 24px 32px;
  flex: 0 1 auto;
  min-width: 0;
}

.hero-alt__lead-text {
  margin: 0;
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: #555555;
}

.hero-alt__lead-text:first-of-type {
  width: 28.75rem;
  max-width: 28.75rem;
}

.hero-alt__lead-text:last-of-type {
  width: 13rem;
  max-width: 13rem;
}

.hero-alt__lead-arrow {
  display: inline-flex;
  flex-shrink: 0;
  align-self: center;
  width: 18px;
  height: 18px;
  margin-top: 0;
  color: #555555;
}

.hero-alt__lead-arrow svg {
  width: 100%;
  height: 100%;
}

.hero-alt__rating {
  flex: 0 0 auto;
  text-align: right;
  min-width: 11rem;
}

.hero-alt__rating-row {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.hero-alt__rating-score {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ha-ink);
  line-height: 1;
}

.hero-alt__rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--ha-star);
}

.hero-alt__rating-stars svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.hero-alt__rating-source {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ha-muted);
  text-decoration: none;
}

a.hero-alt__rating-source:hover,
a.hero-alt__rating-source:focus-visible {
  color: var(--ha-ink);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .hero-alt {
    min-height: calc(100vh - 64px);
    padding: 96px 24px 48px;
    align-items: flex-end;
  }

  .hero-alt__inner {
    gap: 36px;
  }

  .hero-alt__title {
    max-width: none;
  }

  .hero-alt__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .hero-alt__lead {
    flex-wrap: nowrap;
    max-width: none;
    align-items: center;
    width: 100%;
  }

  .hero-alt__lead-text {
    flex: 1 1 0;
    width: auto;
    max-width: none;
  }

  .hero-alt__lead-text:first-of-type,
  .hero-alt__lead-text:last-of-type {
    width: auto;
    max-width: none;
  }

  .hero-alt__rating {
    text-align: left;
  }

  .hero-alt__rating-row {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-alt {
    padding: 80px 20px 40px;
  }

  .hero-alt__rods {
    transform: skewX(-6deg);
  }

  .hero-alt__title {
    font-size: clamp(2rem, 9vw, 2.6rem);
    max-width: none;
  }

  .hero-alt__lead {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hero-alt__lead-text {
    flex: 0 0 auto;
    width: 100%;
    font-size: 1.05rem;
  }

  .hero-alt__lead-arrow {
    transform: rotate(90deg);
    margin: 0;
  }
}

/* ========== Hero 3 — SaaS / Orbit ========== */
.hero-saas {
  --hs-ink: #141414;
  --hs-muted: #6b6f76;
  --hs-line: #e8eaed;
  --hs-soft: #f3f4f6;
  --hs-arc: rgba(120, 150, 190, 0.28);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #ffffff;
  padding: 72px 24px 0;
  text-align: center;
}

.hero-saas__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-saas__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(20, 20, 20, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 20, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
}

.hero-saas__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Rings + icons share the geometric center of the headline block */
.hero-saas__focus {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-saas__stage {
  --hs-orbit-r: clamp(260px, 28vw, 380px);
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(960px, 88vw);
  height: min(960px, 88vw);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.hero-saas__arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--hs-arc);
}

.hero-saas__orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-saas__float {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.06);
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.08);
  overflow: hidden;
}

.hero-saas__float-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hero-saas__float img {
  width: 58%;
  height: 58%;
  object-fit: contain;
}

.hero-saas__float-empty {
  display: block;
  width: 42%;
  height: 42%;
  border-radius: 8px;
  background: #eceef1;
}

/* Default (mobile/tablet): static side placement */
.hero-saas__float--1 { top: 18%; left: 8%; }
.hero-saas__float--2 { top: 58%; left: 2%; width: 58px; height: 58px; }
.hero-saas__float--3 { top: 78%; left: 16%; width: 56px; height: 56px; }
.hero-saas__float--4 { top: 14%; right: 10%; left: auto; }
.hero-saas__float--5 { top: 48%; right: 3%; left: auto; width: 58px; height: 58px; }
.hero-saas__float--6 { top: 76%; right: 14%; left: auto; width: 56px; height: 56px; }

/* Desktop only: orbit around the focus (headline) center */
@media (min-width: 981px) {
  .hero-saas__arcs {
    transform-origin: 50% 50%;
    animation: hero-saas-spin 90s linear infinite;
  }

  .hero-saas__orbit {
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    width: 0;
    height: 0;
    transform-origin: 0 0;
    animation: hero-saas-spin 70s linear infinite;
  }

  .hero-saas__float {
    top: 0;
    left: 0;
    right: auto;
    margin: 0;
    transform:
      translate(-50%, -50%)
      rotate(var(--orbit-angle, 0deg))
      translateY(calc(-1 * var(--hs-orbit-r)))
      rotate(calc(-1 * var(--orbit-angle, 0deg)));
  }

  .hero-saas__float--1,
  .hero-saas__float--2,
  .hero-saas__float--3,
  .hero-saas__float--4,
  .hero-saas__float--5,
  .hero-saas__float--6 {
    top: 0;
    left: 0;
    right: auto;
  }

  .hero-saas__float-inner {
    animation: hero-saas-spin-reverse 70s linear infinite;
  }
}

@keyframes hero-saas-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes hero-saas-spin-reverse {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

@media (min-width: 981px) and (prefers-reduced-motion: reduce) {
  .hero-saas__arcs,
  .hero-saas__orbit,
  .hero-saas__float-inner {
    animation: none;
  }
}

.hero-saas__copy {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.hero-saas__trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-saas__avatars {
  display: flex;
  align-items: center;
}

.hero-saas__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ffffff;
  margin-left: -8px;
  background: #d9dde3;
}

.hero-saas__avatar:first-child {
  margin-left: 0;
}

.hero-saas__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-saas__avatar--empty {
  background: linear-gradient(135deg, #d7dbe2, #e8ebf0);
}

.hero-saas__badge {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--hs-muted);
  line-height: 1;
}

.hero-saas__title {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-body);
  font-size: clamp(2.35rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: var(--hs-ink);
}

.hero-saas__lead {
  margin: 0;
  max-width: 46ch;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--hs-muted);
}

.hero-saas__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.hero-saas__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.hero-saas__btn--primary {
  background: #141414;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(20, 20, 20, 0.22);
}

.hero-saas__btn--primary:hover,
.hero-saas__btn--primary:focus-visible {
  background: #2a2a2a;
  color: #ffffff;
  transform: translateY(-1px);
}

.hero-saas__btn--secondary {
  background: #eceef1;
  color: #141414;
}

.hero-saas__btn--secondary:hover,
.hero-saas__btn--secondary:focus-visible {
  background: #e2e5ea;
  color: #141414;
}

.hero-saas__btn:active {
  transform: scale(0.98);
}

.hero-saas__preview {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  margin: 48px auto 0;
}

.hero-saas__preview-frame {
  position: relative;
  border-radius: 18px 18px 0 0;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-bottom: 0;
  background: #f7f8fa;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 20, 20, 0.1);
  min-height: 280px;
}

.hero-saas__preview-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.hero-saas__preview-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 32px;
  color: #9aa0a8;
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-align: center;
  background:
    linear-gradient(180deg, #fafbfc 0%, #f1f3f6 100%);
}

.hero-saas__preview-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 78%);
  pointer-events: none;
}

@media (max-width: 980px) {
  .hero-saas__stage {
    width: min(640px, 92vw);
    height: min(640px, 92vw);
  }

  .hero-saas__float {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .hero-saas__float--1 { left: 3%; top: 10%; }
  .hero-saas__float--2 { left: 0; top: 42%; width: 48px; height: 48px; }
  .hero-saas__float--3 { left: 6%; top: 74%; width: 46px; height: 46px; }
  .hero-saas__float--4 { right: 3%; top: 8%; left: auto; }
  .hero-saas__float--5 { right: 0; top: 40%; left: auto; width: 48px; height: 48px; }
  .hero-saas__float--6 { right: 5%; top: 72%; left: auto; width: 46px; height: 46px; }
}

@media (max-width: 720px) {
  .hero-saas {
    padding: 56px 20px 0;
  }

  .hero-saas__float {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(20, 20, 20, 0.1);
  }

  .hero-saas__float--3,
  .hero-saas__float--6 {
    display: none;
  }

  .hero-saas__float--1 { left: 0; top: 6%; }
  .hero-saas__float--2 { left: -2%; top: 38%; width: 40px; height: 40px; }
  .hero-saas__float--4 { right: 0; top: 4%; left: auto; }
  .hero-saas__float--5 { right: -2%; top: 36%; left: auto; width: 40px; height: 40px; }

  .hero-saas__copy {
    margin-top: 8px;
    gap: 14px;
    padding: 0 36px;
  }

  .hero-saas__title {
    max-width: 12ch;
    font-size: clamp(2rem, 8.5vw, 2.6rem);
  }

  .hero-saas__lead {
    font-size: 0.98rem;
  }

  .hero-saas__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-saas__btn {
    width: 100%;
  }

  .hero-saas__preview {
    margin-top: 36px;
  }

  .hero-saas__preview-frame {
    min-height: 200px;
    border-radius: 14px 14px 0 0;
  }

  .hero-saas__preview-empty {
    min-height: 220px;
    font-size: 0.875rem;
  }
}

/* ========== Clients / Logo marquee ========== */
.clients {
  background: #ffffff;
  padding: 72px 0 32px;
  overflow: hidden;
}

.clients__inner {
  max-width: none;
  margin: 0 auto;
  text-align: center;
}

.clients__heading {
  margin: 0 auto 48px;
  padding: 0 32px;
  text-align: center;
}

.clients__badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25em 0.35em;
  max-width: 100%;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid #d7dde5;
  background: #f0f3f7;
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.06em;
  color: #111111;
}

.clients__heading .hero__line--accent {
  white-space: nowrap;
}

/* Scribble under "Techwinn" — only draws when section is scrolled into view */
.clients__scribble path {
  animation: none;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
}

.clients__scribble.is-drawn path {
  animation: hero-scribble 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.clients__scribble.is-drawn path:nth-child(2) {
  animation-delay: 0.22s;
}

.clients__scribble.is-drawn path:nth-child(3) {
  animation-delay: 0.32s;
}

.clients__count {
  display: inline;
}

.clients__marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

.clients__track {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.clients__row {
  display: flex;
  align-items: center;
  gap: 56px;
  list-style: none;
  margin: 0;
  padding: 12px 56px 12px 0;
  flex-shrink: 0;
}

.clients__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 48px;
}

.clients__logo {
  display: block;
  width: auto;
  max-width: 140px;
  max-height: 40px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.clients__empty {
  margin: 0;
  padding: 0 32px;
  color: #717680;
  font-size: 15px;
}

.clients__empty a {
  color: #181d27;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .clients {
    padding: 48px 0 24px;
  }

  .clients__heading {
    margin-bottom: 36px;
    padding: 0 24px;
  }

  .clients__badge {
    padding: 10px 20px;
    font-size: clamp(1.5rem, 1rem + 2.8vw, 2rem);
    letter-spacing: -0.06em;
    line-height: 1.15;
  }

  .clients__row {
    gap: 40px;
    padding: 8px 40px 8px 0;
  }

  .clients__item {
    height: 40px;
  }

  .clients__logo {
    max-width: 110px;
    max-height: 32px;
  }
}

@media (max-width: 480px) {
  .clients {
    padding: 40px 0 20px;
  }

  .clients__row {
    gap: 32px;
    padding: 8px 32px 8px 0;
  }

  .clients__logo {
    max-width: 96px;
    max-height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients__marquee {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .clients__track {
    transform: none !important;
  }

  .clients__scribble path,
  .clients__scribble.is-drawn path {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* ========== Services Accordion ========== */
.services-acc {
  --svc-ink: #111111;
  --svc-muted: #5d5d5d;
  --svc-line: #e3e3e3;
  --svc-soft: #5d5d5d;
  --svc-accent: #ff5911;
  background: #ffffff;
  padding: 28px 0 40px;
}

.services-acc__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.services-acc__header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 0;
}

.services-acc__heading {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.1;
  color: var(--svc-ink);
  white-space: nowrap;
}

.services-acc__header-divider {
  width: 1px;
  height: 44px;
  background: var(--svc-line);
  flex-shrink: 0;
}

.services-acc__header-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.services-acc__dot {
  width: 8px;
  height: 8px;
  background: #111111;
  flex-shrink: 0;
}

.services-acc__tag {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--svc-soft);
  line-height: 1;
}

.services-acc__holder {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 584px;
  border: 1px solid var(--svc-line);
  overflow: hidden;
}

.services-acc__card {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 20px;
  border-right: 1px solid var(--svc-line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  background: #ffffff;
}

.services-acc__card:last-child {
  border-right: 0;
}

.services-acc__hit {
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}

.services-acc__hit:focus,
.services-acc__hit:focus-visible,
.services-acc__hit:active {
  background: transparent;
  outline: none;
  box-shadow: none;
}

.services-acc__card,
.services-acc__card * {
  -webkit-tap-highlight-color: transparent;
}

.services-acc__card.is-active .services-acc__hit {
  pointer-events: none;
  cursor: default;
}

.services-acc__number {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--svc-muted);
  line-height: 1.2;
  flex-shrink: 0;
}

.services-acc__card:not(.is-active) > .services-acc__number {
  opacity: 0;
  pointer-events: none;
}

.services-acc__line {
  flex: 1 1 auto;
  height: 1px;
  background: var(--svc-line);
  min-width: 12px;
}

.services-acc__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  margin-top: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    visibility 0s linear 0.28s;
}

.services-acc__card.is-active .services-acc__content {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0.12s, 0s;
}

.services-acc__image-wrap {
  width: 100%;
  aspect-ratio: 16 / 9.5;
  border-radius: 12px;
  overflow: hidden;
  background: #ececec;
  flex-shrink: 0;
}

.services-acc__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-acc__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
}

.services-acc__copy-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.services-acc__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 1.8vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--svc-ink);
}

.services-acc__desc {
  margin: 0;
  max-width: 38ch;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--svc-muted);
}

.services-acc__footer {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex-shrink: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.services-acc__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.services-acc__copy > .services-acc__tags {
  margin-top: 4px;
}

.services-acc:not(.services-acc--page) .services-acc__footer,
.services-acc:not(.services-acc--page) .services-acc__copy > .services-acc__tags {
  margin-top: auto;
}

.services-acc__tags li {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--svc-line);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--svc-ink);
  line-height: 1.2;
  background: #ffffff;
}

.services-acc__more {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 4px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  background: #141414;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.services-acc__more:hover,
.services-acc__more:focus-visible {
  background: #2a2a2a;
  color: #ffffff;
}

.services-acc__more:active {
  transform: scale(0.98);
}

.services-acc__empty {
  margin: 0;
  padding: 24px 0;
  color: #717680;
  font-size: 15px;
}

.services-acc__empty a {
  color: #181d27;
  text-decoration: underline;
}

.services-acc--page {
  padding-top: 12px;
  padding-bottom: 72px;
}

.services-acc--page .services-acc__holder {
  height: 640px;
}

.services-acc--page .services-acc__content {
  gap: 16px;
  flex: 0 1 auto;
}

.services-acc--page .services-acc__copy {
  gap: 14px;
  flex: 0 1 auto;
}

.services-acc--page .services-acc__footer {
  margin-top: 2px;
}

.services-acc--page .services-acc__image-wrap {
  aspect-ratio: 16 / 8.8;
}

.services-acc--page .services-acc__more {
  margin-top: 0;
}

.services-acc__collapsed {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.services-acc__card.is-active .services-acc__collapsed {
  opacity: 0;
}

.services-acc__number--ghost {
  /* mirrors number row for collapsed layer */
}

.services-acc__rail-label {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 0;
}

.services-acc__rail-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 2.4vw, 2.625rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.2;
  color: var(--svc-muted);
  writing-mode: vertical-lr;
  transform: scale(-1, -1);
  white-space: nowrap;
}

.services-acc .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .services-acc {
    padding: 20px 0 24px;
  }

  .services-acc--page {
    padding-bottom: 48px;
  }

  .services-acc__inner {
    padding: 0 20px;
    gap: 28px;
  }

  .services-acc__header {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .services-acc__heading {
    font-size: 1.85rem;
    white-space: normal;
  }

  .services-acc__header-divider {
    display: none;
  }

  .services-acc__holder,
  .services-acc--page .services-acc__holder {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    overflow: hidden;
    border-radius: 16px;
  }

  .services-acc__card {
    width: 100% !important;
    max-width: 100%;
    height: auto;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--svc-line);
    padding: 18px 16px;
  }

  .services-acc__card:not(.is-active) > .services-acc__number {
    opacity: 1;
  }

  .services-acc__card:last-child {
    border-bottom: 0;
  }

  .services-acc__card.is-active .services-acc__hit {
    pointer-events: none;
  }

  .services-acc__collapsed {
    position: static;
    inset: auto;
    padding: 0;
    opacity: 1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
  }

  .services-acc__card.is-active .services-acc__collapsed {
    display: none;
  }

  .services-acc__number--ghost {
    display: none;
  }

  .services-acc__rail-label {
    width: 100%;
  }

  .services-acc__rail-text {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 1.35rem;
    letter-spacing: -0.04em;
    color: var(--svc-ink);
    white-space: normal;
  }

  .services-acc__content {
    margin-top: 14px;
  }

  .services-acc__card:not(.is-active) .services-acc__content {
    display: none;
  }

  .services-acc__card.is-active .services-acc__content {
    display: flex;
  }

  .services-acc__image-wrap {
    aspect-ratio: 16 / 10;
  }

  .services-acc__desc {
    max-width: none;
  }

  .services-acc__more {
    width: 100%;
    margin-top: 8px;
  }

  .services-acc--page .services-acc__card.is-active {
    padding-bottom: 20px;
  }

  .services-acc__tags {
    gap: 8px;
  }

  .services-acc__tags li {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .services-acc__inner {
    padding: 0 16px;
    gap: 22px;
  }

  .services-acc__heading {
    font-size: 1.65rem;
  }

  .services-acc__card {
    padding: 16px 14px;
  }

  .services-acc__rail-text {
    font-size: 1.2rem;
  }

  .services-acc__title {
    font-size: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-acc__card,
  .services-acc__content,
  .services-acc__collapsed {
    transition: none;
  }
}

/* ========== Services Grid (Services page) ========== */
.services-grid {
  --sg-ink: #111111;
  --sg-muted: #5d5d5d;
  --sg-line: #e6e6e6;
  background: #ffffff;
  padding: 48px 32px 96px;
}

.services-grid__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.services-grid__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.services-grid__heading {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--sg-ink);
  line-height: 1.15;
}

.services-grid__header-divider {
  flex: 1 1 auto;
  height: 1px;
  background: var(--sg-line);
}

.services-grid__header-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.services-grid__dot {
  width: 10px;
  height: 10px;
  background: #111111;
}

.services-grid__tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8a8a;
}

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

.services-grid__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.services-grid__card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.services-grid__line {
  flex: 1 1 auto;
  height: 1px;
  background: var(--sg-line);
}

.services-grid__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: #f3f3f1;
}

.services-grid__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-grid__copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.services-grid__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--sg-ink);
  line-height: 1.2;
}

.services-grid__desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--sg-muted);
}

.services-grid__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

.services-grid__tags li {
  margin: 0;
  padding: 7px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: #3a3a3a;
  line-height: 1;
}

.services-grid__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 6px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  background: #141414;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.services-grid__more:hover,
.services-grid__more:focus-visible {
  background: #2a2a2a;
  color: #ffffff;
}

.services-grid__more:active {
  transform: scale(0.98);
}

.services-grid__empty {
  margin: 0;
  padding: 24px 0;
  color: #717680;
  font-size: 15px;
}

.services-grid__empty a {
  color: #181d27;
  text-decoration: underline;
}

@media (max-width: 980px) {
  .services-grid {
    padding: 40px 20px 72px;
  }

  .services-grid__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }

  .services-grid__header {
    margin-bottom: 32px;
  }
}

@media (max-width: 640px) {
  .services-grid {
    padding: 32px 16px 56px;
  }

  .services-grid__header {
    flex-wrap: wrap;
    gap: 10px 12px;
    margin-bottom: 24px;
  }

  .services-grid__header-divider {
    display: none;
  }

  .services-grid__heading {
    width: 100%;
    font-size: clamp(1.5rem, 6.5vw, 1.9rem);
  }

  .services-grid__list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .services-grid__image-wrap {
    border-radius: 16px;
  }

  .services-grid__title {
    font-size: 1.2rem;
  }
}

/* ========== Single Service Detail ========== */
.service-detail {
  background: #ffffff;
}

.service-detail__hero {
  padding: 56px 32px 40px;
  background: #ffffff;
  border-bottom: 1px solid #ececec;
}

.service-detail__hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.service-detail__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: #8a8a8a;
}

.service-detail__crumb a {
  color: #111111;
  text-decoration: none;
}

.service-detail__crumb a:hover {
  text-decoration: underline;
}

.service-detail__title {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.1;
  color: #111111;
}

.service-detail__lead {
  margin: 0 0 20px;
  max-width: 48rem;
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.65;
  color: #5d5d5d;
}

.service-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.service-detail__tags li {
  padding: 7px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: #3a3a3a;
  line-height: 1;
}

.service-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-detail__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.service-detail__btn--primary {
  background: #141414;
  color: #ffffff;
}

.service-detail__btn--primary:hover,
.service-detail__btn--primary:focus-visible {
  background: #2a2a2a;
  color: #ffffff;
}

.service-detail__btn--ghost {
  background: transparent;
  color: #111111;
  border: 1.5px solid #111111;
}

.service-detail__btn--ghost:hover,
.service-detail__btn--ghost:focus-visible {
  background: #f5f5f5;
}

.service-detail__body {
  padding: 48px 32px 96px;
}

.service-detail__layout {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.service-detail__media {
  margin: 0 auto;
  width: 100%;
  max-width: 920px;
  border-radius: 20px;
  overflow: hidden;
  background: #f3f3f1;
  aspect-ratio: 16 / 9;
}

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

.service-detail__highlights {
  width: 100%;
  padding: 32px 0 8px;
  border-top: 1px solid #e8e8e6;
}

.service-detail__highlights-head {
  margin-bottom: 22px;
  text-align: center;
}

.service-detail__eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.service-detail__content {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: #3a3a3a;
}

.service-detail__content > *:first-child {
  margin-top: 0;
}

.service-detail__content h2,
.service-detail__content h3 {
  margin: 1.6em 0 0.55em;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111111;
}

.service-detail__content p {
  margin: 0 0 1.1em;
}

.service-detail__content ul,
.service-detail__content ol {
  margin: 0 0 1.2em;
  padding-left: 1.25em;
}

.service-detail__subtitle {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #111111;
}

.service-detail__benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-detail__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid #e4e4e2;
  border-radius: 12px;
  font-family: var(--font-body);
  background: #ffffff;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.service-detail__benefits li:hover {
  border-color: #d2d2ce;
  background: #fafaf8;
}

.service-detail__benefit-num {
  flex: 0 0 auto;
  min-width: 1.75em;
  margin-top: 1px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: #9caf88;
}

.service-detail__benefit-text {
  flex: 1 1 auto;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: #171717;
}

.service-detail__cta-band {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 4px;
  padding: 28px 24px;
  border-radius: 18px;
  background: #f3f3f1;
}

.service-detail__cta-text {
  margin: 0;
  max-width: 40rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: #3a3a3a;
}

@media (max-width: 980px) {
  .service-detail__hero {
    padding: 40px 20px 32px;
  }

  .service-detail__body {
    padding: 36px 20px 72px;
  }

  .service-detail__layout {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .service-detail__hero {
    padding: 32px 16px 28px;
  }

  .service-detail__body {
    padding: 28px 16px 56px;
  }

  .service-detail__title {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .service-detail__lead {
    font-size: 1rem;
  }

  .service-detail__btn {
    width: 100%;
  }

  .service-detail__cta-band {
    padding: 18px;
  }
}

/* ========== Projects Showcase ========== */
.projects-show {
  --ps-ink: #111111;
  --ps-muted: #5d5d5d;
  --ps-panel: #f3f3f1;
  background: #ffffff;
  padding: 24px 32px 96px;
}

.projects-show__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.projects-show__item {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px 40px;
  align-items: center;
  padding: 24px;
  border-radius: 28px;
  background: var(--ps-panel);
  opacity: 0;
  transform: translate3d(0, 48px, 0);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.projects-show__item.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .projects-show__item {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

.projects-show__item--flip .projects-show__media {
  order: 2;
}

.projects-show__item--flip .projects-show__content {
  order: 1;
}

.projects-show__media {
  min-width: 0;
}

.projects-show__image-link {
  display: block;
}

.projects-show__image,
.projects-show__image-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  background: #e8e8e6;
}

.projects-show__content {
  min-width: 0;
  padding-right: 8px;
}

.projects-show__client {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.projects-show__title {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: clamp(1.45rem, 1.15rem + 1vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--ps-ink);
}

.projects-show__title a {
  color: inherit;
  text-decoration: none;
}

.projects-show__title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.projects-show__desc {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ps-muted);
}

.projects-show__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.projects-show__feature {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #d9d9d9;
  background: #ffffff;
}

.projects-show__feature-text {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1;
  color: #3a3a3a;
}

.projects-show__empty {
  margin: 0;
  padding: 24px 0;
  color: #717680;
  font-size: 15px;
}

.projects-show__empty a {
  color: #181d27;
  text-decoration: underline;
}

@media (max-width: 980px) {
  .projects-show {
    padding: 16px 20px 72px;
  }

  .projects-show__item {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 18px;
    border-radius: 22px;
  }

  .projects-show__item--flip .projects-show__media,
  .projects-show__item--flip .projects-show__content {
    order: unset;
  }

  .projects-show__content {
    padding-right: 0;
  }

  .projects-show__image,
  .projects-show__image-placeholder {
    aspect-ratio: 16 / 10;
    border-radius: 16px;
  }
}

@media (max-width: 640px) {
  .projects-show {
    padding: 8px 16px 56px;
  }

  .projects-show__inner {
    gap: 18px;
  }

  .projects-show__item {
    padding: 14px;
    border-radius: 18px;
  }

  .projects-show__title {
    font-size: clamp(1.3rem, 6vw, 1.55rem);
  }

  .projects-show__desc {
    margin-bottom: 16px;
    font-size: 0.95rem;
  }

  .projects-show__features {
    gap: 8px;
  }

  .projects-show__feature {
    min-height: 0;
  }
}

/* ========== Mobile App — dashboard + phone ========== */
.mobile-app {
  --ma-ink: #1a1a1a;
  --ma-muted: #5c5c5c;
  --ma-line: #e8ebf0;
  --ma-soft: #f4f6f9;
  --ma-blue: #2f6fed;
  --ma-blue-soft: #e8f0ff;
  --ma-green: #1f9d63;
  --ma-red: #e25555;
  --ma-amber: #d4a017;
  background: #ffffff;
  padding: 88px 32px;
  overflow: hidden;
}

.mobile-app__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-app.is-inview .mobile-app__inner {
  opacity: 1;
  transform: translateY(0);
}

.mobile-app__copy {
  max-width: 40rem;
}

.mobile-app__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ma-ink);
}

.mobile-app__text {
  margin: 18px 0 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ma-muted);
}

.mobile-app__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 10px 20px;
  background: #141414;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}

.mobile-app__cta:hover,
.mobile-app__cta:focus-visible {
  background: #2a2a2a;
  color: #ffffff;
}

.mobile-app__cta:active {
  transform: scale(0.98);
}

.mobile-app__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.mobile-app__dash {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  min-height: 420px;
  border-radius: 20px;
  border: 1px solid var(--ma-line);
  background: var(--ma-soft);
  box-shadow: 0 24px 50px rgba(20, 30, 50, 0.08);
  overflow: hidden;
}

.madash__side {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 18px 12px;
  background: #ffffff;
  border-right: 1px solid var(--ma-line);
}

.madash__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px;
}

.madash__brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(145deg, #3b7cff, #1f4fd6);
}

.madash__brand-name {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: #1b2430;
  letter-spacing: -0.02em;
}

.madash__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.madash__nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: #6b7280;
}

.madash__nav-item.is-active {
  background: var(--ma-blue-soft);
  color: var(--ma-blue);
  font-weight: 600;
}

.madash__nav-ico {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.35;
  flex-shrink: 0;
}

.madash__nav-item.is-active .madash__nav-ico {
  opacity: 0.9;
  background: var(--ma-blue);
}

.madash__main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  min-width: 0;
}

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

.madash__metric {
  background: #ffffff;
  border: 1px solid var(--ma-line);
  border-radius: 14px;
  padding: 14px 14px 12px;
}

.madash__metric-label {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: #7a8494;
}

.madash__metric-value {
  margin: 8px 0 0;
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #152033;
  font-variant-numeric: tabular-nums;
}

.madash__metric-delta {
  margin: 8px 0 0;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
}

.madash__metric-delta--up { color: var(--ma-green); }
.madash__metric-delta--down { color: var(--ma-red); }

.madash__flow,
.madash__table-wrap {
  background: #ffffff;
  border: 1px solid var(--ma-line);
  border-radius: 14px;
  padding: 14px;
}

.madash__panel-title {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: #1b2430;
}

.madash__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 4px 0 2px;
  position: relative;
}

.madash__steps::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 11px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ma-green) 0%, var(--ma-green) 62%, #d7dde8 62%, #d7dde8 100%);
}

.madash__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.madash__step-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #d7dde8;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px #d7dde8;
}

.madash__step.is-done .madash__step-dot,
.madash__step.is-active .madash__step-dot {
  background: var(--ma-green);
  box-shadow: 0 0 0 2px var(--ma-green);
}

.madash__step.is-active .madash__step-dot {
  background: var(--ma-blue);
  box-shadow: 0 0 0 2px var(--ma-blue);
}

.madash__step-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  color: #7a8494;
  line-height: 1.25;
}

.madash__step.is-active .madash__step-label {
  color: var(--ma-blue);
  font-weight: 600;
}

.madash__table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.7rem;
}

.madash__table th,
.madash__table td {
  padding: 8px 6px;
  text-align: left;
  border-bottom: 1px solid #eef1f5;
  white-space: nowrap;
}

.madash__table th {
  color: #8a93a3;
  font-weight: 600;
  font-size: 0.65rem;
}

.madash__table td {
  color: #243044;
  font-weight: 500;
}

.madash__table tbody tr:last-child td { border-bottom: 0; }

.madash__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.madash__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.madash__status--transit { color: var(--ma-amber); }
.madash__status--done { color: var(--ma-green); }

.mobile-app__phone {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 420px;
}

.mobile-app__photo-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.mobile-app__photo-img,
.mobile-app__phone img {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(10px) scale(0.98);
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.mobile-app__photo-img.is-active,
.mobile-app__phone img.is-active {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  z-index: 2;
}

.mobile-app__photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(220px, 100%);
  height: 420px;
  padding: 24px 16px;
  border-radius: 28px;
  background: #eef1ef;
  color: rgba(26, 26, 26, 0.55);
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.mobile-app__photo-placeholder svg {
  width: 48px;
  height: 80px;
  color: rgba(44, 74, 69, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-app__inner {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mobile-app__photo-img,
  .mobile-app__phone img {
    transition: none;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@media (max-width: 1100px) {
  .mobile-app__stage {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 20px;
  }

  .mobile-app__dash {
    grid-template-columns: 120px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .mobile-app { padding: 64px 20px; }
  .mobile-app__inner { gap: 32px; }
  .mobile-app__stage {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .mobile-app__phone {
    order: -1;
    min-height: 340px;
  }
  .mobile-app__photo-stage { min-height: 340px; }
  .mobile-app__photo-img,
  .mobile-app__phone img { max-width: 240px; }
  .mobile-app__dash {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .madash__side {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--ma-line);
  }
  .madash__nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
  }
  .madash__nav-item { padding: 7px 10px; }
  .madash__nav-item:not(.is-active) { display: none; }
}

@media (max-width: 560px) {
  .madash__metrics { grid-template-columns: 1fr; }
  .madash__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 8px;
  }
  .madash__steps::before { display: none; }
  .madash__table-wrap { overflow-x: auto; }
  .mobile-app__photo-img,
  .mobile-app__phone img { max-width: 190px; }
  .mobile-app__photo-stage,
  .mobile-app__phone { min-height: 300px; }
  .mobile-app__cta { width: 100%; }
}

/* ========== Mobile 2 — Product Showcase ========== */
.mobile-show {
  --ms-ink: #141414;
  --ms-muted: #6b6f76;
  --ms-red: #e53935;
  --ms-red-hover: #c62828;
  --ms-yellow: #f5c518;
  --ms-blue: #2f6fed;
  --ms-orange: #e36a2d;
  --ms-cream: #ffffff;
  background: #ffffff;
  padding: 72px 32px 88px;
  overflow: hidden;
}

.mobile-show__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-show.is-inview .mobile-show__inner {
  opacity: 1;
  transform: translateY(0);
}

.mobile-show__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1.5px solid var(--ms-blue);
  border-radius: 8px;
  background: #ffffff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ms-ink);
}

.mobile-show__title {
  margin: 22px 0 0;
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: var(--ms-ink);
}

.mobile-show__title-line {
  display: block;
}

.mobile-show__inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  vertical-align: middle;
}

.mobile-show__orb {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #ffffff 0%, #d9dde5 45%, #8a93a3 100%);
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.mobile-show__orb--2 {
  margin-left: -14px;
  background:
    radial-gradient(circle at 35% 30%, #ffffff 0%, #c5cad3 45%, #5d6675 100%);
}

.mobile-show__chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #141414;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.mobile-show__lead {
  margin: 18px 0 0;
  max-width: 42ch;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ms-muted);
}

.mobile-show__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.mobile-show__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.mobile-show__btn--primary {
  background: #141414;
  color: #ffffff;
}

.mobile-show__btn--primary:hover,
.mobile-show__btn--primary:focus-visible {
  background: #2a2a2a;
  color: #ffffff;
}

.mobile-show__btn--ghost {
  background: transparent;
  color: var(--ms-ink);
  border: 1.5px solid #1a1a1a;
}

.mobile-show__btn--ghost:hover,
.mobile-show__btn--ghost:focus-visible {
  background: #ffffff;
  color: var(--ms-ink);
}

.mobile-show__btn:active {
  transform: scale(0.98);
}

.mobile-show__note {
  margin: 18px 0 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ms-muted);
}

.mobile-show__note a {
  color: var(--ms-red);
  font-weight: 700;
  text-decoration: none;
}

.mobile-show__note a:hover {
  text-decoration: underline;
}

.mobile-show__visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-show__frame {
  position: absolute;
  inset: 8% 10% 10% 12%;
  pointer-events: none;
}

.mobile-show__shape {
  position: absolute;
  inset: 0;
  border-radius: 36px;
}

.mobile-show__shape--blue {
  inset: -4% 8% 10% -2%;
  border: 3px solid var(--ms-blue);
  background: transparent;
  transform: rotate(-3deg);
}

.mobile-show__shape--yellow {
  inset: 2% 2% 6% 4%;
  background: var(--ms-yellow);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08);
}

.mobile-show__shape--orange {
  inset: 18% -2% -2% 28%;
  background: var(--ms-orange);
  opacity: 0.95;
  z-index: -1;
  transform: rotate(2deg);
}

.mobile-show__stage {
  position: relative;
  z-index: 2;
  width: min(420px, 78%);
  aspect-ratio: 4 / 5;
}

.mobile-show__product {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.mobile-show__product.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mobile-show__product--empty {
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08)),
    repeating-linear-gradient(
      -12deg,
      rgba(20, 20, 20, 0.05) 0 10px,
      rgba(20, 20, 20, 0.02) 10px 20px
    );
}

.mobile-show__float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(20, 20, 20, 0.12);
}

.mobile-show__float--review {
  top: 10%;
  right: 2%;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 16px;
}

.mobile-show__float--award {
  left: 4%;
  bottom: 14%;
}

.mobile-show__float-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-show__float-name {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ms-ink);
  line-height: 1.2;
}

.mobile-show__stars {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--ms-red);
  line-height: 1;
}

.mobile-show__medal {
  font-size: 1.35rem;
  line-height: 1;
}

.mobile-show__float-award {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ms-ink);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-show__inner {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mobile-show__product {
    transition: none;
  }
}

@media (max-width: 980px) {
  .mobile-show {
    padding: 56px 20px 64px;
  }

  .mobile-show__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .mobile-show__visual {
    order: 2;
    min-height: 420px;
  }

  .mobile-show__stage {
    width: min(340px, 72%);
  }

  .mobile-show__float--review {
    top: 6%;
    right: 4%;
  }

  .mobile-show__float--award {
    left: 6%;
    bottom: 8%;
  }
}

@media (max-width: 560px) {
  .mobile-show__title {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }

  .mobile-show__inline {
    display: flex;
    margin: 10px 0 0;
    margin-left: 0;
  }

  .mobile-show__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-show__btn {
    width: 100%;
  }

  .mobile-show__visual {
    min-height: 360px;
  }

  .mobile-show__frame {
    inset: 10% 6% 8% 6%;
  }

  .mobile-show__shape {
    border-radius: 28px;
  }

  .mobile-show__float {
    padding: 8px 10px;
    border-radius: 12px;
  }

  .mobile-show__float-name,
  .mobile-show__float-award {
    font-size: 0.75rem;
  }
}

/* ========== How We Work / Process ========== */
.how-work {
  --hw-ink: #111111;
  --hw-muted: #5d5d5d;
  --hw-line: #e3e3e3;
  --hw-progress: 0;
  background: #ffffff;
  padding: 72px 0 0;
}

.how-work__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.how-work__header {
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.how-work__header.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.how-work__heading {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.1;
  color: var(--hw-ink);
  white-space: nowrap;
}

.how-work__header-divider {
  width: 1px;
  height: 44px;
  background: var(--hw-line);
  flex-shrink: 0;
}

.how-work__header-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.how-work__dot {
  width: 8px;
  height: 8px;
  background: #111111;
  flex-shrink: 0;
}

.how-work__tag {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hw-muted);
  line-height: 1;
}

.how-work__progress {
  position: relative;
  margin: 0;
  padding: 0 0 64px;
}

.how-work__stage {
  position: relative;
  z-index: 1;
}

.how-work__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.how-work__card {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.how-work__card.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.how-work__grid {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  height: 100%;
  min-height: 520px;
}

.how-work__card--reverse .how-work__grid {
  grid-template-rows: 1fr auto;
}

.how-work__card--reverse .how-work__media {
  order: 2;
}

.how-work__card--reverse .how-work__content {
  order: 1;
}

.how-work__media {
  border-radius: 4px;
  overflow: hidden;
  background: #f3f3f3;
  aspect-ratio: 1 / 0.9;
  min-height: 240px;
}

.how-work__media--empty {
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 0, 0, 0.06), transparent 50%),
    #ececec;
}

.how-work__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.how-work__card.is-inview .how-work__image {
  transform: scale(1);
}

.how-work__card:not(.is-inview) .how-work__image {
  transform: scale(1.04);
}

.how-work__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--hw-line);
  background: #ffffff;
  min-height: 220px;
}

.how-work__step-label {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hw-muted);
  line-height: 1.3;
}

.how-work__copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.how-work__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 1.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: var(--hw-ink);
}

.how-work__desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--hw-muted);
}

@media (max-width: 1100px) {
  .how-work__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .how-work__progress {
    height: auto;
    margin: 0;
    padding: 0 0 48px;
  }

  .how-work__grid {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .how-work {
    padding: 56px 0 0;
  }

  .how-work__inner {
    padding: 0 20px;
    gap: 28px;
  }

  .how-work__header {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .how-work__heading {
    font-size: 1.85rem;
    white-space: normal;
  }

  .how-work__header-divider {
    display: none;
  }

  .how-work__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .how-work__progress {
    padding-bottom: 32px;
  }

  .how-work__grid {
    gap: 10px;
  }

  .how-work__media {
    aspect-ratio: 16 / 11;
    min-height: 0;
  }

  .how-work__content {
    min-height: 0;
    padding: 20px;
    gap: 18px;
  }

  .how-work__card--reverse .how-work__grid {
    grid-template-rows: auto auto;
  }

  .how-work__card--reverse .how-work__media {
    order: 0;
  }

  .how-work__card--reverse .how-work__content {
    order: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-work__header,
  .how-work__card,
  .how-work__image {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* ========== Platforms We Work With ========== */
.platforms {
  background: #ffffff;
  padding: 72px 0 48px;
  overflow: hidden;
}

.platforms__inner {
  margin: 0 auto;
  text-align: center;
}

.platforms__heading {
  margin: 0 auto 40px;
  padding: 0 32px;
  text-align: center;
}

.platforms__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  max-width: 100%;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid #d7dde5;
  background: #f0f3f7;
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.06em;
  color: #111111;
}

.platforms__accent {
  display: inline;
  font-weight: 700;
}

.platforms__marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

.platforms__track {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.platforms__row {
  display: flex;
  align-items: center;
  gap: 64px;
  list-style: none;
  margin: 0;
  padding: 16px 64px 16px 0;
  flex-shrink: 0;
}

.platforms__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 52px;
}

.platforms__logo {
  display: block;
  width: auto;
  max-width: 148px;
  max-height: 40px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.platforms__empty {
  margin: 0;
  padding: 0 32px;
  color: #717680;
  font-size: 15px;
}

.platforms__empty a {
  color: #181d27;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .platforms {
    padding: 56px 0 40px;
  }

  .platforms__heading {
    margin-bottom: 28px;
    padding: 0 20px;
  }

  .platforms__badge {
    padding: 10px 20px;
    font-size: clamp(1.5rem, 1rem + 2.8vw, 2rem);
    letter-spacing: -0.06em;
    line-height: 1.15;
  }

  .platforms__row {
    gap: 40px;
    padding: 12px 40px 12px 0;
  }

  .platforms__item {
    height: 44px;
  }

  .platforms__logo {
    max-width: 120px;
    max-height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .platforms__track {
    transform: none !important;
  }

  .platforms__marquee {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* ========== Testimonials / Success Stories ========== */
.testimonials {
  --ts-ink: #ffffff;
  --ts-muted: rgba(255, 255, 255, 0.62);
  --ts-cream: #0f0f0f;
  --ts-card: #ffffff;
  --ts-line: rgba(255, 255, 255, 0.12);
  --ts-lime: #c8e86a;
  background: #0f0f0f;
  padding: 88px 0 72px;
  overflow: hidden;
}

.testimonials__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonials.is-inview .testimonials__inner {
  opacity: 1;
  transform: translateY(0);
}

.testimonials__header {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px 56px;
  align-items: end;
  margin-bottom: 48px;
  padding-bottom: 0;
  border-bottom: none;
}

.testimonials__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 10px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--ts-lime);
  color: #1a1a1a;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.testimonials__badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.testimonials__title {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-body);
  font-size: clamp(2.15rem, 3.6vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ts-ink);
}

.testimonials__title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}

.testimonials__lead {
  margin: 0;
  max-width: 38ch;
  justify-self: end;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: #ffffff;
}

.testimonials__viewport {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 8px 0 16px;
  overflow: hidden;
  cursor: default;
  position: relative;
  touch-action: pan-y;
}

.testimonials__viewport::before,
.testimonials__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 2;
  pointer-events: none;
}

.testimonials__viewport::before {
  left: 0;
  background: linear-gradient(90deg, #0f0f0f 0%, rgba(15, 15, 15, 0) 100%);
}

.testimonials__viewport::after {
  right: 0;
  background: linear-gradient(270deg, #0f0f0f 0%, rgba(15, 15, 15, 0) 100%);
}

.testimonials__track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  will-change: transform;
  padding-left: max(20px, calc((100vw - 1280px) / 2 + 32px));
  padding-right: max(20px, calc((100vw - 1280px) / 2 + 32px));
}

.testimonials__card {
  flex: 0 0 auto;
  width: min(300px, 78vw);
  min-height: 340px;
  border-radius: 22px;
  border: 0;
  outline: none;
  box-shadow: none;
  background: #1a1a1a;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.testimonials__card--quote {
  padding: 28px 24px 22px;
  justify-content: space-between;
  gap: 28px;
  background: #1a1a1a;
}

.testimonials__quote {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.testimonials__person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.testimonials__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a1a1a;
}

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

.testimonials__avatar--0 { background: #d9e8c8; }
.testimonials__avatar--1 { background: #c9d9e8; }
.testimonials__avatar--2 { background: #e8d9c8; }
.testimonials__avatar--3 { background: #e0cde8; }
.testimonials__avatar--4 { background: #c8e0dc; }
.testimonials__avatar--5 { background: #e8e0c0; }
.testimonials__avatar--6 { background: #d0d0e8; }

.testimonials__name {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #ffffff;
  line-height: 1.25;
}

.testimonials__role {
  margin: 2px 0 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
}

.testimonials__card--media {
  padding: 0;
  position: relative;
  background: #2a2a2a;
}

.testimonials__media {
  position: absolute;
  inset: 0;
}

.testimonials__media-img,
.testimonials__media-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonials__media-fallback {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(160deg, #3a4a42 0%, #1e2420 55%, #121614 100%);
}

.testimonials__media-fallback--1 {
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.16), transparent 40%),
    linear-gradient(160deg, #4a3a38 0%, #241c1c 60%, #120e0e 100%);
}

.testimonials__media-fallback--2,
.testimonials__media-fallback--6 {
  background:
    radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.14), transparent 42%),
    linear-gradient(155deg, #3a4550 0%, #1a2028 55%, #0e1216 100%);
}

.testimonials__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.testimonials__play svg {
  width: 22px;
  height: 22px;
  margin-left: 2px;
}

.testimonials .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .testimonials {
    padding: 72px 0 56px;
  }

  .testimonials__header {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    margin-bottom: 36px;
  }

  .testimonials__lead {
    justify-self: start;
    max-width: none;
  }

  .testimonials__title {
    max-width: none;
  }

  .testimonials__card {
    width: min(280px, 82vw);
    min-height: 320px;
  }
}

@media (max-width: 600px) {
  .testimonials__inner {
    padding: 0 20px;
  }

  .testimonials__viewport {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 8px 0 12px;
  }

  .testimonials__viewport::before,
  .testimonials__viewport::after {
    width: 48px;
  }

  .testimonials__track {
    padding-left: 20px;
    padding-right: 20px;
  }

  .testimonials__badge {
    margin-bottom: 14px;
  }

  .testimonials__title {
    font-size: clamp(1.85rem, 7.5vw, 2.35rem);
  }

  .testimonials__lead {
    font-size: 0.95rem;
  }

  .testimonials__card {
    width: min(260px, 86vw);
    min-height: 300px;
  }

  .testimonials__card--quote {
    padding: 22px 20px 18px;
    gap: 22px;
  }

  .testimonials__quote {
    font-size: 0.95rem;
  }

  .testimonials__track {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonials__inner {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .testimonials__track {
    transform: none !important;
  }

  .testimonials__viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ========== Insights / Blog (Tabs-style resource grid) ========== */
.insights {
  background: #ffffff;
  padding: 80px 32px 96px;
}

.insights__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.insights__title {
  margin: 0 0 40px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #111111;
}

.insights__layout {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: stretch;
}

.insights__featured {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.insights__featured-media {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 2400 / 1256;
  background: #1a1f24;
}

.insights__featured-media .insights__img,
.insights__featured-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insights__featured-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 220px;
  color: rgba(255, 255, 255, 0.92);
}

.insights__featured-placeholder svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 0 18px rgba(94, 234, 212, 0.55));
}

.insights__featured-placeholder--teal {
  background:
    radial-gradient(circle at 50% 48%, rgba(45, 212, 191, 0.45) 0%, transparent 42%),
    linear-gradient(160deg, #0f1419 0%, #1c242c 55%, #0b1014 100%);
}

.insights__featured-placeholder--ink {
  background:
    radial-gradient(circle at 50% 48%, rgba(148, 163, 184, 0.35) 0%, transparent 42%),
    linear-gradient(160deg, #111827 0%, #1f2937 100%);
}

.insights__featured-placeholder--sand {
  background:
    radial-gradient(circle at 50% 48%, rgba(251, 191, 36, 0.3) 0%, transparent 42%),
    linear-gradient(160deg, #1c1917 0%, #292524 100%);
}

.insights__label {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(17, 17, 17, 0.6);
}

.insights__featured .insights__label {
  margin-top: 0;
  padding-bottom: 16px;
}

.insights__featured-title {
  margin: 0;
  max-width: 460px;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #111111;
}

.insights__featured:hover .insights__featured-title,
.insights__featured:focus-visible .insights__featured-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.insights__aside {
  position: relative;
  width: 50%;
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  background-color: #f4f3f0;
}

.insights__aside-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  color: #c2bbb0;
  pointer-events: none;
  overflow: hidden;
}

.insights__network-svg {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.insights__network-grid {
  opacity: 0.22;
}

.insights__network-routes {
  color: #9e968a;
  opacity: 0.9;
}

.insights__network-nodes {
  color: #8f877c;
  opacity: 0.8;
}

.insights__network-pulses {
  color: #6d655c;
}

.insights__network-pulses circle {
  filter: drop-shadow(0 0 3px rgba(109, 101, 92, 0.35));
  opacity: 0;
}

.insights__network-routes path.is-drawing {
  animation: hero-network-draw 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.insights__network-routes path.is-drawn {
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}

.insights__list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 84%;
  max-width: 84%;
  margin: 24px auto 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.insights__row {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  width: 100%;
  max-width: 100%;
  padding: 28px 56px 28px 28px;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s ease;
}

.insights__row--divider {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.insights__row .insights__label {
  padding-bottom: 32px;
}

.insights__row-title {
  margin: 8px 0 0;
  margin-top: auto;
  max-width: 360px;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #111111;
}

.insights__row-go {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  color: #111111;
  background: #ffffff;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.insights__row:hover .insights__row-go,
.insights__row:focus-visible .insights__row-go {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.insights__row-go svg {
  width: 11px;
  height: 11px;
}

.insights__all {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  margin-top: 28px;
  padding: 16px 32px;
  background: #111111;
  color: #ffffff;
  border-radius: 8px;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.insights__all-icon {
  display: inline-flex;
  color: #ffffff;
}

.insights__all svg {
  width: 11px;
  height: 11px;
}

.insights__all:hover,
.insights__all:focus-visible {
  opacity: 0.9;
  color: #ffffff;
}

@media (max-width: 900px) {
  .insights {
    padding: 56px 20px 64px;
  }

  .insights__layout {
    flex-direction: column;
    gap: 48px;
  }

  .insights__aside {
    width: 100%;
    flex: none;
  }

  .insights__list {
    width: calc(100% - 32px);
    max-width: none;
    margin: 16px auto 0;
  }

  .insights__row {
    padding: 20px 52px 20px 20px;
  }

  .insights__row .insights__label {
    padding-bottom: 20px;
  }

  .insights__row-go {
    top: 12px;
    right: 12px;
  }

  .insights__featured-title {
    max-width: none;
  }
}

/* ========== CTA band ========== */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #fdf9f8;
  padding: 112px 32px 120px;
  text-align: center;
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #fdf9f8;
  background-image:
    radial-gradient(ellipse 70% 55% at 50% 58%, rgba(251, 180, 168, 0.72) 0%, rgba(251, 180, 168, 0) 68%),
    radial-gradient(ellipse 55% 45% at 32% 72%, rgba(252, 214, 190, 0.55) 0%, rgba(252, 214, 190, 0) 70%),
    radial-gradient(ellipse 50% 40% at 70% 78%, rgba(255, 214, 196, 0.45) 0%, rgba(255, 214, 196, 0) 72%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(248, 229, 214, 0.65) 0%, rgba(248, 229, 214, 0) 65%),
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 55%);
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-band__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 1.2rem + 2.2vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0a0a0a;
}

.cta-band__text {
  margin: 18px 0 0;
  max-width: 36rem;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  font-weight: 400;
  line-height: 1.55;
  color: #6b6b6b;
}

.cta-band__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  padding: 14px 28px;
  background: #141414;
  color: #ffffff;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}

.cta-band__btn:hover,
.cta-band__btn:focus-visible {
  background: #2a2a2a;
  color: #ffffff;
}

.cta-band__btn:active {
  transform: scale(0.98);
}

.cta-band__arrow {
  font-size: 1.05em;
  line-height: 1;
}

@media (max-width: 640px) {
  .cta-band {
    padding: 80px 20px 88px;
  }

  .cta-band__text {
    margin-top: 14px;
  }

  .cta-band__btn {
    margin-top: 28px;
    padding: 12px 22px;
    font-size: 0.9375rem;
  }
}

/* ========== Footer ========== */

.site-footer {
  background: #1a1a1a;
  color: #fff;
  padding: 56px 24px 48px;
}

.site-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.site-footer__social {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 20px;
  margin-bottom: 48px;
}

.site-footer__rule {
  flex: 1 1 auto;
  height: 1px;
  background: #5a5a5a;
  min-width: 24px;
}

.site-footer__social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-shrink: 0;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #e8e8e8;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  color: #fff;
  opacity: 0.9;
}

.site-footer__social-link svg {
  width: 22px;
  height: 22px;
  display: block;
}

.site-footer__brand {
  text-align: center;
  margin-bottom: 18px;
}

.site-footer__logo {
  display: inline-block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
  line-height: 1.1;
}

.site-footer__logo:hover,
.site-footer__logo:focus-visible {
  color: #fff;
  opacity: 0.92;
}

.site-footer__copy {
  margin: 14px 0 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #9a9a9a;
  font-weight: 400;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.site-footer__legal a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
  color: #e0e0e0;
}

.site-footer__sep {
  color: #8a8a8a;
  user-select: none;
}

@media (max-width: 640px) {
  .site-footer {
    padding: 44px 16px 40px;
  }

  .site-footer__inner {
    gap: 0;
  }

  .site-footer__social {
    gap: 12px;
    margin-bottom: 36px;
  }

  .site-footer__social-list {
    gap: 12px;
  }

  .site-footer__social-link {
    width: 24px;
    height: 24px;
  }

  .site-footer__social-link svg {
    width: 18px;
    height: 18px;
  }

  .site-footer__legal {
    font-size: 0.8125rem;
    gap: 8px 10px;
  }
}

/* ========== Page hero wash (soft mint gradient) ========== */
.page-hero-wash {
  --page-wash-a: rgba(168, 204, 176, 0.85);
  --page-wash-c: rgba(232, 242, 232, 0.98);
  --page-wash-fade: linear-gradient(to bottom, #000 0%, #000 28%, transparent 72%);
  position: relative;
  isolation: isolate;
  background: transparent;
}

.page-hero-wash::before,
.page-hero-wash::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: min(420px, 78%);
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: var(--page-wash-fade);
  mask-image: var(--page-wash-fade);
}

.page-hero-wash::before {
  background-image:
    radial-gradient(ellipse 62% 90% at 0% -15%, var(--page-wash-a) 0%, transparent 66%),
    radial-gradient(ellipse 62% 90% at 100% -15%, var(--page-wash-a) 0%, transparent 66%),
    radial-gradient(ellipse 85% 70% at 50% -12%, var(--page-wash-c) 0%, rgba(255, 255, 255, 0.35) 48%, transparent 78%);
}

.page-hero-wash::after {
  opacity: 0.22;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.page-hero-wash > * {
  position: relative;
  z-index: 1;
}

.page-hero-wash .about-page,
.page-hero-wash .about-story,
.page-hero-wash .service-detail__hero {
  background: transparent;
}

.contact-page.page-hero-wash {
  background-color: #ffffff;
}

.page-hero-wash .service-detail__hero {
  border-bottom: none;
}

/* ========== About Us Page ========== */
.site-main--about {
  background: #ffffff;
}

.about-page {
  padding: 56px 32px 24px;
  background: #ffffff;
}

.about-page__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.about-page__eyebrow {
  margin: 0 0 18px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.about-page__headline {
  margin: 0 auto 0;
  max-width: 22ch;
  text-align: center;
  font-family: var(--font-body);
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.12;
  color: #111111;
}

.about-page__line {
  display: block;
}

.about-page__line--muted {
  color: #8a8a8a;
  font-weight: 500;
}

.about-page__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05em;
  height: 1.05em;
  margin: 0 0.12em;
  border-radius: 50%;
  vertical-align: -0.12em;
  position: relative;
  top: -0.02em;
}

.about-page__pill svg {
  width: 58%;
  height: 58%;
}

.about-page__pill--blue {
  background: #3b82f6;
  color: #ffffff;
}

.about-page__pill--lime {
  background: #c8e86a;
  color: #111111;
}

.services-page__intro,
.projects-page__intro,
.blog-page__intro,
.about-story--lead {
  padding-top: 36px;
  padding-bottom: 56px;
}

.services-page__intro .about-story__intro,
.projects-page__intro .about-story__intro,
.blog-page__intro .about-story__intro,
.about-story--lead .about-story__intro {
  margin-bottom: 0;
}

.page-hero-wash + .about-story {
  padding-top: 24px;
}

.about-page__grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr 0.92fr;
  gap: 10px;
  align-items: start;
  min-height: 0;
}

.about-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 0;
}

.about-card--hero {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(165deg, #6aa8e8 0%, #4f8fd6 55%, #3f7fc7 100%);
  padding: 12px 10px 10px;
  min-height: 0;
}

.about-card__hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 4px;
}

.about-card__brand {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1;
}

.about-card__chart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #111111;
  color: #ffffff;
}

.about-card__chart svg {
  width: 14px;
  height: 14px;
}

.about-card__panel {
  position: relative;
  z-index: 3;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.08);
}

.about-card__stat {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.85rem, 2.6vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.92;
  color: #111111;
}

.about-card__stat--lg {
  font-size: clamp(2.2rem, 3.2vw, 2.75rem);
  margin-top: 0;
}

.about-card__stat--light {
  margin: 0;
  font-size: clamp(1.9rem, 2.6vw, 2.35rem);
  color: #111111;
}

.about-card__text {
  margin: 4px 0 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.35;
  color: #4a4a4a;
  max-width: 28ch;
}

.about-card--quote {
  grid-column: 2;
  background: #f3f3f1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  min-height: 0;
}

.about-card__top {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-card__bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-card__label {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: #222222;
  line-height: 1.25;
}

.about-card__label--light {
  color: #222222;
}

.about-card__avatars {
  display: flex;
  align-items: center;
  margin-top: 0;
  padding-top: 0;
}

.about-card__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #f3f3f1;
  margin-left: -7px;
  background: #d9d9d9;
}

.about-card__avatar:first-child {
  margin-left: 0;
}

.about-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card__quote {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.35;
  color: #3a3a3a;
}

.about-page__stack {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.about-card--lime {
  flex: 1 1 auto;
  background: #c8e86a;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  min-height: 0;
}

.about-card--lime .about-card__text {
  color: #222222;
  max-width: none;
  margin-top: auto;
}

.about-card--dark {
  flex: 0 0 auto;
  background: #ecece8;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
  min-height: 0;
}

/* ========== About — Story / Stats / Visual ========== */
.about-story {
  padding: 40px 32px 88px;
  background: #ffffff;
}

.about-story__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.about-story__intro {
  margin: 0 auto 48px;
  max-width: 52rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem);
  font-weight: 400;
  line-height: 1.7;
  color: #3a3a3a;
}

.about-story__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0 0 56px;
  padding: 36px 28px;
  border-radius: 24px;
  background: #c8e86a;
  border: none;
}

.about-story__stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  padding: 8px 4px;
}

.about-story__stat-value {
  font-family: var(--font-body);
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #111111;
  font-variant-numeric: tabular-nums;
}

.about-story__stat-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: #2a2a2a;
  line-height: 1.3;
}

.about-story__visual {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #111111;
}

.about-story__visual img {
  width: 100%;
  height: auto;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.about-story__visual-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  background:
    radial-gradient(ellipse 70% 60% at 30% 40%, rgba(200, 232, 106, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 75% 70%, rgba(59, 130, 246, 0.18) 0%, transparent 50%),
    linear-gradient(160deg, #1a1a1a 0%, #0f0f0f 100%);
}

.about-story__visual-label {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.88);
}

.about-story__visual-caption {
  margin: 0;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  background: #111111;
}

/* ========== About — Mission ========== */
.about-mission {
  padding: 88px 32px;
  background: #f3f3f1;
}

.about-mission__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-mission__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.about-mission__title {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #111111;
}

.about-mission__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: #3a3a3a;
}

/* ========== About — Team / Values ========== */
.about-team {
  padding: 88px 32px;
  background: #ffffff;
}

.about-team__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.about-team__intro {
  max-width: 40rem;
  margin: 0 0 48px;
}

.about-team__eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.about-team__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: #111111;
}

.about-team__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-team__value {
  padding-top: 20px;
  border-top: 2px solid #111111;
}

.about-team__value-title {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111111;
}

.about-team__value-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: #4a4a4a;
}

/* ========== About — Growth Framework ========== */
.about-framework {
  padding: 88px 32px 100px;
  background: #ffffff;
  color: #111111;
}

.about-framework__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.about-framework__title {
  margin: 0 0 48px;
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #111111;
}

.about-framework__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.about-framework__step {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 24px;
  border-radius: 20px;
  background: #f3f3f1;
  border: 1px solid #e8e8e6;
}

.about-framework__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #c8e86a;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111111;
}

.about-framework__step-title {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111111;
}

.about-framework__step-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: #4a4a4a;
}

.page-content {
  padding: 72px 32px 96px;
}

.page-content__inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-content__title {
  margin: 0 0 24px;
  font-family: var(--font-body);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  color: #111111;
}

.page-content__body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444444;
}

@media (max-width: 980px) {
  .about-page {
    padding: 56px 20px 16px;
  }

  .about-page__headline {
    max-width: 16ch;
    margin-bottom: 0;
  }

  .about-page__grid {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }

  .about-card--hero {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .about-card--quote {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .about-page__stack {
    grid-column: 1 / -1;
    flex-direction: row;
    min-height: 0;
  }

  .about-card--lime,
  .about-card--dark {
    flex: 1 1 0;
    min-height: 0;
  }

  .about-story {
    padding: 32px 20px 72px;
  }

  .about-story__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
    padding: 28px 18px;
    border-radius: 20px;
  }

  .about-mission,
  .about-team {
    padding: 64px 20px;
  }

  .about-team__values {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-framework {
    padding: 64px 20px 80px;
  }

  .about-framework__steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-page {
    padding: 40px 16px 12px;
  }

  .about-page__eyebrow {
    margin-bottom: 12px;
  }

  .about-page__headline {
    max-width: none;
    margin-bottom: 0;
    font-size: clamp(1.7rem, 7.5vw, 2.2rem);
    line-height: 1.15;
  }

  .about-page__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-card--hero,
  .about-card--quote,
  .about-page__stack {
    grid-column: 1;
  }

  .about-page__stack {
    flex-direction: column;
    gap: 10px;
  }

  .about-card--hero {
    min-height: 0;
    gap: 20px;
    padding: 14px 12px 12px;
  }

  .about-card--quote {
    min-height: 0;
    padding: 16px;
    gap: 14px;
  }

  .about-card__bottom {
    margin-top: 0;
  }

  .about-card--lime,
  .about-card--dark {
    min-height: 0;
    width: 100%;
  }

  .about-card--lime {
    padding: 16px;
    gap: 10px;
  }

  .about-card--dark {
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .about-card__stat {
    font-size: 1.85rem;
  }

  .about-card__stat--lg {
    font-size: 2.1rem;
  }

  .about-card__text {
    max-width: none;
    font-size: 0.84rem;
  }

  .about-card__quote {
    font-size: 0.88rem;
  }

  .about-story {
    padding: 28px 16px 56px;
  }

  .about-story__intro {
    margin-bottom: 32px;
    text-align: left;
    font-size: 1rem;
    line-height: 1.65;
  }

  .about-story__stats {
    grid-template-columns: 1fr 1fr;
    gap: 22px 10px;
    padding: 24px 14px;
    margin-bottom: 36px;
    border-radius: 18px;
  }

  .about-story__stat-value {
    font-size: 1.85rem;
  }

  .about-story__stat-label {
    font-size: 0.8rem;
  }

  .about-story__visual {
    border-radius: 18px;
  }

  .about-story__visual-placeholder {
    min-height: 200px;
  }

  .about-mission,
  .about-team {
    padding: 56px 16px;
  }

  .about-mission__inner {
    text-align: left;
  }

  .about-mission__title {
    font-size: clamp(1.5rem, 6.5vw, 1.9rem);
  }

  .about-mission__text {
    font-size: 0.98rem;
  }

  .about-team__intro {
    margin-bottom: 36px;
  }

  .about-team__text {
    font-size: 1.1rem;
  }

  .about-framework {
    padding: 56px 16px 72px;
  }

  .about-framework__title {
    margin-bottom: 28px;
    font-size: clamp(1.5rem, 6.5vw, 1.9rem);
  }

  .about-framework__step {
    padding: 22px 18px;
  }

  .page-content {
    padding: 48px 20px 64px;
  }
}

/* ========== FAQ ========== */
.faq {
  background: #f5f5f5;
  padding: 96px 32px;
}

.faq__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px 72px;
  align-items: start;
}

.faq__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.faq__eyebrow-mark {
  color: #c45a2a;
}

.faq__heading {
  margin: 0 0 18px;
  max-width: none;
  font-family: var(--font-body);
  font-size: clamp(2.45rem, 4vw, 3.35rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.1;
  color: #111111;
}

.faq__heading-line {
  display: block;
}

.faq__lead {
  margin: 0 0 28px;
  max-width: 34ch;
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.6;
  color: #666666;
}

.faq__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #ff5722;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.faq__btn svg {
  width: 18px;
  height: 18px;
}

.faq__btn:hover {
  background: #e64a19;
  color: #ffffff;
}

.faq__btn:active {
  transform: scale(0.98);
}

.faq__right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: #111111;
}

.faq__question-text {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.faq__num {
  flex-shrink: 0;
  color: #111111;
}

.faq__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #7a7a7a;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}

.faq__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  color: #111111;
}

.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq__answer p {
  margin: 0;
  padding: 0 22px 20px;
  max-width: 46ch;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666666;
}

@media (max-width: 900px) {
  .faq {
    padding: 72px 20px;
  }

  .faq__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .faq__heading {
    font-size: clamp(2.15rem, 8vw, 2.75rem);
  }

  .faq__lead {
    max-width: none;
  }

  .faq__question-text {
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq__icon,
  .faq__answer,
  .faq__btn {
    transition: none;
  }
}

/* ========== Contact Us page ========== */
.site-main--contact {
  min-height: 0;
}

.contact-page {
  --cp-ink: #2b2b2b;
  --cp-muted: #8a8a8a;
  --cp-field: #f2f2f2;
  --cp-accent: #141414;
  --cp-accent-hover: #2a2a2a;
  position: relative;
  z-index: 2;
  background-color: #ffffff;
  min-height: 0;
}

.contact-page__shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 24px 56px;
}

.contact-page__media {
  position: relative;
  min-height: 100%;
  padding: 0 28px 0 12px;
  order: 2;
}

.contact-page__img,
.contact-page__placeholder {
  position: absolute;
  top: 0;
  right: 28px;
  bottom: 0;
  left: 12px;
  width: auto;
  height: auto;
  border: 14px solid #ffffff;
  border-radius: 0 56px 56px 0;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 18px 40px rgba(20, 20, 20, 0.1);
  background-color: #f3f3f3;
}

.contact-page__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(160deg, #eef3e4 0%, #dce8c8 42%, #c5d9a0 100%);
}

.contact-page__placeholder-text {
  max-width: 18ch;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(60, 75, 40, 0.7);
  line-height: 1.4;
}

.contact-page__panel {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0 40px 0 24px;
  order: 1;
}

.contact-page__form-wrap {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
}

.contact-page__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #141414;
}

.contact-page__brand-icon {
  width: 28px;
  height: 28px;
  color: #141414;
}

.contact-page__title {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: clamp(1.85rem, 2.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--cp-ink);
}

.contact-page__lead {
  margin: 0 0 28px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--cp-muted);
}

.contact-form .wpcf7 {
  margin: 0;
}

.contact-form .wpcf7-form {
  margin: 0;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form__field {
  margin: 0;
}

.contact-form__label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: #555555;
}

.contact-form .wpcf7-form-control-wrap {
  display: block;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form input[type="number"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--cp-field);
  color: var(--cp-ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.3;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: box-shadow 0.15s ease, background 0.15s ease;
}

.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

/* Custom select — matches theme field UI */
.contact-form .cselect {
  position: relative;
  width: 100%;
  z-index: 1;
}

.contact-form .cselect.is-open {
  z-index: 40;
}

.contact-form .cselect__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  background-image: none !important;
}

.contact-form .cselect__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--cp-field);
  color: var(--cp-ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: box-shadow 0.15s ease, background 0.15s ease;
}

.contact-form .cselect__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-form .cselect.is-placeholder .cselect__label {
  color: #a3a3a3;
}

.contact-form .cselect__btn:hover,
.contact-form .cselect.is-open .cselect__btn,
.contact-form .cselect__btn:focus-visible {
  background: #ececec;
  box-shadow: 0 0 0 2px rgba(20, 20, 20, 0.18);
  outline: none;
}

.contact-form .cselect__chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.15s ease;
}

.contact-form .cselect.is-open .cselect__chevron {
  transform: rotate(180deg);
}

.contact-form .cselect__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  display: none;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 12px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(20, 20, 20, 0.14);
  max-height: min(240px, 40vh);
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(20, 20, 20, 0.25) transparent;
}

.contact-form .cselect__list::-webkit-scrollbar {
  width: 4px;
}

.contact-form .cselect__list::-webkit-scrollbar-thumb {
  background: rgba(20, 20, 20, 0.22);
  border-radius: 4px;
}

.contact-form .cselect.is-open .cselect__list {
  display: block;
}

.contact-form .cselect.is-drop-up .cselect__list {
  top: auto;
  bottom: calc(100% + 8px);
}

.contact-form .cselect__option {
  padding: 8px 12px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--cp-ink);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.12s ease, color 0.12s ease;
}

.contact-form .cselect__option:hover {
  background: rgba(20, 20, 20, 0.06);
}

.contact-form .cselect__option.is-selected {
  background: var(--cp-accent);
  color: #ffffff;
  font-weight: 600;
}

.contact-form .cselect__option--placeholder {
  color: #a3a3a3;
}

.contact-form .cselect__option--placeholder.is-selected {
  background: #ececec;
  color: #8a8a8a;
  font-weight: 500;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a3a3a3;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: #ececec;
  box-shadow: 0 0 0 2px rgba(20, 20, 20, 0.18);
}

.contact-form__submit {
  margin: 18px 0 0;
}

.contact-form input.wpcf7-submit,
.contact-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--cp-accent);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.contact-form input.wpcf7-submit:hover,
.contact-form .wpcf7-submit:hover {
  background: var(--cp-accent-hover);
}

.contact-form input.wpcf7-submit:active,
.contact-form .wpcf7-submit:active {
  transform: scale(0.99);
}

.contact-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #c0392b;
}

.contact-form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 0;
  font-size: 0.9rem;
}

.contact-form .wpcf7 form-invalid .wpcf7-response-output,
.contact-form .wpcf7-validation-errors,
.contact-form .wpcf7-mail-sent-ng {
  background: #fdecea;
  color: #c0392b;
}

.contact-form .wpcf7-mail-sent-ok,
.contact-form .wpcf7 form-sent .wpcf7-response-output {
  background: #f0f0f0;
  color: #141414;
}

.contact-form .screen-reader-response {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ========== Contact — Location ========== */
.contact-location {
  position: relative;
  z-index: 1;
  background: #ffffff;
  padding: 24px 32px 96px;
}

.contact-location__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px 56px;
  align-items: center;
}

.contact-location__map-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #eef1f4;
  min-height: 380px;
  box-shadow: 0 18px 40px rgba(20, 20, 20, 0.06);
}

.contact-location__map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
}

.contact-location__pin-card {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -110%);
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: min(280px, calc(100% - 40px));
  padding: 14px 16px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(20, 20, 20, 0.14);
}

.contact-location__pin-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #3b82f6;
  color: #ffffff;
}

.contact-location__pin-icon svg {
  width: 18px;
  height: 18px;
}

.contact-location__pin-copy {
  min-width: 0;
}

.contact-location__pin-name {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111111;
  line-height: 1.2;
}

.contact-location__pin-city {
  margin: 2px 0 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: #3a3a3a;
  line-height: 1.3;
}

.contact-location__pin-address {
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  line-height: 1.4;
  color: #6b6b6b;
}

.contact-location__content {
  max-width: 28rem;
}

.contact-location__badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  border: none;
  background: #ffffff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: #111111;
  line-height: 1;
}

.contact-location__title {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: clamp(1.85rem, 1.4rem + 1.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #111111;
}

.contact-location__text {
  margin: 0 0 28px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: #5a5a5a;
}

.contact-location__hq {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-location__hq-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: transparent;
  color: #3b82f6;
}

.contact-location__hq-icon svg {
  width: 22px;
  height: 22px;
}

.contact-location__hq-title {
  margin: 0 0 4px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111111;
}

.contact-location__hq-address {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  color: #111111;
}

/* Contact page: quieter footer */
body.page-template-page-templatescontact-php .site-footer,
body.page-template-contact-php .site-footer {
  margin-top: 0;
}

@media (max-width: 980px) {
  .contact-page__shell {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 32px 0 40px;
  }

  .contact-page__media {
    order: 2;
    padding: 0 20px 28px;
    height: auto;
    min-height: 0;
  }

  .contact-page__img,
  .contact-page__placeholder {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    border-width: 10px;
    border-radius: 0 36px 36px 0;
  }

  .contact-page__panel {
    order: 1;
    padding: 24px 24px 28px;
    align-items: flex-start;
  }

  .contact-page__form-wrap {
    max-width: 520px;
    margin: 0 auto;
  }

  .contact-location {
    padding: 8px 20px 72px;
  }

  .contact-location__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-location__content {
    order: 1;
    max-width: none;
  }

  .contact-location__map-wrap {
    order: 2;
    min-height: 300px;
    border-radius: 22px;
  }

  .contact-location__map {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .contact-page__panel {
    padding: 28px 18px 20px;
  }

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

  .contact-page__brand {
    margin-bottom: 20px;
    font-size: 1.2rem;
  }

  .contact-page__title {
    font-size: 1.7rem;
  }

  .contact-location {
    padding: 4px 16px 56px;
  }

  .contact-location__map-wrap {
    min-height: 260px;
    border-radius: 18px;
  }

  .contact-location__map {
    min-height: 260px;
  }

  .contact-location__pin-card {
    top: 38%;
    padding: 12px 14px;
    gap: 10px;
    width: min(250px, calc(100% - 28px));
  }

  .contact-location__pin-icon {
    width: 32px;
    height: 32px;
  }

  .contact-location__badge {
    margin-bottom: 14px;
  }

  .contact-location__title {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }

  .contact-location__text {
    margin-bottom: 22px;
    font-size: 0.98rem;
  }

  .contact-location__hq-icon {
    width: 40px;
    height: 40px;
  }

  .contact-page__lead {
    margin-bottom: 22px;
    font-size: 0.92rem;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form select,
  .contact-form input.wpcf7-submit {
    min-height: 48px;
    border-radius: 10px;
  }

  .contact-page__media {
    padding: 0 16px 24px;
  }

  .contact-page__img,
  .contact-page__placeholder {
    border-width: 8px;
    border-radius: 0 28px 28px 0;
  }
}

/* ========== Blog index ========== */
.site-main--blog {
  background: #ffffff;
}

.blog-index {
  --bi-ink: #111111;
  --bi-muted: #6b6b6b;
  --bi-line: #e8e8e8;
  --bi-accent: #1f6b4a;
  padding: 8px 32px 96px;
  background: #ffffff;
}

.blog-index__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.blog-index__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--bi-line);
  min-width: 0;
}

.blog-index__nav-scroll {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.blog-index__nav-scroll::-webkit-scrollbar {
  display: none;
}

.blog-index__cats {
  display: flex;
  align-items: stretch;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: max-content;
  min-width: 100%;
}

.blog-index__cats li {
  margin: 0;
  flex: 0 0 auto;
}

.blog-index__cat {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px 12px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bi-muted);
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  box-shadow: none;
  transition: color 0.15s ease;
}

.blog-index__cat:hover,
.blog-index__cat:focus,
.blog-index__cat:focus-visible,
.blog-index__cat:active {
  color: var(--bi-ink);
  background: transparent;
  outline: none;
  box-shadow: none;
}

.blog-index__cat.is-active {
  color: var(--bi-ink);
  font-weight: 600;
  border-bottom-color: var(--bi-accent);
  background: transparent;
}

.blog-index__rss {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 2px;
  border-radius: 8px;
  color: var(--bi-muted);
  text-decoration: none;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  box-shadow: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.blog-index__rss:hover {
  color: var(--bi-ink);
  background: #f5f5f5;
}

.blog-index__rss:focus,
.blog-index__rss:focus-visible,
.blog-index__rss:active {
  color: var(--bi-ink);
  background: transparent;
  outline: none;
  box-shadow: none;
}

.blog-index__rss svg {
  width: 20px;
  height: 20px;
}

.blog-index__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
}

.blog-index__card {
  margin: 0;
}

.blog-index__link {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-index__media {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f3f1;
}

.blog-index__img,
.blog-index__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.blog-index__link:hover .blog-index__img,
.blog-index__link:focus-visible .blog-index__img {
  transform: scale(1.03);
}

.blog-index__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 28% 28%, rgba(168, 204, 176, 0.5), transparent 55%),
    linear-gradient(135deg, #f4f4f2, #e9ece9);
}

.blog-index__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 2px;
}

.blog-index__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: #8a8a8a;
}

.blog-index__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f0f0ee;
  color: #2a2a2a;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.blog-index__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--bi-ink);
}

.blog-index__link:hover .blog-index__title,
.blog-index__link:focus-visible .blog-index__title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-index__excerpt {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--bi-muted);
}

.blog-index__empty {
  margin: 0;
  padding: 40px 0;
  text-align: center;
  color: #717680;
  font-size: 1rem;
}

.blog-index .navigation.pagination,
.blog-index__pagination {
  margin-top: 16px;
}

.blog-index .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.blog-index .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: #111111;
  text-decoration: none;
  background: #ffffff;
}

.blog-index .page-numbers.current,
.blog-index a.page-numbers:hover,
.blog-index a.page-numbers:focus-visible {
  background: #141414;
  border-color: #141414;
  color: #ffffff;
}

@media (max-width: 960px) {
  .blog-index__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
}

@media (max-width: 640px) {
  .blog-index {
    padding: 4px 0 72px;
  }

  .blog-index__inner {
    gap: 22px;
  }

  .blog-index__nav {
    padding: 0 16px;
    gap: 8px;
  }

  .blog-index__nav-scroll {
    margin: 0 -4px;
    padding: 0 4px;
  }

  .blog-index__cat {
    padding: 10px 10px 12px;
    font-size: 0.9rem;
  }

  .blog-index__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 16px;
  }

  .blog-index__title {
    font-size: 1.15rem;
  }

  .blog-index__empty,
  .blog-index .navigation.pagination {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ========== Single blog post ========== */
.site-main--post {
  background: #ffffff;
}

.post-single {
  --ps-ink: #111111;
  --ps-muted: #5d5d5d;
  --ps-line: #e8e8e8;
  background: #ffffff;
}

.post-single__hero {
  padding: 56px 32px 36px;
}

.post-single__hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.post-single__date {
  display: block;
  margin: 0 0 22px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a9a9a;
  line-height: 1.4;
}

.post-single__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #222222;
}

.post-single__lead {
  margin: 0 auto 28px;
  max-width: 40rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: #7a7a7a;
}

.post-single__author {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: left;
}

.post-single__author-avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #ececec;
  -webkit-tap-highlight-color: transparent;
}

.post-single__avatar-img,
.post-single__author-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.post-single__author-copy {
  min-width: 0;
}

.post-single__author-name {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  color: #2f6fed;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.post-single__author-name:hover,
.post-single__author-name:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-single__author-bio {
  margin: 2px 0 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.35;
  color: #8a8a8a;
}

.post-single__body {
  padding: 12px 32px 96px;
}

.post-single__layout {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}

.post-single__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.post-single__media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f3f1;
}

.post-single__img,
.post-single__media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-single__content {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2a2a2a;
}

.post-single__content > *:first-child {
  margin-top: 0;
}

.post-single__content > *:last-child {
  margin-bottom: 0;
}

.post-single__content h2,
.post-single__content h3,
.post-single__content h4 {
  margin: 1.6em 0 0.55em;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--ps-ink);
}

.post-single__content h2 {
  font-size: 1.55rem;
}

.post-single__content h3 {
  font-size: 1.25rem;
}

.post-single__content p,
.post-single__content ul,
.post-single__content ol {
  margin: 0 0 1.15em;
}

.post-single__content ul,
.post-single__content ol {
  padding-left: 1.25em;
}

.post-single__content a {
  color: #1f6b4a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-single__content img,
.post-single__content figure {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.post-single__content figure {
  margin: 1.5em 0;
}

.post-single__content blockquote {
  margin: 1.5em 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid #1f6b4a;
  color: var(--ps-muted);
  font-style: italic;
}

.post-single__content .wp-block-table,
.post-single__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95rem;
  overflow-x: auto;
  display: block;
}

.post-single__content .wp-block-table table {
  display: table;
  min-width: 560px;
}

.post-single__content th,
.post-single__content td {
  padding: 12px 14px;
  border: 1px solid var(--ps-line);
  text-align: left;
  vertical-align: top;
}

.post-single__content th {
  background: #f5f5f3;
  font-weight: 700;
  color: var(--ps-ink);
}

.post-single__content tr:nth-child(even) td {
  background: #fafaf8;
}

.post-single__content pre,
.post-single__content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.post-single__content pre {
  overflow-x: auto;
  padding: 16px;
  border-radius: 12px;
  background: #f5f5f3;
}

.post-single__content code {
  font-size: 0.92em;
}

.post-single__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--ps-line);
}

.post-single__tags-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.post-single__tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-single__tags a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--ps-line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ps-ink);
  text-decoration: none;
}

.post-single__tags a:hover,
.post-single__tags a:focus-visible {
  background: #f5f5f3;
}

.post-single__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--ps-line);
}

.post-single__nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--ps-line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.post-single__nav-link:hover,
.post-single__nav-link:focus-visible {
  border-color: #cfcfcf;
  background: #fafafa;
}

.post-single__nav-link--next {
  text-align: right;
  justify-self: end;
  width: 100%;
}

.post-single__nav-link span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.post-single__nav-link strong {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ps-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-single__nav-link--empty {
  border: 0;
  padding: 0;
}

/* Sidebar */
.post-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-sidebar__block,
.post-sidebar .widget {
  padding: 18px;
  border: 1px solid var(--ps-line);
  border-radius: 14px;
  background: #ffffff;
}

.post-sidebar__heading,
.post-sidebar .widget-title {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ps-ink);
}

.post-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.post-sidebar__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 4px;
  color: #3a3a3a;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 6px;
}

.post-sidebar__list a:hover,
.post-sidebar__list a:focus-visible {
  color: var(--ps-ink);
  background: #f7f7f5;
}

.post-sidebar__count {
  color: #9a9a9a;
  font-size: 0.8rem;
}

.post-sidebar__recent {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.post-sidebar__recent-link {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.post-sidebar__thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #f0f0ee;
  display: block;
}

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

.post-sidebar__thumb--empty {
  background:
    radial-gradient(circle at 30% 30%, rgba(168, 204, 176, 0.45), transparent 60%),
    #f0f0ee;
}

.post-sidebar__recent-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.post-sidebar__recent-title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ps-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-sidebar__recent-link:hover .post-sidebar__recent-title,
.post-sidebar__recent-link:focus-visible .post-sidebar__recent-title {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-sidebar__recent time {
  font-size: 0.78rem;
  color: #8a8a8a;
}

.post-sidebar__cta {
  padding: 20px;
  border-radius: 14px;
  background: #111111;
  color: #ffffff;
}

.post-sidebar__cta-eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.post-sidebar__cta-text {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.post-sidebar__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.post-sidebar__cta-btn:hover,
.post-sidebar__cta-btn:focus-visible {
  background: #f0f0f0;
}

@media (max-width: 960px) {
  .post-single__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .post-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .post-single__hero {
    padding: 40px 16px 28px;
  }

  .post-single__title {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
  }

  .post-single__lead {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }

  .post-single__author-avatar {
    width: 40px;
    height: 40px;
  }

  .post-single__body {
    padding: 8px 16px 72px;
  }

  .post-single__nav {
    grid-template-columns: 1fr;
  }

  .post-single__nav-link--next {
    text-align: left;
  }

  .post-single__content {
    font-size: 1rem;
  }
}

/* ========== Contact quotation popup (homepage) ========== */
html.contact-popup-open,
body.contact-popup-open {
  overflow: hidden;
}

.contact-popup {
  --cp-ink: #141414;
  --cp-muted: #6a6a6a;
  --cp-accent: #141414;
  --cp-accent-hover: #2a2a2a;
  --cp-field: #f3f3f3;
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    visibility 0s linear 0.32s;
}

.contact-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.32s ease,
    visibility 0s linear 0s;
}

.contact-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 18, 0.48);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.contact-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  border-radius: 24px;
  background:
    linear-gradient(180deg, #f4f7ef 0%, #ffffff 42%, #ffffff 100%);
  box-shadow: 0 28px 80px rgba(10, 12, 16, 0.28);
  transform: translate3d(0, 28px, 0) scale(0.98);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
  -webkit-overflow-scrolling: touch;
}

.contact-popup.is-open .contact-popup__dialog {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

.contact-popup__close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #171717;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.contact-popup__close:hover,
.contact-popup__close:focus-visible {
  background: #ffffff;
  color: #000000;
}

.contact-popup__close svg {
  width: 18px;
  height: 18px;
}

.contact-popup__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  min-height: 520px;
}

.contact-popup__panel {
  padding: 40px 36px 36px;
}

.contact-popup__form-wrap {
  max-width: 520px;
}

.contact-popup__title {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #141414;
}

.contact-popup__lead {
  margin: 0 0 26px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.5;
  color: #6a6a6a;
}

.contact-popup__media {
  position: relative;
  min-height: 100%;
  padding: 28px 28px 28px 8px;
  display: flex;
  align-items: stretch;
}

.contact-popup__img,
.contact-popup__placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  background: #eef3e4;
  box-shadow: 0 14px 36px rgba(20, 20, 20, 0.1);
  align-self: center;
}

.contact-popup__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(60, 75, 40, 0.75);
  background:
    linear-gradient(160deg, #eef3e4 0%, #dce8c8 42%, #c5d9a0 100%);
}

.contact-popup .contact-form input.wpcf7-submit,
.contact-popup .contact-form .wpcf7-submit {
  background: #141414;
  color: #ffffff;
}

.contact-popup .contact-form input.wpcf7-submit:hover,
.contact-popup .contact-form .wpcf7-submit:hover {
  background: #2a2a2a;
  color: #ffffff;
}

@media (max-width: 900px) {
  .contact-popup {
    padding: 12px;
    align-items: center;
  }

  .contact-popup__dialog {
    width: 100%;
    max-height: min(90vh, 640px);
    border-radius: 18px;
    transform: translate3d(0, 28px, 0);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .contact-popup.is-open .contact-popup__dialog {
    transform: translate3d(0, 0, 0);
  }

  .contact-popup__shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contact-popup__media {
    display: none;
  }

  .contact-popup__panel {
    padding: 20px 16px 18px;
  }

  .contact-popup__form-wrap {
    max-width: none;
  }

  .contact-popup__title {
    font-size: 1.35rem;
    margin: 0 0 6px;
    padding-right: 36px;
  }

  .contact-popup__lead {
    margin: 0 0 14px;
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .contact-popup .contact-form__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px 8px;
  }

  .contact-popup .contact-form__field {
    min-width: 0;
  }

  .contact-popup .contact-form__label {
    margin-bottom: 4px;
    font-size: 0.72rem;
  }

  .contact-popup .contact-form input[type="text"],
  .contact-popup .contact-form input[type="email"],
  .contact-popup .contact-form input[type="tel"],
  .contact-popup .contact-form input[type="url"],
  .contact-popup .contact-form input[type="number"],
  .contact-popup .contact-form select,
  .contact-popup .contact-form .cselect__btn {
    min-height: 42px;
    padding: 9px 11px;
    font-size: 0.88rem;
    border-radius: 10px;
  }

  .contact-popup .contact-form .cselect {
    min-width: 0;
    max-width: 100%;
  }

  .contact-popup .contact-form .cselect.is-open {
    z-index: 60;
  }

  .contact-popup .contact-form .cselect__list {
    top: calc(100% + 4px);
    max-height: min(200px, 36vh);
    z-index: 70;
  }

  .contact-popup .contact-form .cselect.is-drop-up .cselect__list {
    top: auto;
    bottom: calc(100% + 4px);
  }

  .contact-popup .contact-form .cselect__option {
    padding: 7px 10px;
    font-size: 0.84rem;
  }

  .contact-popup .contact-form__submit {
    margin: 12px 0 0;
    position: static;
    padding: 0;
    background: none;
  }

  .contact-popup .contact-form input.wpcf7-submit,
  .contact-popup .contact-form .wpcf7-submit {
    min-height: 46px;
    border-radius: 10px;
    font-size: 0.95rem;
  }
}

@media (max-width: 560px) {
  .contact-popup .contact-form__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-popup,
  .contact-popup__dialog {
    transition: none;
  }

  .contact-popup__dialog {
    transform: none;
  }
}

