/* ADCITIES — Home modules. Scoped under .adc */

.adc-map {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity 1.2s var(--adc-ease);
}
.adc-map.is-ready { opacity: 1; }
.adc main { position: relative; z-index: 1; }
.adc-section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }

.adc-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 860px; }
.adc-head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.adc-head--split { max-width: none; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 24px 64px; }
.adc-head--split > div { display: grid; gap: 20px; justify-items: start; }
@media (max-width: 800px) { .adc-head--split { grid-template-columns: 1fr; } }

/* ================= 1. HERO ================= */
/* Light, full-bleed illustrated street. Copy fixed on the quiet left; the city is drawn on a canvas (js/adc-city.js). */
.adc-hero { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; color: var(--adc-ink); background: #F2EBE3; overflow: hidden; }
/* a soft veil of light over the left of the scene, part of the haze: the copy reads without a box */
.adc-hero__scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(246, 240, 233, .9) 0%, rgba(246, 240, 233, .84) 28%, rgba(246, 240, 233, .5) 42%, rgba(246, 240, 233, .14) 52%, rgba(246, 240, 233, 0) 62%); }
.adc-hero__scene { position: absolute; inset: 0; }
.adc-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.adc-hero__content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 600px); gap: 28px; padding-top: calc(var(--adc-nav-h) + 24px); padding-bottom: 48px; pointer-events: none; }
.adc-hero__content a { pointer-events: auto; }
.adc-hero__main { display: grid; gap: 22px; }
.adc-hero__title { font-size: clamp(46px, 4.3vw, 62px); line-height: .98; letter-spacing: -.045em; font-weight: 650; }
.adc-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.adc-line > span { display: block; }
.adc-line--accent { color: var(--adc-ink); font-weight: 400; }
.adc-hero__side { display: grid; gap: 28px; justify-items: start; }
.adc-hero__lead { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--adc-ink); max-width: 29em; }
.adc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* format label (hover / tap) and a discreet pause control */
.adc-hero__tag {
  position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; white-space: nowrap;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1;
  background: var(--adc-cream); color: var(--adc-ink); padding: 7px 9px 7px 8px; border: 1px solid var(--adc-ink);
}
.adc-hero__tag::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--adc-orange); margin-right: 7px; vertical-align: 1px; }
.adc-hero__pause {
  position: absolute; z-index: 3; left: calc(max(0px, (100% - var(--adc-max) - 2 * var(--adc-gutter)) / 2) + var(--adc-gutter)); bottom: 20px; width: 32px; height: 32px; padding: 0; display: grid; place-items: center;
  border: 1px solid var(--adc-line); border-radius: 0; background: var(--adc-cream); color: var(--adc-ink); cursor: pointer;
  transition: border-color .25s, background-color .25s, color .25s;
}
.adc-hero__pause svg { width: 11px; height: 11px; fill: currentColor; }
.adc-hero__pause .adc-hero__play-i, .adc-hero__pause[aria-pressed="true"] .adc-hero__pause-i { display: none; }
.adc-hero__pause[aria-pressed="true"] .adc-hero__play-i { display: block; }
.adc-hero__pause:hover { border-color: var(--adc-ink); background: var(--adc-ink); color: var(--adc-cream); }
.adc-hero__pause:focus-visible { outline: 2px solid var(--adc-orange); outline-offset: 2px; }

