:root {
  color-scheme: dark;
  --bg: #101112;
  --bg-rgb: 16, 17, 18;
  --surface: #272829;
  --surface-2: #303132;
  --surface-soft: rgba(39, 40, 41, 0.82);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-soft: rgba(255, 255, 255, 0.54);
  --border: rgba(255, 255, 255, 0.08);
  --accent: #914bf1;
  --accent-2: #b631ff;
  --accent-rgb: 145, 75, 241;
  --accent-2-rgb: 182, 49, 255;
  --glow-magenta: #b631ff;
  --glow-magenta-rgb: 182, 49, 255;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius: 14px;
  --radius-lg: 16px;
  --button-radius: 8px;
  --container: 1080px;
  --sidebar-width: 345px;
  --layout-gap: 80px;
  --section-spacing: 112px;
  --card-min-height: 305px;
  --hero-min-height: 600px;
  --hero-title-max: 68px;
  --nav-top: 30px;
  --body-font-size: 16px;
  --motion-factor: 1;
  --font-main: "Outfit", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f8f7fb;
  --bg-rgb: 248, 247, 251;
  --surface: #ffffff;
  --surface-2: #eceaf2;
  --surface-soft: rgba(255, 255, 255, 0.86);
  --text: #151518;
  --text-muted: rgba(21, 21, 24, 0.72);
  --text-soft: rgba(21, 21, 24, 0.52);
  --border: rgba(18, 18, 22, 0.09);
  --shadow: 0 24px 70px rgba(34, 24, 54, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.028) 1px, transparent 0) 0 0 / 3px 3px,
    radial-gradient(circle at 60% 8%, rgba(var(--accent-rgb), 0.045), transparent 34%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  font-size: var(--body-font-size);
  letter-spacing: 0;
  line-height: 1.5;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, #000, transparent 82%);
}

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

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  border: 0;
  cursor: pointer;
}

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

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  clip-path: none;
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: var(--nav-top);
  left: 50%;
  z-index: 100;
  transform: translateX(-50%);
  animation: navIn 0.5s var(--ease) both;
  transition:
    top 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.admin-bar .site-header {
  top: calc(var(--nav-top) + 32px);
}

.site-header.is-compact {
  top: 14px;
}

.admin-bar .site-header.is-compact {
  top: 46px;
}

.scroll-progress {
  position: fixed;
  top: env(safe-area-inset-top, 0);
  left: 0;
  z-index: 120;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.08s linear;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(39, 40, 41, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

:root[data-theme="light"] .nav-shell {
  background: rgba(255, 255, 255, 0.92);
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-icon {
  position: relative;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  transition:
    background 0.24s var(--ease),
    color 0.24s var(--ease),
    transform 0.24s var(--ease);
}

.nav-icon:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
}

.nav-icon.is-active {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
}

.nav-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nav-icon > span:not(.theme-icon) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.theme-toggle,
.mobile-toggle {
  background: transparent;
}

.theme-icon--dark,
.theme-icon--light {
  display: none;
}

:root:not([data-theme]) .theme-icon--light,
:root[data-theme="dark"] .theme-icon--light,
:root[data-theme="light"] .theme-icon--dark {
  display: inline-flex;
}

.mobile-toggle,
.mobile-drawer {
  display: none;
}

.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  gap: var(--layout-gap);
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
  padding: 160px 0 36px;
}

.profile-card {
  position: sticky;
  top: 160px;
  align-self: start;
  min-height: 640px;
  perspective: 1400px;
}

.profile-card__inner {
  display: grid;
  width: 100%;
  min-height: 640px;
  transform-style: preserve-3d;
  transition: transform calc(0.72s * var(--motion-factor)) var(--ease);
}

.profile-card.is-flipped .profile-card__inner {
  transform: rotateY(180deg);
}

.profile-card__face {
  position: relative;
  display: flex;
  overflow: hidden;
  grid-area: 1 / 1;
  min-height: 640px;
  flex-direction: column;
  align-items: center;
  padding: 30px 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.profile-card__face::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: calc(0.5 * var(--motion-factor));
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.12), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(var(--accent-rgb), 0.14), transparent 34%);
  pointer-events: none;
}

.profile-card__face--back {
  background:
    linear-gradient(155deg, var(--profile-back), rgba(39, 40, 41, 0.88) 74%),
    var(--surface-soft);
  transform: rotateY(180deg);
}

.profile-card__face--back h2,
.profile-card__face--back .social-link {
  color: #fff;
}

.profile-card__face--back p {
  color: rgba(255, 255, 255, 0.93);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.26);
}

:root[data-theme="light"] .profile-card__face--back p {
  color: rgba(255, 255, 255, 0.95);
}

.profile-card__image-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition:
    transform 0.32s var(--ease),
    filter 0.32s var(--ease);
}

