/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  z-index: 100;
}

body.menu-open .header__logo {
  transform: scale(0.95);
  transform-origin: top left;
}

.header.is-scrolled {
  background: rgba(241, 242, 246, 0.55);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.header__logo {
  display: inline-flex;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.header__logo img {
  width: 140px;
  height: auto;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 60px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 60px;
  transition: opacity 0.2s ease;
}

.nav__link {
  position: relative;
  font-size: 20px;
  font-weight: 600;
  color: #000000;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #000000;
  transform: scaleX(0);
  transform-origin: 0 0;
  transition: transform 0.35s cubic-bezier(0.52, 0.01, 0.16, 1);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

/* Menu toggle (burger) */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--color-ink);
  transition: transform 0.25s ease, width 0.25s ease, opacity 0.25s ease;
}

.menu-toggle span:nth-child(1) {
  width: 36px;
}

.menu-toggle span:nth-child(2) {
  width: 26px;
}

.menu-toggle:hover span {
  width: 36px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
  width: 36px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-5.5px) rotate(-45deg);
  width: 36px;
}

/* Menu overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 24px;
  left: 24px;
  background: #17171A;
  z-index: 90;
  overflow: hidden;
  clip-path: circle(0px at var(--menu-x, 100%) var(--menu-y, 0%));
  transition: clip-path 0.7s cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: none;
}

.menu-overlay.is-open {
  clip-path: circle(150% at var(--menu-x, 100%) var(--menu-y, 0%));
  pointer-events: auto;
}

.menu-overlay__inner {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(max(var(--container-pad), (100vw - var(--container-width)) / 2) - 24px);
  width: min(var(--container-width), calc(100vw - 2 * var(--container-pad)));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  align-content: center;
  transform: translateY(-40px);
}

.menu-overlay__col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.menu-overlay__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 20px;
  font-size: 30px;
  font-weight: 500;
  color: #FFFFFF;
}

.menu-overlay__link-label {
  position: relative;
}

.menu-overlay__link-label::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #FFFFFF;
  transform: scaleX(0);
  transform-origin: 0 0;
  transition: transform 0.35s cubic-bezier(0.52, 0.01, 0.16, 1);
}

.menu-overlay__link:hover .menu-overlay__link-label::after {
  transform: scaleX(1);
}

.menu-overlay__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  flex-shrink: 0;
}

.menu-overlay__badge {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: #D6FF3D;
  color: #17171A;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.menu-overlay__email {
  position: absolute;
  left: calc(max(var(--container-pad), (100vw - var(--container-width)) / 2) - 24px);
  bottom: var(--space-10);
  color: #FFFFFF;
  font-size: 30px;
  font-weight: 500;
  opacity: 1;
}

.menu-overlay__email::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #FFFFFF;
  transform: scaleX(0);
  transform-origin: 0 0;
  transition: transform 0.35s cubic-bezier(0.52, 0.01, 0.16, 1);
}

.menu-overlay__email:hover::after {
  transform: scaleX(1);
}

.menu-overlay__cta {
  position: absolute;
  right: max(var(--container-pad), (100vw - var(--container-width)) / 2);
  bottom: var(--space-10);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--color-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  transition: transform 0.25s ease;
}

.menu-overlay__cta:hover {
  transform: scale(1.06);
}

/* Header inversion while dark menu is open */
body.menu-open .header.is-scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.menu-open .header__logo img {
  filter: brightness(0) invert(1);
}

body.menu-open .menu-toggle span {
  background: #FFFFFF;
}

/* Page content squeezes while the dark menu opens, unsqueezes on close */
.page-shell {
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  transform-origin: top right;
}

body.menu-open .page-shell {
  transform: scale(0.95);
  overflow: hidden;
}

body.menu-open .nav {
  opacity: 0;
  pointer-events: none;
}

/* Button */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.button:hover {
  opacity: 0.85;
}

.hero__cta:hover {
  opacity: 1;
}

/* Hero */
.hero {
  position: relative;
  padding: 256px 0 120px;
  overflow: hidden;
}

