:root {
  --bg: #eef3f7;
  --panel: #f7f9fb;
  --paper: #f4f8fa;
  --card: #ffffff;
  --muted: #7387a0;
  --muted-soft: #a3b6c8;
  --primary: #1e75d6;
  --primary-dark: #0f4f98;
  --primary-soft: rgba(30, 117, 214, 0.14);
  --navy: #061a34;
  --navy-soft: #0d2441;
  --line: rgba(18, 45, 74, 0.09);
  --shadow: 0 18px 42px rgba(31, 55, 89, 0.1);
  --blue-grad: linear-gradient(180deg, #7ec5ff 0%, #2a8df7 40%, #0d4ca8 100%);
  --blue-grad-2: linear-gradient(180deg, #7fc5ff, #4aa7ff 55%, #1d7fe9 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  background: var(--bg);
  color: var(--navy);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
}

body:not(.page-home),
body.page-home {
  background: linear-gradient(180deg, #edf3f7 0%, #eff4f8 100%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
.primary {
  letter-spacing: 0.01em;
}

.page-shell {
  width: min(1320px, calc(100% - 48px));
  max-width: 1320px;
  min-height: 100vh;
  margin: 32px auto;
  display: grid;
  grid-template-columns: 1.78fr 0.97fr;
  gap: 24px;
  align-items: start;
}

.page-home .page-shell {
  grid-template-columns: 1fr;
  width: min(1320px, calc(100% - 48px));
}

.page-shell--single {
  width: min(1320px, calc(100% - 48px));
  max-width: 1320px;
  min-height: 100vh;
  margin: 32px auto;
  display: block;
}

.panel {
  background: rgba(255, 255, 255, 0.24);
  border-radius: 20px;
  box-shadow: 0 16px 30px rgba(33, 49, 74, 0.05);
}

.single-page {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(18, 45, 74, 0.06);
  overflow: hidden;
  min-height: 100vh;
}

.left-panel {
  background: transparent;
  padding: 0;
  min-width: 0;
}

.page-home .left-panel {
  background: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-direction: column;
}

.page-home .left-panel > header { order: 0; }
.page-home .hero { order: 1; }
.page-home .clients-section { order: 2; }
.page-home .services { order: 3; }
.page-home .approach-section { order: 4; }
.page-home .offer-section { order: 5; }
.page-home .audience-section { order: 6; }
.page-home .how-section { order: 7; }
.page-home .why-section-home { order: 8; }
.page-home .behind-section { order: 9; }
.page-home .cta-section { order: 10; }
.page-home .site-footer { order: 11; }

.right-panel {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 78, 144, 0.06);
  padding: 0 0 18px;
  min-height: 100%;
}

.topbar {
  --topbar-height: 0px;
  position: sticky;
  z-index: 950;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 42px 14px 26px;
  background: var(--panel);
  border-radius: 18px 18px 0 0;
  border-bottom: 1px solid rgba(18, 45, 74, 0.05);
}

.topbar > .brand-link,
.topbar > .brand {
  flex: 1;
}

.topbar > .nav {
  flex: 1;
  justify-content: center;
}

.topbar > .primary {
  flex: 1;
  text-align: center;
}

.single-page .topbar {
  background: var(--panel);
}

.right-panel .topbar {
  background: var(--panel);
  border-bottom: 1px solid rgba(18, 45, 74, 0.05);
}

.brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: -0.08em;
  color: #0d2d52;
}

.brand span {
  color: var(--primary);
}

.brand small {
  color: var(--muted);
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.brand-link {
  display: inline-block;
  line-height: 1;
}

.brand-link:hover {
  opacity: 0.9;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  opacity: 0.8;
  position: relative;
}

.nav a.active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.nav a:hover {
  opacity: 1;
}

.primary {
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #2d7ae7 0%, #1d65c9 100%);
  color: #fff;
  font-weight: 700;
  padding: 0.95rem 1.7rem;
  cursor: pointer;
  box-shadow: 0 12px 18px rgba(20, 98, 197, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 20px rgba(20, 98, 197, 0.2);
}

.primary.small {
  padding: 0.72rem 1.2rem;
  font-size: 0.8rem;
}

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.2fr;
  gap: 10px;
  align-items: center;
  padding: 18px 42px 10px;
  background: transparent;
  min-height: 540px;
}

.page-home .left-panel > section {
  border-top: 1px solid rgba(18, 45, 74, 0.1);
  min-width: 0;
}

.page-home .left-panel > section:nth-of-type(even) {
  background: rgba(237, 243, 247, 0.22);
}

.page-home .left-panel > section.cta-section {
  background: var(--navy);
  color: white;
}

.hero-copy {
  padding: 16px 10px 0 6px;
}

.eyebrow,
.section-tag,
.contact-label {
  margin: 0 0 26px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero-copy h1 {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3.5rem, 5vw, 5.2rem);
  line-height: 0.93;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #122a44;
}

.hero-copy h1 span {
  color: var(--primary);
}

.lead {
  width: min(100%, 490px);
  margin: 22px 0 28px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #3f536c;
}

.page-home .lead,
.page-home .section-intro {
  width: 100%;
  max-width: none;
}

.page-home .content-section h2,
.page-home .cta-section h2 {
  max-width: none;
}

.page-home .typing-heading {
  max-width: 100%;
  white-space: normal;
}

.cta-section > div {
  min-width: 0;
}

.factory-scene {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 560px;
  position: relative;
  overflow: hidden;
}

.factory-gif {
  width: min(100%, 560px);
  max-width: 100%;
  height: auto;
  max-height: 510px;
  object-fit: contain;
  object-position: center bottom;
}

.factory {
  position: relative;
  width: 560px;
  height: 420px;
}

.light-bulb {
  position: absolute;
  left: 90px;
  top: 18px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff7cf 0%, #fff5ba 24%, #f8d86f 44%, #d7bf5f 100%);
  box-shadow: 0 0 35px rgba(255, 214, 90, 0.68), 0 0 60px rgba(255, 191, 46, 0.22);
}

.light-bulb::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 12px;
  background: rgba(120, 133, 152, 0.7);
  left: -7px;
  bottom: -12px;
  border-radius: 10px;
}

.bulb-glow {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 219, 103, 0.24), transparent 70%);
}