.profile-card__image-button::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 0.28s var(--ease),
    transform 0.28s var(--ease);
}

.profile-card__image-button:hover,
.profile-card__image-button:focus-visible {
  transform: translateY(-3px) rotate(-1deg);
  filter: saturate(1.12);
}

.profile-card__image-button:hover::after,
.profile-card__image-button:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.profile-card__image {
  display: block;
  width: 240px;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
}

.profile-card__body {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 26px;
  text-align: center;
}

.profile-card h2 {
  margin: 0 0 8px;
  font-size: 31px;
  font-weight: 800;
  line-height: 1.08;
}

.profile-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.55;
}

.profile-card__social {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 22px;
}

.social-link {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition:
    color 0.24s var(--ease),
    transform 0.24s var(--ease);
}

.social-link:hover {
  color: var(--accent-2);
  transform: translateY(-2px);
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-card__hint {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.profile-card .at-button {
  position: relative;
  z-index: 1;
  width: 180px;
  margin-top: auto;
}

.page-content {
  min-width: 0;
}

.hero-section {
  min-height: var(--hero-min-height);
  padding-top: 6px;
}

.hero-title,
.detail-header h1,
.section-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(46px, 5.4vw, 68px);
  font-size: clamp(46px, 5.4vw, var(--hero-title-max));
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-title span,
.section-title span {
  color: var(--accent);
}

.hero-copy {
  max-width: 620px;
  margin: 18px 0 38px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.35;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-bottom: 34px;
}

.stat-item strong {
  display: block;
  font-size: clamp(48px, 5.2vw, 68px);
  font-weight: 800;
  line-height: 0.98;
}

.stat-item span {
  display: block;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.16;
  text-transform: uppercase;
}

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

.at-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 30px;
  border: 0;
  border-radius: 8px;
  border-radius: var(--button-radius);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}

.at-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.at-button--primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 12px 34px rgba(var(--accent-rgb), 0.28);
}

.at-button--light {
  background: #fff;
  color: #111;
}

.at-button--ghost {
  padding-inline: 0;
  background: transparent;
  color: var(--text);
  box-shadow: none;
}

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

.at-button--primary:hover {
  box-shadow: 0 16px 42px rgba(var(--accent-rgb), 0.38);
}

.section {
  margin-top: var(--section-spacing);
}

.hero-section + .section {
  margin-top: 54px;
}

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

.section-lead {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 18px;
}

.section-actions {
  display: flex;
  margin-top: 24px;
}

.project-grid,
.article-grid {
  display: grid;
  gap: 20px;
}

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

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

.project-grid--one,
.article-grid--one {
  grid-template-columns: 1fr;
}

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

.project-grid--three,
.article-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-archive-grid {
  display: grid;
  gap: 20px;
}

.app-archive-grid--one {
  grid-template-columns: 1fr;
}

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

.app-archive-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-archive-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.app-archive-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), 0.45);
  background: var(--surface-2);
}

.app-archive-card__banner-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 4;
  border-radius: 12px;
  overflow: hidden;
}

.app-archive-card__banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.app-archive-card__icon {
  position: absolute;
  left: 20px;
  top: auto;
  bottom: -20px;
  width: 104px;
  aspect-ratio: 1;
  border-radius: 16px;
  border: 3px solid var(--surface);
  background: var(--surface);
  object-fit: cover;
  transform: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  z-index: 2;
  transition:
    transform 0.34s var(--ease),
    box-shadow 0.34s var(--ease);
}

.app-archive-card__image,
.app-archive-card__placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
}

.app-archive-card__image {
  object-fit: cover;
  transition: transform 0.42s var(--ease);
}

.app-archive-card__placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  background: linear-gradient(135deg, rgba(var(--glow-magenta-rgb), 0.2), rgba(var(--accent-rgb), 0.08));
}

.app-archive-card__placeholder svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.app-archive-card__body {
  display: grid;
  gap: 8px;
}

.app-archive-card__body strong {
  color: var(--text);
  font-size: 28px;
  line-height: 1.08;
}

.app-archive-card__body small {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.35;
}

.app-archive-card--one .app-archive-card__body {
  padding: 44px 6px 2px;
}

.app-archive-card--one .app-archive-card__body strong {
  font-size: clamp(30px, 3.4vw, 38px);
}

.app-archive-card--one .app-archive-card__body small {
  font-size: 17px;
}

.app-archive-card--three .app-archive-card__body small {
  display: none;
}

.app-archive-card--three .app-archive-card__body strong {
  font-size: 22px;
}

.app-archive-card:hover .app-archive-card__image {
  transform: scale(1.04);
}

.app-archive-card--one:hover .app-archive-card__banner {
  transform: scale(1.03);
}

.app-archive-card--one:hover .app-archive-card__icon {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
}

