/*
 * A2TDEV Public Editorial System — Upgrade 02
 * Services + Case Studies
 *
 * This layer intentionally loads after the shared production foundation.
 * It translates the homepage's editorial / engineering language to public
 * service and case-study pages while leaving Django behavior untouched.
 */

body.a2t-public-editorial .x-content {
  overflow: clip;
  background: var(--a2t-ink) !important;
}

body.a2t-public-editorial .a2t-editorial-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--a2t-silver);
  background: var(--a2t-ink);
}

body.a2t-public-editorial .a2t-editorial-shell {
  width: min(var(--a2t-container), calc(100% - (var(--a2t-gutter) * 2)));
  margin-inline: auto;
}

.a2t-editorial-kicker {
  margin: 0 0 24px;
  color: #899492;
  font: 500 9px/1.4 var(--a2t-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.a2t-editorial-kicker.is-dark {
  color: var(--a2t-green);
}

.a2t-editorial-hero {
  position: relative;
  overflow: hidden;
  color: var(--a2t-white);
  background:
    radial-gradient(circle at 80% 0%, rgba(200, 243, 79, .05), transparent 28%),
    var(--a2t-ink);
}

.a2t-editorial-hero::after {
  content: "";
  position: absolute;
  right: -14vw;
  bottom: -44vw;
  width: 68vw;
  height: 68vw;
  border: 1px solid rgba(200, 243, 79, .08);
  border-radius: 50%;
  pointer-events: none;
}

.a2t-editorial-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(330px, .62fr);
  gap: clamp(70px, 9vw, 128px);
  align-items: end;
  min-height: 640px;
  padding: clamp(96px, 11vw, 154px) 0 clamp(76px, 8vw, 108px);
}

.a2t-editorial-hero-copy {
  max-width: 850px;
}

.a2t-editorial-hero h1,
.a2t-case-detail-intro h1 {
  margin: 0;
  color: var(--a2t-white);
  font-size: clamp(58px, 7vw, 106px);
  font-weight: 600;
  line-height: .92;
  letter-spacing: -.065em;
}

.a2t-editorial-hero h1 em,
.a2t-editorial-section-head h2 em,
.a2t-editorial-cta-section h2 em {
  color: var(--a2t-accent);
  font-style: normal;
}

.a2t-editorial-lead {
  max-width: 680px;
  margin: 34px 0 0;
  color: #a6afac;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
}

.a2t-editorial-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 36px;
}

.a2t-editorial-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 0;
  font: 500 10px/1 var(--a2t-mono);
  letter-spacing: .09em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.a2t-editorial-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(200, 243, 79, .18), 0 0 0 1px rgba(200, 243, 79, .62);
}

.a2t-editorial-button:active {
  transform: none;
}

.a2t-editorial-button,
.a2t-editorial-link {
  transform: none !important;
}

.a2t-editorial-button:hover,
.a2t-editorial-button:focus-visible,
.a2t-editorial-button:active,
.a2t-editorial-link:hover,
.a2t-editorial-link:focus-visible,
.a2t-editorial-link:active {
  transform: none !important;
}

.a2t-editorial-button .a2t-motion-arrow,
.a2t-editorial-link .a2t-motion-arrow {
  display: inline-block;
  transition: transform .2s ease;
}

.a2t-editorial-button:hover .a2t-motion-arrow.is-ne,
.a2t-editorial-link:hover .a2t-motion-arrow.is-ne { transform: translate(2px,-2px); }
.a2t-editorial-button:hover .a2t-motion-arrow.is-east,
.a2t-editorial-link:hover .a2t-motion-arrow.is-east { transform: translateX(3px); }
.a2t-editorial-button:hover .a2t-motion-arrow.is-south,
.a2t-editorial-link:hover .a2t-motion-arrow.is-south { transform: translateY(3px); }

.a2t-editorial-button.is-accent {
  color: var(--a2t-ink) !important;
  background: var(--a2t-accent);
}

.a2t-editorial-button.is-accent:hover {
  color: var(--a2t-ink) !important;
  background: var(--a2t-accent-hover);
  transform: none !important;
}

.a2t-editorial-button.is-dark {
  color: var(--a2t-white) !important;
  background: var(--a2t-ink);
  border-color: var(--a2t-ink);
}

.a2t-editorial-button.is-dark:hover {
  color: var(--a2t-ink) !important;
  background: var(--a2t-accent);
  border-color: var(--a2t-accent);
  transform: none !important;
}

.a2t-editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #c2c8c5 !important;
  font: 500 10px/1 var(--a2t-mono);
  letter-spacing: .09em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.a2t-editorial-link span,
.a2t-editorial-inline-link span {
  color: var(--a2t-accent);
}

.a2t-editorial-link:hover,
.a2t-editorial-inline-link:hover {
  color: var(--a2t-accent) !important;
}

.a2t-editorial-link.is-dark {
  color: #26302c !important;
}

.a2t-editorial-link.is-dark:hover {
  color: var(--a2t-ink) !important;
}

.a2t-editorial-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: clamp(50px, 7vw, 96px);
  align-items: end;
  margin-bottom: clamp(54px, 6vw, 82px);
}

.a2t-editorial-section-head h2,
.a2t-editorial-cta-section h2,
.a2t-industries-section h2,
.a2t-case-result-head h2 {
  margin: 0;
  color: #111619;
  font-size: clamp(42px, 5.25vw, 74px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.06em;
}

.a2t-editorial-section-head > p {
  max-width: 410px;
  margin: 0;
  color: #6f7876;
  font-size: 15px;
  line-height: 1.75;
}

.a2t-editorial-section-head.is-inverse h2 {
  color: var(--a2t-white);
}

.a2t-editorial-section-head.is-inverse > p {
  color: #929d99;
}

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

.a2t-studio-system {
  align-self: end;
  margin-bottom: 4px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(200, 243, 79, .48);
  border-bottom: 1px solid var(--a2t-line);
}

.a2t-studio-system .a2t-system-label {
  margin: 0 0 10px;
  color: #7f8b87;
  font: 500 8px/1.4 var(--a2t-mono);
  letter-spacing: .12em;
}

.a2t-system-line {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  color: #7f8986;
}

.a2t-system-line > span,
.a2t-system-line small {
  color: inherit;
  font: 500 8px/1.35 var(--a2t-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.a2t-system-line small,
.a2t-system-line strong {
  display: block;
}

.a2t-system-line strong {
  margin-top: 4px;
  color: #d9deda;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.a2t-system-line.is-active,
.a2t-system-line.is-active strong {
  color: var(--a2t-white);
}

.a2t-system-line.is-active > span,
.a2t-system-line.is-active small {
  color: var(--a2t-accent);
}

.a2t-studio-system > i {
  display: block;
  width: 1px;
  height: 13px;
  margin-left: 16px;
  background: linear-gradient(var(--a2t-accent), transparent);
}

.a2t-studio-system footer {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 15px 0;
  border-top: 1px solid var(--a2t-line);
}

.a2t-studio-system footer span {
  padding: 5px 7px;
  border: 1px solid #37413e;
  color: #788480;
  font: 500 7px/1 var(--a2t-mono);
  letter-spacing: .07em;
}

.a2t-services-catalog {
  padding: clamp(100px, 10vw, 150px) 0;
  color: var(--a2t-silver);
  background: var(--a2t-ink);
  border-top: 1px solid var(--a2t-line);
}

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

.a2t-service-row {
  display: grid;
  grid-template-columns: 48px minmax(230px, 1.2fr) minmax(280px, 1fr) 34px;
  gap: clamp(20px, 3vw, 38px);
  align-items: center;
  min-height: 100px;
  padding: 26px 0;
  border-bottom: 1px solid var(--a2t-line);
  color: #7e8985;
  outline: 0;
  transition: padding .3s ease, color .3s ease, background .3s ease;
}

.a2t-service-row > span {
  font: 500 9px/1 var(--a2t-mono);
}

.a2t-service-row h3 {
  margin: 0;
  color: #c5cbc8;
  font-size: clamp(25px, 2.6vw, 33px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.05em;
}

.a2t-service-row p {
  margin: 0;
  color: inherit;
  font-size: 13px;
  line-height: 1.6;
}

.a2t-service-row > i {
  color: var(--a2t-accent);
  font-size: 20px;
  font-style: normal;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .3s ease, transform .3s ease;
}

.a2t-service-row:hover,
.a2t-service-row:focus-visible,
.a2t-service-row.is-active {
  padding-left: 12px;
  color: #aab4b0;
  background: linear-gradient(90deg, rgba(200, 243, 79, .055), transparent 82%);
}

.a2t-service-row:hover > span,
.a2t-service-row:focus-visible > span,
.a2t-service-row.is-active > span,
.a2t-service-row:hover > i,
.a2t-service-row:focus-visible > i,
.a2t-service-row.is-active > i {
  color: var(--a2t-accent);
  opacity: 1;
  transform: none;
}

.a2t-service-row:hover h3,
.a2t-service-row:focus-visible h3,
.a2t-service-row.is-active h3 {
  color: var(--a2t-white);
}

.a2t-service-preview {
  display: grid;
  grid-template-columns: 150px minmax(220px, .75fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: start;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--a2t-line);
}

.a2t-service-preview > span {
  color: #6f7b77;
  font: 500 8px/1.4 var(--a2t-mono);
  letter-spacing: .12em;
}

.a2t-service-preview strong {
  color: var(--a2t-white);
  font-size: 17px;
  font-weight: 600;
}

.a2t-service-preview p {
  margin: 0;
  color: #7f8b86;
  font-size: 12px;
  line-height: 1.7;
}

.a2t-service-process-wrap {
  color: #111619;
  background: var(--a2t-paper);
}

/* Services process flow — final approved timeline design. */
.a2t-service-process-wrap .a2t-process-flow-section.a2t-process-flow-services {
  padding: clamp(92px, 8vw, 118px) 0 !important;
  color: #111619 !important;
  background: transparent !important;
}

.a2t-service-process-wrap .a2t-process-flow-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.a2t-service-process-wrap .a2t-process-flow-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1.48fr) minmax(300px, .52fr) !important;
  gap: clamp(54px, 7vw, 96px) !important;
  align-items: end !important;
  max-width: none !important;
  margin: 0 0 clamp(32px, 3vw, 42px) !important;
  text-align: left !important;
}

.a2t-service-process-wrap .a2t-process-flow-eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 -18px !important;
  color: var(--a2t-green) !important;
  font: 500 9px/1.4 var(--a2t-mono) !important;
  letter-spacing: .14em !important;
}

.a2t-service-process-wrap .a2t-process-flow-head h2 {
  max-width: 800px;
  margin: 0 !important;
  color: #111619 !important;
  font-size: clamp(42px, 5vw, 70px) !important;
  font-weight: 600 !important;
  line-height: .98 !important;
  letter-spacing: -.06em !important;
}

.a2t-service-process-wrap .a2t-process-flow-head p {
  max-width: 390px !important;
  margin: 0 !important;
  color: #687370 !important;
  font-size: 14px !important;
  line-height: 1.72 !important;
}

.a2t-service-process-wrap .a2t-process-flow-grid {
  --process-node-size: 46px;
  --process-lane-width: 102px;
  --process-rule: rgba(17, 22, 25, .18);
  position: relative !important;
  display: block !important;
  border: 0 !important;
}

/* The spine has its own lane. Horizontal rules never cross this lane. */
.a2t-service-process-wrap .a2t-process-flow-grid::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: calc(var(--process-node-size) / 2);
  bottom: calc(var(--process-node-size) / 2);
  left: calc(var(--process-node-size) / 2);
  width: 1px;
  background: rgba(17, 22, 25, .42);
  pointer-events: none;
}

.a2t-service-process-wrap .a2t-process-flow-grid::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: var(--process-lane-width);
  height: 1px;
  background: var(--process-rule);
  pointer-events: none;
}