@media (max-width: 860px) {
  /* mobile: message first, then the street as its own composition below it (same paper, no seam) */
  .adc-hero { min-height: 0; display: flex; justify-content: flex-start; }
  .adc-hero__content { order: 1; padding-top: calc(var(--adc-nav-h) + 32px); padding-bottom: 8px; gap: 22px; }
  .adc-hero__title { font-size: clamp(36px, 10.4vw, 56px); }
  .adc-hero__scene { position: relative; order: 2; height: clamp(320px, 52svh, 520px); }
  .adc-hero__scene::after { display: none; }
  /* the tallest roofs dissolve into the paper instead of being cut by the box (like the fog at the end of the street) */
  .adc-hero__canvas { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 44px); mask-image: linear-gradient(to bottom, transparent 0, #000 44px); }
  .adc-hero__pause { bottom: 14px; }
}

/* fallback: the approved photo (no JavaScript, or no canvas) */
.adc .adc-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 55%; }
.adc-hero--photo .adc-hero__eyebrow, html:not(.adc-js) .adc-hero__eyebrow { color: var(--adc-cream); }
.adc-hero--photo :is(.adc-hero__title, .adc-hero__lead, .adc-hero__eyebrow), html:not(.adc-js) :is(.adc-hero__title, .adc-hero__lead, .adc-hero__eyebrow) { text-shadow: 0 1px 2px rgba(30, 37, 48, .35); }
.adc-hero--photo .adc-line, html:not(.adc-js) .adc-line { color: var(--adc-cream); }
.adc-hero--photo, html:not(.adc-js) .adc-hero { background: var(--adc-ink); color: var(--adc-cream); }
.adc-hero--photo .adc-hero__scene::after, html:not(.adc-js) .adc-hero__scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 37, 48, .82) 0%, rgba(30, 37, 48, .62) 22%, rgba(30, 37, 48, .28) 40%, rgba(30, 37, 48, 0) 58%); }
.adc-hero--photo .adc-hero__lead, html:not(.adc-js) .adc-hero__lead { color: var(--adc-cream); }
.adc-hero--photo .adc-btn--ghost, html:not(.adc-js) .adc-hero .adc-btn--ghost { --fg: var(--adc-cream); border-color: var(--adc-cream); }
.adc-hero--photo .adc-btn--ghost::before, html:not(.adc-js) .adc-hero .adc-btn--ghost::before { background: var(--adc-cream); }
.adc-hero--photo .adc-btn--ghost:hover, html:not(.adc-js) .adc-hero .adc-btn--ghost:hover { color: var(--adc-ink); }
@media (max-width: 860px) {
  .adc-hero--photo .adc-hero__scene, html:not(.adc-js) .adc-hero__scene { order: 0; height: 56svh; min-height: 340px; }
  .adc-hero--photo .adc-hero__scene::after, html:not(.adc-js) .adc-hero__scene::after { display: none; }
  .adc .adc-hero--photo .adc-hero__photo, html:not(.adc-js) .adc .adc-hero__photo { object-position: 64% 50%; }
  .adc-hero--photo .adc-hero__content, html:not(.adc-js) .adc-hero__content { padding-top: 28px; padding-bottom: 32px; }
}
/* R45: on phones the copy sits below the photo, so it goes on cream like the 3D hero (no dark block) */
@media (max-width: 860px) {
  .adc-hero--photo, html:not(.adc-js) .adc-hero { background: #F2EBE3; color: var(--adc-ink); }
  .adc-hero--photo :is(.adc-hero__title, .adc-hero__lead, .adc-hero__eyebrow), html:not(.adc-js) :is(.adc-hero__title, .adc-hero__lead, .adc-hero__eyebrow) { text-shadow: none; }
  .adc-hero--photo .adc-hero__lead, html:not(.adc-js) .adc-hero__lead { color: var(--adc-ink); }
  .adc-hero--photo .adc-hero__eyebrow, html:not(.adc-js) .adc-hero__eyebrow { color: var(--adc-orange); }
  .adc-hero--photo .adc-line, html:not(.adc-js) .adc-line { color: var(--adc-ink); }
  .adc-hero--photo .adc-btn--ghost, html:not(.adc-js) .adc-hero .adc-btn--ghost { --fg: var(--adc-ink); border-color: var(--adc-ink); }
  .adc-hero--photo .adc-btn--ghost::before, html:not(.adc-js) .adc-hero .adc-btn--ghost::before { background: var(--adc-ink); }
  .adc-hero--photo .adc-btn--ghost:hover, html:not(.adc-js) .adc-hero .adc-btn--ghost:hover { color: var(--adc-cream); }
}

/* intro: copy rises, the city fades in once its first frame is drawn */
.adc-js .adc-hero__canvas { opacity: 0; transition: opacity 1.2s var(--adc-ease); }
.adc-js .adc-hero__scene.is-drawn .adc-hero__canvas { opacity: 1; }
.adc-js .adc-hero__eyebrow, .adc-js .adc-hero__side { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--adc-ease-out), transform .9s var(--adc-ease-out); }
.adc-js .adc-line > span { transform: translateY(105%); transition: transform 1.1s var(--adc-ease-out); }
.adc-js .is-loaded .adc-hero__eyebrow, .adc-js .is-loaded .adc-hero__side { opacity: 1; transform: none; }
.adc-js .is-loaded .adc-line > span { transform: none; }
.adc-js .is-loaded .adc-line:nth-child(2) > span { transition-delay: .12s; }
.adc-js .is-loaded .adc-hero__side { transition-delay: .4s; }