.project-grid--home .project-card {
  min-height: 230px;
}

.project-grid--home.project-grid--one .project-card {
  min-height: 250px;
}

.project-grid--home.project-grid--three .project-card {
  min-height: 216px;
}

.project-grid--home.project-grid--three .project-card strong {
  font-size: 24px;
}

.project-grid--home.project-grid--three .project-card small {
  font-size: 15px;
}

.project-card {
  position: relative;
  min-height: var(--card-min-height);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.project-card img,
.project-card__placeholder {
  width: 100%;
  height: 100%;
}

.project-card img {
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.project-card__placeholder {
  display: flex;
  min-height: var(--card-min-height);
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(var(--glow-magenta-rgb), 0.22), rgba(var(--accent-rgb), 0.08));
  color: var(--accent-2);
}

.project-card__placeholder svg {
  width: 60px;
  height: 60px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.project-card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 6px;
  min-height: 102px;
  align-content: center;
  padding: 20px 24px;
  background: var(--surface);
}

.project-card strong,
.article-card strong,
.tool-card strong {
  display: block;
  color: var(--text);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.project-card small,
.article-card small,
.tool-card small {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.2;
}

.project-card:hover img,
.article-card:hover img {
  transform: scale(1.05);
}

.project-card:hover,
.tool-card:hover,
.article-card:hover,
.experience-card:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
}

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

.tool-card {
  display: flex;
  overflow: hidden;
  min-height: 92px;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  transition:
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease),
    background 0.25s var(--ease);
}

.tool-card:hover {
  transform: translateY(-3px);
  background: var(--surface-2);
}

.tool-card__icon {
  display: inline-flex;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(var(--glow-magenta-rgb), 0.24), rgba(var(--accent-rgb), 0.12));
  color: var(--accent-2);
}

.tool-card img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
}

.tool-card svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.tool-card strong {
  font-size: 25px;
}

.tool-card small {
  font-size: 15px;
}

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

.content-row {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr) 34px;
  gap: 24px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255, 255, 255, 0.08), transparent 34%),
    var(--surface-soft);
  box-shadow: var(--shadow);
  transition:
    border-color 0.28s var(--ease),
    background 0.28s var(--ease),
    transform 0.28s var(--ease);
}

.content-row:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), 0.45);
  background: var(--surface-2);
}

.content-row__media {
  display: flex;
  overflow: hidden;
  aspect-ratio: 16 / 10.5;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) - 4px);
  background: linear-gradient(135deg, rgba(var(--glow-magenta-rgb), 0.24), rgba(var(--accent-rgb), 0.1));
  color: var(--accent-2);
}

.content-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.content-row:hover .content-row__media img {
  transform: scale(1.05);
}

.content-row__media svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.content-row__body {
  display: grid;
  gap: 8px;
}

.content-row__body small {
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.content-row__body strong {
  color: var(--text);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.05;
}

.content-row__body p {
  max-width: 620px;
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.45;
}

.content-row__arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.28s var(--ease);
}

.content-row:hover .content-row__arrow svg {
  transform: translateX(4px);
}

.testimonial-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.testimonial-controls {
  position: absolute;
  inset: 50% 0 auto 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.testimonial-controls button {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  pointer-events: auto;
  box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.35);
  transition: transform 0.24s var(--ease);
}

.testimonial-controls button:hover {
  transform: translateY(-2px);
}

.testimonial-controls button[data-testimonial-prev] {
  margin-left: -14px;
}

.testimonial-controls button[data-testimonial-next] {
  margin-right: -14px;
}

.testimonial-controls svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.testimonial-shell {
  position: relative;
  min-height: 340px;
  margin-top: 18px;
  overflow: visible;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 32px 38px;
  opacity: 0;
  transform: translateX(24px);
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.testimonial-slide.is-active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-slide img,
.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
}

.testimonial-slide img {
  object-fit: cover;
}

.testimonial-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.testimonial-slide__body {
  display: grid;
  gap: 8px;
}

.testimonial-headline {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.testimonial-slide h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.08;
}

.testimonial-type {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
}

.testimonial-rating {
  display: inline-flex;
  gap: 4px;
}

.testimonial-rating svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: currentColor;
  color: rgba(255, 255, 255, 0.24);
}

.testimonial-rating .is-on {
  color: #f7c948;
}

.testimonial-slide p {
  margin: 0;
  color: var(--text-muted);
  max-width: 840px;
  font-size: 22px;
  line-height: 1.34;
}

.article-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.article-card:hover {
  transform: translateY(-3px);
}

.article-card img,
.article-card__placeholder {
  width: 100%;
  aspect-ratio: 1.52;
}

.article-card img {
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.article-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(var(--glow-magenta-rgb), 0.22), rgba(var(--accent-rgb), 0.08));
  color: var(--accent-2);
}