.a2t-service-process-wrap .a2t-flow-card {
  position: relative !important;
  z-index: 1;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: var(--process-lane-width) minmax(230px, .8fr) minmax(340px, 1.2fr) minmax(126px, .34fr) !important;
  gap: clamp(18px, 2.2vw, 30px) !important;
  align-items: center !important;
  padding: 18px 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Bottom divider begins AFTER the timeline lane. */
.a2t-service-process-wrap .a2t-flow-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: var(--process-lane-width);
  height: 1px;
  background: var(--process-rule);
  pointer-events: none;
}

.a2t-service-process-wrap .a2t-flow-step {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: var(--process-node-size);
}

.a2t-service-process-wrap .a2t-flow-step span {
  position: relative;
  z-index: 2;
  display: grid !important;
  place-items: center !important;
  width: var(--process-node-size) !important;
  height: var(--process-node-size) !important;
  border: 1px solid rgba(17, 22, 25, .48) !important;
  border-radius: 0 !important;
  background: var(--a2t-paper) !important;
  color: #111619 !important;
  font: 600 15px/1 var(--a2t-mono) !important;
  letter-spacing: -.02em !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.a2t-service-process-wrap .a2t-flow-card:hover .a2t-flow-step span {
  border-color: #111619 !important;
  background: #111619 !important;
  color: var(--a2t-accent) !important;
}

/* Short structural tick separating the timeline lane from the content. */
.a2t-service-process-wrap .a2t-flow-title-block {
  position: relative;
  min-width: 0;
  padding-left: 26px;
}

.a2t-service-process-wrap .a2t-flow-title-block::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 40px;
  background: var(--process-rule);
  transform: translateY(-50%);
}

.a2t-service-process-wrap .a2t-flow-card h3 {
  margin: 0 !important;
  color: #111619 !important;
  font-size: clamp(24px, 2vw, 29px) !important;
  font-weight: 600 !important;
  line-height: 1.04 !important;
  letter-spacing: -.045em !important;
}

.a2t-service-process-wrap .a2t-flow-card > p {
  max-width: 610px !important;
  margin: 0 !important;
  color: #5e6966 !important;
  font-size: 13.25px !important;
  line-height: 1.58 !important;
}

.a2t-service-process-wrap .a2t-flow-status {
  justify-self: start;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  color: #53605c;
  font-family: var(--a2t-mono);
  text-transform: uppercase;
  white-space: nowrap;
  cursor: default;
}

.a2t-service-process-wrap .a2t-flow-status small {
  color: #8b9591;
  font: 500 7px/1 var(--a2t-mono);
  letter-spacing: .12em;
}

.a2t-service-process-wrap .a2t-flow-status small::after {
  content: "·";
  margin-left: 7px;
  color: #a7afac;
}

.a2t-service-process-wrap .a2t-flow-status span {
  color: #35413e;
  font: 700 8px/1 var(--a2t-mono);
  letter-spacing: .105em;
}

/* Rows are informational, not links: hover only acknowledges the timeline node. */
.a2t-service-process-wrap .a2t-flow-card:hover .a2t-flow-status span {
  color: #35413e;
}

@media (prefers-reduced-motion: reduce) {
  .a2t-service-process-wrap .a2t-flow-step span {
    transition: none !important;
  }
}

.a2t-editorial-cta-section {
  padding: clamp(86px, 9vw, 132px) 0;
  color: #111619;
  background: var(--a2t-accent);
}

.a2t-editorial-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(320px, .68fr);
  gap: clamp(60px, 9vw, 120px);
  align-items: end;
}

.a2t-editorial-cta-section .a2t-editorial-kicker {
  color: #485328;
}

.a2t-editorial-cta-section h2 {
  max-width: 760px;
}

.a2t-editorial-cta-section > .a2t-editorial-shell > div > p:not(.a2t-editorial-kicker),
.a2t-editorial-cta-grid > div:first-child > p:last-child {
  max-width: 650px;
  margin: 24px 0 0;
  color: #46502f;
  font-size: 15px;
  line-height: 1.7;
}

.a2t-editorial-cta-action {
  padding: 24px 0 0;
  border-top: 1px solid rgba(11, 15, 18, .28);
}

.a2t-editorial-cta-action > span {
  color: #4e582e;
  font: 500 8px/1 var(--a2t-mono);
  letter-spacing: .12em;
}

.a2t-editorial-cta-action > p {
  margin: 16px 0 24px;
  color: #46502f;
  font-size: 12px;
  line-height: 1.65;
}

/* -------------------------------------------------------------------------
   Case studies index
   ------------------------------------------------------------------------- */

.a2t-cases-hero .a2t-editorial-hero-grid {
  grid-template-columns: minmax(0, 1.22fr) minmax(330px, .78fr);
  min-height: 565px;
}

.a2t-cases-hero .a2t-editorial-hero-aside {
  align-self: center;
  padding: 22px 0 0;
  border-top: 1px solid rgba(200, 243, 79, .42);
}

.a2t-cases-hero .a2t-editorial-hero-aside > p {
  max-width: 480px;
  margin: 0;
  color: #9ba6a1;
  font-size: 15px;
  line-height: 1.75;
}


.a2t-case-live-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .11);
  border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.a2t-case-live-stats > div {
  min-width: 0;
  padding: 17px 18px 15px 0;
}

.a2t-case-live-stats > div:nth-child(even) {
  padding-right: 0;
  padding-left: 18px;
}

.a2t-case-live-stats > div:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, .11);
}

.a2t-case-live-stats > div:nth-child(n + 3) {
  border-top: 1px solid rgba(255, 255, 255, .11);
}

.a2t-case-live-stats strong,
.a2t-case-live-stats span {
  display: block;
}

.a2t-case-live-stats strong {
  color: var(--a2t-white);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.045em;
}

.a2t-case-live-stats span {
  margin-top: 7px;
  color: #75817c;
  font: 500 7px/1.35 var(--a2t-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.a2t-case-live-stats .is-live strong,
.a2t-case-live-stats .is-live span {
  color: var(--a2t-accent);
}

.a2t-editorial-coordinate {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 14px;
  border-top: 1px solid var(--a2t-line);
  color: #66736f;
  font: 500 7px/1.4 var(--a2t-mono);
  letter-spacing: .11em;
}

.a2t-cases-work-section {
  padding: clamp(100px, 10vw, 148px) 0;
  color: #111619;
  background: var(--a2t-paper);
}

.a2t-editorial-case-list {
  border-top: 1px solid rgba(11, 15, 18, .18);
}

.a2t-editorial-case {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
  padding: 52px 0;
  border-bottom: 1px solid rgba(11, 15, 18, .18);
}

.a2t-editorial-case:nth-child(even) .a2t-editorial-case-media {
  order: 2;
}

.a2t-editorial-case-media {
  position: relative;
  display: block;
  min-height: 340px;
  overflow: hidden;
  color: inherit;
  background: #dfe2da;
  text-decoration: none;
}

.a2t-editorial-case.is-featured .a2t-editorial-case-media {
  min-height: 465px;
}

.a2t-editorial-case-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.a2t-editorial-case:hover .a2t-editorial-case-media img {
  transform: scale(1.012);
  filter: saturate(1.03) contrast(1.015);
}

.a2t-editorial-case-index {
  position: absolute;
  top: 18px;
  left: 18px;
  min-width: 35px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  color: var(--a2t-ink);
  background: var(--a2t-accent);
  font: 500 8px/1 var(--a2t-mono);
}

.a2t-editorial-case-copy {
  max-width: 500px;
}

.a2t-editorial-case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 23px;
  color: var(--a2t-green);
  font: 500 8px/1.3 var(--a2t-mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.a2t-editorial-case-copy h3 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.06em;
}

.a2t-editorial-case-copy h3 a {
  color: #111619 !important;
  text-decoration: none !important;
}

.a2t-editorial-case-copy > p {
  margin: 24px 0 0;
  color: #69726f;
  font-size: 14px;
  line-height: 1.75;
}

.a2t-editorial-case-copy ul,
.a2t-case-detail-lead ul,
.a2t-case-tech-row ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 26px 0 34px;
  padding: 0;
  list-style: none;
}

.a2t-editorial-case-copy li,
.a2t-case-detail-lead li,
.a2t-case-tech-row li {
  padding: 6px 8px;
  border: 1px solid rgba(11, 15, 18, .22);
  color: #606a66;
  font: 500 7px/1 var(--a2t-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.a2t-editorial-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--a2t-green) !important;
  font: 500 9px/1 var(--a2t-mono);
  letter-spacing: .09em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.a2t-editorial-inline-link span {
  color: var(--a2t-green);
}

.a2t-editorial-media-placeholder {
  min-height: inherit;
  height: 100%;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 12%;
  background:
    linear-gradient(145deg, rgba(31, 85, 69, .08), transparent 46%),
    #e3e5de;
}

.a2t-editorial-media-placeholder span {
  display: block;
  height: 7px;
  background: rgba(31, 85, 69, .19);
}

.a2t-editorial-media-placeholder span:first-child {
  width: 62%;
  height: 11px;
}

.a2t-editorial-media-placeholder span:nth-child(2) { width: 88%; }
.a2t-editorial-media-placeholder span:nth-child(3) { width: 72%; }

.a2t-editorial-empty {
  padding: 65px 0;
  border-bottom: 1px solid rgba(11, 15, 18, .18);
}

.a2t-editorial-empty > span {
  color: var(--a2t-green);
  font: 500 8px/1 var(--a2t-mono);
  letter-spacing: .12em;
}

.a2t-editorial-empty h3 {
  margin: 20px 0 12px;
  color: #111619;
  font-size: 32px;
  letter-spacing: -.04em;
}

.a2t-editorial-empty p {
  color: #6f7876;
}

.a2t-case-feedback-section {
  padding: clamp(100px, 10vw, 148px) 0;
  color: var(--a2t-silver);
  background: var(--a2t-ink);
}

.a2t-editorial-testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--a2t-line);
}

