/* =========================================================
   ART City — main styles
   ========================================================= */

:root {
  --ac-ink: #0e0e10;
  --ac-ink-soft: #1a1a1e;
  --ac-paper: #f4f1ea;
  --ac-white: #ffffff;
  --ac-orange: #ff5a1f;
  --ac-orange-deep: #c2410c;
  --ac-sand: #e4ded2;
  --ac-line: #ded7c9;
  --ac-muted: #6e6a63;
  --ac-radius: 22px;
  --ac-container: 1240px;
  --ac-gutter: clamp(20px, 4vw, 48px);
  --ac-font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ac-font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --ac-shadow: 0 24px 60px rgba(14, 14, 16, 0.12);
}

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

[hidden] {
  display: none !important;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ac-paper);
  color: var(--ac-ink);
  font-family: var(--ac-font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.ac-menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
.wp-block-heading {
  font-family: var(--ac-font-display);
  font-weight: 600;
  color: var(--ac-ink);
}

h1 {
  font-size: clamp(44px, 6vw, 96px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(32px, 4vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1.03;
}

h3 {
  font-size: clamp(22px, 2.2vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

a {
  color: inherit;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  background: var(--ac-orange);
  color: var(--ac-ink);
}

:focus-visible {
  outline: 3px solid var(--ac-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.ac-wrap {
  width: 100%;
  max-width: var(--ac-container);
  margin-inline: auto;
  padding-inline: var(--ac-gutter);
}

.ac-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 18px;
  background: var(--ac-orange);
  color: var(--ac-ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 10px 0;
}

.ac-skip:focus {
  left: 0;
}

/* ---------- Buttons ---------- */

.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.wp-block-button {
  margin: 0;
}

.wp-block-button__link,
.ac-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ac-orange);
  color: var(--ac-ink);
  font-family: var(--ac-font-body);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wp-block-button__link:hover,
.ac-btn:hover {
  background: #ff7645;
  color: var(--ac-ink);
  transform: translateY(-2px);
}

.wp-block-button.is-style-ac-outline .wp-block-button__link {
  background: transparent;
  color: inherit;
  border-color: currentColor;
  opacity: 0.9;
}

.wp-block-button.is-style-ac-outline .wp-block-button__link:hover {
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

.ac-btn--primary {
  background: var(--ac-orange);
  color: var(--ac-ink);
}

.ac-btn--ghost {
  background: transparent;
  color: var(--ac-paper);
  border-color: rgba(244, 241, 234, 0.34);
}

.ac-btn--ghost:hover {
  background: rgba(244, 241, 234, 0.1);
  color: var(--ac-paper);
}

/* ---------- Header ---------- */

.ac-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(14, 14, 16, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))) {
  .ac-header {
    background: rgba(14, 14, 16, 0.82);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}

.ac-header.is-scrolled {
  background: rgba(14, 14, 16, 0.97);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.admin-bar .ac-header {
  top: 32px;
}

.ac-header__inner {
  display: flex;
  align-items: center;
  gap: 34px;
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding: 13px clamp(20px, 3vw, 44px);
}

.ac-brand {
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 0;
}

.ac-brand img {
  display: block;
  width: 192px;
  height: auto;
}

.ac-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.ac-nav a {
  position: relative;
  padding: 7px 0;
  color: var(--ac-paper);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.ac-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--ac-orange);
  transition: width 0.22s ease;
}

.ac-nav a:hover::after,
.ac-nav a[aria-current='page']::after {
  width: 100%;
}

.ac-nav a[aria-current='page'] {
  color: var(--ac-white);
}

.ac-header__side {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ac-phone {
  display: flex;
  flex-direction: column;
  color: var(--ac-paper);
  line-height: 1.2;
  text-decoration: none;
}

.ac-phone__label {
  margin-bottom: 3px;
  color: rgba(244, 241, 234, 0.48);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ac-phone__number {
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.ac-phone:hover .ac-phone__number {
  color: var(--ac-orange);
}

.ac-burger {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(244, 241, 234, 0.28);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.ac-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ac-paper);
  transition: transform 0.25s ease;
}

.ac-burger[aria-expanded='true'] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.ac-burger[aria-expanded='true'] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* mobile menu */

.ac-menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 108px var(--ac-gutter) 40px;
  background: var(--ac-ink);
  color: var(--ac-paper);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.ac-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ac-menu__nav {
  display: flex;
  flex-direction: column;
}

.ac-menu__nav a {
  padding: 16px 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.12);
  color: var(--ac-paper);
  font-family: var(--ac-font-display);
  font-size: clamp(26px, 7vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-decoration: none;
}

.ac-menu__nav a:hover,
.ac-menu__nav a[aria-current='page'] {
  color: var(--ac-orange);
}

.ac-menu__contacts {
  display: grid;
  gap: 10px;
  margin-top: 36px;
  margin-bottom: 28px;
  color: rgba(244, 241, 234, 0.72);
  font-size: 15px;
}

.ac-menu__contacts a {
  color: var(--ac-paper);
  font-weight: 700;
  text-decoration: none;
}

.ac-menu__contacts a:hover {
  color: var(--ac-orange);
}

.ac-menu .ac-btn {
  align-self: flex-start;
}

/* ---------- Hero ---------- */

.ac-hero {
  position: relative;
  overflow: hidden;
  background: var(--ac-ink);
  color: var(--ac-paper);
}

.ac-hero::before {
  content: '';
  position: absolute;
  top: -28%;
  right: -12%;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.26) 0%, rgba(255, 90, 31, 0) 67%);
  pointer-events: none;
}

.ac-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 78%);
  pointer-events: none;
}

.ac-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(64px, 8vw, 112px);
}

.ac-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--ac-orange);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.ac-eyebrow::before {
  content: '';
  width: 30px;
  height: 2px;
  background: currentColor;
}

.ac-hero__title {
  margin: 0 0 24px;
  color: var(--ac-paper);
  font-family: var(--ac-font-display);
  font-size: clamp(42px, 5.6vw, 84px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.01;
  text-wrap: balance;
}

.ac-accent {
  color: var(--ac-orange);
}

.ac-hero__lead {
  max-width: 540px;
  margin: 0 0 32px;
  color: rgba(244, 241, 234, 0.68);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
}

.ac-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.ac-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid rgba(244, 241, 234, 0.14);
}

.ac-stat__num {
  margin: 0 0 4px;
  color: var(--ac-paper);
  font-family: var(--ac-font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1;
}

.ac-stat__label {
  margin: 0;
  color: rgba(244, 241, 234, 0.48);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ac-hero__media {
  position: relative;
  min-height: clamp(400px, 43vw, 560px);
}

.ac-hero__media .wp-block-image {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5);
}

.ac-hero__media .wp-block-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ac-hero__img--1 {
  top: 0;
  left: 0;
  z-index: 2;
  width: 64%;
  aspect-ratio: 4 / 3;
  transform: rotate(-3deg);
}

.ac-hero__img--2 {
  top: 17%;
  right: 0;
  z-index: 3;
  width: 51%;
  aspect-ratio: 1 / 1;
  transform: rotate(2.5deg);
}

.ac-hero__img--3 {
  bottom: 0;
  left: 13%;
  z-index: 1;
  width: 46%;
  aspect-ratio: 4 / 3;
  transform: rotate(1.5deg);
}

.ac-hero__badge {
  position: absolute;
  right: 3%;
  bottom: 4%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--ac-orange);
  color: var(--ac-ink);
  font-family: var(--ac-font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: center;
  transform: rotate(-7deg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.ac-hero__badge small {
  margin-top: 4px;
  font-family: var(--ac-font-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Marquee ---------- */

.ac-marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 15px 0;
  background: var(--ac-orange);
  color: var(--ac-ink);
  transform: rotate(-1.3deg) scale(1.02);
}

.ac-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ac-scroll 30s linear infinite;
}

.ac-marquee__group {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
  font-family: var(--ac-font-display);
  font-size: clamp(15px, 1.8vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ac-marquee__dot {
  font-size: 10px;
  opacity: 0.55;
}

@keyframes ac-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Section basics ---------- */

.ac-section {
  padding-block: clamp(64px, 9vw, 120px);
}

.ac-section--tight {
  padding-block: clamp(48px, 6vw, 80px);
}

.ac-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 28px 56px;
  margin-bottom: clamp(34px, 5vw, 56px);
}

.ac-section__head h2 {
  margin: 0;
  font-family: var(--ac-font-display);
  font-size: clamp(32px, 4.2vw, 62px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.03;
  text-wrap: balance;
}

.ac-section__head .ac-eyebrow {
  margin-bottom: 16px;
}

.ac-section__head-right {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.ac-section__head-right .ac-lead {
  margin: 0;
}

.ac-lead {
  color: var(--ac-muted);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.55;
}

.ac-section__link {
  color: var(--ac-ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.ac-section__link::after {
  content: ' →';
  color: var(--ac-orange);
  transition: transform 0.2s ease;
}

.ac-section__link:hover::after {
  display: inline-block;
  transform: translateX(4px);
}

/* ---------- Services ---------- */

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

.ac-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ac-service {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 268px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  background: var(--ac-white);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ac-service:hover {
  border-color: var(--ac-ink);
  box-shadow: 0 22px 48px rgba(14, 14, 16, 0.08);
  transform: translateY(-4px);
}

.ac-service__icon {
  margin: 0 0 26px;
}

.ac-service__icon img {
  display: block;
  width: 50px;
  height: 50px;
}

.ac-service__num {
  position: absolute;
  top: 30px;
  right: 30px;
  margin: 0;
  color: #b8b0a2;
  font-family: var(--ac-font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.ac-service h3 {
  margin: 0 0 9px;
  font-family: var(--ac-font-display);
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.ac-service h3 a {
  text-decoration: none;
}

.ac-service h3 a:hover {
  color: var(--ac-orange-deep);
}

.ac-service > p {
  margin: 0;
  color: var(--ac-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.ac-service__more {
  margin-top: auto !important;
  padding-top: 20px;
}

.ac-service__more a {
  color: var(--ac-ink);
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
}

.ac-service__more a::after {
  content: ' →';
  color: var(--ac-orange);
}

.ac-service--accent {
  background: var(--ac-orange);
  border-color: var(--ac-orange);
  color: var(--ac-ink);
}

.ac-service--accent:hover {
  border-color: var(--ac-ink);
}

.ac-service--accent .ac-service__icon img {
  filter: brightness(0);
}

.ac-service--accent > p {
  color: rgba(14, 14, 16, 0.72);
}

.ac-service--accent .ac-service__num {
  color: rgba(14, 14, 16, 0.4);
}

.ac-service--accent .ac-service__more a {
  color: var(--ac-ink);
}

/* ---------- About ---------- */

.ac-about {
  position: relative;
  overflow: hidden;
  background: var(--ac-ink);
  color: var(--ac-paper);
}

.ac-about::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.14), transparent 68%);
  pointer-events: none;
}

.ac-about__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(40px, 6vw, 84px);
}

.ac-about h2 {
  margin: 0 0 24px;
  color: var(--ac-paper);
  font-family: var(--ac-font-display);
  font-size: clamp(32px, 4.2vw, 60px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.03;
  text-wrap: balance;
}

.ac-about p {
  max-width: 620px;
  color: rgba(244, 241, 234, 0.66);
  font-size: 16px;
  line-height: 1.65;
}

.ac-about a.ac-section__link {
  display: inline-block;
  margin-top: 14px;
  color: var(--ac-paper);
}

.ac-about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(244, 241, 234, 0.14);
  border-radius: 20px;
  background: rgba(244, 241, 234, 0.14);
}

.ac-about__stat:last-child {
  grid-column: span 2;
}

.ac-about__stat {
  padding: 28px 26px;
  background: var(--ac-ink);
}

.ac-about__stat .ac-stat__num {
  color: var(--ac-orange);
  font-size: clamp(34px, 4vw, 52px);
}

.ac-about__stat .ac-stat__label {
  color: rgba(244, 241, 234, 0.5);
}

/* ---------- Portfolio ---------- */

.ac-portfolio {
  background: #efeae0;
}

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

.ac-project {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  background: var(--ac-white);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ac-project:hover {
  border-color: var(--ac-ink);
  box-shadow: 0 24px 52px rgba(14, 14, 16, 0.1);
  transform: translateY(-4px);
}

.ac-project .wp-block-post-featured-image {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ac-sand);
}

.ac-project .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.ac-project:hover .wp-block-post-featured-image img {
  transform: scale(1.045);
}

.ac-project__body {
  flex: 1;
  padding: 18px 20px 22px;
}

.ac-project__terms {
  min-height: 29px;
  margin: 0 0 8px;
  color: var(--ac-orange-deep);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ac-project__terms a {
  text-decoration: none;
}

.ac-project__title {
  margin: 0;
  font-family: var(--ac-font-display);
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.ac-project__title a {
  text-decoration: none;
}

.ac-project__title a:hover {
  color: var(--ac-orange-deep);
}

/* ---------- Clients ---------- */

.ac-clients {
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 88px);
  background: var(--ac-white);
  border-block: 1px solid var(--ac-line);
}

.ac-clients__head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: end;
  gap: 24px 56px;
  margin-bottom: 40px;
}

.ac-clients__head h2 {
  margin: 0;
  font-family: var(--ac-font-display);
  font-size: clamp(30px, 3.8vw, 54px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.03;
}

.ac-clients__head h2 em {
  color: var(--ac-orange);
  font-style: normal;
}

.ac-clients__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.ac-clients__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: ac-scroll 42s linear infinite;
}

.ac-clients__track img {
  display: block;
  width: auto;
  height: 58px;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.ac-clients__track img:hover {
  filter: grayscale(0);
  opacity: 1;
}

.ac-clients__note {
  max-width: var(--ac-container);
  margin: 30px auto 0;
  padding-inline: var(--ac-gutter);
  color: var(--ac-muted);
  font-size: 13.5px;
}

/* ---------- CTA ---------- */

.ac-cta {
  position: relative;
  overflow: hidden;
  background: var(--ac-orange);
  color: var(--ac-ink);
}

.ac-cta::before {
  content: '';
  position: absolute;
  top: -70%;
  right: -8%;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(14, 14, 16, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.ac-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}

.ac-cta .ac-eyebrow {
  color: rgba(14, 14, 16, 0.62);
}

.ac-cta h2 {
  max-width: 900px;
  margin: 0 0 18px;
  color: var(--ac-ink);
  font-family: var(--ac-font-display);
  font-size: clamp(34px, 5vw, 76px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.02;
  text-wrap: balance;
}

.ac-cta .ac-lead {
  max-width: 620px;
  margin: 0 0 30px;
  color: rgba(14, 14, 16, 0.7);
}

.ac-cta .wp-block-buttons {
  justify-content: center;
}

.ac-cta .wp-block-button__link {
  background: var(--ac-ink);
  color: var(--ac-paper);
}

.ac-cta .wp-block-button__link:hover {
  background: var(--ac-ink-soft);
  color: var(--ac-paper);
}

.ac-cta .wp-block-button.is-style-ac-outline .wp-block-button__link {
  background: transparent;
  color: var(--ac-ink);
  border-color: var(--ac-ink);
}

.ac-cta .wp-block-button.is-style-ac-outline .wp-block-button__link:hover {
  background: rgba(14, 14, 16, 0.07);
}

/* ---------- Page hero ---------- */

.ac-pagehero {
  position: relative;
  overflow: hidden;
  background: var(--ac-ink);
  color: var(--ac-paper);
}

.ac-pagehero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -6%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.22), transparent 66%);
  pointer-events: none;
}

.ac-pagehero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 82%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 82%);
  pointer-events: none;
}

.ac-pagehero__inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(52px, 6vw, 84px);
}

.ac-pagehero h1 {
  max-width: 1000px;
  margin: 0;
  color: var(--ac-paper);
  font-family: var(--ac-font-display);
  font-size: clamp(38px, 5.6vw, 78px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.ac-pagehero__lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(244, 241, 234, 0.62);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
}

.ac-pagehero__lead p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.ac-pagehero__lead .wp-block-post-excerpt__excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ac-search {
  max-width: 520px;
  margin-top: 28px;
}

.ac-search .wp-block-search__inside-wrapper {
  display: flex;
  gap: 8px;
}

.ac-search .wp-block-search__input {
  flex: 1;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(244, 241, 234, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ac-paper);
  font-family: var(--ac-font-body);
  font-size: 15px;
}

.ac-search .wp-block-search__input::placeholder {
  color: rgba(244, 241, 234, 0.4);
}

.ac-search .wp-block-search__button {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ac-orange);
  color: var(--ac-ink);
  font-family: var(--ac-font-body);
  font-weight: 800;
  cursor: pointer;
}

/* ---------- Services page ---------- */

.ac-intro {
  padding-top: clamp(52px, 7vw, 88px);
  padding-bottom: clamp(24px, 4vw, 40px);
}

.ac-intro__text {
  max-width: 960px;
  margin: 0;
  font-family: var(--ac-font-display);
  font-size: clamp(19px, 2.1vw, 30px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.32;
  text-wrap: balance;
}

.ac-service-block {
  padding-block: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--ac-line);
}

.ac-service-block:first-of-type {
  border-top: 0;
}

.ac-service-block__grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.ac-service-block__side {
  position: sticky;
  top: 110px;
}

.ac-service-block__num {
  margin: 0 0 26px;
  color: transparent;
  font-family: var(--ac-font-display);
  font-size: clamp(52px, 6vw, 84px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.9;
  -webkit-text-stroke: 1.2px #bcb4a5;
}

.ac-service-block__icon img {
  display: block;
  width: 54px;
  height: 54px;
}

.ac-service-block h2 {
  margin: 0 0 14px;
  font-family: var(--ac-font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.ac-service-block .ac-lead {
  margin: 0 0 18px;
  color: var(--ac-ink);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
}

.ac-service-block p {
  max-width: 760px;
  color: var(--ac-muted);
}

.ac-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 26px;
  max-width: 760px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ac-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ac-ink);
  font-size: 15px;
  line-height: 1.45;
}

.ac-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ac-orange);
  font-weight: 800;
}

.ac-service-block__cta {
  margin-top: 26px;
}

.ac-service-block__cta a {
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.ac-service-block__cta a::after {
  content: ' →';
  color: var(--ac-orange);
}

/* ---------- About page ---------- */

.ac-history {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.ac-history h2 {
  margin: 0 0 24px;
}

.ac-history__text p {
  color: var(--ac-muted);
  font-size: 16px;
  line-height: 1.65;
}

.ac-history blockquote,
.ac-award {
  position: relative;
  margin: 0;
  padding: 34px;
  border-radius: 22px;
  background: var(--ac-ink);
  color: var(--ac-paper);
}

.ac-award__label {
  margin: 0 0 14px;
  color: var(--ac-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ac-award__title {
  margin: 0 0 12px;
  color: var(--ac-paper);
  font-family: var(--ac-font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.ac-award p:not(.ac-award__label):not(.ac-award__title) {
  margin: 0;
  color: rgba(244, 241, 234, 0.62);
  font-size: 14.5px;
}

.ac-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ac-step {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--ac-line);
  border-radius: 20px;
  background: var(--ac-white);
}

.ac-step__num {
  margin: 0 0 auto;
  color: var(--ac-orange);
  font-family: var(--ac-font-display);
  font-size: 13px;
  font-weight: 600;
}

.ac-step h3 {
  margin: 30px 0 8px;
  font-family: var(--ac-font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ac-step p {
  margin: 0;
  color: var(--ac-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

/* ---------- Contacts ---------- */

.ac-contacts__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.ac-contact-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  background: var(--ac-white);
}

.ac-contact-card h2 {
  margin: 0 0 20px;
  font-family: var(--ac-font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.ac-contact-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.ac-contact-list p {
  margin: 0;
}

.ac-contact-list a {
  display: block;
}

.ac-contact-list__label {
  display: block;
  margin-bottom: 3px;
  color: var(--ac-muted);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ac-contact-list a,
.ac-contact-list__value {
  color: var(--ac-ink);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.ac-contact-list a:hover {
  color: var(--ac-orange-deep);
}

.ac-contact-list__small {
  display: block;
  margin-top: 2px;
  color: var(--ac-muted);
  font-size: 13.5px;
  font-weight: 500;
}

.ac-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.ac-tag-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 1px solid var(--ac-line);
  border-radius: 999px;
  color: var(--ac-ink);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

.ac-tag-link:hover {
  border-color: var(--ac-ink);
}

.ac-form {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  background: var(--ac-white);
}

.ac-form h2 {
  margin: 0 0 8px;
  font-family: var(--ac-font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.ac-form__note {
  margin: 0 0 24px;
  color: var(--ac-muted);
  font-size: 14px;
}

.ac-form__legal {
  margin: 16px 0 0;
  color: var(--ac-muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.ac-form__legal a {
  color: var(--ac-ink);
}

/* WPForms */

.ac-form .wpforms-container {
  margin: 0;
}

.ac-form .wpforms-field {
  padding: 0 0 16px;
}

.ac-form .wpforms-field-label {
  display: block;
  margin-bottom: 7px;
  color: var(--ac-muted);
  font-family: var(--ac-font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ac-form .wpforms-required-label {
  color: var(--ac-orange-deep);
}

.ac-form .wpforms-field input[type='text'],
.ac-form .wpforms-field input[type='tel'],
.ac-form .wpforms-field input[type='email'],
.ac-form .wpforms-field input[type='number'],
.ac-form .wpforms-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid var(--ac-line);
  border-radius: 12px;
  background: #f8f5ef;
  color: var(--ac-ink);
  font-family: var(--ac-font-body);
  font-size: 16px;
  line-height: 1.3;
}

.ac-form .wpforms-field input:focus,
.ac-form .wpforms-field textarea:focus {
  border-color: var(--ac-ink);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.18);
}

.ac-form .wpforms-field input::placeholder,
.ac-form .wpforms-field textarea::placeholder {
  color: #9d978c;
}

.ac-form .wpforms-submit-container {
  padding: 6px 0 0;
}

.ac-form .wpforms-submit {
  width: 100%;
  padding: 16px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--ac-orange);
  color: var(--ac-ink);
  font-family: var(--ac-font-body);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ac-form .wpforms-submit:hover {
  background: #ff7645;
  transform: translateY(-1px);
}

.ac-form .wpforms-field-checkbox ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ac-form .wpforms-field-checkbox li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ac-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.ac-form .wpforms-field-checkbox input[type='checkbox'] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--ac-orange);
}

.ac-form .wpforms-field-checkbox label {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

/* ---------- Map ---------- */

.ac-map {
  margin-top: clamp(28px, 4vw, 48px);
}

.ac-map iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 38vw, 460px);
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  filter: grayscale(0.15);
}

/* ---------- Privacy / rich text ---------- */

.ac-privacy {
  max-width: 880px;
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(64px, 8vw, 100px);
}

.ac-privacy h2 {
  margin: 40px 0 14px;
  font-family: var(--ac-font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.ac-privacy h2:first-child {
  margin-top: 0;
}

.ac-privacy p,
.ac-privacy li {
  color: var(--ac-muted);
  font-size: 15px;
  line-height: 1.7;
}

.ac-privacy ul {
  padding-left: 20px;
}

/* ---------- Single project ---------- */

.ac-project-hero {
  background: var(--ac-ink);
  color: var(--ac-paper);
}

.ac-project-hero__inner {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.ac-backlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  color: rgba(244, 241, 234, 0.58);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.ac-backlink:hover {
  color: var(--ac-orange);
}

.ac-project-hero__terms {
  margin: 0 0 12px;
  color: var(--ac-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ac-project-hero__terms a {
  color: inherit;
  text-decoration: none;
}

.ac-project-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--ac-paper);
  font-family: var(--ac-font-display);
  font-size: clamp(36px, 5vw, 70px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.ac-project-single__image {
  margin: 0;
  background: var(--ac-ink);
}

.ac-project-single__image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 76vh;
  object-fit: contain;
  margin-inline: auto;
}

.ac-project-single__body {
  max-width: 820px;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.ac-project-single__body p {
  color: var(--ac-muted);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.7;
}

.ac-project-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.ac-project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.ac-project-gallery a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--ac-line);
  border-radius: 14px;
  background: var(--ac-sand);
}

.ac-project-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.ac-project-gallery a:hover img {
  transform: scale(1.04);
}

.ac-project-single__body .wp-block-buttons {
  margin-top: 32px;
}

/* ---------- Pagination ---------- */

.wp-block-query-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}

.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--ac-line);
  border-radius: 999px;
  background: var(--ac-white);
  color: var(--ac-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.wp-block-query-pagination a:hover,
.wp-block-query-pagination .current {
  border-color: var(--ac-ink);
  background: var(--ac-ink);
  color: var(--ac-paper);
}

/* ---------- Filters ---------- */

.ac-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 34px;
}

.ac-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--ac-line);
  border-radius: 999px;
  background: var(--ac-white);
  color: var(--ac-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ac-filter:hover {
  border-color: var(--ac-ink);
}

.ac-filter.is-active {
  border-color: var(--ac-ink);
  background: var(--ac-ink);
  color: var(--ac-paper);
}

.ac-filter__count {
  color: inherit;
  font-size: 10.5px;
  opacity: 0.55;
}

/* ---------- Footer ---------- */

.ac-footer {
  background: var(--ac-ink);
  color: var(--ac-paper);
}

.ac-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.ac-footer__brand img {
  display: block;
  width: 190px;
  height: auto;
  margin-bottom: 20px;
}

.ac-footer__brand p {
  max-width: 300px;
  color: rgba(244, 241, 234, 0.52);
  font-size: 13.5px;
  line-height: 1.6;
}

.ac-footer h3 {
  margin: 0 0 18px;
  color: rgba(244, 241, 234, 0.42);
  font-family: var(--ac-font-body);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ac-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ac-footer li {
  margin: 0;
}

.ac-footer__grid a {
  color: rgba(244, 241, 234, 0.78);
  font-size: 14px;
  text-decoration: none;
}

.ac-footer__grid a:hover {
  color: var(--ac-orange);
}

.ac-footer__contacts {
  display: grid;
  gap: 8px;
  margin: 0;
}

.ac-footer__contacts .ac-footer__tel {
  color: var(--ac-paper);
  font-size: 16px;
  font-weight: 800;
}

.ac-footer__contacts .ac-footer__mail {
  color: var(--ac-orange);
  font-size: 14px;
  font-weight: 700;
}

.ac-footer__contacts .ac-footer__address {
  max-width: 250px;
  color: rgba(244, 241, 234, 0.52);
  font-size: 13px;
  line-height: 1.5;
}

.ac-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(244, 241, 234, 0.12);
  color: rgba(244, 241, 234, 0.55);
  font-size: 12px;
}

.ac-footer__bottom a {
  color: rgba(244, 241, 234, 0.55);
  text-decoration: none;
}

.ac-footer__bottom a:hover {
  color: var(--ac-orange);
}

.ac-mobilebar {
  display: none;
}

/* ---------- 404 / search ---------- */

.ac-404 {
  display: grid;
  justify-items: center;
  padding-block: clamp(80px, 12vw, 160px);
  text-align: center;
}

.ac-404__num {
  margin: 0;
  color: var(--ac-orange);
  font-family: var(--ac-font-display);
  font-size: clamp(80px, 18vw, 200px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.ac-404 h1 {
  margin: 10px 0 14px;
  font-family: var(--ac-font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.ac-404 p {
  max-width: 520px;
  color: var(--ac-muted);
}

.ac-404 .wp-block-buttons {
  margin-top: 10px;
}

/* ---------- WordPress basics ---------- */

.wp-block-image {
  margin: 0;
}

.wp-block-post-title,
.wp-block-heading {
  overflow-wrap: anywhere;
}

.entry-content > * {
  margin-block-start: 0;
}

.alignwide {
  max-width: var(--ac-container);
}

.alignfull {
  max-width: none;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Facts / logo grid / blog ---------- */

.ac-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ac-fact {
  padding: 26px;
  border: 1px solid var(--ac-line);
  border-radius: 20px;
  background: var(--ac-white);
}

.ac-fact .ac-stat__num {
  color: var(--ac-orange);
  font-size: clamp(32px, 3.6vw, 46px);
}

.ac-fact .ac-stat__label {
  color: var(--ac-muted);
}

.ac-band {
  background: var(--ac-white);
  border-block: 1px solid var(--ac-line);
}

.ac-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.ac-logo-grid > div {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--ac-line);
  border-radius: 16px;
  background: var(--ac-white);
}

.ac-logo-grid img {
  display: block;
  width: 100%;
  max-width: 140px;
  height: 64px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.ac-logo-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
}

.ac-single__body {
  max-width: 820px;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.ac-single__body p {
  color: var(--ac-muted);
  font-size: 16px;
  line-height: 1.7;
}

.ac-single__body h2 {
  margin: 36px 0 14px;
}

.ac-single__body h3 {
  margin: 28px 0 10px;
}

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

.ac-post-card {
  overflow: hidden;
  border: 1px solid var(--ac-line);
  border-radius: var(--ac-radius);
  background: var(--ac-white);
}

.ac-post-card .wp-block-post-featured-image {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ac-sand);
}

.ac-post-card .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ac-post-card__body {
  padding: 22px;
}

.ac-post-card__date {
  margin: 0 0 8px;
  color: var(--ac-orange-deep);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ac-post-card__title {
  margin: 0 0 10px;
  font-family: var(--ac-font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.ac-post-card__title a {
  text-decoration: none;
}

.ac-post-card__title a:hover {
  color: var(--ac-orange-deep);
}

.ac-post-card__excerpt {
  margin: 0;
  color: var(--ac-muted);
  font-size: 14px;
  line-height: 1.55;
}

.ac-post-card__excerpt p {
  margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .ac-nav {
    display: none;
  }

  .ac-burger {
    display: flex;
  }

  .ac-header__side {
    margin-left: auto;
  }

  .ac-phone {
    display: none;
  }
}

@media (max-width: 980px) {
  .ac-hero__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .ac-hero__media {
    width: 100%;
    max-width: 620px;
    min-height: 420px;
    margin-top: 6px;
  }

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

  .ac-about__grid,
  .ac-clients__head,
  .ac-contacts__grid,
  .ac-history {
    grid-template-columns: 1fr;
  }

  .ac-about__stats {
    max-width: 560px;
  }

  .ac-section__head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .ac-section__head-right {
    max-width: 620px;
  }

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

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

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

  .ac-logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .ac-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ac-footer__brand {
    grid-column: 1 / -1;
  }

  .ac-service-block__grid {
    grid-template-columns: 1fr;
  }

  .ac-service-block__side {
    position: static;
    display: flex;
    align-items: center;
    gap: 22px;
  }

  .ac-service-block__num {
    margin: 0;
  }

  .ac-service-block__icon {
    margin: 0;
  }
}

@media (max-width: 782px) {
  .admin-bar .ac-header {
    top: 46px;
  }
}

@media (max-width: 720px) {
  .ac-header__inner {
    gap: 16px;
    padding-block: 10px;
  }

  .ac-brand img {
    width: 156px;
  }

  .ac-header__side {
    display: none;
  }

  .ac-burger {
    margin-left: auto;
  }

  .ac-hero__title {
    font-size: clamp(38px, 10.5vw, 56px);
  }

  .ac-hero__lead {
    font-size: 16px;
  }

  .ac-hero__actions {
    margin-bottom: 34px;
  }

  .ac-hero__actions .wp-block-button,
  .ac-hero__actions .wp-block-button__link {
    width: 100%;
  }

  .ac-hero__actions .wp-block-button__link {
    width: 100%;
  }

  .ac-hero__stats {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .ac-hero__media {
    min-height: 340px;
  }

  .ac-hero__badge {
    width: 94px;
    height: 94px;
    font-size: 15px;
  }

  .ac-marquee {
    padding: 12px 0;
  }

  .ac-marquee__group {
    gap: 20px;
    padding-right: 20px;
  }

  .ac-services__grid {
    grid-template-columns: 1fr;
  }

  .ac-service {
    min-height: 0;
    padding: 26px;
  }

  .ac-service__num {
    top: 26px;
    right: 26px;
  }

  .ac-service__more {
    padding-top: 18px;
  }

  .ac-projects__grid {
    grid-template-columns: 1fr;
  }

  .ac-clients__track {
    gap: 36px;
  }

  .ac-clients__track img {
    height: 44px;
  }

  .ac-clients__marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ac-clients__track {
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    animation: none;
  }

  .ac-clients__track img:nth-child(n + 13) {
    display: none;
  }

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

  .ac-posts__grid {
    grid-template-columns: 1fr;
  }

  .ac-project-gallery {
    grid-template-columns: 1fr;
  }

  .ac-list {
    grid-template-columns: 1fr;
  }

  .ac-process {
    grid-template-columns: 1fr;
  }

  .ac-step {
    min-height: 0;
  }

  .ac-step h3 {
    margin-top: 22px;
  }

  .ac-footer__grid {
    grid-template-columns: 1fr;
  }

  .ac-footer__brand {
    grid-column: auto;
  }

  .ac-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 96px;
  }

  .ac-mobilebar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 150;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(244, 241, 234, 0.14);
    background: rgba(14, 14, 16, 0.97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .ac-mobilebar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid rgba(244, 241, 234, 0.26);
    border-radius: 999px;
    color: var(--ac-paper);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
  }

  .ac-mobilebar a:last-child {
    border-color: var(--ac-orange);
    background: var(--ac-orange);
    color: var(--ac-ink);
  }

  .ac-cta .wp-block-buttons,
  .ac-cta .wp-block-button,
  .ac-cta .wp-block-button__link {
    width: 100%;
  }

  .ac-cta .wp-block-button__link {
    width: 100%;
  }

  .ac-pagehero h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .ac-contact-card,
  .ac-form {
    padding: 22px;
  }

}

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

  /* Keep the decorative tickers moving even when reduced motion is enabled. */
  .ac-marquee__track {
    animation: ac-scroll 30s linear infinite !important;
  }

  .ac-clients__track {
    animation: ac-scroll 42s linear infinite !important;
  }
}