/* ================= PENDING IMAGE PLACEHOLDERS ================= */
/* Final ratio and position; technical briefs live in IMAGE-BRIEFS.md. */
.adc-ph { position: absolute; inset: 0; overflow: hidden; }
.adc-ph--dark { background: #1E2530; }
.adc-ph--light { background: var(--adc-warm); }
.adc-ph--onDark { background: #1E2530; }
.adc-ph__tag { position: absolute; left: 14px; bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; }
.adc-ph--dark .adc-ph__tag { left: auto; bottom: auto; right: var(--adc-gutter); top: calc(var(--adc-nav-h) + 14px); }
.adc-ph--dark .adc-ph__tag, .adc-ph--onDark .adc-ph__tag { color: var(--adc-cream); border: 1px solid var(--adc-cream); }
.adc-ph--light .adc-ph__tag { color: var(--adc-body); border: 1px solid #C9B3A3; }

/* ================= 2. FIGURES BAND ================= */
.adc-stats { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 4vw, 56px); }
.adc-stats__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--adc-ink); }
.adc-bigstat { display: grid; grid-template-rows: auto auto auto; align-content: start; row-gap: 10px; padding: 28px clamp(16px, 3vw, 40px) 0; border-left: 1px solid var(--adc-line); }
.adc-bigstat:first-child { border-left: 0; padding-left: 0; }
.adc-bigstat dd { grid-row: 1; margin: 0; font-size: clamp(56px, 8.4vw, 136px); font-weight: 650; letter-spacing: -.055em; line-height: .9; font-variant-numeric: tabular-nums; white-space: nowrap; }
.adc-bigstat:first-child dd { color: var(--adc-orange); }
.adc-bigstat dt { grid-row: 2; font-size: 15px; font-weight: 500; color: var(--adc-ink); }
@media (max-width: 600px) {
  .adc-stats__row { grid-template-columns: repeat(3, minmax(0, auto)); justify-content: space-between; }
  .adc-bigstat { padding: 20px 0 0 14px; }
  .adc-bigstat dt { font-size: 12px; line-height: 1.3; }
  .adc-bigstat dd { font-size: clamp(30px, 9.4vw, 44px); }
  .adc-bigstat:first-child { padding-left: 0; }
  .adc-mkt__open { font-size: 13px; text-align: left; }
}

/* ================= CONTEXT (sticky map zoom) ================= */
.adc-context { position: relative; height: 290vh; }
.adc-context__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; padding-top: calc(var(--adc-nav-h) + clamp(24px, 7vh, 88px)); }   /* copy sits high: no dead band after the figures */
.adc-context__grid { position: relative; z-index: 2; }
.adc-context__copy {
  max-width: 640px; display: grid; gap: 22px; justify-items: start; padding: 32px 32px 32px 0;
  position: relative;
}
.adc-context__note { font-size: 15px; color: var(--adc-body); border-left: 2px solid var(--adc-orange); padding-left: 14px; }
.adc-context__note strong { color: var(--adc-ink); font-weight: 700; }

.adc-context__panel {
  position: absolute; left: var(--px, 70%); top: var(--py, 50%); width: 0; height: 0; z-index: 1;
  pointer-events: none;
}
.adc-context__panel-box {
  --bw: calc(16px + 24px * var(--pz, 0)); --bh: calc(23px + 35px * var(--pz, 0));
  position: absolute; width: var(--bw); height: var(--bh); left: calc(var(--bw) / -2); top: calc(var(--bh) / -2); background: var(--adc-ink);
  box-shadow: 0 0 0 calc(2px + 4px * var(--pz, 0)) var(--adc-cream), 0 0 0 calc(3px + 4px * var(--pz, 0)) var(--adc-ink);
  opacity: var(--pb, 0);
}
.adc-context__panel { opacity: 1; }
.adc-context__tag { opacity: var(--po, 0); }
.adc-context__panel-box::after { content: ""; position: absolute; inset: calc(2px + 3px * var(--pz, 0)); background: var(--adc-orange); }
.adc-context__tag {
  position: absolute; white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: var(--adc-cream); color: var(--adc-ink); padding: 7px 10px; border: 1px solid var(--adc-ink);
  transform: translate(var(--tx), var(--ty)) scale(calc(.85 + var(--po, 0) * .15));
  transition: transform .3s var(--adc-ease-out);
}
.adc-context__tag::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--adc-orange); margin-right: 8px; vertical-align: 1px; }
.adc-context__tag--1 { --tx: -230px; --ty: -150px; }
.adc-context__tag--2 { --tx: 70px; --ty: -120px; }
.adc-context__tag--3 { --tx: 80px; --ty: 90px; }
.adc-context__tag--4 { --tx: -250px; --ty: 110px; }

.adc-context__steps { position: absolute; left: 0; right: 0; bottom: 32px; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.adc-scale { display: flex; gap: 6px; }
.adc-scale li {
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--adc-sub);
  padding: 10px 14px 8px; border-top: 2px solid var(--adc-line); background: var(--adc-cream);
  transition: color .3s, border-color .3s;
}
.adc-scale li.is-on { color: var(--adc-ink); border-color: var(--adc-orange); }
.adc-context__disclaimer { font-size: 12px; color: var(--adc-sub); background: var(--adc-cream); padding: 4px 8px; }

