@font-face {
  font-family: 'IBM Plex Sans Condensed';
  src: url('/assets/fonts/IBM-Plex-Sans-Condensed-600.woff2') format('woff2');
  font-display: swap;
  font-weight: 600;
}

@font-face {
  font-family: 'IBM Plex Sans Condensed';
  src: url('/assets/fonts/IBM-Plex-Sans-Condensed-700.woff2') format('woff2');
  font-display: swap;
  font-weight: 700;
}

:root {
  --bg: #f1efe9;
  --bg-soft: #dedbd4;
  --surface: #f8f7f3;
  --surface-strong: #111416;
  --surface-ink: #111416;
  --surface-muted: #747a7d;
  --text: #151819;
  --text-soft: #60676b;
  --line: rgba(21, 24, 25, 0.18);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #f05a1a;
  --accent-strong: #d94b0d;
  --accent-soft: rgba(240, 90, 26, 0.12);
  --shadow: none;
  --shadow-strong: 0 28px 70px rgba(0, 0, 0, 0.28);
  --radius-xl: 12px;
  --radius-lg: 8px;
  --radius-md: 6px;
  --radius-sm: 4px;
  --header-height: 80px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
}

main {
  overflow: clip;
}

.section-block {
  padding: clamp(72px, 7vw, 112px) 0;
}

.section-block-soft {
  background: #e5e2dc;
}

.section-block-dark {
  background: #111416;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.section-block-dark .eyebrow,
.hero .eyebrow {
  color: #ff8a55;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 42px;
}

.section-heading h2,
.price-focus h2,
.contact-aside h2,
.editorial-heading h2,
.editorial-scope h2 {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: clamp(2.7rem, 5.2vw, 5.5rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.content-card h2,
.feature-card h2,
.method-card h2,
.legal-card h2,
.hero-sidecard h2 {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.editorial-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(36px, 7vw, 120px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 84px);
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.editorial-heading h2,
.editorial-heading p {
  margin: 0;
}

.editorial-heading p {
  max-width: 54ch;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
}

.section-block-dark .editorial-heading {
  border-color: var(--line-strong);
}

.section-block-dark .editorial-heading p {
  color: rgba(255, 255, 255, 0.68);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  background: rgba(9, 12, 14, 0.38);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  transition: background 0.28s ease, border-color 0.28s ease, min-height 0.28s ease;
}

@supports ((-webkit-backdrop-filter: blur(14px)) or (backdrop-filter: blur(14px))) {
  .site-header,
  .site-header.is-scrolled {
    -webkit-backdrop-filter: blur(16px) saturate(125%);
    backdrop-filter: blur(16px) saturate(125%);
  }
}

.site-header.is-scrolled {
  background: rgba(9, 12, 14, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.header-row {
  min-height: var(--header-height);
}

.brand__logo {
  height: 18px;
}

.main-nav {
  padding: 0;
  gap: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.main-nav__link,
.nav-services__trigger {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.main-nav__link:hover,
.main-nav__link.is-active,
.nav-services__trigger:hover,
.nav-services.is-open .nav-services__trigger,
.nav-services.is-current .nav-services__trigger {
  background: transparent;
  border-bottom-color: var(--accent);
}

.nav-services__trigger {
  box-shadow: none;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}

.nav-services__trigger-icon {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  border-radius: 2px;
  box-shadow: none;
}

.nav-services__trigger-count {
  min-width: 22px;
  height: 22px;
  border-radius: 2px;
}

.nav-services__panel {
  top: calc(100% + 15px);
  width: min(920px, calc(100vw - 40px));
  padding: 18px;
  border-radius: 8px;
  background: rgba(12, 16, 18, 0.98);
}

.nav-services__panel .nav-drawer__service {
  min-height: 76px;
  padding: 12px 14px;
  border-radius: 3px;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
}

.nav-drawer__service-badge,
.nav-drawer__service-arrow {
  border-radius: 3px;
}

.header-contact,
.header-pill {
  border-radius: 3px;
  box-shadow: none;
}

.header-pill {
  background: #187fbf;
}

.header-pill-max,
.header-contact {
  background: rgba(255, 255, 255, 0.08);
}

.mobile-toggle {
  border-radius: 3px;
}

/* Home hero */
.editorial-hero {
  min-height: 100svh;
  padding: calc(var(--header-height) + 64px) 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #111416;
}

.editorial-hero::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 11, 13, 0.95) 0%, rgba(8, 11, 13, 0.78) 43%, rgba(8, 11, 13, 0.22) 72%, rgba(8, 11, 13, 0.3) 100%),
    linear-gradient(0deg, rgba(8, 11, 13, 0.9), transparent 38%);
}

.editorial-hero__media {
  position: absolute;
  inset: 0;
}

.editorial-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.72) contrast(1.08) brightness(0.84);
  animation: editorial-hero-scale 1.2s cubic-bezier(.2,.7,.2,1) both;
}

.editorial-hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(260px, 4fr);
  gap: 48px;
  align-items: end;
  flex: 1;
  padding-bottom: clamp(48px, 7vh, 88px);
}

.editorial-hero__copy {
  max-width: 880px;
}

.editorial-hero__copy h1 {
  max-width: 12ch;
  margin: 0 0 24px;
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: clamp(4.2rem, 7.2vw, 7.4rem);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.052em;
}

.editorial-hero .hero-lead {
  max-width: 62ch;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
}

.editorial-hero__caption {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
}

.editorial-hero__caption span,
.editorial-hero__caption strong {
  display: block;
}

.editorial-hero__caption span {
  margin-bottom: 10px;
  color: #ff8a55;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.editorial-hero__caption strong {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 1.5rem;
  line-height: 1.05;
}

.trust-rail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.trust-rail__item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  min-height: 112px;
  padding: 22px 22px 22px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.trust-rail__item + .trust-rail__item {
  padding-left: 22px;
}

.trust-rail__item:last-child {
  border-right: 0;
}

.trust-rail__item > span {
  color: #ff8a55;
  font-size: 0.75rem;
}

.trust-rail__item strong {
  display: block;
  margin-bottom: 6px;
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 1.35rem;
  line-height: 1;
}

.trust-rail__item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  line-height: 1.35;
}

/* Editorial service catalogue */
.editorial-services {
  background: #f1efe9;
}

.editorial-service-list {
  border-top: 1px solid var(--line);
}

.editorial-service-row {
  display: grid;
  grid-template-columns: 54px 150px minmax(0, 1fr) minmax(145px, auto) 38px;
  gap: 28px;
  align-items: center;
  min-height: 176px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.24s ease, color 0.24s ease;
}

.editorial-service-row:hover {
  background: #151819;
  color: #fff;
}

.editorial-service-row__index {
  padding-left: 12px;
  color: var(--accent-strong);
  font-size: 0.78rem;
}

.editorial-service-row__media {
  height: 124px;
  overflow: hidden;
}

.editorial-service-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06);
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1), filter 0.3s ease;
}