.hero--page {
  padding: 200px 0 160px;
  min-height: 640px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  font-size: clamp(36px, 5.2vw, 68px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 1100px;
}

.hero__title-line {
  display: block;
}

.hero__typing-cursor {
  display: inline-block;
  width: 2px;
  height: 0.85em;
  margin-left: 4px;
  background: currentColor;
  vertical-align: -0.1em;
  animation: hero-cursor-blink 1s step-end infinite;
}

@keyframes hero-cursor-blink {
  50% { opacity: 0; }
}

.hero__cta {
  margin-top: 80px;
  height: auto;
  padding: 26px 44px;
  border-radius: 999px;
  font-size: 22px;
  font-weight: 400;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.hero__cta {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero__cta:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero__cta-arrow {
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.hero__cta:hover .hero__cta-arrow {
  transform: translateX(4px);
}

.hero__banner {
  position: relative;
  width: 100%;
  height: 800px;
  margin-top: 160px;
  border-radius: 60px;
  background: #000000;
  overflow: hidden;
}

.hero__banner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__plates {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  gap: 10px;
}

.hero__plate {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 340px;
  height: 240px;
  padding: 30px 30px 30px 40px;
  border-radius: 40px;
  background: #FFFFFF;
  text-align: left;
}

.hero__plate::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #FFC94D;
  clip-path: circle(0% at 20% 100%);
  transition: clip-path 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

.hero__plate:hover::before {
  clip-path: circle(120% at 20% 100%);
}

.hero__plate-title {
  position: relative;
  z-index: 1;
  font-size: 30px;
  font-weight: var(--fw-bold);
  line-height: 1.15;
  color: var(--color-ink);
  transition: color 0.35s ease 0.1s;
}

.hero__plate:hover .hero__plate-title {
  color: var(--color-ink);
}

.hero__plate-text {
  position: relative;
  z-index: 1;
  transition: color 0.35s ease 0.1s;
  font-size: 18px;
  line-height: 1.35;
  color: var(--color-ink-soft);
}

.hero__plate:hover .hero__plate-text {
  color: var(--color-ink);
}

/* Logo marquee */
.logo-marquee {
  width: 100%;
  padding: 160px 0 80px;
  overflow: hidden;
}

.logo-marquee__track {
  display: flex;
  width: max-content;
  animation: logo-marquee-scroll 45s linear infinite;
}

.logo-marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-marquee__logo {
  height: auto;
  width: 120px;
  margin-right: 160px;
  opacity: 1;
  filter: grayscale(1) brightness(0);
}

.logo-marquee__logo--newtech {
  width: 160px;
}

.logo-marquee__logo--kalina {
  width: 100px;
}

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

/* Stub block (placeholder for upcoming sections) */
.stub-block {
  padding: 100px 0;
  border-top: 1px solid var(--color-line);
  text-align: center;
}

.stub-block__title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  text-align: left;
  margin-bottom: 12px;
}

.stub-block__text {
  font-size: 16px;
  color: var(--color-ink-soft);
}

/* About */
.about {
  padding: 100px 0;
  border-top: 1px solid var(--color-line);
}

.about__title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  margin-bottom: 60px;
}

.about-sticky {
  display: flex;
  gap: 80px;
}

.about-sticky__media {
  position: sticky;
  top: 140px;
  flex: 0 0 50%;
  height: 70vh;
}

.about-sticky__media-item {
  position: absolute;
  inset: 0;
  border-radius: 40px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about-sticky__media-item.is-active {
  opacity: 1;
}

.about-sticky__media-item[data-media="0"] { background: linear-gradient(135deg, #2B2A29 0%, #000000 100%); }
.about-sticky__media-item[data-media="1"] { background: linear-gradient(135deg, #3a3937 0%, #000000 100%); }
.about-sticky__media-item[data-media="2"] { background: linear-gradient(135deg, #2FB350 0%, #0f3d1c 100%); }
.about-sticky__media-item[data-media="3"] { background: linear-gradient(135deg, #000000 0%, #2B2A29 100%); }

.about-sticky__content {
  flex: 1;
}

.about-sticky__step {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.3;
  transition: opacity 0.4s ease;
}

.about-sticky__step.is-active {
  opacity: 1;
}

.about-sticky__step-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}

.about-sticky__step-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-ink-soft);
  max-width: 500px;
}

/* Cases */
.cases {
  padding: 100px 0;
  border-top: 1px solid var(--color-line);
  text-align: center;
}

.cases__title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  text-align: left;
  margin-bottom: 50px;
}

.cases-grid {
  display: flex;
  justify-content: space-between;
  width: 1600px;
  max-width: 100%;
  margin: 0 auto 50px;
  text-align: left;
}

.cases-grid__col {
  width: 740px;
  display: flex;
  flex-direction: column;
}

.scroll-top {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 90;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: scale(1.08);
}

.scroll-top svg {
  transform: rotate(-90deg);
}

.cases-grid__item {
  display: block;
  color: inherit;
  text-decoration: none;
  margin-bottom: 80px;
}

.cases-grid__image {
  display: block;
  width: 100%;
  height: 500px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 20px;
}

.cases-grid__title {
  max-width: 680px;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
}

.cases-grid__desc {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-ink-soft);
  margin-bottom: 10px;
}

.cases-grid__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 40px;
}

.cases-grid__image-wrap .cases-grid__image {
  margin-bottom: 0;
  transition: transform 0.5s ease;
}

.cases-grid__image-wrap:hover .cases-grid__image {
  transform: scale(1.08);
}

.cases-grid__badge {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(241, 242, 246, 0.35);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  color: #000000;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cases-grid__badge svg {
  width: 64px;
  height: 64px;
}

.cases-grid__image-wrap:hover .cases-grid__badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.cases-grid__date {
  font-size: 14px;
  color: var(--color-ink-soft);
}

.cases__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: auto;
  padding: 26px 44px;
  border-radius: 999px;
  font-size: 22px;
  font-weight: 400;
}

/* Services strip */
.services-strip {
  padding: 100px 0;
  border-top: 1px solid var(--color-line);
}

.services-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* FAQ */
.faq {
  padding: 100px 0;
  border-top: 1px solid var(--color-line);
}

.faq__title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  text-align: center;
  margin-bottom: 60px;
}

.faq__list {
  max-width: 1170px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-line);
  border-radius: 24px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.faq__item.is-open {
  background: #FFFFFF;
  border-bottom-color: transparent;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 40px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 19px;
  font-weight: 500;
  color: var(--color-ink);
}

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--color-ink);
  border-radius: 50%;
}

.faq__icon span {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-ink);
  transition: transform 0.25s ease;
}