.a2t-editorial-testimonials > article {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 34px 34px 28px 0;
  border-bottom: 1px solid var(--a2t-line);
}

.a2t-editorial-testimonials > article:nth-child(odd) {
  padding-right: 44px;
  border-right: 1px solid var(--a2t-line);
}

.a2t-editorial-testimonials > article:nth-child(even) {
  padding-left: 44px;
}

.a2t-editorial-stars {
  color: var(--a2t-accent);
  font: 500 10px/1 var(--a2t-mono);
  letter-spacing: .13em;
}

.a2t-editorial-testimonials blockquote {
  max-width: 520px;
  margin: 32px 0;
  color: #d9deda;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.025em;
}

.a2t-editorial-testimonials footer {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  margin-top: auto;
}

.a2t-editorial-testimonials footer > span {
  color: #68746f;
  font: 500 8px/1.4 var(--a2t-mono);
}

.a2t-editorial-testimonials footer strong,
.a2t-editorial-testimonials footer small {
  display: block;
}

.a2t-editorial-testimonials footer strong {
  color: var(--a2t-white);
  font-size: 12px;
}

.a2t-editorial-testimonials footer small {
  margin-top: 4px;
  color: #7f8b86;
  font-size: 10px;
}

.a2t-editorial-testimonials .a2t-editorial-inline-link {
  margin-top: 10px;
  color: var(--a2t-accent) !important;
  font-size: 8px;
}

.a2t-industries-section {
  padding: clamp(95px, 9vw, 135px) 0;
  color: #111619;
  background: var(--a2t-warm);
}

.a2t-industries-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(60px, 9vw, 120px);
  align-items: start;
}

.a2t-industries-section h2 {
  font-size: clamp(38px, 4.7vw, 66px);
}

.a2t-industries-section p:not(.a2t-editorial-kicker) {
  max-width: 490px;
  margin: 25px 0 0;
  color: #67706d;
  line-height: 1.75;
}

.a2t-industry-list {
  border-top: 1px solid rgba(11, 15, 18, .18);
}

.a2t-industry-list span {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 0 4px;
  border-bottom: 1px solid rgba(11, 15, 18, .18);
  color: #303835;
  font-size: 16px;
  font-weight: 600;
}

/* -------------------------------------------------------------------------
   Case study detail
   ------------------------------------------------------------------------- */

.a2t-case-detail-intro {
  padding: clamp(60px, 7vw, 96px) 0 0;
  color: var(--a2t-white);
  background:
    radial-gradient(circle at 84% 0%, rgba(200, 243, 79, .045), transparent 25%),
    var(--a2t-ink);
}

.a2t-editorial-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(60px, 7vw, 90px);
  color: #8f9995 !important;
  font: 500 9px/1 var(--a2t-mono);
  letter-spacing: .09em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.a2t-editorial-back span {
  color: var(--a2t-accent);
}

.a2t-editorial-back:hover {
  color: var(--a2t-white) !important;
}

.a2t-case-detail-title-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  gap: clamp(60px, 8vw, 110px);
  align-items: end;
}

.a2t-case-detail-intro h1 {
  max-width: 820px;
  font-size: clamp(54px, 6.6vw, 94px);
}

.a2t-case-detail-lead {
  padding-top: 22px;
  border-top: 1px solid rgba(200, 243, 79, .42);
}

.a2t-case-detail-lead > p {
  margin: 0;
  color: #9ca7a2;
  font-size: 15px;
  line-height: 1.75;
}

.a2t-case-detail-lead ul {
  margin: 25px 0 0;
}

.a2t-case-detail-lead li {
  border-color: #39443f;
  color: #88938e;
}

.a2t-case-hero-media {
  position: relative;
  min-height: 520px;
  margin: clamp(65px, 8vw, 100px) 0 0;
  overflow: hidden;
  border: 1px solid var(--a2t-line);
  background: var(--a2t-panel);
}

.a2t-case-hero-media::before {
  content: "PROJECT / LIVE SYSTEM";
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 16px;
  padding: 6px 8px;
  color: var(--a2t-ink);
  background: var(--a2t-accent);
  font: 500 7px/1 var(--a2t-mono);
  letter-spacing: .08em;
}

.a2t-case-hero-media img {
  display: block;
  width: 100%;
  min-height: 520px;
  max-height: 760px;
  object-fit: cover;
}

.a2t-case-hero-media .a2t-editorial-media-placeholder.is-dark {
  min-height: 520px;
  background: linear-gradient(145deg, rgba(200, 243, 79, .03), transparent), var(--a2t-panel);
}

.a2t-case-hero-media .a2t-editorial-media-placeholder.is-dark span {
  background: rgba(200, 243, 79, .13);
}

.a2t-case-facts {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-top: 0;
  border-bottom: 1px solid var(--a2t-line);
}

.a2t-case-facts > div {
  min-height: 92px;
  padding: 20px 18px 18px 0;
  border-right: 1px solid var(--a2t-line);
}

.a2t-case-facts > div:not(:first-child) {
  padding-left: 18px;
}

.a2t-case-facts > div:last-child {
  border-right: 0;
}

.a2t-case-facts span,
.a2t-case-facts strong {
  display: block;
}

.a2t-case-facts span {
  color: #6f7b77;
  font: 500 7px/1 var(--a2t-mono);
  letter-spacing: .11em;
}

.a2t-case-facts strong {
  margin-top: 18px;
  color: #d8dedb;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.a2t-case-story-section {
  padding: clamp(94px, 10vw, 145px) 0;
  color: #111619;
  background: var(--a2t-paper);
}

.a2t-case-story-row {
  display: grid;
  grid-template-columns: minmax(240px, .55fr) minmax(0, 1.45fr);
  gap: clamp(48px, 8vw, 105px);
  padding: 42px 0 58px;
  border-top: 1px solid rgba(11, 15, 18, .18);
}

.a2t-case-story-row:last-child {
  border-bottom: 1px solid rgba(11, 15, 18, .18);
}

.a2t-case-story-label {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: start;
}

.a2t-case-story-label span {
  color: var(--a2t-green);
  font: 500 9px/1.3 var(--a2t-mono);
}

.a2t-case-story-label strong {
  color: #111619;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.05em;
}

.a2t-case-story-copy {
  max-width: 720px;
}

.a2t-case-story-copy .is-lead {
  margin: 0;
  color: #313936;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.55;
  letter-spacing: -.02em;
}

.a2t-case-story-copy ul,
.a2t-case-delivery-section ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(11, 15, 18, .15);
}

.a2t-case-story-copy li,
.a2t-case-delivery-section li {
  position: relative;
  padding: 13px 0 13px 25px;
  border-bottom: 1px solid rgba(11, 15, 18, .15);
  color: #66706c;
  font-size: 13px;
  line-height: 1.55;
}

.a2t-case-story-copy li::before,
.a2t-case-delivery-section li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--a2t-green);
  font-family: var(--a2t-mono);
}

.a2t-case-story-copy ul.is-check li::before,
.a2t-case-delivery-section li::before {
  content: "✓";
}

.a2t-case-features-section {
  padding: clamp(100px, 10vw, 150px) 0;
  color: var(--a2t-silver);
  background: var(--a2t-ink);
}

.a2t-case-feature-list {
  border-top: 1px solid var(--a2t-line);
}

.a2t-case-feature-list article {
  display: grid;
  grid-template-columns: 50px minmax(240px, .7fr) minmax(0, 1.3fr) 34px;
  gap: 30px;
  align-items: center;
  min-height: 96px;
  padding: 25px 0;
  border-bottom: 1px solid var(--a2t-line);
}

.a2t-case-feature-list article > span {
  color: var(--a2t-accent);
  font: 500 9px/1 var(--a2t-mono);
}

.a2t-case-feature-list h3 {
  margin: 0;
  color: #dce1de;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.a2t-case-feature-list p {
  max-width: 590px;
  margin: 0;
  color: #818c87;
  font-size: 13px;
  line-height: 1.65;
}

.a2t-case-feature-list i {
  color: var(--a2t-accent);
  font-size: 15px;
  text-align: right;
}

.a2t-case-delivery-section {
  padding: clamp(95px, 9vw, 135px) 0;
  color: #111619;
  background: var(--a2t-warm);
}

.a2t-case-delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(11, 15, 18, .18);
  border-bottom: 1px solid rgba(11, 15, 18, .18);
}

.a2t-case-delivery-grid article {
  min-height: 390px;
  padding: 44px 52px 44px 0;
}

.a2t-case-delivery-grid article + article {
  padding-left: 52px;
  border-left: 1px solid rgba(11, 15, 18, .18);
}

.a2t-case-delivery-grid article > span {
  color: var(--a2t-green);
  font: 500 8px/1 var(--a2t-mono);
  letter-spacing: .12em;
}

.a2t-case-delivery-grid h2 {
  margin: 55px 0 20px;
  color: #111619;
  font-size: clamp(31px, 3.3vw, 46px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.055em;
}

.a2t-case-delivery-grid p {
  color: #66706c;
  line-height: 1.75;
}

.a2t-case-screens-section {
  padding: clamp(100px, 10vw, 148px) 0;
  color: #111619;
  background: var(--a2t-paper);
}

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

.a2t-case-screen-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(11, 15, 18, .16);
  background: #eceee8;
}

