/* Public agency storefront.
   Separation comes from space and tonal fills, not outlines: one hairline (the sticky tabs)
   and no bordered boxes. Manrope on one type scale. Photography leads; crimson marks only the
   primary action and the selected tab. Accepted profile language: 8px panels, 6px controls,
   3px tags, the 145° charcoal surface. */
.agency-shell {
  --ag-surface: linear-gradient(145deg, #171618 0%, #151416 54%, #191518 100%);
  --ag-fill: rgba(255, 255, 255, .035);
  --ag-fill-hover: rgba(255, 255, 255, .07);
  --ag-field: rgba(255, 255, 255, .05);
  --ag-rule: rgba(230, 223, 224, .08);
  --ag-muted: #a7a2a6;
  --ag-soft: #cfcacc;
  --ag-text: #f2eff0;
  --ag-star: var(--gold-accent, #e6c46a);
  --ag-ease: cubic-bezier(.22, 1, .36, 1);
  --ag-gutter: clamp(16px, 2.6vw, 36px);
  --ag-font: 'Manrope', 'Inter', system-ui, sans-serif;
  padding: 28px var(--ag-gutter) 56px;
  color: var(--ag-text);
  font-family: var(--ag-font);
}

.agency-shell :is(h1, h2, h3, p, dl, dd, ul) { font-family: var(--ag-font); }

.agency-shell__body {
  container: agency / inline-size;
  display: grid;
  gap: 56px;
  min-width: 0;
}

.agency-shell__body > *,
.agency-shell__grid > * { min-width: 0; }

/* ---------- Hero ---------- */
.agency-shell__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5cqi, 64px);
  align-items: end;
  margin-bottom: -24px;
  padding: clamp(24px, 5cqi, 56px);
  overflow: hidden;
  isolation: isolate;
  border-radius: 8px;
  background: var(--ag-surface);
}

.agency-shell__hero--poster,
.agency-shell__hero--stack { grid-template-columns: minmax(240px, 36%) minmax(0, 1fr); }

/* The image's own colour, blurred, is the only atmosphere. */
.agency-shell__ambient { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.agency-shell__ambient img { width: 100%; height: 100%; object-fit: cover; opacity: .5; filter: blur(64px) saturate(1.1); transform: scale(1.35); }
.agency-shell__hero:has(.agency-shell__ambient)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 11, 13, .25) 0%, rgba(12, 11, 13, .72) 48%, rgba(12, 11, 13, .9) 100%),
    linear-gradient(180deg, rgba(12, 11, 13, 0) 40%, rgba(12, 11, 13, .6) 100%);
}

.agency-shell__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 6px;
  background: #121112;
  box-shadow: 0 32px 64px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06);
}

.agency-shell__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 700ms var(--ag-ease); }
a.agency-shell__media:hover img { transform: scale(1.03); }

.agency-shell__identity { min-width: 0; padding-bottom: 4px; }

.agency-shell__eyebrow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 18px; }