.factory-body {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 500px;
  height: 320px;
  border-radius: 26px 26px 18px 18px;
  background: linear-gradient(180deg, #f9fbfd 0%, #e9eef7 35%, #d8e3ee 100%);
  box-shadow: inset 0 0 0 3px rgba(109, 142, 187, 0.18), 0 22px 32px rgba(42, 74, 116, 0.2);
  overflow: visible;
}

.factory-body::before {
  content: "";
  position: absolute;
  inset: 18px 26px 14px;
  border-radius: 20px 20px 16px 16px;
  background: linear-gradient(180deg, rgba(112, 204, 255, 0.35), rgba(21, 116, 214, 0.14));
  opacity: 0.95;
}

.tank {
  position: absolute;
  left: 130px;
  top: 24px;
  width: 240px;
  height: 154px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4));
  border: 3px solid rgba(122, 152, 182, 0.28);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.tank::before,
.tank::after {
  content: "";
  position: absolute;
  background: rgba(22, 98, 190, 0.2);
  border-radius: 50%;
}

.tank::before {
  width: 68px;
  height: 68px;
  left: 12px;
  top: 28px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 2px rgba(48, 114, 201, 0.18);
}

.tank::after {
  width: 140px;
  height: 34px;
  right: 18px;
  top: 62px;
  background: linear-gradient(90deg, rgba(58, 143, 255, 0.26), rgba(13, 87, 194, 0.12));
}

.pipe {
  position: absolute;
  top: 40px;
  width: 96px;
  height: 24px;
  background: linear-gradient(180deg, rgba(162, 180, 201, 0.7), rgba(102, 122, 150, 0.9));
  border-radius: 18px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.pipe::before,
.pipe::after {
  content: "";
  position: absolute;
  background: inherit;
}

.pipe-left {
  left: 14px;
  transform: rotate(-15deg);
}

.pipe-left::before {
  width: 60px;
  height: 20px;
  right: -40px;
  top: 12px;
  border-radius: 18px;
  transform: rotate(38deg);
}

.pipe-left::after {
  width: 20px;
  height: 80px;
  left: 60px;
  top: 24px;
  border-radius: 18px;
}

.pipe-right {
  right: 14px;
  transform: rotate(15deg);
}

.pipe-right::before {
  width: 56px;
  height: 20px;
  left: -32px;
  top: 16px;
  border-radius: 18px;
  transform: rotate(-32deg);
}

.pipe-right::after {
  width: 20px;
  height: 84px;
  right: 58px;
  top: 26px;
  border-radius: 18px;
}

.panel-front {
  position: absolute;
  left: 168px;
  top: 102px;
  width: 164px;
  height: 148px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f3f7fb 0%, #dfeaf5 100%);
  box-shadow: inset 0 0 0 2px rgba(77, 101, 133, 0.12);
}

.panel-front::before, .panel-side::before, .panel-side::after {
  content: "";
  position: absolute;
}

.panel-front::before {
  inset: 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(16, 117, 214, 0.8), rgba(13, 84, 172, 0.9));
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.tiny-badge {
  position: absolute;
  left: 20px;
  top: 18px;
  z-index: 2;
  width: 42px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.25);
  border-radius: 8px;
}