@media (min-width: 861px) and (max-width: 1279px) {
  .adc-context__tag--1 { --tx: -135px; --ty: -150px; }
  .adc-context__tag--4 { --tx: -110px; --ty: 120px; }
}
@media (max-width: 860px) {
  .adc-context { height: 230vh; }
  .adc-context__sticky { justify-content: flex-start; padding-top: calc(var(--adc-nav-h) + 12px); }
  .adc-context__copy { padding: 20px 0; gap: 14px; }
  .adc-context__copy .adc-p { font-size: 15px; }
  .adc-context__tag { font-size: 11px; padding: 5px 7px; }
  .adc-context__tag--1 { --tx: -150px; --ty: -100px; }
  .adc-context__tag--2 { --tx: 34px; --ty: -84px; }
  .adc-context__tag--3 { --tx: 34px; --ty: 60px; }
  .adc-context__tag--4 { --tx: -160px; --ty: 74px; }
  .adc-context__steps { bottom: 16px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .adc-scale li { padding: 8px 10px 6px; font-size: 12px; }
}

/* ================= 4. OMI + SIGNALS (warm grey surface, no nested cards) ================= */
.adc-signals { position: relative; z-index: 2; background: var(--adc-warm); padding: clamp(64px, 8vw, 112px) 0; }
.adc-signals__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 3vw, 40px); }
/* header: one text column (eyebrow, title, lede) at ~60%, the OMI sphere alone at ~40%, centred on the text block */
.adc-signals__head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: center; gap: 24px clamp(24px, 4vw, 64px); }
.adc-signals__intro { display: grid; gap: 16px; }
.adc-signals__intro .adc-p { max-width: 34em; }
.adc-omi { justify-self: center; margin: -5% 0; width: clamp(220px, 19vw, 272px); }   /* the sphere fills ~92% of the GIF: 272px of image ≈ 250px of visible sphere */
.adc-omi img { width: 100%; max-width: 300px; aspect-ratio: 1; mix-blend-mode: multiply; }  /* the GIF's white field takes the surface tone */
.adc-signals__main { display: grid; }
.adc-sig__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--adc-ink); }
/* four equal cells: hairline dividers between inactive tabs, one common baseline; the active block covers its own dividers */
.adc-sig__tab::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--adc-line); transition: opacity .3s var(--adc-ease); }
.adc-sig__tab:first-child::after { display: none; }
.adc-sig__tab[aria-selected="true"]::after, .adc-sig__tab[aria-selected="true"] + .adc-sig__tab::after { opacity: 0; }
.adc-sig__tab {
  position: relative; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 56px; padding: 12px 16px; border: 0; border-radius: 0;
  background: transparent; font-size: 17px; font-weight: 600; letter-spacing: -.015em; color: var(--adc-ink);
  cursor: pointer; isolation: isolate; transition: color .3s var(--adc-ease); -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.adc-sig__tab::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--adc-orange); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--adc-ease-out); }
.adc-sig__tab:hover::before { transform: scaleY(.06); }
.adc-sig__tab[aria-selected="true"] { color: #fff; }
.adc-sig__tab[aria-selected="true"]::before { transform: scaleY(1); }
.adc-sig__tab:focus-visible { outline: 2px solid var(--adc-ink); outline-offset: -2px; }
.adc-sig__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 5vw, 80px); padding-top: clamp(28px, 3.4vw, 44px); min-height: 400px; }
.adc-sig__body:focus-visible { outline: 2px solid var(--adc-ink); outline-offset: 6px; }
.adc-sig__text { display: grid; gap: 14px; align-content: start; padding-top: 8px; }
.adc-sig__kicker { color: var(--adc-orange-ink); }
.adc-sig__text > * { transition: opacity .35s var(--adc-ease), transform .5s var(--adc-ease-out); }
.adc-sig__text.is-swapping > * { opacity: 0; transform: translateY(10px); }
.adc-sig__detail { display: grid; gap: 14px; margin-top: 4px; }
.adc-sig__reads { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--adc-line); max-width: 36em; }
.adc-sig__reads li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--adc-ink); }
.adc-sig__reads li::before { content: ""; width: 6px; height: 6px; background: var(--adc-orange); flex: none; }
.adc-sig__reads[hidden] { display: none; }
.adc-sig__detail[hidden] { display: none; }
.adc-crit3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--adc-ink); }
.adc-crit3 li { padding: 12px 12px 0 0; font-size: 14px; color: var(--adc-body); line-height: 1.3; }
.adc-crit3 li + li { padding-left: 12px; border-left: 1px solid var(--adc-line); }
.adc-crit3 b { display: block; font-size: 24px; font-weight: 650; letter-spacing: -.03em; color: var(--adc-ink); margin-bottom: 2px; }
.adc-crit3__note { font-size: 15px; font-weight: 600; color: var(--adc-ink); padding-left: 12px; border-left: 3px solid var(--adc-orange); margin-top: 18px; }   /* the closing line, set apart from the three criteria */
.adc-more-attr summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--adc-ink); width: fit-content; }
.adc-more-attr summary:focus-visible { outline: 2px solid var(--adc-orange); outline-offset: 3px; }
.adc-more-attr p { font-size: 14px; color: var(--adc-body); margin-top: 8px; }
.adc-vis__guide { fill: none; stroke: var(--adc-ink); stroke-width: 1.2; }
.adc-vis__lbl { font-size: 20px; font-weight: 600; fill: var(--adc-ink); }

.adc-sig__viz { width: 100%; max-width: 440px; justify-self: center; margin: 0; }
.adc-sig__viz .adc-vis__svg { display: none; }
.adc-sig__viz[data-state="inventory"] .adc-viz { display: none; }
.adc-sig__viz[data-state="inventory"] .adc-vis__svg { display: block; animation: adc-fade .6s var(--adc-ease-out); }
@keyframes adc-fade { from { opacity: 0; } }