.a2t-case-screen-grid img,
.a2t-case-screen-grid .a2t-editorial-media-placeholder {
  width: 100%;
  min-height: 330px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.a2t-case-screen-grid figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 16px;
  border-top: 1px solid rgba(11, 15, 18, .16);
  color: #5e6864;
  font-size: 11px;
}

.a2t-case-screen-grid figcaption span {
  color: var(--a2t-green);
  font: 500 8px/1 var(--a2t-mono);
}

.a2t-case-results-section {
  padding: clamp(100px, 10vw, 148px) 0;
  color: var(--a2t-silver);
  background: var(--a2t-green-deep);
}

.a2t-case-result-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .6fr);
  gap: clamp(55px, 8vw, 105px);
  align-items: end;
}

.a2t-case-result-head .a2t-editorial-kicker {
  grid-column: 1 / -1;
  margin-bottom: -25px;
  color: #a5bd97;
}

.a2t-case-result-head h2 {
  color: var(--a2t-white);
}

.a2t-case-result-head > p:not(.a2t-editorial-kicker) {
  margin: 0;
  color: #aabbb3;
  font-size: 15px;
  line-height: 1.75;
}

.a2t-case-outcome-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.a2t-case-outcome-list article {
  min-height: 180px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  align-content: start;
  padding: 24px 24px 24px 0;
  border-right: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.a2t-case-outcome-list article:not(:nth-child(3n+1)) {
  padding-left: 24px;
}

.a2t-case-outcome-list article:nth-child(3n) {
  border-right: 0;
}

.a2t-case-outcome-list span {
  color: #90a49a;
  font: 500 8px/1 var(--a2t-mono);
}

.a2t-case-outcome-list i {
  justify-self: end;
  color: var(--a2t-accent);
}

.a2t-case-outcome-list strong,
.a2t-case-outcome-list small {
  grid-column: 1 / -1;
  display: block;
}

.a2t-case-outcome-list strong {
  margin-top: 32px;
  color: var(--a2t-white);
  font-size: 20px;
  font-weight: 600;
}

.a2t-case-outcome-list small {
  color: #9aacA3;
  font-size: 10px;
}

.a2t-case-tech-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 36px;
  align-items: start;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.a2t-case-tech-row > span {
  color: #91a39b;
  font: 500 8px/1.4 var(--a2t-mono);
  letter-spacing: .1em;
}

.a2t-case-tech-row ul {
  margin: 0;
}

.a2t-case-tech-row li {
  border-color: rgba(255,255,255,.22);
  color: #b8c6c0;
}

.a2t-related-cases-section {
  padding: clamp(100px, 10vw, 148px) 0;
  color: #111619;
  background: var(--a2t-paper);
}

.a2t-related-case-list {
  border-top: 1px solid rgba(11, 15, 18, .18);
}

.a2t-related-case-list > a {
  display: grid;
  grid-template-columns: 40px 180px 150px minmax(0, 1fr) 28px;
  gap: 26px;
  align-items: center;
  min-height: 125px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(11, 15, 18, .18);
  color: #111619 !important;
  text-decoration: none !important;
  transition: padding .25s ease, background .25s ease;
}

.a2t-related-case-list > a:hover {
  padding-left: 10px;
  background: linear-gradient(90deg, rgba(31, 85, 69, .05), transparent 70%);
}

.a2t-related-case-list > a > span,
.a2t-related-case-list small {
  color: var(--a2t-green);
  font: 500 8px/1.3 var(--a2t-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.a2t-related-case-list img,
.a2t-related-placeholder {
  display: block;
  width: 180px;
  height: 88px;
  object-fit: cover;
  background: #dfe2da;
}

.a2t-related-case-list h3 {
  margin: 0;
  font-size: clamp(21px, 2.5vw, 31px);
  font-weight: 600;
  letter-spacing: -.045em;
}

.a2t-related-case-list i {
  color: var(--a2t-green);
  font-size: 18px;
  font-style: normal;
}

/* -------------------------------------------------------------------------
   Legacy service profile translated to the same system without changing JS.
   ------------------------------------------------------------------------- */

body.a2t-service-profile-page .a2t-freelancer-detail {
  width: min(var(--a2t-container), calc(100% - (var(--a2t-gutter) * 2))) !important;
  max-width: var(--a2t-container) !important;
  margin: 0 auto !important;
  padding: clamp(70px, 8vw, 112px) 0 clamp(90px, 10vw, 140px) !important;
  color: var(--a2t-silver) !important;
}

body.a2t-service-profile-page .a2t-freelancer-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr) !important;
  gap: clamp(40px, 6vw, 82px) !important;
  align-items: stretch !important;
  margin: 0 0 58px !important;
}

body.a2t-service-profile-page .a2t-freelancer-profile-card,
body.a2t-service-profile-page .a2t-freelancer-side-card {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.a2t-service-profile-page .a2t-freelancer-profile-card {
  display: grid !important;
  grid-template-columns: 150px 1fr !important;
  gap: 32px !important;
  align-items: end !important;
  padding: 0 !important;
}

body.a2t-service-profile-page .a2t-freelancer-avatar {
  width: 150px !important;
  height: 150px !important;
  border: 1px solid var(--a2t-line) !important;
  border-radius: 0 !important;
  object-fit: cover !important;
}

body.a2t-service-profile-page .a2t-status-kicker {
  display: block !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #85918c !important;
  background: transparent !important;
  font: 500 8px/1 var(--a2t-mono) !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

body.a2t-service-profile-page .a2t-freelancer-profile-card h1 {
  margin: 0 0 12px !important;
  font-size: clamp(40px, 5vw, 66px) !important;
  line-height: .98 !important;
  letter-spacing: -.06em !important;
}

body.a2t-service-profile-page .a2t-profile-link {
  color: var(--a2t-white) !important;
  text-decoration: none !important;
}

body.a2t-service-profile-page .a2t-section-copy {
  color: #8d9993 !important;
  line-height: 1.7 !important;
}

body.a2t-service-profile-page .a2t-freelancer-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  margin-top: 20px !important;
}

body.a2t-service-profile-page .a2t-freelancer-meta > span,
body.a2t-service-profile-page .a2t-skill-chip {
  min-height: 0 !important;
  padding: 6px 8px !important;
  border: 1px solid #3c4742 !important;
  border-radius: 0 !important;
  color: #909b96 !important;
  background: transparent !important;
  font: 500 7px/1 var(--a2t-mono) !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
}

body.a2t-service-profile-page .a2t-freelancer-side-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 24px 0 0 !important;
  border-top: 1px solid rgba(200, 243, 79, .42) !important;
}

body.a2t-service-profile-page .a2t-freelancer-rate {
  color: var(--a2t-white) !important;
  font: 500 clamp(36px, 4vw, 52px)/1 var(--a2t-mono) !important;
  letter-spacing: -.05em !important;
}

body.a2t-service-profile-page .a2t-freelancer-rate small {
  color: #7e8984 !important;
  font-size: 10px !important;
  letter-spacing: .02em !important;
}

body.a2t-service-profile-page .a2t-action-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

body.a2t-service-profile-page .a2t-btn-dark,
body.a2t-service-profile-page .a2t-btn,
body.a2t-service-profile-page .submit-btn,
body.a2t-service-profile-page .endorse-btn {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 14px !important;
  border: 1px solid #4a5550 !important;
  border-radius: 0 !important;
  color: #d6ddda !important;
  background: transparent !important;
  box-shadow: none !important;
  font: 500 9px/1 var(--a2t-mono) !important;
  letter-spacing: .07em !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
}

body.a2t-service-profile-page .a2t-btn-dark,
body.a2t-service-profile-page .submit-btn {
  color: var(--a2t-ink) !important;
  border-color: var(--a2t-accent) !important;
  background: var(--a2t-accent) !important;
}

body.a2t-service-profile-page :is(.a2t-btn-dark, .a2t-btn, .submit-btn, .endorse-btn):hover {
  color: var(--a2t-ink) !important;
  border-color: var(--a2t-accent) !important;
  background: var(--a2t-accent) !important;
}

body.a2t-service-profile-page .a2t-freelancer-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--a2t-line) !important;
  border-bottom: 1px solid var(--a2t-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.a2t-service-profile-page .a2t-freelancer-tabs button {
  min-height: 52px !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-right: 1px solid var(--a2t-line) !important;
  border-radius: 0 !important;
  color: #7d8983 !important;
  background: transparent !important;
  font: 500 8px/1 var(--a2t-mono) !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body.a2t-service-profile-page .a2t-freelancer-tabs button:hover,
body.a2t-service-profile-page .a2t-freelancer-tabs button.is-active {
  color: var(--a2t-ink) !important;
  background: var(--a2t-accent) !important;
}

body.a2t-service-profile-page .a2t-tab-panel {
  margin: 0 !important;
  padding: 52px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--a2t-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--a2t-silver) !important;
}

body.a2t-service-profile-page .a2t-tab-panel > h2 {
  margin: 0 0 26px !important;
  color: var(--a2t-white) !important;
  font-size: clamp(28px, 3.4vw, 45px) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: -.055em !important;
}

body.a2t-service-profile-page .a2t-section-title,
body.a2t-service-profile-page .a2t-tab-panel h3 {
  color: #d7ddda !important;
}

body.a2t-service-profile-page #sort-reviews,
body.a2t-service-profile-page .a2t-review-form :is(input, textarea, select) {
  border: 1px solid #45504c !important;
  border-radius: 0 !important;
  color: #e2e7e4 !important;
  background: var(--a2t-panel) !important;
}

body.a2t-service-profile-page .a2t-work-grid,
body.a2t-service-profile-page .product-grid,
body.a2t-service-profile-page .endorsement-container {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border-top: 1px solid var(--a2t-line) !important;
}

body.a2t-service-profile-page .completed-project,
body.a2t-service-profile-page .product-card,
body.a2t-service-profile-page .skill-card {
  min-width: 0 !important;
  min-height: 210px !important;
  margin: 0 !important;
  padding: 24px !important;
  border: 0 !important;
  border-right: 1px solid var(--a2t-line) !important;
  border-bottom: 1px solid var(--a2t-line) !important;
  border-radius: 0 !important;
  color: var(--a2t-silver) !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.a2t-service-profile-page .product-card img {
  width: 100% !important;
  height: 160px !important;
  margin: 0 0 22px !important;
  border-radius: 0 !important;
  object-fit: cover !important;
}

body.a2t-service-profile-page :is(.completed-project, .product-card, .skill-card) h3,
body.a2t-service-profile-page .product-title,
body.a2t-service-profile-page .skill-name {
  color: var(--a2t-white) !important;
}

body.a2t-service-profile-page :is(.completed-project, .product-card, .skill-card) p,
body.a2t-service-profile-page .product-description,
body.a2t-service-profile-page .endorsement-count {
  color: #85918c !important;
}

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

@media (max-width: 1080px) {
  .a2t-editorial-hero-grid,
  .a2t-case-detail-title-grid,
  .a2t-editorial-cta-grid,
  .a2t-industries-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .a2t-editorial-hero-grid {
    min-height: 0;
  }

  .a2t-studio-system,
  .a2t-cases-hero .a2t-editorial-hero-aside,
  .a2t-case-detail-lead {
    max-width: 680px;
  }

  .a2t-editorial-section-head,
  .a2t-service-process-wrap .a2t-process-flow-head,
  .a2t-case-result-head {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }
  .a2t-service-process-wrap .a2t-flow-card {
    grid-template-columns: 86px minmax(190px, .76fr) minmax(0, 1fr) minmax(102px, .3fr) !important;
    gap: 18px !important;
  }

  .a2t-service-process-wrap .a2t-process-flow-grid {
    --process-lane-width: 86px;
  }

  .a2t-service-process-wrap .a2t-process-flow-eyebrow,
  .a2t-case-result-head .a2t-editorial-kicker {
    margin-bottom: 0 !important;
  }

  .a2t-editorial-case {
    grid-template-columns: 1fr 1fr;
    gap: 38px;
  }

  .a2t-case-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .a2t-case-facts > div:nth-child(4n) {
    border-right: 0;
  }

  .a2t-case-facts > div:nth-child(n+5) {
    border-top: 1px solid var(--a2t-line);
  }

  body.a2t-service-profile-page .a2t-freelancer-hero {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 820px) {
  .a2t-service-process-wrap .a2t-process-flow-grid {
    --process-node-size: 40px;
    --process-lane-width: 64px;
  }

  .a2t-service-process-wrap .a2t-flow-card {
    grid-template-columns: var(--process-lane-width) minmax(0, 1fr) auto !important;
    gap: 10px 16px !important;
    padding: 17px 0 !important;
  }

  .a2t-service-process-wrap .a2t-flow-step {
    grid-row: 1 / 3;
  }

  .a2t-service-process-wrap .a2t-flow-title-block {
    grid-column: 2;
    padding-left: 18px;
  }

  .a2t-service-process-wrap .a2t-flow-title-block::before {
    height: 32px;
  }

  .a2t-service-process-wrap .a2t-flow-card > p {
    grid-column: 2 / -1;
    padding-left: 18px;
  }

  .a2t-service-process-wrap .a2t-flow-status {
    grid-column: 3;
    grid-row: 1;
    min-width: 0;
  }

  .a2t-editorial-shell,
  body.a2t-service-profile-page .a2t-freelancer-detail {
    width: min(100% - 32px, var(--a2t-container)) !important;
  }

  .a2t-editorial-hero-grid {
    padding-top: 82px;
  }

  .a2t-editorial-hero h1,
  .a2t-case-detail-intro h1 {
    font-size: clamp(47px, 13vw, 70px);
  }

  .a2t-service-row {
    grid-template-columns: 38px 1fr 28px;
    gap: 16px;
    align-items: start;
  }

  .a2t-service-row p {
    grid-column: 2 / -1;
  }

  .a2t-service-preview {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .a2t-editorial-case,
  .a2t-editorial-case:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .a2t-editorial-case:nth-child(even) .a2t-editorial-case-media {
    order: 0;
  }

  .a2t-editorial-case-media,
  .a2t-editorial-case.is-featured .a2t-editorial-case-media {
    min-height: 330px;
  }

  .a2t-editorial-testimonials {
    grid-template-columns: 1fr;
  }

  .a2t-editorial-testimonials > article,
  .a2t-editorial-testimonials > article:nth-child(odd),
  .a2t-editorial-testimonials > article:nth-child(even) {
    padding: 30px 0;
    border-right: 0;
  }

  .a2t-case-story-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .a2t-case-feature-list article {
    grid-template-columns: 36px 1fr 24px;
    gap: 16px;
  }

  .a2t-case-feature-list p {
    grid-column: 2 / -1;
  }

  .a2t-case-delivery-grid,
  .a2t-case-screen-grid,
  .a2t-case-outcome-list {
    grid-template-columns: 1fr;
  }

  .a2t-case-delivery-grid article,
  .a2t-case-delivery-grid article + article {
    min-height: 0;
    padding: 36px 0;
    border-left: 0;
  }

  .a2t-case-delivery-grid article + article {
    border-top: 1px solid rgba(11, 15, 18, .18);
  }

  .a2t-case-outcome-list article,
  .a2t-case-outcome-list article:not(:nth-child(3n+1)) {
    padding: 24px 0;
    border-right: 0;
  }

  .a2t-case-tech-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .a2t-related-case-list > a {
    grid-template-columns: 34px 120px 1fr 24px;
    gap: 16px;
  }

  .a2t-related-case-list > a small {
    grid-column: 3;
  }

  .a2t-related-case-list h3 {
    grid-column: 3;
  }

  .a2t-related-case-list i {
    grid-column: 4;
    grid-row: 1 / 3;
  }

  .a2t-related-case-list img,
  .a2t-related-placeholder {
    width: 120px;
    height: 76px;
  }

  body.a2t-service-profile-page .a2t-work-grid,
  body.a2t-service-profile-page .product-grid,
  body.a2t-service-profile-page .endorsement-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .a2t-service-process-wrap .a2t-process-flow-section.a2t-process-flow-services {
    padding: 72px 0 !important;
  }

  .a2t-service-process-wrap .a2t-process-flow-grid {
    --process-node-size: 36px;
    --process-lane-width: 54px;
  }

  .a2t-service-process-wrap .a2t-flow-card {
    grid-template-columns: var(--process-lane-width) minmax(0, 1fr) !important;
    gap: 7px 10px !important;
    padding: 15px 0 !important;
  }

  .a2t-service-process-wrap .a2t-flow-step {
    grid-row: 1 / 4;
  }

  .a2t-service-process-wrap .a2t-flow-step span {
    font-size: 11px !important;
  }

  .a2t-service-process-wrap .a2t-flow-title-block {
    grid-column: 2;
    padding-left: 14px;
  }

  .a2t-service-process-wrap .a2t-flow-title-block::before {
    height: 28px;
  }

  .a2t-service-process-wrap .a2t-flow-status {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin: 2px 0 0 14px;
  }

  .a2t-service-process-wrap .a2t-flow-card > p {
    grid-column: 2;
    grid-row: 3;
    margin: 5px 0 0 !important;
    padding-left: 14px;
  }

  .a2t-editorial-kicker {
    margin-bottom: 18px;
  }

  .a2t-editorial-hero-grid {
    padding: 68px 0 72px;
  }

  .a2t-editorial-hero h1,
  .a2t-case-detail-intro h1 {
    font-size: clamp(43px, 13.5vw, 58px);
  }

  .a2t-editorial-lead {
    margin-top: 26px;
    font-size: 15px;
  }

  .a2t-editorial-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .a2t-editorial-button {
    width: 100%;
  }

  .a2t-editorial-link {
    min-height: 38px;
  }

  .a2t-editorial-section-head h2,
  .a2t-editorial-cta-section h2,
  .a2t-industries-section h2,
  .a2t-case-result-head h2 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .a2t-service-row {
    padding: 22px 0;
  }

  .a2t-service-row h3 {
    font-size: 24px;
  }

  .a2t-service-row > i {
    opacity: 1;
    transform: none;
  }

  .a2t-editorial-case-media,
  .a2t-editorial-case.is-featured .a2t-editorial-case-media {
    min-height: 250px;
  }

  .a2t-editorial-case-copy h3 {
    font-size: 36px;
  }

  .a2t-editorial-coordinate {
    align-items: flex-start;
    flex-direction: column;
  }

  .a2t-case-detail-intro {
    padding-top: 44px;
  }

  .a2t-editorial-back {
    margin-bottom: 50px;
  }

  .a2t-case-hero-media,
  .a2t-case-hero-media img,
  .a2t-case-hero-media .a2t-editorial-media-placeholder.is-dark {
    min-height: 300px;
  }

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

  .a2t-case-facts > div,
  .a2t-case-facts > div:not(:first-child) {
    padding: 18px 12px;
    border-top: 1px solid var(--a2t-line);
  }

  .a2t-case-facts > div:nth-child(odd) {
    padding-left: 0;
  }

  .a2t-case-facts > div:nth-child(even) {
    border-right: 0;
  }

  .a2t-case-story-label {
    grid-template-columns: 30px 1fr;
  }

  .a2t-case-feature-list article {
    grid-template-columns: 32px 1fr;
  }

  .a2t-case-feature-list i {
    display: none;
  }

  .a2t-case-feature-list p {
    grid-column: 2;
  }

  .a2t-case-screen-grid img,
  .a2t-case-screen-grid .a2t-editorial-media-placeholder {
    min-height: 230px;
  }

  .a2t-related-case-list > a {
    grid-template-columns: 28px 1fr 22px;
  }

  .a2t-related-case-list > a > div {
    grid-column: 2 / -1;
    grid-row: 1;
  }

  .a2t-related-case-list img,
  .a2t-related-placeholder {
    width: 100%;
    height: 150px;
  }

  .a2t-related-case-list > a > span {
    grid-column: 1;
    grid-row: 2;
  }

  .a2t-related-case-list > a small,
  .a2t-related-case-list h3 {
    grid-column: 2;
  }

  .a2t-related-case-list i {
    grid-column: 3;
    grid-row: 2 / 4;
  }

  body.a2t-service-profile-page .a2t-freelancer-profile-card {
    grid-template-columns: 92px 1fr !important;
    gap: 18px !important;
    align-items: start !important;
  }

  body.a2t-service-profile-page .a2t-freelancer-avatar {
    width: 92px !important;
    height: 92px !important;
  }

  body.a2t-service-profile-page .a2t-freelancer-profile-card h1 {
    font-size: 38px !important;
  }

  body.a2t-service-profile-page .a2t-freelancer-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.a2t-service-profile-page .a2t-freelancer-tabs button {
    padding: 0 10px !important;
    border-bottom: 1px solid var(--a2t-line) !important;
  }

  body.a2t-service-profile-page .a2t-work-grid,
  body.a2t-service-profile-page .product-grid,
  body.a2t-service-profile-page .endorsement-container {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .a2t-editorial-button,
  .a2t-service-row,
  .a2t-editorial-case-media img,
  .a2t-related-case-list > a {
    transition: none !important;
  }
}

/* Service profile review compatibility */
body.a2t-service-profile-page #a2t-service-reviews > label {
  display: inline-block;
  margin: 0 10px 22px 0;
  color: #7f8b86 !important;
  font: 500 8px/1 var(--a2t-mono) !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.a2t-service-profile-page #sort-reviews {
  min-height: 38px !important;
  margin-bottom: 22px !important;
  padding: 0 34px 0 10px !important;
  font-size: 11px !important;
}

body.a2t-service-profile-page .a2t-review-list {
  border-top: 1px solid var(--a2t-line) !important;
}

body.a2t-service-profile-page .review {
  margin: 0 !important;
  padding: 24px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--a2t-line) !important;
  border-radius: 0 !important;
  color: #8c9892 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.a2t-service-profile-page .review p {
  margin: 0 0 10px !important;
  color: #8c9892 !important;
  line-height: 1.65 !important;
}

body.a2t-service-profile-page .review strong {
  color: var(--a2t-white) !important;
}

body.a2t-service-profile-page .a2t-review-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  margin-top: 16px !important;
}

body.a2t-service-profile-page :is(.like-btn, .delete-btn) {
  min-height: 34px !important;
  padding: 0 10px !important;
  border: 1px solid #43504a !important;
  border-radius: 0 !important;
  color: #a4afaa !important;
  background: transparent !important;
  box-shadow: none !important;
  font: 500 8px/1 var(--a2t-mono) !important;
}

body.a2t-service-profile-page :is(.like-btn, .delete-btn):hover,
body.a2t-service-profile-page .like-btn.is-liked {
  color: var(--a2t-ink) !important;
  border-color: var(--a2t-accent) !important;
  background: var(--a2t-accent) !important;
}

body.a2t-service-profile-page .a2t-review-form {
  margin-top: 45px !important;
  padding: 32px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(200, 243, 79, .35) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.a2t-service-profile-page .a2t-review-form h2 {
  color: var(--a2t-white) !important;
}

body.a2t-service-profile-page #pagination-container {
  margin-top: 24px !important;
}


/* ==========================================================================
   Upgrade 64 — Services viewport calibration
   The hero owns the visible viewport below the production header. Optical
   centering replaces oversized top padding so 100% browser zoom remains
   balanced on laptop and desktop heights.
   ========================================================================== */
/* ==========================================================================
   Upgrade 69 — shared public hero viewport ownership
   Home, Services and Case Studies now follow one professional first-screen
   rhythm with consistent CTA behaviour and exact viewport presence below the
   production header.
   ========================================================================== */
@media (min-width: 1024px) {
  body.a2t-public-editorial .a2t-editorial-hero {
    min-height: calc(100vh - var(--a2t-header-height));
    min-height: calc(100svh - var(--a2t-header-height));
    display: grid;
    align-items: center;
  }

  body.a2t-public-editorial .a2t-editorial-hero-grid {
    min-height: calc(100vh - var(--a2t-header-height));
    min-height: calc(100svh - var(--a2t-header-height));
    align-items: center;
    padding-top: clamp(56px, 7vh, 90px);
    padding-bottom: clamp(52px, 6.5vh, 82px);
  }

  body.a2t-case-studies-page .a2t-editorial-hero-grid {
    align-items: center;
  }

  body.a2t-case-studies-page .a2t-editorial-hero-copy,
  body.a2t-case-studies-page .a2t-editorial-hero-aside {
    align-self: center;
  }
}

@supports (height: 100dvh) {
  @media (min-width: 1024px) {
    body.a2t-public-editorial .a2t-editorial-hero,
    body.a2t-public-editorial .a2t-editorial-hero-grid {
      min-height: calc(100dvh - var(--a2t-header-height));
    }
  }
}

@media (min-width: 1024px) {
  body.a2t-services-page .a2t-services-hero {
    min-height: calc(100vh - var(--a2t-header-height));
    min-height: calc(100svh - var(--a2t-header-height));
    display: grid;
    align-items: center;
  }

  body.a2t-services-page .a2t-services-hero .a2t-editorial-hero-grid {
    min-height: calc(100vh - var(--a2t-header-height));
    min-height: calc(100svh - var(--a2t-header-height));
    align-items: center;
    padding-top: clamp(48px, 6.2vh, 72px);
    padding-bottom: clamp(48px, 6.2vh, 72px);
  }

  body.a2t-services-page .a2t-services-hero .a2t-studio-system {
    align-self: center;
    margin-bottom: 0;
  }
}

@supports (height: 100dvh) {
  @media (min-width: 1024px) {
    body.a2t-services-page .a2t-services-hero,
    body.a2t-services-page .a2t-services-hero .a2t-editorial-hero-grid {
      min-height: calc(100dvh - var(--a2t-header-height));
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .a2t-editorial-button > span,
  .a2t-editorial-link > span { transition: none !important; }
  .a2t-editorial-button:hover > span,
  .a2t-editorial-link:hover > span { transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .a2t-editorial-button .a2t-motion-arrow,
  .a2t-editorial-link .a2t-motion-arrow { transition: none !important; }
  .a2t-editorial-button:hover .a2t-motion-arrow,
  .a2t-editorial-link:hover .a2t-motion-arrow { transform: none !important; }
}

/* ==========================================================================
   Upgrade 73 — Case Studies optical centering + live business snapshot
   ========================================================================== */
@media (min-width: 1024px) and (max-height: 820px) {
  body.a2t-case-studies-page .a2t-editorial-hero-grid {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  body.a2t-case-studies-page .a2t-editorial-hero h1 {
    font-size: clamp(56px, 6.35vw, 94px);
  }

  body.a2t-case-studies-page .a2t-editorial-hero-aside > p {
    line-height: 1.62;
  }

  body.a2t-case-studies-page .a2t-case-live-stats {
    margin-top: 22px;
  }

  body.a2t-case-studies-page .a2t-case-live-stats > div {
    padding-top: 14px;
    padding-bottom: 13px;
  }

  body.a2t-case-studies-page .a2t-editorial-coordinate {
    margin-top: 22px;
  }
}

@media (max-width: 680px) {
  .a2t-case-live-stats strong {
    font-size: 27px;
  }
}


/* ========================================================================== 
   Upgrade 77 — approved Home rail is the canonical vertical reference
   Services and Case Studies use the same 68% full-screen center anchor as
   Home. Their own rail heights do not change the anchor relationship.
   ========================================================================== */
@media (min-width: 1024px) {
  body.a2t-services-page .a2t-services-hero .a2t-editorial-hero-grid,
  body.a2t-case-studies-page .a2t-cases-hero .a2t-editorial-hero-grid {
    position: relative;
  }

  body.a2t-services-page .a2t-services-hero .a2t-studio-system,
  body.a2t-case-studies-page .a2t-cases-hero .a2t-editorial-hero-aside {
    position: absolute;
    top: calc(var(--a2t-hero-rail-center-screen) - var(--a2t-header-height));
    right: 0;
    margin: 0 !important;
    align-self: auto !important;
    transform: translateY(calc(-50% + var(--a2t-hero-aside-drop))) !important;
  }

  body.a2t-services-page .a2t-services-hero .a2t-studio-system {
    width: min(31%, 420px);
  }

  body.a2t-case-studies-page .a2t-cases-hero .a2t-editorial-hero-aside {
    width: min(38%, 500px);
  }
}

@media (max-width: 1023px) {
  body.a2t-services-page .a2t-services-hero .a2t-studio-system,
  body.a2t-case-studies-page .a2t-cases-hero .a2t-editorial-hero-aside {
    position: static;
    width: auto;
    transform: none !important;
  }
}

/* ========================================================================== 
   Upgrade 89 — Services + Case Studies small-device production composition
   Desktop geometry remains canonical. These rules only refine phones and
   small tablets so the editorial system reads intentionally instead of as a
   compressed desktop layout.
   ========================================================================== */

@media (max-width: 760px) {
  /* Shared editorial rhythm for the Services / Case Studies family. */
  body.a2t-services-page .a2t-editorial-hero-grid,
  body.a2t-case-studies-page .a2t-editorial-hero-grid {
    min-height: 0;
    gap: 38px;
    padding-top: clamp(58px, 12vw, 78px);
    padding-bottom: clamp(64px, 13vw, 86px);
  }

  body.a2t-services-page .a2t-editorial-hero h1,
  body.a2t-case-studies-page .a2t-editorial-hero h1,
  body.a2t-case-detail-editorial-page .a2t-case-detail-intro h1 {
    max-width: 100%;
    font-size: clamp(44px, 12.6vw, 66px);
    line-height: .94;
    letter-spacing: -.058em;
    overflow-wrap: break-word;
  }

  body.a2t-services-page .a2t-editorial-lead,
  body.a2t-case-studies-page .a2t-cases-hero .a2t-editorial-hero-aside > p,
  body.a2t-case-detail-editorial-page .a2t-case-detail-lead > p {
    font-size: 15px;
    line-height: 1.68;
  }

  body.a2t-services-page :is(.a2t-services-catalog, .a2t-editorial-cta-section),
  body.a2t-case-studies-page :is(.a2t-cases-work-section, .a2t-case-feedback-section, .a2t-industries-section, .a2t-editorial-cta-section),
  body.a2t-case-detail-editorial-page :is(.a2t-case-story-section, .a2t-case-features-section, .a2t-case-delivery-section, .a2t-case-screens-section, .a2t-case-results-section, .a2t-related-cases-section, .a2t-editorial-cta-section) {
    padding-top: clamp(72px, 14vw, 94px);
    padding-bottom: clamp(72px, 14vw, 94px);
  }

  body.a2t-services-page .a2t-editorial-section-head,
  body.a2t-case-studies-page .a2t-editorial-section-head,
  body.a2t-case-detail-editorial-page .a2t-editorial-section-head {
    gap: 20px !important;
    margin-bottom: clamp(38px, 8vw, 52px);
  }

  body.a2t-services-page .a2t-editorial-section-head h2,
  body.a2t-services-page .a2t-editorial-cta-section h2,
  body.a2t-case-studies-page :is(.a2t-editorial-section-head h2, .a2t-editorial-cta-section h2, .a2t-industries-section h2),
  body.a2t-case-detail-editorial-page :is(.a2t-editorial-section-head h2, .a2t-editorial-cta-section h2, .a2t-case-result-head h2) {
    font-size: clamp(38px, 10.8vw, 54px);
    line-height: .99;
  }

  /* Services hero: the delivery system becomes a readable continuation. */
  body.a2t-services-page .a2t-services-hero .a2t-studio-system {
    max-width: none;
    margin-top: 2px;
    padding-top: 17px;
  }

  body.a2t-services-page .a2t-studio-system .a2t-system-label {
    margin-bottom: 7px;
    font-size: 8px;
  }

  body.a2t-services-page .a2t-system-line {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    min-height: 52px;
    padding: 10px 0;
  }

  body.a2t-services-page .a2t-system-line strong {
    margin-top: 3px;
    font-size: 13px;
  }

  body.a2t-services-page .a2t-studio-system > i {
    height: 9px;
    margin-left: 15px;
  }

  body.a2t-services-page .a2t-studio-system footer {
    gap: 6px;
    padding: 13px 0 14px;
  }

  body.a2t-services-page .a2t-studio-system footer span {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    font-size: 7px;
  }

  /* Service catalogue: a vertical record, never a tiny desktop row. */
  body.a2t-services-page .a2t-service-row {
    grid-template-columns: 34px minmax(0, 1fr) 28px;
    gap: 8px 12px;
    min-height: 0;
    padding: 24px 0;
    background: transparent;
  }

  body.a2t-services-page .a2t-service-row > span {
    grid-column: 1;
    grid-row: 1;
    padding-top: 5px;
    color: var(--a2t-accent);
  }

  body.a2t-services-page .a2t-service-row h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: clamp(25px, 7.2vw, 31px);
    line-height: 1.03;
  }

  body.a2t-services-page .a2t-service-row p {
    grid-column: 2 / -1;
    grid-row: 2;
    max-width: 38rem;
    margin-top: 4px;
    color: #929d99;
    font-size: 13px;
    line-height: 1.62;
  }

  body.a2t-services-page .a2t-service-row > i {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    padding-top: 3px;
    opacity: .82;
    transform: none;
  }

  body.a2t-services-page .a2t-service-row:is(:hover, :focus-visible, .is-active) {
    padding-left: 0;
  }

  body.a2t-services-page .a2t-service-preview {
    gap: 9px;
    margin-top: 40px;
    padding-top: 20px;
  }

  body.a2t-services-page .a2t-service-preview strong {
    margin-top: 2px;
    font-size: 18px;
    line-height: 1.25;
  }

  body.a2t-services-page .a2t-service-preview p {
    max-width: 42rem;
    font-size: 13px;
    line-height: 1.65;
  }

  /* Services process: one clear reading lane. */
  body.a2t-services-page .a2t-service-process-wrap .a2t-process-flow-section.a2t-process-flow-services {
    padding: clamp(72px, 14vw, 94px) 0 !important;
  }

  body.a2t-services-page .a2t-service-process-wrap .a2t-process-flow-head {
    gap: 18px !important;
    margin-bottom: 30px !important;
  }

  body.a2t-services-page .a2t-service-process-wrap .a2t-process-flow-eyebrow {
    margin-bottom: -2px !important;
  }

  body.a2t-services-page .a2t-service-process-wrap .a2t-process-flow-head h2 {
    font-size: clamp(38px, 10.8vw, 54px) !important;
  }

  body.a2t-services-page .a2t-service-process-wrap .a2t-process-flow-head p {
    max-width: 38rem !important;
    font-size: 14px !important;
  }

  body.a2t-services-page .a2t-service-process-wrap .a2t-process-flow-grid {
    --process-node-size: 38px;
    --process-lane-width: 52px;
  }

  body.a2t-services-page .a2t-service-process-wrap .a2t-flow-card {
    grid-template-columns: var(--process-lane-width) minmax(0, 1fr) !important;
    gap: 7px 10px !important;
    padding: 18px 0 !important;
  }

  body.a2t-services-page .a2t-service-process-wrap .a2t-flow-step {
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: start;
  }

  body.a2t-services-page .a2t-service-process-wrap .a2t-flow-title-block {
    grid-column: 2;
    grid-row: 1;
    padding-left: 14px;
  }

  body.a2t-services-page .a2t-service-process-wrap .a2t-flow-title-block::before {
    height: 30px;
  }

  body.a2t-services-page .a2t-service-process-wrap .a2t-flow-status {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    min-width: 0;
    margin: 2px 0 0 14px;
  }

  body.a2t-services-page .a2t-service-process-wrap .a2t-flow-card > p {
    grid-column: 2;
    grid-row: 3;
    margin: 5px 0 0 !important;
    padding-left: 14px;
    font-size: 13px !important;
    line-height: 1.62 !important;
  }

  /* Landing case-study hero / snapshot. */
  body.a2t-case-studies-page .a2t-cases-hero .a2t-editorial-hero-aside {
    max-width: none;
    padding-top: 18px;
  }

  body.a2t-case-studies-page .a2t-case-live-stats {
    margin-top: 24px;
  }

  body.a2t-case-studies-page .a2t-case-live-stats > div {
    min-height: 84px;
    padding-top: 16px;
    padding-bottom: 15px;
  }

  body.a2t-case-studies-page .a2t-case-live-stats strong {
    font-size: clamp(28px, 8vw, 36px);
  }

  body.a2t-case-studies-page .a2t-case-live-stats span {
    max-width: 13rem;
    font-size: 7px;
    line-height: 1.4;
  }

  body.a2t-case-studies-page .a2t-editorial-coordinate {
    margin-top: 24px;
    padding-top: 12px;
  }

  /* Landing case-study records use intentional image ratios on phones. */
  body.a2t-case-studies-page .a2t-editorial-case {
    gap: 24px;
    padding: 38px 0 42px;
  }

  body.a2t-case-studies-page .a2t-editorial-case-media,
  body.a2t-case-studies-page .a2t-editorial-case.is-featured .a2t-editorial-case-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  body.a2t-case-studies-page .a2t-editorial-case-media img {
    min-height: 0;
    height: 100%;
  }

  body.a2t-case-studies-page .a2t-editorial-case-index {
    top: 12px;
    left: 12px;
  }

  body.a2t-case-studies-page .a2t-editorial-case-copy {
    max-width: none;
  }

  body.a2t-case-studies-page .a2t-editorial-case-meta {
    margin-bottom: 15px;
  }

  body.a2t-case-studies-page .a2t-editorial-case-copy h3 {
    font-size: clamp(32px, 9.7vw, 44px);
    line-height: 1.01;
  }

  body.a2t-case-studies-page .a2t-editorial-case-copy > p {
    margin-top: 17px;
    font-size: 14px;
    line-height: 1.66;
  }

  body.a2t-case-studies-page .a2t-editorial-case-copy ul {
    margin: 20px 0 24px;
  }

  body.a2t-case-studies-page .a2t-editorial-case-copy li {
    min-height: 27px;
    display: inline-flex;
    align-items: center;
  }

  body.a2t-case-studies-page .a2t-editorial-inline-link {
    min-height: 44px;
  }

  body.a2t-case-studies-page .a2t-editorial-testimonials > article {
    min-height: 0;
    padding-top: 26px;
    padding-bottom: 26px;
  }

  body.a2t-case-studies-page .a2t-editorial-testimonials blockquote {
    margin: 24px 0 28px;
    font-size: clamp(19px, 5.5vw, 23px);
  }

  body.a2t-case-studies-page .a2t-industries-grid {
    gap: 38px;
  }

  body.a2t-case-studies-page .a2t-industry-list span {
    min-height: 54px;
    font-size: 15px;
  }

  /* Case-study detail: compact narrative, large media, readable facts. */
  body.a2t-case-detail-editorial-page .a2t-case-detail-intro {
    padding-top: clamp(32px, 7vw, 48px);
  }

  body.a2t-case-detail-editorial-page .a2t-editorial-back {
    min-height: 44px;
    margin-bottom: clamp(34px, 8vw, 48px);
  }

  body.a2t-case-detail-editorial-page .a2t-case-detail-title-grid {
    gap: 30px;
  }

  body.a2t-case-detail-editorial-page .a2t-case-detail-lead {
    max-width: none;
    padding-top: 18px;
  }

  body.a2t-case-detail-editorial-page .a2t-case-detail-lead ul {
    margin: 20px 0 0;
  }

  body.a2t-case-detail-editorial-page .a2t-case-detail-lead li,
  body.a2t-case-detail-editorial-page .a2t-case-tech-row li {
    min-height: 27px;
    display: inline-flex;
    align-items: center;
  }

  body.a2t-case-detail-editorial-page .a2t-case-hero-media,
  body.a2t-case-detail-editorial-page .a2t-case-hero-media img,
  body.a2t-case-detail-editorial-page .a2t-case-hero-media .a2t-editorial-media-placeholder.is-dark {
    min-height: 0;
  }

  body.a2t-case-detail-editorial-page .a2t-case-hero-media {
    aspect-ratio: 16 / 10;
    margin-top: clamp(42px, 9vw, 62px);
  }

  body.a2t-case-detail-editorial-page .a2t-case-hero-media img {
    height: 100%;
    max-height: none;
  }

  body.a2t-case-detail-editorial-page .a2t-case-hero-media::before {
    top: 10px;
    left: 10px;
    padding: 5px 7px;
  }

  body.a2t-case-detail-editorial-page .a2t-case-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.a2t-case-detail-editorial-page .a2t-case-facts > div,
  body.a2t-case-detail-editorial-page .a2t-case-facts > div:not(:first-child) {
    min-width: 0;
    min-height: 82px;
    padding: 16px 12px;
    border-top: 1px solid var(--a2t-line);
    border-right: 1px solid var(--a2t-line);
  }

  body.a2t-case-detail-editorial-page .a2t-case-facts > div:nth-child(odd) {
    padding-left: 0;
  }

  body.a2t-case-detail-editorial-page .a2t-case-facts > div:nth-child(even) {
    padding-right: 0;
    border-right: 0;
  }

  body.a2t-case-detail-editorial-page .a2t-case-facts strong {
    margin-top: 12px;
    overflow-wrap: anywhere;
  }

  body.a2t-case-detail-editorial-page .a2t-case-story-row {
    gap: 22px;
    padding: 32px 0 38px;
  }

  body.a2t-case-detail-editorial-page .a2t-case-story-label {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
  }

  body.a2t-case-detail-editorial-page .a2t-case-story-label strong {
    font-size: clamp(29px, 8.4vw, 38px);
  }

  body.a2t-case-detail-editorial-page .a2t-case-story-copy .is-lead {
    font-size: clamp(18px, 5vw, 22px);
    line-height: 1.5;
  }

  body.a2t-case-detail-editorial-page :is(.a2t-case-story-copy ul, .a2t-case-delivery-section ul) {
    margin-top: 24px;
  }

  body.a2t-case-detail-editorial-page :is(.a2t-case-story-copy li, .a2t-case-delivery-section li) {
    padding-top: 12px;
    padding-bottom: 12px;
    line-height: 1.58;
  }

  body.a2t-case-detail-editorial-page .a2t-case-feature-list article {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px 12px;
    min-height: 0;
    padding: 22px 0;
  }

  body.a2t-case-detail-editorial-page .a2t-case-feature-list h3 {
    font-size: clamp(22px, 6.4vw, 28px);
  }

  body.a2t-case-detail-editorial-page .a2t-case-feature-list p {
    grid-column: 2;
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.62;
  }

  body.a2t-case-detail-editorial-page .a2t-case-feature-list i {
    display: none;
  }

  body.a2t-case-detail-editorial-page .a2t-case-delivery-grid article,
  body.a2t-case-detail-editorial-page .a2t-case-delivery-grid article + article {
    padding: 32px 0;
  }

  body.a2t-case-detail-editorial-page .a2t-case-delivery-grid h2 {
    margin: 28px 0 16px;
    font-size: clamp(30px, 8.7vw, 40px);
  }

  body.a2t-case-detail-editorial-page .a2t-case-screen-grid {
    gap: 14px;
  }

  body.a2t-case-detail-editorial-page .a2t-case-screen-grid :is(img, .a2t-editorial-media-placeholder) {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  body.a2t-case-detail-editorial-page .a2t-case-screen-grid figcaption {
    min-height: 48px;
    padding: 10px 13px;
    line-height: 1.45;
  }

  body.a2t-case-detail-editorial-page .a2t-case-result-head {
    gap: 18px !important;
  }

  body.a2t-case-detail-editorial-page .a2t-case-result-head .a2t-editorial-kicker {
    margin-bottom: 0;
  }

  body.a2t-case-detail-editorial-page .a2t-case-outcome-list {
    margin-top: 44px;
  }

  body.a2t-case-detail-editorial-page .a2t-case-outcome-list article,
  body.a2t-case-detail-editorial-page .a2t-case-outcome-list article:not(:nth-child(3n+1)) {
    min-height: 0;
    padding: 22px 0;
    border-right: 0;
  }

  body.a2t-case-detail-editorial-page .a2t-case-outcome-list strong {
    margin-top: 18px;
    font-size: 19px;
  }

  body.a2t-case-detail-editorial-page .a2t-case-tech-row {
    gap: 14px;
    margin-top: 42px;
    padding-top: 18px;
  }

  body.a2t-case-detail-editorial-page .a2t-case-tech-row ul {
    margin: 0;
  }

  body.a2t-case-detail-editorial-page .a2t-related-case-list > a {
    min-height: 0;
    padding: 22px 0;
  }

  body.a2t-case-detail-editorial-page .a2t-related-case-list h3 {
    overflow-wrap: break-word;
  }

  body.a2t-services-page .a2t-editorial-cta-action,
  body.a2t-case-studies-page .a2t-editorial-cta-action,
  body.a2t-case-detail-editorial-page .a2t-editorial-cta-action {
    padding-top: 22px;
    border-top: 1px solid rgba(11, 15, 18, .18);
  }
}

@media (max-width: 430px) {
  body.a2t-services-page .a2t-editorial-hero-grid,
  body.a2t-case-studies-page .a2t-editorial-hero-grid {
    gap: 32px;
    padding-top: 52px;
    padding-bottom: 66px;
  }

  body.a2t-services-page .a2t-editorial-hero h1,
  body.a2t-case-studies-page .a2t-editorial-hero h1,
  body.a2t-case-detail-editorial-page .a2t-case-detail-intro h1 {
    font-size: clamp(41px, 12.3vw, 52px);
  }

  body.a2t-services-page .a2t-editorial-actions,
  body.a2t-case-detail-editorial-page .a2t-editorial-actions {
    gap: 10px;
    margin-top: 28px;
  }

  body.a2t-services-page .a2t-editorial-button,
  body.a2t-case-studies-page .a2t-editorial-button,
  body.a2t-case-detail-editorial-page .a2t-editorial-button {
    min-height: 46px;
  }

  body.a2t-services-page .a2t-service-row {
    grid-template-columns: 30px minmax(0, 1fr) 24px;
    gap: 7px 10px;
    padding: 21px 0;
  }

  body.a2t-services-page .a2t-service-row h3 {
    font-size: clamp(24px, 7vw, 28px);
  }

  body.a2t-services-page .a2t-service-row p {
    grid-column: 2 / -1;
  }

  body.a2t-services-page .a2t-service-process-wrap .a2t-process-flow-grid {
    --process-node-size: 34px;
    --process-lane-width: 46px;
  }

  body.a2t-services-page .a2t-service-process-wrap .a2t-flow-title-block,
  body.a2t-services-page .a2t-service-process-wrap .a2t-flow-card > p {
    padding-left: 11px;
  }

  body.a2t-services-page .a2t-service-process-wrap .a2t-flow-status {
    margin-left: 11px;
  }

  body.a2t-case-studies-page .a2t-case-live-stats > div {
    min-height: 78px;
    padding-right: 12px;
  }

  body.a2t-case-studies-page .a2t-case-live-stats > div:nth-child(even) {
    padding-left: 12px;
  }

  body.a2t-case-studies-page .a2t-editorial-coordinate {
    gap: 7px;
    font-size: 7px;
  }

  body.a2t-case-studies-page .a2t-editorial-case {
    padding: 32px 0 36px;
  }

  body.a2t-case-studies-page .a2t-editorial-case-media,
  body.a2t-case-studies-page .a2t-editorial-case.is-featured .a2t-editorial-case-media {
    aspect-ratio: 4 / 3;
  }

  body.a2t-case-studies-page .a2t-editorial-case-copy h3 {
    font-size: clamp(31px, 9.5vw, 40px);
  }

  body.a2t-case-detail-editorial-page .a2t-case-hero-media {
    aspect-ratio: 4 / 3;
  }

  body.a2t-case-detail-editorial-page .a2t-case-story-row {
    padding: 28px 0 34px;
  }

  body.a2t-case-detail-editorial-page .a2t-related-case-list > a {
    grid-template-columns: 26px minmax(0, 1fr) 22px;
    gap: 10px;
  }

  body.a2t-case-detail-editorial-page .a2t-related-case-list img,
  body.a2t-case-detail-editorial-page .a2t-related-placeholder {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  body.a2t-case-detail-editorial-page .a2t-editorial-cta-action,
  body.a2t-services-page .a2t-editorial-cta-action,
  body.a2t-case-studies-page .a2t-editorial-cta-action {
    padding-top: 18px;
  }
}

@media (max-width: 350px) {
  body.a2t-services-page .a2t-editorial-hero h1,
  body.a2t-case-studies-page .a2t-editorial-hero h1,
  body.a2t-case-detail-editorial-page .a2t-case-detail-intro h1 {
    font-size: 40px;
  }

  body.a2t-services-page .a2t-system-line {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  body.a2t-services-page .a2t-service-row {
    grid-template-columns: 27px minmax(0, 1fr) 22px;
    gap: 7px 8px;
  }

  body.a2t-services-page .a2t-service-row h3 {
    font-size: 23px;
  }

  body.a2t-case-studies-page .a2t-case-live-stats span {
    font-size: 6.5px;
    letter-spacing: .07em;
  }

  body.a2t-case-detail-editorial-page .a2t-case-facts > div,
  body.a2t-case-detail-editorial-page .a2t-case-facts > div:not(:first-child) {
    padding-right: 9px;
    padding-left: 9px;
  }
}

@media (hover: none) and (pointer: coarse) and (max-width: 900px) {
  /* Information may never depend on hover on touch devices. */
  body.a2t-services-page .a2t-service-row {
    padding-left: 0;
    background: transparent;
  }

  body.a2t-services-page .a2t-service-row > i {
    opacity: .82;
    transform: none;
  }

  body.a2t-services-page .a2t-service-row h3 {
    color: #d7ddda;
  }

  body.a2t-services-page .a2t-service-row:is(:hover, :focus-visible, .is-active) {
    padding-left: 0;
    background: transparent;
  }

  body.a2t-services-page .a2t-service-process-wrap .a2t-flow-card:hover .a2t-flow-step span {
    border-color: rgba(17, 22, 25, .48) !important;
    background: var(--a2t-paper) !important;
    color: #111619 !important;
  }

  body.a2t-case-studies-page .a2t-editorial-case:hover .a2t-editorial-case-media img {
    transform: none;
    filter: none;
  }
}

/* ========================================================================== 
   Upgrade 98 — Case Studies mobile hero width correction
   The case-study hero has a more-specific desktop two-column declaration than
   the shared responsive rule. On narrow screens that left the 330px snapshot
   column active and compressed the title column to only a few characters.
   Keep desktop/tablet geometry untouched; collapse the landing hero explicitly
   once the shared editorial system becomes single-column.
   ========================================================================== */
@media (max-width: 1080px) {
  body.a2t-case-studies-page .a2t-cases-hero .a2t-editorial-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.a2t-case-studies-page .a2t-cases-hero .a2t-editorial-hero-copy,
  body.a2t-case-studies-page .a2t-cases-hero .a2t-editorial-hero-aside {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  body.a2t-case-studies-page .a2t-cases-hero .a2t-editorial-hero h1 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}