.panel-screen {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 18px;
  top: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(33, 114, 200, 0.28), rgba(20, 84, 170, 0.06));
  overflow: hidden;
}

.screen-glow {
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(128, 223, 255, 0), rgba(72, 127, 255, 0.18));
}

.gear {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 0 0 2px rgba(8, 71, 160, 0.68);
}

.gear::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: rgba(128, 219, 255, 0.7);
}

.gear-1 { left: 30px; top: 20px; }
.gear-2 { right: 26px; bottom: 20px; }

.panel-side {
  position: absolute;
  right: 106px;
  top: 132px;
  width: 102px;
  height: 96px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f3f8fd 0%, #dfeaf5 100%);
  box-shadow: inset 0 0 0 2px rgba(77, 101, 133, 0.12);
}

.panel-side::before {
  inset: 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(32, 179, 235, 0.2), rgba(20, 116, 226, 0.18));
}

.code {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.08em;
  color: #2b7fe6;
  z-index: 3;
}

.belt {
  position: absolute;
  left: 30px;
  right: 30px;
  height: 18px;
  background: linear-gradient(180deg, #7b8992 0%, #465666 100%);
  border-radius: 12px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.15);
}

.belt-top {
  bottom: 70px;
  border-radius: 20px;
}

.belt-main {
  bottom: 16px;
  border-radius: 18px 18px 10px 10px;
}

.conveyor-box {
  position: absolute;
  bottom: 34px;
  width: 88px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f3f7fa 0%, #dfeaf6 100%);
  box-shadow: inset 0 0 0 2px rgba(58, 107, 150, 0.12);
}

.box-1 { left: 104px; }
.box-2 { left: 209px; }
.box-3 { left: 314px; }

.conveyor-box::before {
  content: "";
  position: absolute;
  inset: 10px 12px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(31, 175, 240, 0.3), rgba(10, 101, 196, 0.28));
}

.checkmark {
  position: absolute;
  right: 96px;
  bottom: 40px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #98d7ff 0%, #3aa0f4 100%);
  color: white;
  font-size: 1.7rem;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(33, 133, 230, 0.26);
}

.services {
  background: transparent;
  padding: 72px 42px 78px;
}

.services h2,
.approach-section h2,
.about-block h2,
.contact-headline h3 {
  margin: 0 0 30px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.1rem, 2vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  grid-auto-rows: 1fr;
  gap: 18px;
}

.service-card {
  min-height: 250px;
  perspective: 1000px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(24, 60, 92, 0.08);
  border-radius: 16px;
  padding: 16px 14px 14px;
  box-shadow: 0 4px 12px rgba(15, 58, 92, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.service-card:focus-within {
  box-shadow: 0 16px 28px rgba(15, 78, 144, 0.14);
}

.service-card--core {
  background: rgba(255, 255, 255, 0.86);
}

.service-card--supporting {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(24, 60, 92, 0.05);
}

.service-card-inner {
  position: relative;
  width: 100%;
  min-height: 248px;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.service-card:hover .service-card-inner,
.service-card:focus-within .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.service-card-front {
  align-items: flex-start;
}

.service-card-back {
  justify-content: center;
  padding: 20px;
  border-radius: 12px;
  background: linear-gradient(145deg, #1268c1, #082f67);
  color: white;
  transform: rotateY(180deg);
}

.card-back-label {
  margin-bottom: 14px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #8fd0ff;
}

.icon-box {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(35, 124, 215, 0.08);
  margin-bottom: 18px;
}

.icon {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex: 0 0 22px;
  isolation: isolate;
}

.icon::before,
.icon::after,
.mini-icon::before,
.mini-icon::after,
.point-icon::before,
.point-icon::after {
  box-sizing: border-box;
  pointer-events: none;
}

.browser::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.browser::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 8px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
}

.box::before {
  content: "";
  position: absolute;
  inset: 3px 5px 5px 3px;
  border: 2px solid currentColor;
  transform: skewY(-16deg);
}

.settings::before,
.settings::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.settings::after {
  inset: 7px;
}

.lightning::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1px;
  width: 18px;
  height: 20px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 0, 62% 45%, 100% 45%, 32% 100%, 43% 55%, 0 55%);
}

.cloud::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  height: 10px;
  border-radius: 20px;
  background: currentColor;
  box-shadow: -8px 2px 0 0 currentColor, 8px 1px 0 0 currentColor;
}