.faq__icon span:nth-child(1) {
  width: 12px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq__icon span:nth-child(2) {
  width: 1.5px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.faq__item.is-open .faq__icon span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.faq__answer-inner {
  padding: 0 40px 32px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-ink-soft);
}

/* Reusable animated gradient glow (mesh-gradient style) */
.blob-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob-bg span {
  position: absolute;
  width: 32vw;
  height: 32vw;
  background: radial-gradient(circle at 40% 40%, #FFC94D 0%, #FFB238 45%, rgba(255, 178, 56, 0) 72%);
  filter: blur(60px);
}

.blob-bg span:nth-child(1) {
  top: -8%;
  left: -6%;
  animation: blob-live-a 17s ease-in-out infinite;
}

.blob-bg span:nth-child(2) {
  top: -4%;
  right: 2%;
  animation: blob-live-b 21s ease-in-out infinite;
  animation-delay: -9s;
}

@keyframes blob-live-a {
  0%   { border-radius: 58% 42% 55% 45% / 45% 55% 42% 58%; transform: translate(0%, 0%) scale(0.75); opacity: 0; }
  25%  { border-radius: 42% 58% 40% 60% / 60% 40% 58% 42%; transform: translate(-3%, 4%) scale(1.05); opacity: 0.35; }
  50%  { border-radius: 65% 35% 60% 40% / 40% 60% 35% 65%; transform: translate(3%, -3%) scale(0.75); opacity: 0; }
  75%  { border-radius: 38% 62% 45% 55% / 55% 45% 62% 38%; transform: translate(-2%, -4%) scale(1.1); opacity: 0.4; }
  100% { border-radius: 58% 42% 55% 45% / 45% 55% 42% 58%; transform: translate(0%, 0%) scale(0.75); opacity: 0; }
}

@keyframes blob-live-b {
  0%   { border-radius: 45% 55% 42% 58% / 58% 42% 55% 45%; transform: translate(0%, 0%) scale(1.05); opacity: 0.35; }
  25%  { border-radius: 60% 40% 58% 42% / 42% 58% 40% 60%; transform: translate(3%, -4%) scale(0.75); opacity: 0; }
  50%  { border-radius: 40% 60% 35% 65% / 65% 35% 60% 40%; transform: translate(-3%, 3%) scale(1.1); opacity: 0.4; }
  75%  { border-radius: 55% 45% 62% 38% / 38% 62% 45% 55%; transform: translate(2%, 4%) scale(0.75); opacity: 0; }
  100% { border-radius: 45% 55% 42% 58% / 58% 42% 55% 45%; transform: translate(0%, 0%) scale(1.05); opacity: 0.35; }
}

.services-strip__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.services-strip__num {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink-soft);
}

/* Page hero (listing pages: breadcrumb + title + filters) */
.page-hero {
  padding: 200px 0 60px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-ink-soft);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--color-ink-soft);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--color-ink);
}