.editorial-service-row:hover .editorial-service-row__media img {
  transform: scale(1.055);
  filter: saturate(0.9) contrast(1.08);
}

.editorial-service-row__copy h3 {
  margin: 0 0 9px;
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: clamp(1.75rem, 2.8vw, 3rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.editorial-service-row__copy p {
  max-width: 64ch;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.editorial-service-row:hover .editorial-service-row__copy p {
  color: rgba(255, 255, 255, 0.65);
}

.editorial-service-row__price {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 1.28rem;
  white-space: nowrap;
}

.editorial-service-row__arrow svg,
.service-index__links svg,
.text-link svg {
  width: 22px;
  height: 22px;
}

.service-index {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  margin-top: 48px;
}

.service-index__label {
  color: var(--text-soft);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.service-index__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.service-index__links a:hover {
  color: var(--accent-strong);
}

/* Scope and resources */
.editorial-scope {
  position: relative;
  background: #d9d6cf url('/assets/icons/technical-mark.svg') right 6vw top 56px / 180px no-repeat;
}

.editorial-scope__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 8vw, 140px);
}

.editorial-scope__intro {
  position: sticky;
  top: 128px;
  align-self: start;
}

.editorial-scope__intro h2 {
  margin: 0 0 24px;
}

.editorial-scope__intro p {
  max-width: 54ch;
  color: var(--text-soft);
}

.scope-ledger {
  border-top: 1px solid var(--line);
}

.scope-ledger__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.scope-ledger__item > span,
.resource-card__index {
  color: var(--accent-strong);
  font-size: 0.75rem;
}

.scope-ledger__item h3 {
  margin: 0 0 10px;
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 1.75rem;
  line-height: 1;
}

.scope-ledger__item p {
  margin: 0;
  color: var(--text-soft);
}

.editorial-resources .resource-layout {
  gap: clamp(48px, 7vw, 110px);
}

.editorial-resources .resource-visual__primary,
.editorial-resources .resource-visual__secondary,
.editorial-resources .resource-visual figcaption {
  border-radius: 2px;
}

.resource-ledger {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.resource-ledger .resource-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  min-height: 0;
  padding: 26px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
}

.resource-ledger .resource-card h3 {
  margin: 0 0 8px;
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 1.55rem;
  line-height: 1;
}

.resource-ledger .resource-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.resource-note {
  border-radius: 2px;
  box-shadow: none;
}

.specialist-ledger {
  margin-top: 64px;
  border-top: 1px solid var(--line-strong);
}

.specialist-ledger .specialist-card {
  border: 0;
  border-right: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
}

.specialist-ledger .specialist-card:last-child {
  border-right: 0;
}

/* Featured case */
.editorial-case {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  min-height: 620px;
  background: #151819;
  color: #fff;
}

.editorial-case__media {
  overflow: hidden;
}

.editorial-case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.74) contrast(1.08);
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}