.spark::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: 4px;
  top: 4px;
  border: 2px solid currentColor;
  transform: rotate(45deg) scaleY(1.35);
}

.palette::before {
  content: "";
  position: absolute;
  inset: 1px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 45% 55%;
  transform: rotate(-18deg);
}

.palette::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  left: 5px;
  top: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 8px 3px 0 currentColor, 13px 10px 0 currentColor;
}

.document::before {
  content: "";
  position: absolute;
  inset: 1px 3px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.document::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  width: 9px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}

.service-card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--muted);
}

.service-details {
  display: block;
  margin-top: 0;
  font-size: 0.72rem;
  line-height: 1.55;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.approach-section {
  background: transparent;
  padding: 78px 42px 82px;
}

.content-section {
  padding: 78px 42px 84px;
  background: transparent;
  border-top: 1px solid rgba(18, 45, 74, 0.06);
}

.content-section h2,
.about-detail-section h2,
.cta-section h2 {
  max-width: none;
  margin: 0 0 16px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.1rem, 3vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.typing-heading {
  position: relative;
  min-width: 0;
  white-space: nowrap;
}

.typing-heading .typing-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.3em);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.typing-heading .typing-word.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.typing-cursor {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.85em;
  margin-left: 0.12em;
  vertical-align: -0.08em;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
}

.typing-cursor.is-active {
  opacity: 1;
  animation: typing-caret 0.8s steps(1) infinite;
}

@keyframes typing-caret {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .typing-heading .typing-word {
    transition: none;
  }

  .typing-cursor {
    animation: none;
  }

  .client-list-track {
    animation: none;
  }
}

@media (max-width: 620px) {
  .scroll-arrow--top {
    top: 118px;
  }
}

.section-intro {
  max-width: none;
  margin: 0 0 36px;
  color: var(--muted);
  line-height: 1.7;
}

.client-list {
  overflow: hidden;
  padding: 6px 0 14px;
  margin: 40px 0 18px;
}

.client-list-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: client-carousel 24s linear infinite;
}

.client-list:hover .client-list-track,
.client-list:focus-within .client-list-track {
  animation-play-state: paused;
}

.client-list-duplicate {
  display: flex;
  gap: 12px;
}

.client-card {
  flex: 0 0 245px;
  min-height: 82px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-size: 0.78rem;
  scroll-snap-align: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.client-list img {
  flex: 0 0 56px;
  width: 56px;
  height: 52px;
  object-fit: contain;
}

.client-card strong {
  color: var(--navy);
  font-size: 0.82rem;
  line-height: 1.2;
}

.client-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 78, 144, 0.12);
}

@keyframes client-carousel {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.clients-section > small { color: var(--muted-soft); }

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

.audience-grid article,
.process-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
}

.audience-grid h3,
.process-grid h3 { margin: 0 0 8px; color: var(--navy); }
.audience-grid p,
.process-grid p { margin: 0; color: var(--muted); line-height: 1.65; }

.cta-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 68px 42px;
  background: var(--navy);
  color: white;
}

.cta-section h2 { color: white; }
.cta-section p { margin: 0; color: rgba(255,255,255,.7); }
.cta-section .section-tag { color: #60b8ff; }

.about-detail-section {
  padding: 72px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 72px;
}

.contact-page .contact-layout {
  border-top: 1px solid rgba(18, 45, 74, 0.1);
  padding-top: 32px;
}

.process-grid { grid-template-columns: repeat(3, 1fr); }
.process-grid strong { display: block; margin-bottom: 18px; color: var(--primary); letter-spacing: .1em; }

.process-summary {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.process-summary span {
  padding: 16px 10px;
  border-radius: 10px;
  background: rgba(35, 124, 215, 0.08);
  color: var(--primary-dark);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 16px;
  align-items: start;
  overflow: hidden;
}

.step {
  position: relative;
  padding-top: 28px;
  text-align: center;
}

.step-icon {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, #edf7ff 0%, #dff0ff 100%);
  border: 1px solid rgba(28, 104, 186, 0.15);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 20px rgba(22, 103, 212, 0.08);
}

.step-icon::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 2px solid rgba(31, 113, 212, 0.16);
  border-radius: 50%;
}

.step-num {
  position: relative;
  z-index: 1;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--primary);
}