.agency-shell__eyebrow {
  color: var(--ag-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.agency-shell__eyebrow a { color: inherit; text-decoration: none; }
.agency-shell__eyebrow a:hover { color: var(--ag-text); text-decoration: underline; text-underline-offset: 4px; }

.agency-shell__status {
  padding: 4px 8px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .08);
  color: var(--ag-soft);
  font-size: 12px;
  font-weight: 600;
}

.agency-shell__status--active { color: #a6efbf; }

.agency-shell__title {
  margin: 0;
  color: var(--ag-text);
  font-size: clamp(40px, 7.2cqi, 76px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .98;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.agency-shell__lede {
  max-width: 54ch;
  margin: 20px 0 0;
  color: var(--ag-soft);
  font-size: clamp(16px, 1.9cqi, 18px);
  line-height: 1.6;
  text-wrap: pretty;
}

.agency-shell__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ag-muted);
  font-size: 15px;
  font-weight: 500;
}

.agency-shell__meta li { display: inline-flex; align-items: center; }
.agency-shell__meta li + li::before { content: ""; width: 3px; height: 3px; margin: 0 14px; border-radius: 50%; background: currentColor; opacity: .6; }
.agency-shell__meta a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.agency-shell__meta a:hover { color: var(--ag-text); }
.agency-shell__meta strong { color: var(--ag-text); font-weight: 700; font-variant-numeric: tabular-nums; }

.agency-shell__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }

/* Roster stack stands in for an agency image. */
.agency-shell__showcase { overflow: visible; background: transparent; box-shadow: none; }

.agency-shell__showcase-card {
  --fan: translate(0, 0);
  --lift: 0px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: block;
  width: 72%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 6px;
  background: #181818;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08);
  color: var(--ag-text);
  text-decoration: none;
  transform: translate(-50%, -50%) var(--fan) translateY(var(--lift));
  transition: transform 420ms var(--ag-ease);
  animation: agency-fan-in 720ms var(--ag-ease) backwards;
}

.agency-shell__showcase-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.agency-shell__showcase-card--2 { --fan: translateX(-30%) rotate(-7deg) scale(.88); z-index: 2; animation-delay: 80ms; }
.agency-shell__showcase-card--3 { --fan: translateX(30%) rotate(7deg) scale(.88); z-index: 1; animation-delay: 140ms; }
.agency-shell__showcase[data-count="2"] .agency-shell__showcase-card--1 { --fan: translateX(12%) rotate(3deg); }
.agency-shell__showcase[data-count="2"] .agency-shell__showcase-card--2 { --fan: translateX(-20%) rotate(-5deg) scale(.92); }
.agency-shell__showcase:hover .agency-shell__showcase-card--2 { --fan: translateX(-40%) rotate(-9deg) scale(.88); }
.agency-shell__showcase:hover .agency-shell__showcase-card--3 { --fan: translateX(40%) rotate(9deg) scale(.88); }
.agency-shell__showcase-card:is(:hover, :focus-visible) { --lift: -6px; z-index: 4; }

.agency-shell__showcase-name {
  position: absolute;
  inset: auto auto 10px 10px;
  max-width: calc(100% - 20px);
  padding: 4px 8px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(14, 14, 14, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes agency-fan-in { from { opacity: 0; transform: translate(-50%, -44%) scale(.96); } }

/* Stars: one SVG family, partial fill for averages. */
.agency-shell__stars { position: relative; display: inline-flex; flex: 0 0 auto; margin-inline-end: 2px; line-height: 0; }
.agency-shell__stars-base,
.agency-shell__stars-fill { display: inline-flex; gap: 2px; white-space: nowrap; }
.agency-shell__stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.agency-shell__stars svg { flex: 0 0 auto; width: 14px; height: 14px; }
.agency-shell__stars-base svg { fill: rgba(230, 223, 224, .18); }
.agency-shell__stars-fill svg { fill: var(--ag-star); }

/* ---------- Buttons ---------- */
.agency-shell__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 24px;
  border: 0;
  border-radius: 6px;
  background: var(--brand-primary, #8b0a1a);
  color: var(--on-primary, #ececec);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.agency-shell__button:hover { color: var(--on-primary, #ececec); background: var(--brand-primary-active, #6e0816); }
.agency-shell__button:active { transform: translateY(1px); }

.agency-shell__button--secondary,
.agency-shell__button--ghost { background: rgba(255, 255, 255, .1); color: var(--ag-text); }
.agency-shell__button--secondary:hover,
.agency-shell__button--ghost:hover { background: rgba(255, 255, 255, .16); color: var(--ag-text); }

.agency-shell__text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ag-soft); font-size: 14px; font-weight: 700; text-decoration: none; }
.agency-shell__text-link:hover { color: var(--ag-text); }

/* ---------- Tabs: the page's single hairline ---------- */
.agency-shell__nav {
  position: sticky;
  top: var(--agency-sticky-top, 0px);
  z-index: 20;
  display: flex;
  gap: 4px 32px;
  margin: 0 calc(var(--ag-gutter) * -1) -24px;
  padding: 0 var(--ag-gutter);
  overflow-x: auto;
  box-shadow: inset 0 -1px 0 var(--ag-rule);
  background: rgba(14, 14, 14, .9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  scrollbar-width: none;
}

.agency-shell__nav::-webkit-scrollbar { display: none; }

.agency-shell__nav a {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  color: var(--ag-muted);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.agency-shell__nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--brand-primary, #8b0a1a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ag-ease);
}

.agency-shell__nav a:hover,
.agency-shell__nav a[aria-current="true"] { color: var(--ag-text); }
.agency-shell__nav a[aria-current="true"]::after { transform: scaleX(1); }
.agency-shell__nav a span { color: var(--ag-muted); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Sections: open, separated by space ---------- */
.agency-shell__section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 24px; }

.agency-shell__section-title {
  margin: 0;
  color: var(--ag-text);
  font-size: clamp(24px, 3.2cqi, 32px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.agency-shell__section-count { color: var(--ag-muted); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.agency-shell__section-eyebrow { display: block; margin-bottom: 8px; color: var(--ag-muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.agency-shell__roster { display: grid; gap: 24px; }
.agency-shell .agency-shell__roster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.agency-shell__roster .girl { min-width: 0; margin-bottom: 0; }
.agency-shell__roster .pagination,
.agency-shell__roster .paginationbox { margin-top: 0; }

/* Empty states: crafted artwork, real context, one clear action. */
.agency-shell__empty {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px 48px;
  padding: clamp(28px, 5cqi, 56px);
  border-radius: 8px;
  background: var(--ag-surface);
  color: var(--ag-muted);
}

.agency-shell__empty--inline { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 20px 24px; }
.agency-shell__empty--inline p { margin: 0; }
.agency-shell__empty--reviews { padding: 8px 0 0; background: transparent; gap: 20px 32px; }

.agency-shell__empty-copy { display: grid; justify-items: start; gap: 10px; }
.agency-shell__empty-title { margin: 0; color: var(--ag-text); font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.agency-shell__empty-copy p { max-width: 46ch; margin: 0 0 8px; color: var(--ag-soft); font-size: 16px; line-height: 1.6; }

.agency-shell__art { display: block; width: clamp(180px, 26cqi, 240px); height: auto; color: var(--ag-text); overflow: visible; }
.agency-shell__art--reviews { width: 120px; }
.agency-shell__art-card,
.agency-shell__art-spark { transform-box: fill-box; transform-origin: 50% 100%; }
.agency-shell [data-agency-reveal].is-revealed .agency-shell__art-card--front { animation: agency-art-rise 760ms var(--ag-ease) both; }
.agency-shell [data-agency-reveal].is-revealed .agency-shell__art-card--left { animation: agency-art-left 900ms var(--ag-ease) 120ms both; }
.agency-shell [data-agency-reveal].is-revealed .agency-shell__art-card--right { animation: agency-art-right 900ms var(--ag-ease) 120ms both; }
.agency-shell [data-agency-reveal].is-revealed .agency-shell__art-spark { transform-origin: 50% 50%; animation: agency-art-spark 1400ms ease-in-out 700ms 2 both; }
@keyframes agency-art-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes agency-art-left { from { opacity: 0; transform: translateX(26px) rotate(9deg); } }
@keyframes agency-art-right { from { opacity: 0; transform: translateX(-26px) rotate(-9deg); } }
@keyframes agency-art-spark { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7) rotate(45deg); } }

/* ---------- About + contact ---------- */
.agency-shell__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: clamp(28px, 5cqi, 64px); align-items: start; }
.agency-shell__grid--solo { grid-template-columns: minmax(0, 1fr); }

.agency-shell__content { max-width: 66ch; color: var(--ag-soft); font-size: 17px; line-height: 1.75; overflow-wrap: anywhere; }
.agency-shell__content > :first-child { margin-top: 0; }
.agency-shell__content p:last-child { margin-bottom: 0; }
.agency-shell__meta-footer { margin-top: 16px; color: var(--ag-muted); font-size: 13px; }

.agency-shell__contact-card { display: grid; gap: 20px; padding: clamp(24px, 4cqi, 36px); border-radius: 8px; background: var(--ag-surface); }
.agency-shell__grid--solo .agency-shell__contact-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 56px; align-items: start; }
.agency-shell__contact-card .agency-shell__section-title { font-size: 24px; }

.agency-shell__details { display: grid; gap: 18px; margin: 22px 0 0; }
.agency-shell__details div { display: grid; gap: 4px; }
.agency-shell__details dt { color: var(--ag-muted); font-size: 13px; font-weight: 600; }
.agency-shell__details dd { margin: 0; color: var(--ag-text); font-size: 16px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.agency-shell__details a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: inherit; text-decoration: none; }
.agency-shell__details a:hover { text-decoration: underline; text-underline-offset: 4px; }
.agency-shell__details-phone dd { font-size: 24px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }

/* Disclosures read as buttons until open. */
.agency-shell__disclosure { min-width: 0; }
.agency-shell__disclosure summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  color: var(--ag-text);
  font-size: 15px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  transition: background 160ms ease;
}
.agency-shell__disclosure summary:hover { background: rgba(255, 255, 255, .13); }
.agency-shell__disclosure summary::-webkit-details-marker { display: none; }
.agency-shell__disclosure-mark { margin-inline-start: auto; font-size: 22px; font-weight: 400; transition: transform 200ms var(--ag-ease); }
.agency-shell__disclosure[open] > summary .agency-shell__disclosure-mark { transform: rotate(45deg); }
.agency-shell__disclosure-body { padding: 18px 0 0; color: var(--ag-muted); line-height: 1.65; }

.agency-shell__contact-form { display: grid; gap: 10px; margin: 0; }
.agency-shell__contact-form label { margin-top: 4px; color: var(--ag-soft); font-size: 13px; font-weight: 600; }
.agency-shell__contact-form input,
.agency-shell__contact-form textarea,
.agency-shell__admin-field input,
.agency-shell__admin-field select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--ag-field);
  color: var(--ag-text);
  font: inherit;
  font-size: 16px;
  transition: background 160ms ease, border-color 160ms ease;
}
.agency-shell__contact-form :is(input, textarea):hover { background: rgba(255, 255, 255, .07); }
.agency-shell__contact-form :is(input, textarea):focus { border-color: rgba(230, 223, 224, .35); background: rgba(255, 255, 255, .07); }
.agency-shell__contact-form textarea { resize: vertical; }
.agency-shell__contact-form .agency-shell__button { justify-self: start; margin-top: 6px; }
.agency-shell .agency-shell__honeypot { display: none; }
.agency-shell__hint { margin: 0; color: var(--ag-muted); font-size: 13px; line-height: 1.6; }

/* ---------- Reviews ---------- */
.agency-shell__rating-summary { display: flex; align-items: center; gap: 18px; margin: -4px 0 28px; }
.agency-shell__rating-score { color: var(--ag-text); font-size: 56px; font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.agency-shell__rating-summary .agency-shell__stars svg { width: 18px; height: 18px; }
.agency-shell__rating-count { display: block; margin-top: 8px; color: var(--ag-muted); font-size: 14px; }
.agency-shell__review-form { margin-bottom: 24px; }
.agency-shell__review-form > summary { display: inline-flex; min-width: 220px; }
.agency-shell__review-form .form-styling { padding: 8px 0; }
.agency-shell__review-list { display: grid; gap: 12px; }
.agency-shell__review-card { padding: 22px 24px; border-radius: 8px; background: var(--ag-fill); }
.agency-shell__review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.agency-shell__review-avatar { display: inline-grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: var(--ag-text); font-size: 15px; font-weight: 800; }
.agency-shell__review-meta { display: grid; gap: 2px; min-width: 0; color: var(--ag-muted); font-size: 13px; }
.agency-shell__review-meta strong { color: var(--ag-text); }
.agency-shell__review-stars { margin-inline-start: auto; }
.agency-shell__review-copy { color: var(--ag-soft); font-size: 16px; line-height: 1.7; }
.agency-shell__review-copy > :last-child { margin-bottom: 0; }

/* ---------- Owner/admin tools: same fill language ---------- */
.agency-shell__surface,
.agency-shell__owner-tools { padding: clamp(20px, 3cqi, 32px); border-radius: 8px; background: var(--ag-surface); }
.agency-shell__tool-grid,
.agency-shell__admin-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.agency-shell__tool-card { display: grid; gap: 8px; padding: 18px; border-radius: 6px; background: var(--ag-fill); color: var(--ag-text); text-decoration: none; transition: background 160ms ease; }
.agency-shell__tool-card:hover { background: var(--ag-fill-hover); color: var(--ag-text); }
.agency-shell__tool-card .icon { color: var(--ag-muted); font-size: 18px; }
.agency-shell__tool-card span:last-child,
.agency-shell__manager-note,
.agency-shell__admin-summary p { color: var(--ag-muted); font-size: 14px; line-height: 1.65; }
.agency-shell__manager-note { margin: -12px 0 20px; }
.agency-shell__admin-panel { display: grid; gap: 20px; margin-top: 28px; }
.agency-shell__admin-summary { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.agency-shell__admin-summary strong { display: block; margin-bottom: 8px; }
.agency-shell__admin-field { display: grid; gap: 8px; }
.agency-shell__admin-field label { color: var(--ag-muted); font-size: 13px; }
.agency-shell__admin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.agency-shell__admin-actions form { margin: 0; }
.agency-shell__button--danger { background: rgba(255, 255, 255, .06); color: #f6b9c2; }
.agency-shell__flash { padding: 16px 20px; border-radius: 6px; background: var(--ag-fill); font-size: 15px; line-height: 1.6; }
.agency-shell__flash--error { color: #f6b9c2; }
.agency-shell__flash--success { color: #b7e6c6; }
.agency-shell [id] { scroll-margin-top: calc(var(--agency-sticky-top, 72px) + 76px); }
.agency-shell :is(a, button, summary, input, textarea, select):focus-visible { outline: 2px solid var(--focus-ring-color, #fff); outline-offset: 3px; }

/* ---------- Mobile contact dock ---------- */
.agency-shell__dock { display: none; }

@container agency (min-width: 900px) {
  .agency-shell .agency-shell__roster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@container agency (max-width: 760px) {
  .agency-shell__grid { grid-template-columns: minmax(0, 1fr); }
  .agency-shell__grid--solo .agency-shell__contact-card { grid-template-columns: minmax(0, 1fr); }
}

/* Phone-width storefront: the image becomes a full-width cover the identity rises out of. */
@container agency (max-width: 640px) {
  .agency-shell__hero { gap: 0; padding: 0; }
  .agency-shell__hero--poster,
  .agency-shell__hero--stack { grid-template-columns: minmax(0, 1fr); }
  .agency-shell__hero:has(.agency-shell__ambient)::before { background: linear-gradient(180deg, rgba(12, 11, 13, .2) 0%, rgba(12, 11, 13, .82) 55%, rgba(12, 11, 13, .95) 100%); }
  .agency-shell__media { aspect-ratio: 4 / 4.4; border-radius: 0; box-shadow: none; }
  .agency-shell__media::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, #141315 96%); pointer-events: none; }
  .agency-shell__showcase { aspect-ratio: auto; height: 300px; margin-top: 24px; }
  .agency-shell__showcase::after { display: none; }
  .agency-shell__showcase-card { width: 46%; }
  .agency-shell__identity { position: relative; padding: 24px 20px 24px; }
  .agency-shell__hero--poster .agency-shell__identity { margin-top: -88px; }
  .agency-shell__eyebrow-row { margin-bottom: 12px; }
  .agency-shell__title { font-size: clamp(34px, 10.5cqi, 46px); }
  .agency-shell__lede { margin-top: 14px; font-size: 16px; }
  .agency-shell__meta { margin-top: 18px; font-size: 14px; }
  .agency-shell__meta li + li::before { margin: 0 10px; }
  .agency-shell__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
  .agency-shell__actions > .agency-shell__button:only-of-type,
  .agency-shell__actions > .agency-shell__text-link { grid-column: 1 / -1; }
  .agency-shell__button { padding: 13px 14px; }
  .agency-shell .agency-shell__roster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .agency-shell__empty { grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 32px 20px; text-align: center; }
  .agency-shell__empty-copy { justify-items: center; }
  .agency-shell__empty--reviews { justify-items: start; padding: 0; text-align: start; }
  .agency-shell__empty--reviews .agency-shell__empty-copy { justify-items: start; }
  .agency-shell__admin-summary { flex-direction: column; }
  .agency-shell__review-card { padding: 18px; }
  .agency-shell__review-head { flex-wrap: wrap; }
}

@media (max-width: 760px) {
  .agency-shell { padding-top: 16px; padding-bottom: 96px; }
  .agency-shell__body { gap: 44px; }
  .agency-shell__nav { gap: 4px 24px; }
  .agency-shell__nav a { min-height: 52px; font-size: 14px; }

  .agency-shell__dock:not([hidden]) {
    position: fixed;
    inset: auto 12px calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 900;
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(20, 19, 21, .94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06);
    animation: agency-dock-in 280ms var(--ag-ease) both;
  }
}

@keyframes agency-dock-in { from { opacity: 0; transform: translateY(16px); } }

@media (prefers-reduced-motion: reduce) {
  .agency-shell *, .agency-shell *::before, .agency-shell *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