.article-card__placeholder svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.article-card__body {
  display: grid;
  min-height: 126px;
  gap: 10px;
  align-content: start;
  padding: 20px 18px 24px;
}

.article-card strong {
  font-size: 25px;
}

.article-card__date {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.article-grid--one .article-card img {
  aspect-ratio: 16 / 8;
}

.article-grid--one .article-card strong {
  font-size: 34px;
}

.article-grid--three .article-card strong {
  font-size: 24px;
}

.article-grid--three .article-card small {
  font-size: 15px;
}

.faq-section {
  margin-bottom: 78px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
  overflow: hidden;
}

.faq-item button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 22px;
  background: transparent;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  text-align: left;
}

.faq-item__plus {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.faq-item__plus::before,
.faq-item__plus::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transition: transform 0.24s var(--ease);
}

.faq-item__plus::after {
  transform: rotate(90deg);
}

.faq-item.is-open .faq-item__plus::after {
  transform: rotate(0);
}

.faq-item__answer {
  padding: 0 22px 22px;
}

.faq-item__answer p {
  max-width: 620px;
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
}

.cta-section {
  margin: 80px 0 24px;
  border: 1px solid rgba(var(--accent-rgb), 0.32);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.22), transparent 44%),
    var(--surface-soft);
  overflow: hidden;
}

.cta-section__link {
  display: block;
  padding: 34px 32px;
}

.cta-section span {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.08;
}

.cta-section p,
.site-footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
}

.countries-section {
  position: relative;
}

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

.country-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  overflow: hidden;
  min-height: 128px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.12), transparent 46%),
    var(--surface-soft);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.28s var(--ease),
    border-color 0.28s var(--ease),
    background 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}

.country-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.45);
  background: var(--surface-2);
  box-shadow: 0 20px 50px rgba(var(--accent-rgb), 0.18);
}

.country-card::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -30%;
  width: 58%;
  height: 180%;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.18), transparent 60%);
  transform: translateX(-132%) rotate(10deg);
  transition: transform 0.62s var(--ease);
  pointer-events: none;
}

.country-card:hover::before {
  transform: translateX(180%) rotate(10deg);
}

.country-flag {
  display: inline-flex;
  width: 70px;
  height: 70px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 42px;
  line-height: 1;
}

:root[data-theme="light"] .country-flag {
  background: rgba(21, 21, 24, 0.06);
}

.country-flag img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  transition: transform 0.36s var(--ease);
}

.country-card:hover .country-flag img {
  transform: scale(1.08) rotate(-1.5deg);
}

.country-card__content {
  transition: transform 0.3s var(--ease);
}

.country-card:hover .country-card__content {
  transform: translateX(2px);
}

.country-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 25px;
  line-height: 1.1;
}

.country-card small {
  display: block;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.32;
}

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

.privacy-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: stretch;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(var(--accent-rgb), 0.34);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(var(--glow-magenta-rgb), 0.16), transparent 48%),
    var(--surface-soft);
  box-shadow: var(--shadow);
}

.privacy-card__content {
  display: grid;
  align-content: start;
}

.privacy-card h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
}

.privacy-card h2 span {
  color: var(--accent);
}

.privacy-card p {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 17px;
}

.privacy-card .at-button {
  align-self: end;
  justify-self: end;
  margin-top: auto;
}

.site-footer {
  padding: 18px 0 34px;
}

.site-footer__inner {
  display: grid;
  gap: 18px;
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(12px, 2vw, 24px);
  align-items: center;
}

.site-footer__image {
  margin: 0;
  justify-self: end;
  align-self: center;
}

.site-footer__image img {
  width: 100%;
  max-width: 52px;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.site-footer__top > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.site-footer a {
  color: var(--text);
  font-weight: 700;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.at-button,
.nav-icon,
.project-card,
.app-archive-card,
.tool-card,
.content-row,
.article-card,
.experience-card,
.service-card,
.cta-section,
.country-card,
.privacy-card,
.team-card,
.partner-card {
  -webkit-tap-highlight-color: transparent;
}

.at-button {
  position: relative;
  overflow: hidden;
}

.at-button__ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  animation: buttonRipple calc(0.62s * var(--motion-factor)) var(--ease) forwards;
}

.project-card::after,
.app-archive-card::after,
.tool-card::after,
.content-row::after,
.article-card::after,
.experience-card::after,
.service-card::after,
.cta-section::after,
.country-card::after,
.privacy-card::after,
.team-card::after,
.partner-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255, 255, 255, 0.17), transparent 34%);
  transition: opacity 0.25s var(--ease);
}

.project-card,
.app-archive-card,
.tool-card,
.content-row,
.article-card,
.experience-card,
.service-card,
.cta-section,
.country-card,
.privacy-card,
.team-card,
.partner-card {
  position: relative;
}