.step-line {
  position: absolute;
  left: calc(50% + 30px);
  top: 52px;
  width: calc(100% - 18px);
  height: 2px;
  background: linear-gradient(90deg, rgba(21, 112, 208, 0.25), rgba(21, 112, 208, 0.08));
}

.step:last-child .step-line {
  display: none;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

.step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
}

.about-block {
  padding: 20px 24px 6px;
}

.about-block h2 {
  margin-bottom: 12px;
}

.about-block p {
  margin: 0 0 14px;
  font-size: 0.98rem;
  line-height: 1.8;
  color: #4c607d;
}

.ring-illustration {
  position: relative;
  width: 100%;
  height: 190px;
  margin: 28px 0 12px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.mini-feature {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(18, 45, 74, 0.08);
  border-radius: 14px;
  padding: 14px 12px 12px;
}

.mini-feature h4 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: var(--navy);
}

.mini-feature p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
}

.mini-icon {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  position: relative;
  border-radius: 9px;
  background: rgba(41, 120, 219, 0.08);
  flex: 0 0 30px;
  isolation: isolate;
}

.mini-icon::before,
.mini-icon::after {
  content: "";
  position: absolute;
}

.light::before {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(31, 113, 212, 0.8);
  left: 9px;
  top: 8px;
  box-shadow: 0 0 0 3px rgba(31, 113, 212, 0.15);
}

.quality::before {
  inset: 6px;
  border: 2px solid rgba(31, 113, 212, 0.8);
  border-radius: 6px;
}

.partner::before {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(31, 113, 212, 0.8);
  border-radius: 50%;
  left: 7px;
  top: 7px;
}

.results::before {
  left: 8px;
  right: 8px;
  top: 16px;
  height: 2px;
  background: rgba(31, 113, 212, 0.8);
  border-radius: 10px;
  box-shadow: 0 -7px 0 0 rgba(31, 113, 212, 0.8), 0 7px 0 0 rgba(31, 113, 212, 0.8);
}

.contact-form-wrapper {
  margin-top: 10px;
  padding: 18px 24px 0;
}

.contact-headline {
  margin-bottom: 24px;
}

.contact-headline h3 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 2vw, 2.7rem);
}

.contact-headline p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #586f8d;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: 18px;
  align-items: start;
}

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

.field-row {
  display: grid;
  gap: 12px;
}

.two-col {
  grid-template-columns: repeat(2, minmax(120px, 1fr));
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #425d7f;
}

label em {
  font-style: normal;
}

.required-mark {
  color: #d94b5b;
}

.optional-label {
  color: var(--muted);
  font-size: 0.78em;
  font-weight: 500;
}

input,
textarea {
  border: 1px solid rgba(46, 77, 112, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.35);
  padding: 0.82rem 0.9rem;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #93a8be;
}

