:root {
  --ink: #101010;
  --ink-soft: #1a1a1a;
  --magenta: #ab0b5a;
  --magenta-deep: #8d094b;
  --plum: #5b036f;
  --paper: #f5f4f6;
  --white: #ffffff;
  --text: #2a2a2a;
  --muted: #5e5e5e;
  --line: #e7e5e8;
  --header: 112px;
  --wrap: 1160px;
  --shadow: 0 18px 50px rgba(16, 16, 16, 0.08);
  --font: "Inter", ui-sans-serif, system-ui, sans-serif;
}

[hidden] { display: none !important; }

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

h1, h2 { font-weight: 700; }
h3, h4 { font-weight: 600; }

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

button, input, textarea { font: inherit; }

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

:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
}

::selection { background: var(--magenta); color: white; }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  background: white;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 100;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

body.lock { overflow: hidden; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  background: rgba(16, 16, 16, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck { border-bottom-color: #242424; }

.utility {
  border-bottom: 1px solid #222;
  color: #9a9a9a;
  font-size: 13px;
}

.utility-inner,
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
}

.utility-links { display: flex; gap: 22px; }

.utility a { display: inline-flex; align-items: center; gap: 8px; }
.utility a:hover { color: white; }

.dots { display: inline-flex; gap: 5px; }
.dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  display: block;
}

.nav-inner { min-height: 74px; gap: 20px; }

.logo img { height: 48px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 28px; }

.nav-links a {
  color: #d0d0d0;
  font-size: 14px;
  font-weight: 500;
  position: relative;
}

.nav-links a:hover { color: white; }

.nav-links a[aria-current="page"] { color: white; }

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 2px;
  background: var(--magenta);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 2px;
  position: relative;
  margin: 0 auto;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }

.site-header.is-open .menu-btn span { background: transparent; }
.site-header.is-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.site-header.is-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

.nav-panel {
  display: none;
  background: #101010;
  border-top: 1px solid #242424;
  padding: 12px 20px 28px;
}

.nav-panel a {
  display: block;
  color: white;
  font-size: 22px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid #222;
}

.nav-panel .panel-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  color: #bdbdbd;
  font-size: 14px;
  font-weight: 500;
}

.nav-panel .panel-meta a { font-size: 14px; border: 0; padding: 0; color: #bdbdbd; }

.site-header.is-open .nav-panel { display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--magenta);
  color: white;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover { background: var(--magenta-deep); transform: translateY(-1px); }

.btn-sm { padding: 10px 18px; font-size: 14px; }

.btn-light { background: white; color: var(--ink); }
.btn-light:hover { background: #f4f4f4; }

.btn-ghost {
  background: transparent;
  color: white;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  padding: calc(var(--header) + 24px) 0 72px;
  overflow: hidden;
  background: #101010;
}

.hero-bg,
.hero-shade,
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg {
  background:
    linear-gradient(160deg, #101010 0%, #1b091f 50%, #101010 100%),
    url("../images/hero-bg.png") center/cover no-repeat;
  background-blend-mode: multiply, normal;
  opacity: 0.95;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/hero-bg.png") center/cover no-repeat;
  opacity: 0.42;
}

.hero-shade {
  background: linear-gradient(to top, #101010 0%, transparent 42%);
}

.hero-glow {
  background: radial-gradient(circle at 50% 42%, rgba(171, 11, 90, 0.28), transparent 34%);
}

.hero-inner { position: relative; z-index: 1; max-width: 860px; }

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(46px, 6.6vw, 76px);
  line-height: 1.1;
  letter-spacing: normal;
  font-weight: 700;
}

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

.lede {
  margin: 0 auto;
  max-width: 680px;
  color: #e6e6e6;
  font-size: 17px;
}

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

.section { padding: 92px 0; }
.section-tight { padding: 56px 0 24px; }

.center { text-align: center; }

.pill {
  display: inline-flex;
  align-items: center;
  background: var(--magenta);
  color: white;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
}

.partners { background: white; }

.partner-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 54px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.partner-row img {
  height: 42px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.78;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.partner-row img:hover { filter: none; opacity: 1; }

.showcase {
  width: min(920px, 100%);
  margin: 10px auto 48px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.section h2,
.page-hero h1,
.block-title {
  letter-spacing: normal;
  line-height: 1.15;
  font-weight: 700;
}

.section h2 { font-size: clamp(32px, 4vw, 46px); margin: 0 0 14px; }
.section h2 span,
.accent { color: var(--magenta); }

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

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 400;
}

.checks li::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--magenta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12.5 10 17l9-10'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.split-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
}

.kicker { margin: 0 0 12px; }

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

.service-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 20px 24px;
  min-height: 250px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #f0c4d6;
}

.icon-bubble {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fbeaf2;
  color: var(--magenta);
  margin-bottom: 16px;
}

.icon-bubble svg { width: 22px; height: 22px; }

.service-card h3,
.service-block h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: normal; }

.service-card p,
.service-block p { margin: 0; color: var(--muted); font-size: 14.5px; }

.services-band { background: var(--paper); }

.applications-band { background: white; }

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.app-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16, 16, 16, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(16, 16, 16, 0.08), 0 0 0 1px rgba(171, 11, 90, 0.16);
}