.project-card:hover::after,
.app-archive-card:hover::after,
.tool-card:hover::after,
.content-row:hover::after,
.article-card:hover::after,
.experience-card:hover::after,
.service-card:hover::after,
.cta-section:hover::after,
.country-card:hover::after,
.privacy-card:hover::after,
.team-card:hover::after,
.partner-card:hover::after {
  opacity: calc(0.75 * var(--motion-factor));
}

:root[data-motion="none"] .project-card::after,
:root[data-motion="none"] .app-archive-card::after,
:root[data-motion="none"] .tool-card::after,
:root[data-motion="none"] .content-row::after,
:root[data-motion="none"] .article-card::after,
:root[data-motion="none"] .experience-card::after,
:root[data-motion="none"] .service-card::after,
:root[data-motion="none"] .cta-section::after,
:root[data-motion="none"] .country-card::after,
:root[data-motion="none"] .privacy-card::after,
:root[data-motion="none"] .team-card::after,
:root[data-motion="none"] .partner-card::after {
  display: none;
}

:root[data-motion="none"] .reveal {
  opacity: 1;
  transform: none;
}

:root[data-motion="none"] .profile-card__inner {
  transition: none;
}

.page-hero {
  margin-top: 0;
}

.detail-page {
  padding-bottom: 1px;
}

.back-link,
.post-date,
.detail-kicker {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--text-muted);
  font-size: 17px;
  transition: color 0.24s var(--ease);
}

.back-link:hover {
  color: var(--text);
}

.detail-hero {
  position: relative;
  margin-bottom: 14px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: visible;
}

.detail-hero__banner {
  width: 100%;
  aspect-ratio: 16 / 4;
  border-radius: var(--radius-lg);
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.detail-hero__icon {
  position: absolute;
  left: clamp(18px, 3.2vw, 34px);
  top: auto;
  bottom: clamp(-38px, -4vw, -24px);
  width: clamp(136px, 18vw, 206px);
  aspect-ratio: 1;
  border: 4px solid var(--surface);
  border-radius: 22px;
  object-fit: cover;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
  transform: none;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.detail-hero:hover .detail-hero__banner {
  transform: scale(1.01);
}

.detail-hero:hover .detail-hero__icon {
  transform: translateY(-3px) rotate(-1.2deg) scale(1.03);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.3);
}

.detail-hero-image {
  width: 100%;
  max-height: 446px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.detail-header {
  margin-top: 42px;
}

.single-aerotest_app .detail-header {
  margin-top: 72px;
}

.detail-header h1 {
  font-size: clamp(54px, 6vw, 74px);
}

.detail-header p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 18px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.rich-copy {
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.42;
}

.rich-copy p {
  margin: 0 0 18px;
}

.rich-copy h2,
.rich-copy h3,
.rich-copy h4 {
  margin: 38px 0 14px;
  color: var(--text);
  line-height: 1.1;
}

.rich-copy h2 {
  font-size: 34px;
}

.rich-copy h3 {
  font-size: 26px;
}

.rich-copy h2:first-child,
.rich-copy h3:first-child {
  margin-top: 0;
}

.rich-copy ul,
.rich-copy ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.rich-copy li {
  margin-bottom: 8px;
}

.rich-copy a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

.rich-copy .wp-block-image img,
.rich-copy img {
  border-radius: var(--radius-lg);
}

.app-mockup-section {
  margin-top: 48px;
}

.app-mockup-header {
  margin-bottom: 26px;
}

.app-mockup-header h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
}

.app-mockup-header p {
  max-width: 580px;
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 17px;
}

.app-mockup-carousel {
  overflow-x: auto;
  padding: 4px 4px 24px;
  scroll-padding: 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.app-mockup-carousel:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 6px;
}

.app-mockup-track,
.app-mockup-grid {
  display: flex;
  width: auto;
  gap: 20px;
  align-items: flex-start;
}

.phone-mockup {
  position: relative;
  flex: 0 0 clamp(218px, 28vw, 286px);
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    #0a0b0d;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  scroll-snap-align: start;
}

:root[data-theme="light"] .phone-mockup {
  border-color: rgba(21, 21, 24, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(236, 234, 242, 0.72)),
    #f8f7fb;
  box-shadow: 0 22px 48px rgba(34, 24, 54, 0.16);
}

.phone-mockup:hover {
  transform: translateY(-6px) rotate(-0.7deg);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.36);
}

.phone-mockup__screen {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  border-radius: 25px;
  background: #050507;
}

.phone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.phone-mockup:hover img {
  transform: scale(1.025);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.app-support-section {
  margin-top: 52px;
}

.app-support-header {
  margin-bottom: 24px;
}

.app-support-header h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.08;
}

.app-support-header p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 17px;
}

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