.page-hero__title {
  font-size: clamp(36px, 5.2vw, 68px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.case-filters__tab {
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  background: #FFFFFF;
  font-family: inherit;
  font-size: 15px;
  color: var(--color-ink-soft);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.case-filters__tab.is-active {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: #FFFFFF;
}

.cases--page {
  border-top: none;
  padding-top: 0;
}

/* Simple page banner (inner pages stub) */
.page-banner {
  padding: 200px 0 100px;
  text-align: center;
}

.page-banner__title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.services-strip__title {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* SEO text blocks */
.seo-text {
  padding: 100px 0;
}


.seo-text__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.seo-text__block {
  width: 1170px;
  max-width: 100%;
  padding: 50px;
  text-align: left;
}

.seo-text__block--card {
  width: 1170px;
  max-width: 100%;
  background: #FFFFFF;
  border-radius: 40px;
}

.seo-text__title {
  font-size: 24px;
  font-weight: 600;
  text-align: left;
  margin-bottom: 20px;
}

.seo-text__block p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-ink-soft);
  margin-bottom: 14px;
}

.seo-text__block p:last-child {
  margin-bottom: 0;
}

/* Founder banner (About page) */
.founder-banner {
  padding: 0 0 100px;
}

.founder-banner__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.founder-banner__plates {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.founder-banner__plate {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  padding: 50px;
  border-radius: 40px;
  background: #FFFFFF;
}

.founder-banner__plate-watermark {
  position: absolute;
  right: 20px;
  bottom: -0.18em;
  z-index: 0;
  font-size: 200px;
  font-weight: var(--fw-regular);
  line-height: 1;
  color: var(--color-bg);
  user-select: none;
  pointer-events: none;
}

.founder-banner__plate-watermark--flush {
  right: -0.05em;
}

.founder-banner__plate-title {
  position: relative;
  z-index: 1;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  color: var(--color-ink);
}

.founder-banner__plate-text {
  position: relative;
  z-index: 1;
  font-size: 18px;
  line-height: 1.4;
  color: var(--color-ink-soft);
}

.founder-banner__photo {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  background: #000000;
  min-height: 600px;
}

.founder-banner__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-placeholder-note {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
}

.founder-quote {
  padding: 60px 0 100px;
  text-align: center;
}

.founder-quote__inner {
  max-width: 1500px;
}

.founder-quote__text {
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-ink);
}

.founder-quote__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 40px auto 0;
  width: fit-content;
  text-align: left;
}

.founder-quote__avatar-wrap {
  display: flex;
  flex-shrink: 0;
}

.founder-quote__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.founder-quote__author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.founder-quote__author-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-ink);
}

.founder-quote__author-role {
  font-size: 15px;
  color: var(--color-ink-soft);
}

/* Clients carousel (About page) */
.clients-block {
  padding: 0 0 100px;
}

.clients-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.clients-block__title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
}

.clients-block__nav {
  display: flex;
  gap: 12px;
}

.clients-block__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--color-ink);
  color: #FFFFFF;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.clients-block__arrow:hover {
  opacity: 0.8;
}

.clients-block__carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.clients-block__carousel::-webkit-scrollbar {
  display: none;
}

.clients-block__card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  padding: 40px;
  border-radius: 40px;
  background: #FFFFFF;
}

.clients-block__card-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-ink);
}

.clients-block__card-text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-ink-soft);
}

/* Agency block (About page) */
.agency-block {
  padding: 0 0 100px;
}

.agency-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.agency-block__photo {
  position: relative;
  width: 50%;
  aspect-ratio: 3 / 4;
  border-radius: 40px;
  overflow: hidden;
  background: var(--color-ink);
}

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

.agency-block__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.agency-block__title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  margin-bottom: 20px;
}

.agency-block__subtitle {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Blog listing */
.blog-list {
  padding: 0 0 160px;
}

.blog-page--hidden {
  display: none;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
}

.blog-card__image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 24px;
}

.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__image {
  transform: scale(1.05);
}

.blog-card__badge {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(241, 242, 246, 0.35);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  color: #000000;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.blog-card__badge svg {
  width: 32px;
  height: 32px;
}

.blog-card:hover .blog-card__badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.blog-card__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-ink);
  margin-bottom: 10px;
}

.blog-card__desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-ink-soft);
  margin-bottom: 20px;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.blog-card__date {
  font-size: 13px;
  color: var(--color-ink-soft);
  flex-shrink: 0;
}

.blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.blog-card__tag {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-line);
  color: var(--color-ink-soft);
  font-size: 12px;
}

.blog-pagination-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 60px;
}

.blog-pagination {
  display: flex;
  gap: 12px;
}

.blog-pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #FFFFFF;
  color: var(--color-ink);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.blog-pagination__item.is-active {
  background: var(--color-ink);
  color: #FFFFFF;
}

.blog-pagination__count {
  font-size: 15px;
  color: var(--color-ink-soft);
  white-space: nowrap;
}

/* Footer */
.footer {
  background: #000000;
  color: #FFFFFF;
  padding-top: 100px;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 100px;
}

.footer__cta-btn {
  background: #FFFFFF;
  color: #000000;
}

.footer__cta-title {
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 40px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.footer__nav a {
  font-size: 18px;
  color: #FFFFFF;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.footer__nav a:hover {
  opacity: 1;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 11px;
  font-weight: 600;
  color: #FFFFFF;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer__social:hover {
  background: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer__legal {
  display: flex;
  gap: 32px;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: #FFFFFF;
}