.app-media {
  aspect-ratio: 495 / 496;
  background: #140816;
  overflow: hidden;
  flex: none;
}

.app-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.5s ease;
}

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

.app-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 20px 20px 22px;
}

.app-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  min-height: 2.6em;
}

.app-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  flex: 1;
}

.app-more {
  margin-top: 6px;
  color: var(--magenta);
  font-size: 14px;
  font-weight: 500;
}

.app-card:hover .app-more { color: var(--magenta-deep); }

.app-list { display: grid; gap: 18px; }

.app-detail {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  scroll-margin-top: 130px;
}

.app-detail h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
}

.app-detail p { margin: 0 0 18px; color: var(--muted); }

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

.marquee-stack {
  background: var(--ink);
  border-block: 1px solid #2a2a2a;
}

.marquee {
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-reverse .marquee-track { animation-name: marquee-reverse; }

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-group {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 7px;
}

.marquee-group img {
  height: 148px;
  width: 264px;
  object-fit: cover;
  border-radius: 16px;
  flex: none;
}

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

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

.journal { background: white; }

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.story {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: inherit;
  min-width: 0;
  height: 100%;
}

.story-media {
  position: relative;
  background: #161018;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  width: 100%;
  flex: none;
}

.story-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-media.contain { background: #f3f1f4; }
.story-media.contain img { object-fit: contain; }
.journal-grid .story-media.contain { background: #6d1468; }

.journal-grid .story h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.journal-grid .story > p:not(.meta) {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.8em;
}

.story h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: normal; line-height: 1.3; }
.story p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.meta { color: var(--magenta); font-size: 13px; font-weight: 500; letter-spacing: normal; }
.more { font-weight: 500; font-size: 14px; }

.story:hover h3 { color: var(--magenta); }

.cta {
  background: linear-gradient(100deg, var(--magenta) 0%, var(--plum) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
}

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  padding: 84px 0;
}

.cta h2 { margin: 0 0 12px; font-size: clamp(36px, 5vw, 56px); letter-spacing: normal; font-weight: 700; }
.cta p { margin: 0 0 26px; max-width: 520px; color: rgba(255, 255, 255, 0.92); }
.cta-mark { justify-self: end; width: min(340px, 100%); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.18)); }

.site-footer {
  background: var(--ink);
  color: #c6c6c6;
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr 1.1fr;
  gap: 36px;
}

.site-footer h4 { margin: 8px 0 14px; color: white; font-size: 16px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: white; }
.footer-brand p { margin: 14px 0; max-width: 280px; font-size: 14px; }
.socials { display: flex; gap: 10px; margin-top: 8px; }
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #333;
  color: white;
}
.socials a:hover { border-color: var(--magenta); background: var(--magenta); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }

.legal {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid #2a2a2a;
  text-align: center;
  color: #8d8d8d;
  font-size: 13px;
}