.editorial-case:hover .editorial-case__media img {
  transform: scale(1.025);
}

.editorial-case__body {
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 5vw, 72px);
}

.editorial-case__body h3 {
  margin: 0 0 20px;
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: clamp(2.7rem, 4.6vw, 5rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.04em;
}

.editorial-case__body > p {
  color: rgba(255, 255, 255, 0.68);
}

.editorial-case dl {
  margin: auto 0 28px;
  border-top: 1px solid var(--line-strong);
}

.editorial-case dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-strong);
}

.editorial-case dt {
  color: rgba(255, 255, 255, 0.46);
}

.editorial-case dd {
  margin: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ff8a55;
  font-weight: 700;
}

/* Geography, process and price */
.service-area .section-heading {
  max-width: 1050px;
}

.service-area__highlights,
.geography-grid,
.service-area__guidance {
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-area__highlight,
.geography-card,
.service-area__guidance-card {
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.geography-card:last-child,
.service-area__highlight:last-child,
.service-area__guidance-card:last-child {
  border-right: 0;
}

.geography-card .card-icon,
.service-area__highlight .card-icon,
.service-area__guidance-card .card-icon {
  width: 36px;
  height: 36px;
  border-radius: 2px;
}

.chip-cloud span,
.portfolio-zones span,
.portfolio-preview-card__meta span,
.portfolio-case__stats span {
  min-height: auto;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.chip-cloud span::after {
  content: ' /';
  color: var(--accent-strong);
}

.editorial-timeline {
  display: block;
  border-top: 1px solid var(--line);
}

.editorial-timeline .timeline-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 24px;
  padding: 30px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.editorial-timeline .timeline-card__index {
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 2rem;
}

.editorial-timeline .timeline-card h3 {
  margin: 0 0 8px;
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 2rem;
}

.editorial-timeline .timeline-card p {
  max-width: 68ch;
}

.editorial-pricing .price-preview,
#price-list.price-preview {
  gap: 0;
  border-top: 1px solid var(--line);
}

.editorial-pricing .price-row,
#price-list .price-row {
  min-height: 100px;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.price-row:hover {
  padding-inline: 18px;
  background: #151819;
  color: #fff;
  transform: none;
  box-shadow: none;
}

.price-row:hover p {
  color: rgba(255, 255, 255, 0.62);
}

.price-row strong {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  text-transform: none;
}

/* Inner pages */
.hero-inner {
  padding: calc(var(--header-height) + 46px) 0 64px;
  background: #14181b;
}

.hero-inner::before {
  background: url('/assets/icons/technical-mark.svg') right 7vw top 120px / 190px no-repeat;
}

.hero-inner .hero-grid {
  min-height: min(700px, calc(100svh - var(--header-height) - 40px));
  grid-template-columns: minmax(0, 6.5fr) minmax(420px, 5.5fr);
  gap: clamp(40px, 7vw, 100px);
}

.hero-sidecard {
  padding: clamp(24px, 3vw, 38px);
  border-radius: 6px;
  background: #202529;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.hero-sidecard h2 {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: clamp(1.8rem, 2.7vw, 2.7rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.hero-side-hours,
.hero-side-contacts a,
.hero-side-contacts .contact-stack__icon {
  border-radius: 3px;
}

.hero-copy h1,
.hero-simple h1 {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: clamp(4rem, 7vw, 7.2rem);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.hero-inner .hero-copy h1,
.hero-simple h1 {
  font-size: clamp(3.6rem, 6.2vw, 6.4rem);
  max-width: 10.8ch;
}

.hero-figure {
  width: 100%;
  min-height: 540px;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  box-shadow: none;
}

.hero-figure figcaption {
  left: 0;
  right: auto;
  bottom: 0;
  max-width: 80%;
  padding: 14px 18px;
  border-radius: 0;
  background: #111416;
  backdrop-filter: none;
}

.price-chip {
  border-radius: 2px;
}

.feature-grid {
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-card {
  min-height: 240px;
  padding: 28px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.feature-card:last-child {
  border-right: 0;
}

.feature-card h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.content-card,
.price-focus,
.form-card,
.method-card,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(248, 247, 243, 0.72);
  box-shadow: none;
}

.contact-aside {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(240, 90, 26, 0.08), transparent 38%),
    #15191c;
  color: #fff;
  box-shadow: none;
}

.contact-aside h2,
.contact-aside strong,
.contact-aside .contact-stack a {
  color: #fff;
}

.contact-aside > p,
.contact-aside__tip p,
.contact-aside__note {
  color: rgba(255, 255, 255, 0.7);
}

.contact-aside__tip,
.contact-aside .contact-stack a {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.two-column .content-card {
  padding: clamp(28px, 4vw, 52px);
}

.section-block-dark .timeline {
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.section-block-dark .timeline-card {
  min-height: 300px;
  border: 0;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
}

.service-spotlight,
.portfolio-preview-card,
.portfolio-case {
  border-radius: 6px;
  box-shadow: none;
}

.service-spotlight__tag {
  border-radius: 2px;
}

.portfolio-preview-grid {
  gap: 28px;
}

.portfolio-preview-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f8f7f3;
}

.portfolio-preview-card__media {
  aspect-ratio: 16 / 10;
}

.portfolio-preview-card__body {
  padding: 28px;
}

.portfolio-case {
  padding: clamp(22px, 3vw, 40px);
  border-color: var(--line);
}

.portfolio-case__tile {
  border-radius: 3px;
}

.faq-item {
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
}

.faq-item summary {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 1.35rem;
}

.button {
  min-height: 54px;
  border-radius: 3px;
  box-shadow: none;
}

.button-primary {
  background: var(--accent);
  box-shadow: none;
}

input,
select,
textarea {
  border-radius: 3px;
  background: #fdfcf9;
}

.contact-aside__tip,
.contact-stack a {
  border-radius: 3px;
}

/* Footer */
.site-footer {
  background: #0c0f11;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-grid {
  padding-top: 72px;
}

.footer-nav h2 {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 1.55rem;
  text-transform: none;
}

.footer-nav a,
.footer-contact-text {
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-contact-text:hover {
  color: #ff8a55;
}

.mobile-bar {
  border-radius: 5px;
}

.mobile-bar__item {
  border-radius: 3px;
}

@keyframes editorial-hero-scale {
  from { transform: scale(1.045); opacity: 0.72; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 1100px) {
  .editorial-heading,
  .editorial-scope__layout,
  .editorial-case {
    grid-template-columns: 1fr;
  }

  .editorial-heading {
    gap: 24px;
  }

  .editorial-scope__intro {
    position: static;
  }

  .editorial-case__media {
    min-height: 520px;
  }

  .editorial-case dl {
    margin-top: 34px;
  }

  .hero-inner .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner .hero-figure {
    width: min(100%, 720px);
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .editorial-hero .hero-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 720px);
  }

  .editorial-hero .hero-actions .button {
    min-width: 0;
    padding-inline: 12px;
    font-size: 0.84rem;
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
  }

  .section-block {
    padding: 64px 0;
  }

  .section-heading h2,
  .price-focus h2,
  .contact-aside h2,
  .editorial-heading h2,
  .editorial-scope h2 {
    max-width: 100%;
    font-size: clamp(2rem, 8.3vw, 2.4rem);
    line-height: 0.96;
    letter-spacing: -0.035em;
    overflow-wrap: normal;
    word-break: normal;
    -webkit-hyphens: none;
    hyphens: none;
    text-wrap: balance;
  }

  .section-heading,
  .editorial-heading,
  .editorial-scope__intro,
  .contact-aside,
  .form-card {
    min-width: 0;
    max-width: 100%;
  }

  h1,
  h2,
  h3 {
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
    -webkit-hyphens: none;
    hyphens: none;
  }

  .site-header {
    background: rgba(9, 12, 14, 0.82);
  }

  .header-row {
    min-height: 66px;
  }

  .brand__logo {
    height: 19px;
  }

  .nav-drawer__panel {
    width: 100%;
    padding: 18px;
    gap: 18px;
    border-left: 1px solid var(--line);
  }

  .nav-drawer__primary,
  .nav-drawer__service,
  .nav-drawer__contacts .button {
    border-radius: 3px;
  }

  .nav-drawer__service-badge {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .editorial-hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 46px);
  }

  .editorial-hero::before {
    background:
      linear-gradient(0deg, rgba(8, 11, 13, 0.98) 0%, rgba(8, 11, 13, 0.78) 58%, rgba(8, 11, 13, 0.42) 100%),
      linear-gradient(90deg, rgba(8, 11, 13, 0.54), rgba(8, 11, 13, 0.12));
  }

  .editorial-hero__media {
    height: 54%;
    inset: auto 0 0;
  }

  .editorial-hero__media img {
    object-position: center;
  }

  .editorial-hero__layout {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 34px;
  }

  .editorial-hero__copy h1 {
    max-width: 11ch;
    font-size: clamp(2.95rem, 13vw, 3.75rem);
    line-height: 0.88;
  }

  .editorial-hero .hero-actions {
    display: none;
  }

  .editorial-hero__caption {
    width: 76%;
    margin-left: auto;
    background: rgba(17, 20, 22, 0.9);
    padding: 18px;
  }

  .trust-rail {
    grid-template-columns: 1fr 1fr;
  }

  .trust-rail__item,
  .trust-rail__item + .trust-rail__item {
    min-height: 104px;
    padding: 16px 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .trust-rail__item:nth-child(even) {
    border-right: 0;
  }

  .editorial-service-row {
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    gap: 14px;
    min-height: 0;
    padding: 22px 0;
  }

  .editorial-service-row__media {
    grid-column: 2 / -1;
    grid-row: 1;
    height: 180px;
    margin-bottom: 8px;
  }

  .editorial-service-row__index {
    grid-row: 2;
    padding: 0;
  }

  .editorial-service-row__copy {
    grid-column: 2;
    grid-row: 2;
  }

  .editorial-service-row__copy h3 {
    font-size: 1.85rem;
    line-height: 0.98;
  }

  .editorial-service-row__copy p {
    display: none;
  }

  .editorial-service-row__price {
    grid-column: 2;
    grid-row: 3;
    font-size: 1rem;
  }

  .editorial-service-row__arrow {
    grid-column: 3;
    grid-row: 2 / 4;
  }

  .service-index {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .scope-ledger__item {
    grid-template-columns: 36px 1fr;
  }

  .editorial-resources .resource-visual {
    min-height: 420px;
  }

  .specialist-ledger .specialist-card {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .editorial-case {
    min-height: 0;
  }

  .editorial-case__media {
    min-height: 320px;
  }

  .editorial-case__body h3 {
    font-size: 2.65rem;
    line-height: 0.92;
  }

  .geography-grid,
  .service-area__highlights,
  .service-area__guidance {
    grid-template-columns: 1fr;
  }

  .geography-card,
  .service-area__highlight,
  .service-area__guidance-card {
    border-right: 0;
  }

  .editorial-timeline .timeline-card {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .editorial-timeline .timeline-card h3 {
    font-size: 1.72rem;
    line-height: 1;
  }

  .contact-aside {
    padding: 26px 22px;
  }

  .hero-inner {
    padding-top: calc(var(--header-height) + 28px);
  }

  .hero-inner::before {
    background: none;
  }

  .hero-inner .hero-copy h1,
  .hero-simple h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 10.5vw, 3.35rem);
    line-height: 0.9;
  }

  .hero-inner .hero-figure {
    width: 100%;
    min-height: 290px;
    aspect-ratio: 4 / 3;
  }

  .hero-sidecard {
    padding: 24px 22px;
    border-radius: 4px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card:last-child {
    min-height: 0;
    padding: 26px 0;
    border-right: 0;
  }

  .section-block-dark .timeline-card {
    min-height: 0;
    border-right: 0;
  }

  .portfolio-preview-card__body,
  .portfolio-case {
    padding: 20px;
  }

  .footer-grid {
    padding-top: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-hero__media img {
    animation: none;
  }

  .editorial-service-row__media img,
  .editorial-case__media img {
    transition: none;
  }
}