@media (max-width: 860px) {
  .adc-signals__head { grid-template-columns: 1fr; gap: 8px; }
  .adc-omi { width: clamp(148px, 38vw, 160px); margin: -2% auto; }   /* ≈130–150px of visible sphere, centred, below the lede */
}
@media (max-width: 680px) {
  }
@media (max-width: 680px) {
  .adc-sig__body { grid-template-columns: 1fr; min-height: 0; }
  .adc-sig__viz { max-width: 360px; }
}
@media (max-width: 600px) {
  .adc-sig__tabs { grid-template-columns: 1fr 1fr; }
  .adc-sig__tab:nth-child(3)::after { display: none; }
  .adc-sig__tab:nth-child(-n+2) { box-shadow: inset 0 -1px 0 var(--adc-line); }   /* hairline between the two rows */
  .adc-crit3 b { font-size: 20px; }
}

.adc-sig__viz { position: relative; }
.adc-sig__cap { font-size: 12px; color: var(--adc-sub); text-align: right; margin-top: 6px; }
.adc-viz { width: 100%; height: auto; overflow: visible; }
.adc-viz text { paint-order: stroke; stroke: var(--adc-warm); stroke-width: 7px; stroke-linejoin: round; font-family: var(--adc-font); font-size: 20px; font-weight: 600; fill: var(--adc-body); letter-spacing: .02em; }
.adc-viz__streets path { stroke: #D8C3B3; stroke-width: 4; fill: none; stroke-linecap: square; }
.adc-viz__streets path.thin { stroke-width: 1.5; stroke: #E2D0C3; }
.adc-viz__panel rect { fill: var(--adc-ink); }
.adc-viz__panel line { stroke: var(--adc-ink); stroke-width: 3; }
.adc-viz__g { opacity: 0; transition: opacity .45s var(--adc-ease); }
.adc-viz__g * { transition: transform .8s var(--adc-ease-out), stroke-dashoffset 1s var(--adc-ease-out), opacity .6s; transform-box: fill-box; transform-origin: center; }
[data-state="place"] .adc-viz--place,
[data-state="moment"] .adc-viz--moment,
[data-state="situation"] .adc-viz--situation { opacity: 1; }

.adc-viz--place .ring { fill: none; stroke: var(--adc-orange); stroke-width: 2; transform: scale(.4); opacity: 0; }
.adc-viz--place .ring.r2 { stroke-dasharray: 4 6; stroke: #C9B3A3; opacity: 0; }
.adc-viz--place .poi { fill: var(--adc-orange); transform: scale(0); }
.adc-viz--place .poi.dim { fill: var(--adc-ink); }
[data-state="place"] .adc-viz--place .ring { transform: none; opacity: 1; }
[data-state="place"] .adc-viz--place .ring.r2 { opacity: 1; transition-delay: .1s; }
[data-state="place"] .adc-viz--place .poi { transform: none; transition-delay: .2s; }

.adc-viz--moment .dial { fill: none; stroke: #C9B3A3; stroke-width: 1; stroke-dasharray: 2 6; }
.adc-viz--moment .arc { fill: none; stroke: var(--adc-orange); stroke-width: 10; stroke-dasharray: 160; stroke-dashoffset: 160; }
.adc-viz--moment .ticks text { fill: var(--adc-sub); font-size: 18px; }
[data-state="moment"] .adc-viz--moment .arc { stroke-dashoffset: 0; transition-delay: .1s; }

.adc-viz--situation .wave { fill: none; stroke: var(--adc-orange); stroke-width: 1.5; opacity: 0; }
[data-state="situation"] .adc-viz--situation .wave { animation: adc-wave 3s var(--adc-ease) infinite; }
[data-state="situation"] .adc-viz--situation .w2 { animation-delay: 1s; }
[data-state="situation"] .adc-viz--situation .w3 { animation-delay: 2s; }
@keyframes adc-wave { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }

 
/* ================= 5. ONE AUDIENCE (OOH + Retail) ================= */
.adc-media { position: relative; padding: clamp(64px, 8vw, 112px) 0; }
.adc-media__head { display: grid; gap: 14px; max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.adc-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.adc-pair__item { display: grid; gap: 20px; }
.adc-pair__img { position: relative; overflow: hidden; background: var(--adc-warm); }
.adc-pair__img { aspect-ratio: 4 / 3; }
.adc-pair__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transition: transform 1.2s var(--adc-ease-out); }
.adc-pair__item:hover .adc-pair__img img { transform: scale(1.03); }
.adc-pair__text { display: grid; gap: 10px; justify-items: start; max-width: 34em; }
@media (max-width: 760px) {
  .adc-pair { grid-template-columns: 1fr; gap: 48px; }
}

/* ================= 6. WHO IT'S FOR (Webflow reference layout) ================= */
.adc-roles__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px clamp(40px, 7vw, 120px); align-items: start; }
.adc-roles__intro { display: grid; gap: 18px; align-content: start; padding-top: 48px; }
.adc-seg { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 100%; }
.adc-seg__btn {
  position: relative; z-index: 1; height: 48px; padding: 0 12px; border: 0; border-radius: 0; background: transparent; color: var(--adc-body);
  font-size: 15px; font-weight: 500; cursor: pointer; transition: color .3s var(--adc-ease); -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.adc-seg__btn:hover { color: var(--adc-ink); }
.adc-seg__btn[aria-selected="true"] { color: #fff; font-weight: 600; }
.adc-seg__btn:focus-visible { outline: 2px solid var(--adc-ink); outline-offset: -2px; }
.adc-seg__ink { position: absolute; z-index: 0; top: 0; left: 0; width: var(--w, 25%); height: 48px; transform: translate(var(--x, 0), var(--y, 0)); background: var(--adc-orange); transition: transform .45s var(--adc-ease-out), width .45s var(--adc-ease-out); }
.adc-roles__panels { border-top: 1px solid var(--adc-line); margin-top: 24px; padding-top: 32px; }
.adc-role { display: grid; gap: 14px; justify-items: start; }
.adc-role[hidden] { display: none; }
.adc-role:not([hidden]) > * { animation: adc-rise .5s var(--adc-ease-out) both; }
.adc-role:not([hidden]) > :nth-child(3) { animation-delay: .04s; }
.adc-role:not([hidden]) > :nth-child(4) { animation-delay: .08s; }
@keyframes adc-rise { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 860px) {
  .adc-roles__grid { grid-template-columns: 1fr; }
  .adc-roles__intro { padding-top: 0; }
}
@media (max-width: 520px) {
  .adc-seg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ================= FLOW ================= */
.adc-surface { z-index: 2; background: var(--adc-warm); }
.adc-flow__track { position: relative; --p: 0; }
.adc-flow__line { position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--adc-line); }
.adc-flow__line i { position: absolute; inset: 0; background: var(--adc-orange); transform: scaleX(var(--p)); transform-origin: left; }
.adc-flow__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.adc-flow__step { position: relative; display: grid; gap: 14px; align-content: start; padding-top: 40px; }
.adc-flow__node { position: absolute; top: 0; left: 0; width: 16px; height: 16px; background: var(--adc-cream); border: 2px solid var(--adc-sub); transition: background .4s, border-color .4s, transform .4s var(--adc-ease-out); }
.adc-flow__step.is-on .adc-flow__node { background: var(--adc-orange); border-color: var(--adc-orange); transform: rotate(45deg); }
.adc-flow__tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--adc-sub); transition: color .4s; }
.adc-flow__step.is-on .adc-flow__tag { color: var(--adc-orange-ink); }
@media (max-width: 760px) {
  .adc-flow__line { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .adc-flow__line i { transform: scaleY(var(--p)); transform-origin: top; }
  .adc-flow__list { grid-template-columns: 1fr; gap: 48px; }
  .adc-flow__step { padding: 0 0 0 44px; }
}

/* ================= MEASUREMENT ================= */
.adc-vis__svg { width: 100%; height: auto; display: block; font-family: var(--adc-font); }
.adc-vis__grid path { stroke: #E6D6CA; stroke-width: 1; fill: none; }
.adc-vis__sector { fill: rgba(233, 91, 57, .1); stroke: var(--adc-orange); stroke-width: 1.5; }
.adc-vis__axis { stroke: #C9B3A3; stroke-width: 1; stroke-dasharray: 6 6; }
.adc-vis__ang { fill: none; stroke: var(--adc-ink); stroke-width: 1.5; }
.adc-vis__ang--half { stroke: #C9B3A3; stroke-dasharray: 3 4; }
.adc-vis__deg { font-size: 30px; font-weight: 700; fill: var(--adc-ink); }
.adc-vis__half { font-size: 24px; font-weight: 600; fill: var(--adc-body); }
.adc-vis__dim line { stroke: var(--adc-ink); stroke-width: 1.5; }
.adc-vis__dim line.ext { stroke: #C9B3A3; stroke-width: 1; stroke-dasharray: 2 3; }
.adc-vis__dim text { font-size: 30px; font-weight: 700; fill: var(--adc-ink); }
.adc-vis__in circle { fill: var(--adc-orange); }
.adc-vis__trail { fill: none; stroke: var(--adc-orange); stroke-width: 2; stroke-dasharray: 3 5; }
.adc-vis__out circle { fill: var(--adc-cream); stroke: var(--adc-sub); stroke-width: 2.5; }
.adc-vis__panel { fill: var(--adc-ink); }
.adc-vis__face { stroke: var(--adc-orange); stroke-width: 4; }
.adc-vis__scale line { stroke: var(--adc-ink); stroke-width: 1.5; }
.adc-vis__scale text { font-size: 24px; font-weight: 600; fill: var(--adc-ink); }
.adc-vis__legend { gap: 8px; margin-top: 12px; font-size: 14px; color: var(--adc-body); }
.adc-vis__legend li { display: flex; gap: 10px; align-items: baseline; }
.adc-vis__legend i { flex: none; width: 11px; height: 11px; border-radius: 50%; transform: translateY(1px); }
.adc-vis__legend i.is-in { background: var(--adc-orange); }
.adc-vis__legend i.is-out { border: 2px solid var(--adc-sub); }
.adc-vis__cap { font-size: 12px; color: var(--adc-sub); margin-top: 10px; }
@media (max-width: 900px) {
    .adc-vis { position: static; }
}

/* ================= LOGOS ================= */
.adc-logos { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(40px, 6vw, 80px); }
.adc-team { padding-top: clamp(40px, 6vw, 80px); }
.adc-logos__grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); border-top: 1px solid var(--adc-line); border-left: 1px solid var(--adc-line); background: var(--adc-cream); }
.adc-logos__grid li { height: 112px; display: grid; place-items: center; padding: 16px; border-right: 1px solid var(--adc-line); border-bottom: 1px solid var(--adc-line); }
.adc-logos__grid img {
  height: calc(30px * var(--h, 1)); width: auto; max-width: 92%; object-fit: contain;
  filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; opacity: .78;
  transition: filter .4s, opacity .4s, transform .4s var(--adc-ease-out);
}
.adc-logos__grid li:hover img { filter: none; opacity: 1; transform: scale(1.04); }
.adc-js .adc-logos__grid li { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--adc-ease-out), transform .6s var(--adc-ease-out); transition-delay: calc(var(--i, 0) * 35ms); }
.adc-js .adc-logos__grid.is-in li { opacity: 1; transform: none; }
@media (max-width: 1080px) { .adc-logos__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .adc-logos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .adc-logos__grid li { height: 76px; padding: 12px 16px; } .adc-logos__grid img { height: calc(24px * var(--h, 1)); max-height: 40px; max-width: 86%; } }

/* ================= TEAM ================= */
.adc-team__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px 24px; max-width: 1040px; margin: 0 auto; }
.adc-person { width: calc((100% - 3 * 24px) / 4); display: grid; justify-items: center; align-content: start; text-align: center; gap: 6px; outline-offset: 6px; }
.adc-person img { width: 148px; height: 148px; object-fit: cover; margin-bottom: 14px; filter: grayscale(1); transition: filter .6s var(--adc-ease); }
.adc-person:hover img, .adc-person:focus-visible img, .adc-person:focus-within img { filter: grayscale(0); }
.adc-person__name { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.adc-person__role { font-size: 14px; color: var(--adc-body); line-height: 1.45; max-width: 220px; }
.adc-js .adc-person { opacity: 0; transition: opacity .8s var(--adc-ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.adc-js .adc-team__grid.is-in .adc-person { opacity: 1; }
@media (max-width: 760px) {
  /* one column of identical compact cards: nobody is ever left alone on a row */
  .adc-team__grid { flex-direction: column; flex-wrap: nowrap; gap: 0; border-top: 1px solid var(--adc-line); }
  .adc-person { width: 100%; grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto; justify-items: start; align-items: center; text-align: left; column-gap: 16px; row-gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--adc-line); outline-offset: -2px; }
  .adc-person img { grid-row: 1 / 3; width: 76px; height: 76px; margin: 0; }
  .adc-person__name { font-size: 16px; align-self: end; }
  .adc-person__role { font-size: 13px; max-width: none; align-self: start; }
}

/* ================= MORE ================= */
.adc-more__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--adc-ink); }
.adc-card { position: relative; display: grid; gap: 16px; align-content: start; padding: 32px 28px 36px; border-right: 1px solid var(--adc-line); background: var(--adc-cream); transition: background .35s; }
.adc-card:last-child { border-right: 0; }
.adc-card::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--adc-orange); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--adc-ease-out); }
.adc-card:hover { background: var(--adc-cream-2); }
.adc-card:hover::before, .adc-card:focus-visible::before { transform: scaleX(1); }
.adc-card .adc-link { margin-top: 8px; justify-self: start; }
@media (max-width: 860px) {
  .adc-more__grid { grid-template-columns: 1fr; }
  .adc-card { border-right: 0; border-bottom: 1px solid var(--adc-line); padding: 28px 0; }
}

/* ================= CONTACT ================= */
.adc-contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.adc-contact__intro { display: grid; gap: 22px; justify-items: start; position: sticky; top: 120px; }
.adc-form { display: grid; gap: 18px; background: var(--adc-cream); border: 1px solid var(--adc-ink); padding: clamp(20px, 3.4vw, 44px); }
.adc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.adc-field { display: grid; gap: 8px; }
.adc-field label { font-size: 13px; font-weight: 600; color: var(--adc-ink); }
.adc-field input, .adc-field textarea {
  width: 100%; border: 1px solid var(--adc-line); border-radius: 0; background: #fff; padding: 14px 14px; font-size: 16px;
  transition: border-color .25s, box-shadow .25s; appearance: none;
}
.adc-field textarea { resize: vertical; min-height: 120px; }
.adc-field input:hover, .adc-field textarea:hover { border-color: var(--adc-ink); }
.adc-field input:focus, .adc-field textarea:focus { outline: none; border-color: var(--adc-orange); box-shadow: 0 0 0 1px var(--adc-orange); }
.adc-field.is-invalid input, .adc-field.is-invalid textarea { border-color: var(--adc-orange-ink); }
.adc-field__err { font-size: 13px; color: var(--adc-orange-ink); font-weight: 500; }
.adc-form__legal { font-size: 12px; line-height: 1.55; color: var(--adc-body); }
.adc-form__legal a { text-decoration: underline; text-underline-offset: 2px; }
.adc-form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.adc-form__status { font-size: 14px; color: var(--adc-body); max-width: 34em; }
.adc-form__status.is-demo { border-left: 2px solid var(--adc-orange); padding-left: 12px; }
@media (max-width: 860px) {
  .adc-contact__grid { grid-template-columns: 1fr; }
  .adc-contact__intro { position: static; }
}
@media (max-width: 520px) { .adc-form__row { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .adc-js .adc-line > span { transform: none; }
  .adc-js .adc-hero__eyebrow, .adc-js .adc-hero__side, .adc-js .adc-hero__media,
  .adc-js .adc-logos__grid li, .adc-js .adc-person { opacity: 1; transform: none; }
  .adc-js .adc-reveal-img > * { clip-path: none; }
  .adc-format__media { clip-path: none; }
}

/* OOH: the shelter panel sits at ~86% of the source photo; keep it whole in the portrait frame */
.adc-pair__img img { object-position: 50% 50%; }

/* ================= MARKETS PANEL ================= */
.adc-bigstat__more { grid-row: 3; }
.adc-mkt__open { border: 0; background-color: transparent; padding: 4px 0; cursor: pointer; font-size: 14px; }
.adc-mkt { width: min(1080px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: 0; background: var(--adc-cream); color: var(--adc-ink); font-family: var(--adc-font); overflow: auto; }
.adc-mkt::backdrop { background: rgba(30, 37, 48, .72); }
.adc-mkt[open] { animation: adc-mkt-in .35s var(--adc-ease-out); }
@keyframes adc-mkt-in { from { opacity: 0; transform: translateY(12px); } }
.adc-mkt__inner { padding: clamp(20px, 3vw, 36px); display: grid; gap: 20px; }
.adc-mkt__head { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: start; border-bottom: 1px solid var(--adc-ink); padding-bottom: 16px; }
.adc-mkt__head .adc-eyebrow { grid-column: 1; }
.adc-mkt__head .adc-h4 { grid-column: 1; }
.adc-mkt__close { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; border: 1px solid var(--adc-ink); background: transparent; font-size: 24px; line-height: 1; cursor: pointer; border-radius: 0; }
.adc-mkt__close:hover { background: var(--adc-ink); color: var(--adc-cream); }
.adc-mkt__body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, .8fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.adc-mkt__map { margin: 0; background: var(--adc-warm); }
.adc-mkt__map svg { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 470; }
.adc-mkt__land { fill: #E6D6CA; stroke: #F2E7DF; stroke-width: .25; vector-effect: non-scaling-stroke; }
.adc-mkt__shape { fill: #D2BCAC; stroke: #F2E7DF; stroke-width: .6; vector-effect: non-scaling-stroke; transition: fill .45s var(--adc-ease); }
.adc-mkt__shape.is-region.is-active { stroke: var(--adc-purple); stroke-width: 1; }
.adc-mkt__shape.is-active { fill: var(--adc-orange); }
.adc-mkt__label { font-family: var(--adc-font); font-weight: 700; fill: var(--adc-ink); text-anchor: middle; paint-order: stroke; stroke: var(--adc-warm); }
.adc-mkt__active { font-size: clamp(22px, 2.2vw, 28px); font-weight: 650; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 16px; }
.adc-mkt__active.is-swap span { display: inline-block; animation: adc-rise .4s var(--adc-ease-out); }
.adc-mkt__list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--adc-line); }
.adc-mkt__list button { width: 100%; text-align: left; min-height: 44px; padding: 10px 8px; border: 0; border-bottom: 1px solid var(--adc-line); border-radius: 0; background: transparent; font-size: 15px; font-weight: 500; color: var(--adc-ink); cursor: pointer; transition: background .25s, color .25s; }
.adc-mkt__list button:hover { background: var(--adc-warm); }
.adc-mkt__list button[aria-pressed="true"] { background: var(--adc-orange); color: #fff; font-weight: 600; }
.adc-mkt__list button:focus-visible, .adc-mkt__close:focus-visible { outline: 2px solid var(--adc-ink); outline-offset: -2px; }
.adc-mkt__note { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-left: 4px; }
.adc-mkt__cap { font-size: 12px; color: var(--adc-sub); margin-top: 12px; }
@media (max-width: 760px) {
  .adc-mkt__body { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .adc-mkt[open], .adc-mkt__active.is-swap span { animation: none; }
  .adc-mkt__shape { transition: none; }
}

/* contextual block: two-line, two-colour title */