.page-hero {
  position: relative;
  color: white;
  padding: calc(var(--header) + 72px) 0 78px;
  background:
    radial-gradient(520px 240px at 88% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(105deg, #ab0b5a 0%, #7a0870 52%, #5b036f 100%);
}

.page-hero h1 { margin: 0 0 12px; font-size: clamp(44px, 6vw, 68px); }
.page-hero p { margin: 0; max-width: 560px; color: rgba(255, 255, 255, 0.9); font-size: 18px; }

.story-grid {
  max-width: 46rem;
}

.story-grid h2 { margin: 0 0 16px; color: var(--magenta); }
.story-grid h3 { margin: 40px 0 12px; font-size: 28px; letter-spacing: -0.03em; }
.story-grid p { margin: 0 0 16px; line-height: 1.75; }
.story-grid p:last-child { margin-bottom: 0; }

.value-band { background: var(--paper); }

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

.value-card {
  background: white;
  border-radius: 24px;
  padding: 28px 24px;
  border: 1px solid transparent;
}

.value-card h3 { margin: 14px 0 8px; }

.why-panel {
  background: var(--ink);
  color: white;
  border-radius: 32px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.why-panel p { color: #d0d0d0; }
.why-panel h2 { color: white; margin-top: 0; }

.service-list { display: grid; gap: 14px; }

.service-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  scroll-margin-top: 130px;
}

.service-block .num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--magenta);
  padding-top: 12px;
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }

.filters button {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}

.filters button.is-active,
.filters button[aria-selected="true"] {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.featured {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  margin-bottom: 42px;
}

.featured h2 { margin: 8px 0 10px; font-size: clamp(28px, 3vw, 40px); letter-spacing: normal; font-weight: 700; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  min-height: 100%;
}
.blog-card h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: normal; }
.blog-card:hover { border-color: #f0c4d6; }
.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.empty-note { display: none; color: var(--muted); }

.article-page { padding: calc(var(--header) + 36px) 0 80px; background: var(--paper); }
.article-shell { width: min(980px, calc(100% - 40px)); margin: 0 auto; }
.back { font-weight: 500; font-size: 14px; color: var(--magenta); }
.article-shell h1 {
  margin: 12px 0;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: normal;
  font-weight: 700;
  line-height: 1.15;
}
.byline { color: var(--muted); margin-bottom: 22px; }
.article-photo {
  width: 100%;
  border-radius: 24px;
  background: #efeef2;
  max-height: 640px;
  object-fit: contain;
  margin-bottom: 28px;
}
.prose { width: min(720px, 100%); }
.prose p { font-size: 18px; line-height: 1.75; color: #333; }
.related { margin-top: 54px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.contact-page {
  background:
    radial-gradient(500px 280px at 0% 0%, rgba(171, 11, 90, 0.2), transparent 60%),
    #101010;
  color: white;
  padding: calc(var(--header) + 48px) 0 72px;
  min-height: 100svh;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.contact-page h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 64px);
  letter-spacing: normal;
  font-weight: 700;
  line-height: 1.1;
}

.contact-page .sub { color: #c8c8c8; max-width: 460px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field span { font-size: 13px; color: #cfcfcf; }
.field input,
.field textarea {
  width: 100%;
  border: 1px solid #2c2c2c;
  background: #1a1a1a;
  color: white;
  border-radius: 999px;
  padding: 14px 16px;
}
.field textarea { border-radius: 18px; min-height: 120px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #7a7a7a; }
.form-error { color: #ffb4d0; min-height: 1.2em; }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #c8c8c8;
  font-size: 14px;
  line-height: 1.5;
}
.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  padding: 0;
  border-radius: 4px;
  accent-color: var(--magenta);
  flex: none;
}
.btn[disabled] { opacity: 0.65; cursor: wait; }
.success {
  margin-top: 24px;
  padding: 22px;
  border-radius: 20px;
  background: #1a1a1a;
  border: 1px solid #2c2c2c;
}
.success h2 { margin-top: 0; }

.touch {
  background: #171717;
  border: 1px solid #2a2a2a;
  border-radius: 28px;
  padding: 26px;
}

.touch h2 { margin: 0 0 16px; font-size: 22px; }
.touch-row { display: grid; grid-template-columns: 28px 1fr; gap: 12px; margin-bottom: 14px; }
.touch-row strong { display: block; font-size: 13px; color: #b5b5b5; font-weight: 600; }
.touch-row a:hover { color: white; }
.touch-ico { color: var(--magenta); }
.touch-ico svg { width: 18px; height: 18px; }

.consult {
  display: block;
  width: 100%;
  text-align: left;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
  color: white;
  border-radius: 16px;
  padding: 16px 18px;
  background: linear-gradient(100deg, var(--magenta), var(--plum));
}
.consult strong { display: block; font-size: 16px; }
.consult span { color: rgba(255, 255, 255, 0.88); font-size: 14px; }

.map-wrap {
  margin-top: 28px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  height: 280px;
  background: #171717;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 980px) {
  :root { --header: 74px; }
  .utility { display: none; }
  .nav-links, .nav .btn { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .why-grid,
  .cta-inner,
  .footer-grid,
  .story-grid,
  .value-grid,
  .why-panel,
  .featured,
  .journal-grid,
  .contact-grid,
  .related-grid,
  .app-detail { grid-template-columns: 1fr; }
  .service-grid,
  .blog-grid,
  .app-grid { grid-template-columns: 1fr 1fr; }
  .cta-mark { justify-self: start; }
  .why-panel { padding: 28px; }
  .footer-grid { gap: 28px; }
}

@media (max-width: 680px) {
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .service-grid,
  .blog-grid,
  .app-grid,
  .form-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 44px; }
  .marquee-group img { height: 112px; width: 200px; }
  .section { padding: 64px 0; }
  .partner-row { gap: 28px; }
  .split-head { flex-direction: column; align-items: flex-start; }
}

html.app-motion .rise { opacity: 0; }

html.app-motion .rise.is-in {
  animation: app-rise 0.55s ease forwards;
}

@keyframes app-rise {
  from { opacity: 0; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}

.blog-search { margin: 0 0 22px; }
.blog-search input {
  width: min(440px, 100%);
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 12px 16px;
  font: inherit;
}
.prose h2, .prose h3, .prose h4 { letter-spacing: normal; line-height: 1.25; margin: 1.3em 0 0.4em; }
.prose ul, .prose ol { padding-left: 1.2em; color: #333; font-size: 18px; line-height: 1.7; }
.prose li { margin: 0.3em 0; }
.prose blockquote { margin: 1.2em 0; padding-left: 16px; border-left: 3px solid var(--magenta); color: #333; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 16px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose figure { margin: 1.4em 0; }
.prose figure img, .prose img { width: 100%; border-radius: 16px; }
.prose figcaption, .tags { color: var(--muted); font-size: 14px; margin-top: 8px; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; background: #111; }
.prose a { color: var(--magenta); }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.share-row a, .share-row button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .btn, .service-card, .app-card, .app-media img { transition: none; }
  html.app-motion .rise,
  html.app-motion .rise.is-in { opacity: 1; animation: none; }
  .app-card:hover .app-media img { transform: none; }
}