.app-support-form label:last-of-type {
  grid-column: 1 / -1;
}

.app-support-form textarea {
  min-height: 160px;
}

.form-status.is-success {
  color: #36d59d;
}

.privacy-legal-card {
  padding: 24px;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(var(--glow-magenta-rgb), 0.12), transparent 48%),
    var(--surface-soft);
  box-shadow: var(--shadow);
}

.service-card {
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.service-card h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 30px;
}

.meta-label-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.meta-label-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.service-card--countries {
  grid-column: 1 / -1;
}

.service-grid--app-meta .service-card {
  min-height: 82px;
  padding: 14px 16px;
}

.service-grid--app-meta .service-card h2 {
  margin-bottom: 6px;
  font-size: 24px;
}

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

.app-country-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.app-country-list img {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  object-fit: cover;
}

.single-aerotest_app #jp-relatedposts,
.single-aerotest_app .jp-relatedposts,
.single-aerotest_app .yarpp-related,
.single-aerotest_app .related-posts,
.single-aerotest_app .entry-related,
.single-aerotest_app .sharedaddy,
.single-aerotest_app .sd-sharing-enabled {
  display: none !important;
}

.project-grid--small .project-card {
  min-height: 260px;
}

.experience-list {
  display: grid;
  gap: 16px;
}

.experience-card {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: 76px minmax(0, 1fr) auto 28px;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
  transition:
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease),
    background 0.25s var(--ease);
}

.experience-card:hover {
  transform: translateY(-3px);
  background: var(--surface-2);
}

.experience-card__media {
  display: inline-flex;
  overflow: hidden;
  width: 76px;
  height: 76px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(var(--glow-magenta-rgb), 0.2), rgba(var(--accent-rgb), 0.08));
  color: var(--accent-2);
}

.experience-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.34s var(--ease);
}

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

.experience-card__media svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.experience-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.1;
}

.experience-card p {
  margin: 0;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.experience-card small {
  color: var(--text-soft);
  font-size: 15px;
  white-space: nowrap;
}

.experience-card > svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  transition: transform 0.28s var(--ease);
}

.experience-card:hover > svg {
  transform: translateX(4px);
}

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

.team-card,
.partner-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
  transition:
    transform 0.28s var(--ease),
    border-color 0.28s var(--ease),
    background 0.28s var(--ease);
}

.team-card:hover,
.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.45);
  background: var(--surface-2);
}

.team-card__media,
.partner-card__media {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 10;
  background: rgba(var(--accent-rgb), 0.08);
}

.team-card__media img,
.partner-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.38s var(--ease);
}

.team-card:hover .team-card__media img,
.partner-card:hover .partner-card__media img {
  transform: scale(1.035);
}

.team-card__placeholder,
.partner-card__placeholder {
  display: inline-flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.team-card__placeholder svg,
.partner-card__placeholder svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.team-card__body strong,
.partner-card__body strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 26px;
  line-height: 1.1;
}

.team-card__body small,
.partner-card__body small {
  display: block;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.team-card__body p,
.partner-card__body p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 15px;
}

.team-card__link,
.partner-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--text);
  font-weight: 700;
}

.team-card__link svg,
.partner-card__link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.team-gallery {
  margin-top: 28px;
}

.team-gallery h2 {
  margin: 0 0 16px;
  font-size: 30px;
}

.team-gallery__stack {
  position: relative;
  min-height: 230px;
}

.team-gallery__item {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(340px, 72%);
  margin: 0;
  border: 6px solid var(--surface);
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transform-origin: center;
}

.team-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.team-gallery__item:nth-child(1) {
  transform: translateX(-50%) rotate(-5deg);
  z-index: 6;
}

.team-gallery__item:nth-child(2) {
  transform: translateX(-34%) translateY(12px) rotate(7deg);
  z-index: 5;
}

.team-gallery__item:nth-child(3) {
  transform: translateX(-65%) translateY(16px) rotate(-11deg);
  z-index: 4;
}

.team-gallery__item:nth-child(4) {
  transform: translateX(-44%) translateY(24px) rotate(3deg);
  z-index: 3;
}

.team-gallery__item:nth-child(n + 5) {
  transform: translateX(-54%) translateY(30px) rotate(-3deg);
  z-index: 2;
}

.detail-header--article h1 {
  font-size: clamp(42px, 5.4vw, 58px);
}

.article-section + .article-section {
  margin-top: 40px;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: var(--text-muted);
  font-size: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 14px 15px;
  outline: 0;
  transition:
    border-color 0.22s var(--ease),
    background 0.22s var(--ease);
}

:root[data-theme="light"] .contact-form input,
:root[data-theme="light"] .contact-form textarea {
  background: rgba(21, 21, 24, 0.06);
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
}

