: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;
  --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(145, 75, 241, 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(145, 75, 241, 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.78);
}

.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(145, 75, 241, 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(145, 75, 241, 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;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.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(182, 49, 255, 0.22), rgba(145, 75, 241, 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(145, 75, 241, 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(182, 49, 255, 0.24), rgba(145, 75, 241, 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(145, 75, 241, 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(182, 49, 255, 0.24), rgba(145, 75, 241, 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: 24px;
}

.testimonial-controls {
  display: flex;
  gap: 12px;
  padding-bottom: 26px;
}

.testimonial-controls button {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  transition: transform 0.24s var(--ease);
}

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

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

.testimonial-shell {
  position: relative;
  min-height: 198px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 34px 22px;
  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: 58px;
  height: 58px;
  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 h3 {
  margin: 2px 0 30px;
  font-size: 26px;
  line-height: 1;
}

.testimonial-slide p {
  margin: 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.28;
}

.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(182, 49, 255, 0.22), rgba(145, 75, 241, 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;
}

.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(145, 75, 241, 0.32);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(145, 75, 241, 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(145, 75, 241, 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);
}

.country-card:hover {
  transform: translateY(-3px);
  border-color: rgba(145, 75, 241, 0.45);
  background: var(--surface-2);
}

.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;
}

.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: center;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(145, 75, 241, 0.34);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(182, 49, 255, 0.16), transparent 48%),
    var(--surface-soft);
  box-shadow: var(--shadow);
}

.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;
}

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

.site-footer__inner {
  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;
}

.site-footer__inner > p,
.footer-menu {
  grid-column: 2;
}

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

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

.template-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: grid;
  gap: 8px;
  width: 160px;
}

.template-actions .at-button {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.made-badge {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 800;
}

.at-button,
.nav-icon,
.project-card,
.tool-card,
.content-row,
.article-card,
.experience-card,
.service-card,
.cta-section,
.country-card,
.privacy-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,
.tool-card::after,
.content-row::after,
.article-card::after,
.experience-card::after,
.service-card::after,
.cta-section::after,
.country-card::after,
.privacy-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,
.tool-card,
.content-row,
.article-card,
.experience-card,
.service-card,
.cta-section,
.country-card,
.privacy-card {
  position: relative;
}

.project-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 {
  opacity: calc(0.75 * var(--motion-factor));
}

:root[data-motion="none"] .project-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 {
  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-image {
  width: 100%;
  max-height: 446px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow);
}

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

.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: max-content;
  min-width: 100%;
  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:nth-child(3n + 2) {
  margin-top: 30px;
}

.phone-mockup:nth-child(3n) {
  margin-top: 12px;
}

.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__screen::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 2;
  width: 38%;
  height: 18px;
  border-radius: 0 0 14px 14px;
  background: #050507;
  transform: translateX(-50%);
}

.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;
}

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

.service-card h2 {
  margin: 0 0 12px;
  font-size: 30px;
}

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

.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(182, 49, 255, 0.2), rgba(145, 75, 241, 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);
}

.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(145, 75, 241, 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,
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 46px;
    width: min(820px, calc(100% - 48px));
  }

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

  .site-footer__inner > p,
  .footer-menu {
    grid-column: 1;
  }

  .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(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,
  .country-grid,
  .service-grid {
    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-controls {
    padding-bottom: 0;
  }

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

  .testimonial-slide {
    grid-template-columns: 1fr;
  }

  .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;
  }

  .template-actions {
    display: none;
  }
}

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

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

  .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;
  }

  .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;
  }

  .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;
  }
}