input:focus,
textarea:focus {
  border-color: rgba(34, 113, 203, 0.5);
  box-shadow: 0 0 0 3px rgba(34, 113, 203, 0.1);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.full {
  width: 100%;
  margin-top: 4px;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.contact-points {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

.point {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(18, 45, 74, 0.08);
}

.point:last-child {
  border-bottom: 0;
}

.point-icon {
  width: 20px;
  height: 20px;
  position: relative;
  display: inline-block;
  color: var(--primary);
  flex: 0 0 20px;
  isolation: isolate;
}

.point-icon::before,
.point-icon::after {
  content: "";
  position: absolute;
}

.email::before {
  inset: 3px 2px 3px 2px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.email::after {
  left: 4px;
  right: 4px;
  top: 7px;
  height: 2px;
  background: currentColor;
  transform: skewY(-22deg);
}

.phone::before {
  inset: 2px 5px;
  border: 2px solid currentColor;
  border-radius: 8px 8px 8px 3px;
  transform: rotate(-35deg);
}

.location::before {
  width: 12px;
  height: 12px;
  left: 4px;
  top: 3px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.clock::before {
  inset: 2px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.clock::after {
  left: 9px;
  top: 5px;
  width: 2px;
  height: 7px;
  background: currentColor;
  box-shadow: 4px 2px 0 0 currentColor;
}

.point span:not(.point-icon),
.point small {
  grid-column: 2;
}

.point > span:first-of-type {
  grid-column: 2;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy);
}

.point small {
  margin-top: -6px;
  font-size: 0.78rem;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr;
  gap: 18px;
  padding: 26px 24px 12px;
  border-top: 1px solid rgba(18, 45, 74, 0.08);
  background: linear-gradient(180deg, rgba(7, 31, 54, 0.98), rgba(10, 32, 56, 0.98));
  color: rgba(255, 255, 255, 0.9);
  border-radius: 0 0 18px 18px;
  margin-top: 0;
}

.site-footer .brand {
  color: #f8fbff;
}

.site-footer .brand span {
  color: #60b8ff;
}

.site-footer .brand small {
  color: rgba(227, 238, 255, 0.7);
}

.footer-brand-block p {
  margin: 12px 0 0;
  font-size: 0.89rem;
  line-height: 1.8;
  color: rgba(227, 238, 255, 0.7);
}

.footer-links h4,
.footer-cta h4 {
  margin: 0 0 10px;
  font-size: 1.02rem;
  color: #fff;
}

.footer-links {
  margin-top: 6px;
}

.footer-links a {
  display: block;
  margin-bottom: 8px;
  color: rgba(220, 236, 255, 0.72);
  font-size: 0.9rem;
}

.footer-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.footer-cta .primary {
  margin-top: 8px;
}

.copyright {
  grid-column: 1 / -1;
  padding: 10px 24px 0;
  font-size: 0.76rem;
  color: rgba(221, 230, 240, 0.62);
  background: #071d35;
  border-radius: 0 0 18px 18px;
  padding-bottom: 12px;
}

.inner-page {
  padding: 56px 42px 72px;
}

.inner-page > .values-grid,
.inner-page > .about-detail-section {
  border-top: 1px solid rgba(18, 45, 74, 0.1);
  padding-top: 34px;
}

.inner-page > .values-grid {
  margin-top: 48px;
}

.page-intro {
  margin-bottom: 48px;
}

.page-intro h1 {
  margin: 0 0 18px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.8rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.page-intro p {
  margin: 0;
  max-width: 760px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #4c607d;
}

.narrow {
  max-width: 670px;
}

.contact-page .page-intro.narrow {
  max-width: none;
}

.contact-page .page-intro h1 {
  white-space: nowrap;
  font-size: clamp(1.5rem, 2.1vw, 2.15rem);
}

.about-page {
  padding-top: 56px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 32px;
  align-items: center;
}

.about-copy {
  padding: 12px 0 0 8px;
}

.about-copy .section-tag {
  margin-bottom: 18px;
}

.about-copy h1 {
  margin: 0 0 18px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.rotating-word {
  display: inline-block;
  min-width: 5.8ch;
  color: var(--primary);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.rotating-word.is-changing {
  opacity: 0;
  transform: translateY(0.35em);
}

.about-copy p {
  margin: 0 0 18px;
  max-width: 550px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4f637d;
}

.ring-illustration {
  position: relative;
  width: 100%;
  height: 250px;
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-loop-art {
  width: min(360px, 100%);
  height: 250px;
  object-fit: contain;
  display: block;
}

.home-loop-illustration {
  height: 100%;
  min-height: 360px;
  margin-left: 0;
}

.home-loop-illustration .about-loop-art {
  width: min(100%, 520px);
  height: 100%;
  max-height: 430px;
}

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 36px;
  padding: 16px 20px;
  overflow-x: auto;
  border: 1px solid rgba(18, 45, 74, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.42);
  scrollbar-width: none;
}

.trust-strip::-webkit-scrollbar {
  display: none;
}

.trust-strip span {
  flex: 0 0 auto;
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.trust-strip span:not(:last-child)::after {
  content: "·";
  margin-left: 14px;
  color: var(--muted-soft);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 22px;
  margin: 26px 0 30px;
}

.story-card {
  padding: 26px 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 45, 74, 0.08);
  border-radius: 18px;
}

.story-card h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  color: var(--navy);
}

.story-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: #536b85;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.trust-features {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.trust-features .mini-feature {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 18px;
}

.trust-features .mini-feature::before {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 10px;
  background: rgba(30, 117, 214, 0.1);
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.trust-features .mini-feature:nth-child(1)::before { content: "↗"; }
.trust-features .mini-feature:nth-child(2)::before { content: "✓"; }
.trust-features .mini-feature:nth-child(3)::before { content: "7+"; font-size: 0.7rem; }
.trust-features .mini-feature:nth-child(4)::before { content: "$"; }
.trust-features .mini-feature:nth-child(5)::before { content: "↻"; }

.trust-features .mini-feature h4 {
  font-size: 0.95rem;
}

.about-values-grid {
  margin-top: 0;
}

.page-contact-layout {
  grid-template-columns: 1.4fr 0.8fr;
  align-items: start;
}

.single-contact-points {
  padding-top: 10px;
}

@media (max-width: 900px) {
  .typing-heading {
    white-space: normal;
  }

  .contact-page .page-intro h1 {
    white-space: normal;
    font-size: clamp(2.2rem, 6vw, 3.4rem);
  }

  .story-grid,
  .values-grid,
  .trust-features,
  .page-contact-layout,
  .audience-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .client-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-summary {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 1200px) {
  .page-shell {
    grid-template-columns: 1fr;
    width: min(1320px, calc(100% - 48px));
  }

  .page-shell--single {
    width: min(1320px, calc(100% - 48px));
  }

  .right-panel {
    width: 100%;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(190px, 1fr));
  }
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(170px, 1fr));
  }

  .hero,
  .services,
  .approach-section,
  .content-section,
  .cta-section {
    padding-left: 28px;
    padding-right: 28px;
  }

  .approach-steps {
    grid-template-columns: repeat(2, minmax(170px, 1fr));
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: 0;
  }

  .hero-copy {
    padding: 8px 0 0;
  }

  .lead {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .factory-scene {
    min-height: 420px;
  }

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

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

  .inner-page {
    padding-left: 28px;
    padding-right: 28px;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: calc(100% - 24px);
    margin: 16px auto;
  }

  .topbar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 18px 12px;
  }

  .topbar > .brand-link,
  .topbar > .brand,
  .topbar > .nav,
  .topbar > .primary {
    flex: initial;
  }

  .scroll-arrow--top {
    top: 118px;
  }

  .nav {
    gap: 18px;
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .brand {
    font-size: 1.8rem;
  }

  .hero,
  .services,
  .approach-section,
  .about-block,
  .contact-form-wrapper,
  .inner-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .trust-strip {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
  }

  .service-grid,
  .feature-grid,
  .approach-steps,
  .two-col {
    grid-template-columns: 1fr;
  }

  .client-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-section,
  .cta-section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .services {
    padding-top: 52px;
    padding-bottom: 58px;
  }

  .approach-section {
    padding-top: 56px;
    padding-bottom: 60px;
  }

  .about-detail-section {
    padding-top: 52px;
    margin-top: 52px;
  }

  .inner-page {
    padding-top: 38px;
    padding-bottom: 52px;
  }

  .factory {
    transform: scale(0.68);
    transform-origin: center bottom;
  }

  .factory-scene {
    min-height: 370px;
  }

  .home-loop-illustration {
    min-height: 260px;
  }

  .home-loop-illustration .about-loop-art {
    max-height: 280px;
  }

  .factory-gif {
    width: min(100%, 440px);
    max-height: 370px;
  }

  .step-line {
    display: none;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .primary,
  .primary.small {
    width: 100%;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
  }

  .about-copy {
    padding-left: 0;
  }

  .ring-illustration {
    margin-left: 0;
  }
}

/* Motion system */
.scroll-progress {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(30, 117, 214, 0.5);
}

.scroll-curtain {
  position: fixed;
  z-index: 900;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100vh;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(238, 243, 247, 0) 0%, rgba(238, 243, 247, 0) 85%, rgba(238, 243, 247, 0.96) 96%, var(--bg) 100%);
  opacity: 1;
  transition: opacity 0.65s ease;
}

.scroll-arrow {
  position: absolute;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 8px 14px;
  border: 1px solid rgba(30, 117, 214, 0.18);
  border-radius: 999px;
  color: var(--primary-dark);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(31, 55, 89, 0.1);
  cursor: pointer;
  transform: translateX(-50%);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.scroll-arrow--bottom {
  bottom: 10px;
  transform: translateX(-50%);
}

.scroll-arrow--top {
  top: calc(var(--topbar-height) + 10px);
  transform: translateX(-50%);
}

.scroll-arrow span {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-arrow strong {
  height: 18px;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 0.7;
  animation: scroll-arrow-bounce 1.3s ease-in-out infinite;
}

.scroll-arrow--top strong {
  animation-name: scroll-arrow-bounce-up;
}

.scroll-arrow:hover,
.scroll-arrow:focus-visible {
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(31, 55, 89, 0.16);
  outline: none;
}

.scroll-curtain.page-in-middle {
  background: linear-gradient(to bottom, rgba(238, 243, 247, 0.96) 0%, rgba(238, 243, 247, 0.12) 9%, rgba(238, 243, 247, 0) 15%, rgba(238, 243, 247, 0) 85%, rgba(238, 243, 247, 0.12) 91%, rgba(238, 243, 247, 0.96) 100%);
}

.scroll-curtain.page-at-bottom {
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(238, 243, 247, 0.96) 6%, rgba(238, 243, 247, 0.12) 12%, rgba(238, 243, 247, 0) 15%, rgba(238, 243, 247, 0) 100%);
}

.scroll-arrow--top,
.scroll-curtain.page-at-top .scroll-arrow--top,
.scroll-curtain.page-at-bottom .scroll-arrow--bottom {
  opacity: 0;
  pointer-events: none;
}

.scroll-curtain.page-in-middle .scroll-arrow--top,
.scroll-curtain.page-in-middle .scroll-arrow--bottom,
.scroll-curtain.page-at-bottom .scroll-arrow--top,
.scroll-curtain.page-at-top .scroll-arrow--bottom {
  opacity: 1;
  pointer-events: auto;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease var(--reveal-delay), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy.reveal-on-scroll {
  transform: translateX(-24px);
}

.hero-copy.reveal-on-scroll.is-revealed {
  transform: translateX(0);
}

.home-loop-illustration.reveal-on-scroll {
  transform: translateX(24px) scale(0.96);
}

.home-loop-illustration.reveal-on-scroll.is-revealed {
  transform: translateX(0) scale(1);
}

.service-card.reveal-on-scroll,
.client-card.reveal-on-scroll {
  transition-duration: 0.6s;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
}

.service-card,
.client-card,
.story-card,
.audience-grid article,
.process-grid article,
.mini-feature,
.point {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card::after,
.client-card::after,
.story-card::after,
.audience-grid article::after,
.process-grid article::after,
.mini-feature::after,
.point::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 70%;
  height: 100%;
  pointer-events: none;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transition: left 0.65s ease;
}

.service-card:hover::after,
.service-card:focus-within::after,
.client-card:hover::after,
.story-card:hover::after,
.audience-grid article:hover::after,
.process-grid article:hover::after,
.mini-feature:hover::after,
.point:hover::after {
  left: 140%;
}

.client-card:hover,
.story-card:hover,
.audience-grid article:hover,
.process-grid article:hover,
.mini-feature:hover,
.point:hover,
.client-card:focus-within,
.story-card:focus-within,
.audience-grid article:focus-within,
.process-grid article:focus-within,
.mini-feature:focus-within,
.point:focus-within {
  transform: translateY(-6px);
  border-color: rgba(30, 117, 214, 0.28);
  box-shadow: 0 16px 30px rgba(15, 78, 144, 0.13);
}

.story-card h3,
.audience-grid h3,
.process-grid h3,
.mini-feature h4,
.point > span:first-of-type {
  transition: color 0.3s ease, transform 0.3s ease;
}

.story-card:hover h3,
.audience-grid article:hover h3,
.process-grid article:hover h3,
.mini-feature:hover h4,
.point:hover > span:first-of-type {
  color: var(--primary);
  transform: translateX(3px);
}

.story-card.reveal-on-scroll,
.audience-grid article.reveal-on-scroll,
.process-grid article.reveal-on-scroll,
.mini-feature.reveal-on-scroll,
.point.reveal-on-scroll {
  transition-delay: var(--reveal-delay);
}

.icon-box {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-card:hover .icon-box,
.service-card:focus-within .icon-box {
  transform: translateY(-3px) rotate(-4deg);
  background: rgba(35, 124, 215, 0.15);
}

.primary {
  position: relative;
  overflow: hidden;
}

.primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  transform: skewX(-20deg);
  background: rgba(255, 255, 255, 0.24);
  transition: left 0.55s ease;
}

.primary:hover::after,
.primary:focus-visible::after {
  left: 130%;
}

.home-loop-illustration .about-loop-art {
  animation: illustration-float 5s ease-in-out infinite;
}

.step-icon {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.step:hover .step-icon,
.step:focus-within .step-icon {
  transform: translateY(-5px) rotate(5deg);
  box-shadow: 0 12px 24px rgba(30, 117, 214, 0.2);
}

@keyframes illustration-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes scroll-arrow-bounce {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(5px); }
}

@keyframes scroll-arrow-bounce-up {
  0%, 100% { transform: translateY(2px); }
  50% { transform: translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress {
    display: none;
  }

  .scroll-curtain {
    display: none;
  }

  .scroll-arrow strong {
    animation: none;
  }

  .reveal-on-scroll,
  .hero-copy.reveal-on-scroll,
  .home-loop-illustration.reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-loop-illustration .about-loop-art {
    animation: none;
  }

  .service-card,
  .client-card,
  .story-card,
  .audience-grid article,
  .process-grid article,
  .mini-feature,
  .point {
    transition: none;
  }
}