.contact-form .at-button {
  width: 100%;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--text-muted);
}

.empty-state,
.not-found {
  margin-top: 0;
}

.empty-state {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.empty-state h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.empty-state p {
  margin: 0;
  color: var(--text-muted);
}

.navigation.pagination {
  margin-top: 34px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 700;
}

.page-numbers.current {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  animation: revealUp 0.7s var(--ease) both;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes navIn {
  from {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes navInMobile {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes buttonRipple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 1fr;
    gap: 46px;
    width: min(820px, calc(100% - 48px));
  }

  .app-shell {
    padding-top: 126px;
  }

  .site-footer__inner {
    width: min(820px, calc(100% - 48px));
    gap: 16px;
  }

  .site-footer__top {
    gap: 16px;
  }

  .site-footer__image img {
    max-width: 46px;
  }

  .profile-card {
    position: relative;
    top: auto;
    width: 100%;
    min-height: 240px;
    margin: 0 auto;
  }

  .profile-card__inner {
    min-height: 240px;
  }

  .profile-card__face {
    display: grid;
    min-height: 240px;
    grid-template-columns: 132px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 22px;
    align-items: center;
    padding: 24px;
  }

  .profile-card__image-button {
    grid-row: 1 / span 2;
  }

  .profile-card__image {
    width: 132px;
  }

  .profile-card__body {
    margin-top: 0;
    text-align: left;
  }

  .profile-card h2 {
    font-size: 28px;
  }

  .profile-card p {
    font-size: 16px;
  }

  .profile-card__social {
    justify-content: flex-start;
    margin-top: 16px;
  }

  .profile-card .at-button {
    grid-column: 2;
    width: max-content;
    max-width: 100%;
    margin-top: 0;
  }

  .hero-section {
    min-height: auto;
  }
}

@media (max-width: 960px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  .app-shell,
  .site-footer__inner {
    width: min(calc(100% - 32px), 720px);
  }

  .app-shell {
    gap: 34px;
    padding-top: 98px;
  }

  .site-header,
  .admin-bar .site-header {
    top: max(12px, env(safe-area-inset-top));
    right: 16px;
    left: 16px;
    z-index: 180;
    animation: navInMobile 0.45s var(--ease) both;
    transform: none;
  }

  .site-header.is-compact,
  .admin-bar .site-header.is-compact {
    top: max(8px, env(safe-area-inset-top));
  }

  .nav-shell {
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 6px;
    border-radius: 14px;
  }

  .nav-icons .nav-icon:not(.is-active) {
    display: none;
  }

  .nav-icons .nav-icon:first-child {
    display: inline-flex;
  }

  .theme-toggle {
    margin-left: auto;
  }

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

  .mobile-drawer {
    display: grid;
    max-height: 0;
    overflow: hidden;
    gap: 8px;
    margin-top: 8px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: var(--surface-soft);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    transition:
      max-height 0.32s var(--ease),
      padding 0.32s var(--ease),
      border-color 0.32s var(--ease);
  }

  .mobile-drawer.is-open {
    max-height: min(calc(100vh - 110px), 560px);
    padding: 10px;
    border-color: var(--border);
    overflow-y: auto;
  }

  .mobile-drawer a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    color: var(--text-muted);
    font-weight: 700;
  }

  .mobile-drawer a.is-active {
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: #fff;
  }

  .mobile-drawer svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
  }

  .profile-card {
    min-height: 218px;
    border-radius: 14px;
  }

  .profile-card__inner {
    min-height: 218px;
  }

  .profile-card__face {
    min-height: 218px;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border-radius: 14px;
  }

  .profile-card__image {
    width: 104px;
    border-radius: 10px;
  }

  .profile-card h2 {
    font-size: 25px;
  }

  .profile-card p {
    font-size: 15px;
    line-height: 1.35;
  }

  .profile-card__social {
    gap: 16px;
    margin-top: 12px;
  }

  .profile-card .at-button {
    min-height: 42px;
  }

  .hero-title,
  .section-title,
  .detail-header h1 {
    font-size: clamp(38px, 8.5vw, 54px);
    line-height: 1.05;
  }

  .hero-copy,
  .section-lead,
  .detail-header p,
  .rich-copy {
    font-size: 16px;
    line-height: 1.45;
  }

  .stats-grid {
    gap: 18px;
  }

  .project-grid,
  .article-grid,
  .tool-grid,
  .app-archive-grid--two,
  .app-archive-grid--three,
  .country-grid,
  .service-grid,
  .team-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero__icon {
    width: clamp(106px, 24vw, 160px);
    bottom: -20px;
    border-radius: 18px;
    border-width: 3px;
  }

  .app-support-form {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 300px;
  }

  .app-mockup-track,
  .app-mockup-grid {
    gap: 16px;
  }

  .phone-mockup,
  .phone-mockup:nth-child(3n + 2),
  .phone-mockup:nth-child(3n) {
    flex-basis: min(78vw, 320px);
    width: auto;
    margin: 0;
  }

  .app-mockup-header h2 {
    font-size: clamp(30px, 7vw, 40px);
  }

  .testimonial-heading,
  .hero-actions,
  .detail-actions {
    align-items: start;
  }

  .testimonial-heading {
    display: grid;
  }

  .testimonial-shell {
    min-height: 332px;
  }

  .testimonial-slide {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 26px 30px;
  }

  .testimonial-controls button[data-testimonial-prev] {
    margin-left: 0;
  }

  .testimonial-controls button[data-testimonial-next] {
    margin-right: 0;
  }

  .experience-card {
    grid-template-columns: 64px minmax(0, 1fr) 26px;
    gap: 14px;
  }

  .experience-card small {
    grid-column: 2;
    grid-row: 2;
    white-space: normal;
  }

  .experience-card > svg {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

}

@media (max-width: 640px) {
  .app-shell,
  .site-footer__inner {
    width: calc(100% - 28px);
  }

  .app-shell {
    gap: 28px;
    padding-top: 86px;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .site-footer__image img {
    max-width: 40px;
  }

  .nav-shell {
    min-height: 44px;
  }

  .nav-icon {
    width: 34px;
    height: 34px;
  }

  .profile-card {
    min-height: 206px;
  }

  .profile-card__inner {
    min-height: 206px;
  }

  .profile-card__face {
    min-height: 206px;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .profile-card__image {
    width: 86px;
  }

  .profile-card h2 {
    font-size: 23px;
  }

  .profile-card p {
    font-size: 14px;
  }

  .profile-card .at-button {
    width: 100%;
  }

  .hero-title,
  .section-title,
  .detail-header h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-item {
    display: flex;
    align-items: end;
    gap: 18px;
  }

  .stat-item span {
    margin-bottom: 5px;
  }

  .project-card strong {
    font-size: 24px;
  }

  .app-archive-card--one .app-archive-card__icon {
    width: 88px;
    left: 14px;
    bottom: -18px;
  }

  .app-archive-card__body strong {
    font-size: 24px;
  }

  .app-archive-card--one .app-archive-card__body {
    padding-left: 4px;
    padding-top: 34px;
  }

  .app-archive-card--three .app-archive-card__body strong {
    font-size: 20px;
  }

  .tool-card {
    min-height: 88px;
  }

  .content-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .content-row__media {
    aspect-ratio: 16 / 9;
  }

  .content-row__arrow {
    display: none;
  }

  .content-row__body strong {
    font-size: 26px;
  }

  .content-row__body p {
    font-size: 15px;
  }

  .project-card small,
  .article-card small,
  .tool-card small {
    font-size: 15px;
  }

  .hero-actions .at-button,
  .detail-actions .at-button {
    width: 100%;
  }

  .contact-form,
  .cta-section__link,
  .privacy-card {
    padding: 18px;
  }

  .team-gallery__stack {
    min-height: 200px;
  }

  .team-gallery__item {
    width: min(290px, 78%);
  }

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

  .privacy-card .at-button {
    width: 100%;
  }

  .country-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    min-height: 112px;
    padding: 16px;
  }

  .country-flag {
    width: 58px;
    height: 58px;
    font-size: 34px;
  }

  .country-card strong {
    font-size: 22px;
  }

  .experience-card {
    grid-template-columns: 56px minmax(0, 1fr) 22px;
    padding: 16px;
  }

  .experience-card__media {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }

  .experience-card strong {
    font-size: 21px;
  }

  .experience-card p {
    font-size: 15px;
  }

  .experience-card small {
    font-size: 14px;
  }

  .experience-card > svg {
    width: 20px;
    height: 20px;
  }

  .service-card,
  .empty-state {
    padding: 20px;
  }

  .service-card h2 {
    font-size: 24px;
  }
}

@media (max-width: 430px) {
  .site-header,
  .admin-bar .site-header {
    right: 12px;
    left: 12px;
  }

  .app-shell,
  .site-footer__inner {
    width: calc(100% - 24px);
  }

  .profile-card {
    min-height: 198px;
  }

  .profile-card__inner {
    min-height: 198px;
  }

  .profile-card__face {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .profile-card__image {
    width: 78px;
  }

  .profile-card__social {
    gap: 12px;
  }

  .social-link,
  .social-link svg {
    width: 20px;
    height: 20px;
  }

  .hero-title,
  .section-title,
  .detail-header h1 {
    font-size: clamp(32px, 10.5vw, 40px);
  }

  .project-card {
    min-height: 258px;
  }

  .project-card__content {
    min-height: 88px;
    padding: 16px;
  }

  .stat-item strong {
    font-size: 42px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
