/* WordPress refinement. Enqueue after adsfine.css; keep the generated asset intact. */
html:has(> body.adsfine-wordpress),
body.adsfine-wordpress { min-width: 0; }

.af-refined {
  --af-content-width: 1240px;
  --af-gutter: max(24px, calc((100vw - var(--af-content-width)) / 2));
}

/* Shared navigation keeps its native details and existing mobile-menu hooks. */
.af-refined .af-header {
  width: min(var(--af-content-width), calc(100% - 48px));
  gap: 24px;
}

.af-refined .af-nav { gap: 26px; }
.af-language-switch { display: inline-flex; gap: 4px; align-items: center; }
.af-language-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 44px; font-size: 12px; text-decoration: none; }
.af-language-switch a[aria-current="true"] { color: #ffad8b; text-decoration: underline; text-underline-offset: 6px; }
.af-language-switch a:focus-visible { outline: 2px solid #ffad8b; outline-offset: 2px; }
.af-refined .af-nav > a,
.af-refined .af-nav-services > summary { min-height: 44px; align-content: center; }
.af-refined .af-nav-cta,
.af-refined .af-menu-button,
.af-refined .af-nav-services-panel,
.af-refined .af-nav-services-panel a {
  border-radius: 4px;
  backdrop-filter: none;
}
.af-refined .af-nav-services-panel { background: #11110f; box-shadow: none; }
.af-refined .af-nav-offer-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  border-bottom: 1px solid #494740;
  color: #fffdf8;
}
.af-refined .af-nav-offer-index svg { width: 18px; height: 18px; }
.af-refined .af-nav-services-panel a { color: #d5d2ca; }
.af-refined .af-nav-services-panel .af-nav-subservice { color: #bcb8af; }
.af-refined .af-nav-cta:hover,
.af-refined .af-nav-cta:focus-visible { color: #11110f; transform: none; }
.af-refined .af-footer { padding-inline: var(--af-gutter); }
.af-refined .af-footer > div { min-width: 0; flex-wrap: wrap; gap: 8px 24px; }
.af-refined .af-footer > div a { min-height: 44px; }
.af-refined .af-footer .af-footer-phone { flex-wrap: wrap; gap: 4px 8px; color: #fffdf8; font-size: 13px; }
.af-refined .af-footer-phone > span:first-child { color: #bcb8af; }
.af-refined .af-footer-phone > span:last-child { white-space: nowrap; }
.af-refined .af-footer a:hover { color: #ffad8b; }
.af-refined .af-footer a:focus-visible { outline-color: #ffad8b; }

/* A restrained first screen: one action, one offer link, three service entries. */
.af-home-page .af-hero-value {
  min-height: 0;
  padding: 160px var(--af-gutter) 76px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .34fr);
  align-items: end;
  gap: clamp(36px, 5vw, 76px);
  background: #11110f;
}
.af-home-page .af-hero::before,
.af-home-page .af-hero::after,
.af-home-page .af-contact::before,
.af-contact-page.af-refined .af-contact-hero::before { content: none; }
.af-home-page .af-hero-copy { max-width: 900px; min-width: 0; }
.af-home-page .af-hero h1 {
  max-width: 900px;
  margin-top: 28px;
  font-size: clamp(60px, 5.55vw, 80px);
  line-height: 1.04;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.af-home-page h1 em,
.af-home-page h2 em,
.af-contact-page.af-refined h1 em {
  font: inherit;
  font-style: normal;
}
.af-home-page .af-hero-lead {
  max-width: 670px;
  margin-top: 26px;
  color: #cbc8c0;
  font-size: 18px;
  line-height: 1.65;
}
.af-home-page .af-hero-actions { margin-top: 30px; gap: 16px; }
.af-home-page .af-button,
.af-contact-page.af-refined .af-button {
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  box-shadow: none;
  transform: none;
}
.af-home-page .af-button-primary {
  background: #ff5c1b;
  color: #11110f;
  border-color: #ff5c1b;
}
.af-home-page .af-button-primary:hover,
.af-home-page .af-button-primary:focus-visible { background: #ff8756; border-color: #ff8756; }
.af-home-page .af-button-ghost { background: transparent; color: #fffdf8; border-color: #66635b; }
.af-home-page .af-button-ghost:hover { background: #24241f; border-color: #fffdf8; }
.af-home-page .af-hero-offer {
  min-width: 0;
  padding: 4px 0 4px 28px;
  border-left: 1px solid #494740;
}
.af-home-page .af-hero-offer > .af-overline { color: #bcb8af; font-size: 11px; }
.af-home-page .af-hero-offer ol { list-style: none; margin: 20px 0 0; padding: 0; }
.af-home-page .af-hero-offer li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid #35352f;
}
.af-home-page .af-hero-offer li > span { color: #bcb8af; font-size: 12px; font-variant-numeric: tabular-nums; }
.af-home-page .af-hero-offer strong { font-size: 18px; font-weight: 600; line-height: 1.4; }
.af-home-page .af-hero-offer > p { max-width: 54ch; margin-top: 12px; color: #bcb8af; font-size: 14px; line-height: 1.6; }

/* All six offers are real articles, fully visible without JavaScript. */
.af-home-page .af-section { padding: 76px var(--af-gutter); }
.af-home-page .af-services { background: #fffdf8; }
.af-home-page .af-section-heading {
  grid-template-columns: minmax(0, 1fr) minmax(0, .62fr);
  gap: 64px;
  margin-bottom: 40px;
  align-items: end;
}
.af-home-page .af-section-heading h2,
.af-home-page .af-process h2,
.af-home-page .af-stories-heading h2,
.af-home-page .af-contact h2 {
  max-width: 720px;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.12;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.af-home-page .af-services .af-overline,
.af-home-page .af-process .af-overline { color: #a33104; }
.af-home-page .af-section-heading > p { max-width: 500px; font-size: 16px; line-height: 1.65; }
.af-home-page .af-service-row {
  display: grid;
  grid-template-columns: 48px minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid #c8c4bb;
}
.af-home-page .af-service-row:last-child { border-bottom: 1px solid #c8c4bb; }
.af-home-page .af-service-row-number { padding-top: 4px; color: #6a655c; font-size: 14px; font-variant-numeric: tabular-nums; }
.af-home-page .af-service-row-heading,
.af-home-page .af-service-row-scope { min-width: 0; }
.af-home-page .af-service-row-label { color: #625c52; font-size: 12px; line-height: 1.5; font-weight: 650; }
.af-home-page .af-service-row h3 { margin-top: 10px; font-size: clamp(25px, 2.3vw, 32px); line-height: 1.16; letter-spacing: -.035em; }
.af-home-page .af-service-row-heading > p { max-width: 35ch; margin-top: 14px; font-size: 16px; line-height: 1.6; }
.af-home-page .af-service-row-scope > p { max-width: 64ch; color: #504c44; font-size: 16px; line-height: 1.65; }
.af-home-page .af-service-row-scope ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  list-style: none;
  margin: 16px 0 10px;
  padding: 0;
  color: #625c52;
  font-size: 13px;
  line-height: 1.6;
}
.af-home-page .af-service-row-scope li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 8px 3px 0; background: currentColor; }
.af-home-page .af-service-row-scope > a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  padding-block: 8px;
  color: #11110f;
  font-size: 14px;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.af-home-page .af-service-row-scope > a svg { flex-shrink: 0; width: 19px; height: 19px; transition: transform 160ms ease; }
.af-home-page .af-service-row-scope > a:hover { color: #a33104; }
.af-home-page .af-service-row-scope > a:hover svg { transform: translateX(4px); }
.af-home-page .af-service-row-training { margin-top: 16px; border-top-color: #11110f; }

/* Preserve the approved case studies and their factual diagrams. */
.af-home-page .af-stories-section {
  width: min(var(--af-content-width), calc(100% - 48px));
  padding-block: 72px;
  border-top: 0;
}
.af-home-page .af-stories-heading { gap: 48px; }
.af-home-page .af-story-card { border-radius: 6px; padding: 28px; box-shadow: none; }
.af-home-page .af-story-card-featured { padding: 32px; }
.af-home-page .af-story-card-featured :is(h2, h3) { font-size: clamp(28px, 2.7vw, 38px); }
.af-home-page .af-story-card-teaser { font-size: 16px; }
.af-home-page .af-story-card-google-ads { background: #fffdf8; }
.af-home-page .af-story-graphic,
.af-home-page .af-story-call-path > div > svg { border-radius: 4px; }
.af-home-page .af-story-read { font-size: 14px; }

/* A short, quiet process section followed by an optional assessment. */
.af-home-page .af-process {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: 72px;
  background: #fffdf8;
  color: #11110f;
}
.af-home-page .af-process-intro { position: static; }
.af-home-page .af-process h2 em { color: inherit; }
.af-home-page .af-process-intro > p { margin-top: 24px; color: #504c44; font-size: 16px; line-height: 1.65; }
.af-home-page .af-process-deliverables { margin-top: 32px; padding-top: 24px; border-top: 1px solid #c8c4bb; }
.af-home-page .af-process-deliverables > .af-overline { color: #625c52; font-size: 11px; }
.af-home-page .af-process-deliverables ol { display: grid; gap: 12px; list-style: none; margin: 18px 0 0; padding: 0; }
.af-home-page .af-process-deliverables li { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: baseline; gap: 14px; }
.af-home-page .af-process-deliverables li > span { color: #625c52; font-size: 12px; font-variant-numeric: tabular-nums; }
.af-home-page .af-process-deliverables strong { font-size: 16px; font-weight: 600; line-height: 1.5; }
.af-home-page .af-process-list { border-top-color: #c8c4bb; }
.af-home-page .af-process-list article {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-color: #c8c4bb;
  transition: none;
}
.af-home-page .af-process-list article:hover { padding-inline: 0; background: transparent; }
.af-home-page .af-process-list article > span { color: #625c52; font-family: inherit; font-size: 14px; font-style: normal; }
.af-home-page .af-process-list h3 { font-size: 23px; line-height: 1.2; letter-spacing: -.025em; }
.af-home-page .af-process-list p { color: #504c44; font-size: 16px; line-height: 1.6; }
.af-home-page .af-assessment-section { padding: 0 var(--af-gutter) 64px; background: #fffdf8; }
.af-home-page .af-assessment { border-block: 1px solid #c8c4bb; }
.af-home-page .af-assessment > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
}
.af-home-page .af-assessment > summary::-webkit-details-marker { display: none; }
.af-home-page .af-assessment > summary > span { display: grid; gap: 8px; }
.af-home-page .af-assessment > summary small { color: #625c52; font-size: 12px; }
.af-home-page .af-assessment > summary strong { font-size: clamp(20px, 2vw, 26px); line-height: 1.3; letter-spacing: -.025em; }
.af-home-page .af-assessment > summary > svg { width: 24px; height: 24px; flex-shrink: 0; }
.af-home-page .af-assessment[open] > summary > svg { transform: rotate(180deg); }
.af-home-page .af-path-check {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 8px 0 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.af-home-page .af-path-check-heading h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.03em; }
.af-home-page .af-path-check-heading > button { min-height: 44px; border-radius: 4px; font-size: 13px; }
.af-home-page .af-path-question { padding: 16px; border-radius: 4px; background: #f1eee7; }
.af-home-page .af-path-question strong { font-size: 16px; }
.af-home-page .af-path-question small,
.af-home-page .af-path-privacy,
.af-home-page .af-path-next > p,
.af-home-page .af-path-result > p { font-size: 14px; line-height: 1.6; }
.af-home-page .af-path-question select { border-radius: 4px; font-size: 16px; }
.af-home-page .af-path-stage-icon { border-radius: 4px; color: #625c52; }
.af-home-page .af-path-result,
.af-home-page .af-path-next { border-radius: 4px; }
.af-home-page .af-path-result { border: 1px solid #c8c4bb; background: #f1eee7; }
.af-home-page .af-path-score strong { font-size: 26px; }
.af-home-page .af-path-next > a { min-height: 44px; font-size: 14px; }
.af-home-page .af-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .48fr);
  align-items: center;
  gap: 48px;
  padding: 64px var(--af-gutter);
  background: #11110f;
}
.af-home-page .af-contact h2 em { color: inherit; }
.af-home-page .af-contact > div > p { max-width: 680px; margin-top: 20px; color: #cbc8c0; font-size: 16px; line-height: 1.65; }
.af-home-page .af-contact-actions { justify-content: end; margin: 0; }

/* Contact is a readable form page, with the existing brief-transfer hooks. */
.af-contact-page.af-refined .af-contact-hero {
  min-height: 0;
  display: block;
  padding: 142px var(--af-gutter) 48px;
  background: #11110f;
}
.af-contact-page.af-refined .af-contact-hero-copy { max-width: 1000px; }
.af-contact-page.af-refined .af-contact-hero h1 { font-size: clamp(44px, 4.5vw, 64px); line-height: 1.08; letter-spacing: -.045em; }
.af-contact-page.af-refined .af-contact-hero h1 br { display: none; }
.af-contact-page.af-refined .af-contact-hero-copy > p { max-width: 850px; margin-top: 22px; color: #cbc8c0; font-size: 17px; }
.af-contact-page.af-refined .af-contact-promise { margin-top: 22px; color: #cbc8c0; font-size: 13px; }
.af-contact-page.af-refined .af-contact-promise svg { color: #ff8756; }
.af-contact-page.af-refined .af-contact-builder {
  grid-template-columns: minmax(0, 1fr) minmax(240px, .42fr);
  align-items: start;
  gap: 64px;
  padding: 56px var(--af-gutter) 72px;
}
.af-contact-page.af-refined .af-contact-form-heading h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.15; letter-spacing: -.035em; }
.af-contact-page.af-refined .af-contact-form-heading > p { margin-top: 16px; font-size: 16px; }
.af-contact-page.af-refined .af-contact-preview {
  position: static;
  padding: 24px;
  border: 1px solid #c8c4bb;
  border-radius: 4px;
  background: #fffdf8;
  color: #11110f;
  box-shadow: none;
}
.af-contact-page.af-refined .af-preview-top { border-color: #c8c4bb; }
.af-contact-page.af-refined .af-preview-top span,
.af-contact-page.af-refined .af-preview-response > span { color: #504c44; font-size: 12px; }
.af-contact-page.af-refined .af-preview-response li { align-items: start; color: #504c44; font-size: 15px; line-height: 1.5; }
.af-contact-page.af-refined .af-preview-response li svg { flex-shrink: 0; margin-top: 4px; color: #a33104; }
.af-contact-page.af-refined .af-preview-note { padding: 20px 0 0; border: 0; border-top: 1px solid #c8c4bb; border-radius: 0; background: transparent; color: #625c52; font: inherit; font-size: 14px; line-height: 1.6; }
.af-contact-page.af-refined .af-contact-phone { margin-top: 24px; padding-top: 20px; border-top: 1px solid #c8c4bb; }
.af-contact-page.af-refined .af-contact-phone > span { color: #625c52; font-size: 13px; }
.af-contact-page.af-refined .af-contact-phone > a { display: grid; gap: 8px; min-height: 44px; padding-top: 8px; color: #11110f; }
.af-contact-page.af-refined .af-contact-phone strong { font-size: clamp(18px, 1.7vw, 22px); font-weight: 650; line-height: 1.4; }
.af-contact-page.af-refined .af-contact-phone a > span { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.af-contact-page.af-refined .af-contact-phone svg { width: 17px; height: 17px; }
.af-contact-page.af-refined .af-contact-phone a:hover { color: #a33104; }
.af-contact-page.af-refined .af-brief-summary { min-width: 0; margin-top: 28px; padding: 22px 24px; border-left: 3px solid #ff5c1b; background: #fffdf8; color: #11110f; font: inherit; }
.af-contact-page.af-refined .af-brief-summary h3 { margin: 0 0 18px; font: inherit; font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
.af-contact-page.af-refined [data-af-brief-summary-content] { display: grid; gap: 18px; min-width: 0; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.af-contact-page.af-refined [data-af-brief-summary-content] :is(h4, dt) { margin: 0 0 6px; color: #504c44; font: inherit; font-size: 13px; font-weight: 700; }
.af-contact-page.af-refined [data-af-brief-summary-content] :is(p, dl, dd) { margin: 0; }
.af-contact-page.af-refined [data-af-brief-summary-content] :is(ul, ol) { display: grid; gap: 4px; margin: 0; padding-left: 20px; }
.af-contact-page.af-refined [data-af-brief-summary-content] li::marker { color: #a33104; }
.af-contact-page.af-refined [data-af-brief-summary][hidden] { display: none; }
.af-contact-page.af-refined .af-contact-brief-preview { border-radius: 4px; background: #fffdf8; }
.af-contact-page.af-refined .af-contact-brief-preview p { font-size: 15px; }
.af-contact-page.af-refined .af-brief-edit-field > span { font-size: 14px; }
.af-contact-page.af-refined .af-brief-edit-field textarea {
  padding: 14px;
  border: 1px solid #8a857c;
  border-radius: 4px;
  background: #fffdf8;
  color: #11110f;
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
}
.af-contact-page.af-refined .af-brief-edit-field textarea::placeholder { color: #625c52; }

/* Native WPForms is the single editor for the imported plan and message. */
.af-contact-page.af-refined .af-wpforms-shell {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.af-contact-page.af-refined .af-wpforms-shell .wpforms-container,
.af-contact-page.af-refined .af-wpforms-shell .wpforms-form,
.af-contact-page.af-refined .af-wpforms-shell .wpforms-field-container {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  font-family: inherit;
}
.af-contact-page.af-refined .af-wpforms-shell .wpforms-field {
  min-width: 0;
  max-width: 100%;
  padding: 0 0 24px;
}
.af-contact-page.af-refined .af-wpforms-shell .wpforms-field-row { max-width: 100%; }
.af-contact-page.af-refined .af-wpforms-shell .wpforms-field-label {
  margin-bottom: 9px;
  color: #11110f;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: normal;
}
.af-contact-page.af-refined .af-wpforms-shell .wpforms-field-label-inline {
  color: #35332e;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}
.af-contact-page.af-refined .af-wpforms-shell :is(input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], select, textarea) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #8a857c;
  border-radius: 4px;
  background: #fffdf8;
  color: #11110f;
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
  box-shadow: none;
}
.af-contact-page.af-refined .af-wpforms-shell textarea {
  height: auto;
  min-height: 144px;
  padding: 14px;
  resize: vertical;
}
.af-contact-page.af-refined .af-wpforms-shell .af-brief-plan textarea { min-height: 240px; }
.af-contact-page.af-refined .af-wpforms-shell .af-brief-note textarea { min-height: 144px; }
.af-contact-page.af-refined .af-wpforms-shell :is(input, textarea)::placeholder { color: #625c52; opacity: 1; }
.af-contact-page.af-refined .af-wpforms-shell :is(input, select, textarea):focus {
  border-color: #a33104;
  outline: 2px solid #a33104;
  outline-offset: 3px;
  box-shadow: none;
}
.af-contact-page.af-refined .af-wpforms-shell .wpforms-field-description,
.af-contact-page.af-refined .af-wpforms-shell .wpforms-field-sublabel {
  margin-top: 8px;
  color: #625c52;
  font-size: 14px;
  line-height: 1.6;
}
.af-contact-page.af-refined .af-wpforms-shell :is(label, em).wpforms-error {
  color: #9f2317;
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
}
.af-contact-page.af-refined .af-wpforms-shell :is(input, select, textarea)[aria-invalid="true"] { border-color: #9f2317; }
.af-contact-page.af-refined .af-wpforms-shell form.wpforms-form button.wpforms-submit[type="submit"] {
  --wpforms-button-background-color: #ff5c1b;
  --wpforms-button-background-color-alt: #ff5c1b;
  --wpforms-button-border-color: #ff5c1b;
  --wpforms-button-text-color: #11110f;
  height: auto;
  min-height: 52px;
  max-width: 100%;
  padding: 14px 24px;
  border: 1px solid #ff5c1b;
  border-radius: 4px;
  background: #ff5c1b;
  color: #11110f;
  font: inherit;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.4;
  white-space: normal;
  box-shadow: none;
}
.af-contact-page.af-refined .af-wpforms-shell form.wpforms-form button.wpforms-submit[type="submit"]:not(:disabled):not(.wpforms-disabled):is(:hover, :active) { background: #ff8756; border-color: #ff8756; }
.af-contact-page.af-refined .af-wpforms-shell form.wpforms-form button.wpforms-submit[type="submit"]:focus-visible { outline: 3px solid #a33104; outline-offset: 4px; }
.af-contact-page.af-refined .af-wpforms-shell form.wpforms-form button.wpforms-submit[type="submit"]:is(:disabled, .wpforms-disabled) { background: #ff5c1b; border-color: #ff5c1b; opacity: .65; cursor: wait; }
.af-contact-page.af-refined .af-wpforms-shell .wpforms-confirmation-container-full {
  border: 1px solid #8a857c;
  border-radius: 4px;
  background: #fffdf8;
  color: #11110f;
  font-size: 16px;
  line-height: 1.6;
}
.af-home-page :focus-visible,
.af-contact-page.af-refined :focus-visible { outline: 3px solid #b83708; outline-offset: 4px; }
.af-refined .af-header :focus-visible,
.af-home-page .af-hero :focus-visible,
.af-home-page .af-contact :focus-visible,
.af-home-page .af-story-card-featured :focus-visible { outline-color: #ffad8b; }

/* The compact dock keeps its own place after the footer, including the safe area. */
.af-refined .af-brief-dock {
  position: sticky;
  bottom: 0;
  z-index: 10;
  padding: 8px var(--af-gutter) calc(8px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #c8c4bb;
  background: #fffdf8;
  color: #11110f;
}
.af-refined .af-brief-dock[hidden] { display: none; }
.af-refined .af-brief-dock-review { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; min-height: 44px; padding-block: 4px; font-size: 14px; line-height: 1.5; }
.af-refined .af-brief-dock-label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; min-width: 0; }
.af-refined [data-af-brief-title] { font-weight: 750; }
.af-refined [data-af-brief-count] { color: #625c52; font-size: 13px; font-variant-numeric: tabular-nums; }
.af-refined .af-brief-dock-action { display: inline-flex; align-items: center; gap: 12px; color: #a33104; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.af-refined .af-brief-dock-action svg { flex-shrink: 0; width: 18px; height: 18px; }
.af-refined .af-brief-dock-review:hover .af-brief-dock-action { color: #11110f; }
.af-refined .af-brief-dock-review:focus-visible { outline: 2px solid #a33104; outline-offset: 3px; }
.af-refined .af-brief-dock-status { height: 2.8em; margin: 2px 0 0; overflow: auto; color: #504c44; font-size: 13px; line-height: 1.4; scrollbar-width: thin; }
.af-refined .af-brief-dock-status:empty { visibility: hidden; }
html:has([data-af-brief-dock]:not([hidden])) { scroll-padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
body.af-brief-form-visible .af-brief-dock,
.af-refined:has(.af-nav.is-open) .af-brief-dock,
.af-refined:has(.af-nav-services[open]) .af-brief-dock,
.af-refined:has(.af-contact-builder:focus-within) .af-brief-dock,
.af-refined:has(:is(input:not([type="checkbox"]):not([type="radio"]), textarea, [contenteditable="true"]):focus) .af-brief-dock { visibility: hidden; }

@media (max-width: 1000px) {
  .af-home-page .af-hero-value { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .af-home-page .af-hero-offer { padding: 24px 0 0; border-left: 0; border-top: 1px solid #494740; }
  .af-home-page .af-hero-offer ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
  .af-home-page .af-hero-offer li { border: 0; }
  .af-home-page .af-process { gap: 40px; }
  .af-contact-page.af-refined .af-contact-builder { gap: 32px; }
}

@media (max-width: 900px) {
  .af-refined .af-nav { gap: 0; border-radius: 4px; background: #11110f; box-shadow: none; backdrop-filter: none; }
  .af-refined .af-nav-services-panel { background: transparent; }
  .af-refined .af-nav-offer-index { margin-block: 4px; }
  .af-home-page .af-section-heading,
  .af-home-page .af-process,
  .af-home-page .af-contact,
  .af-contact-page.af-refined .af-contact-builder { grid-template-columns: minmax(0, 1fr); }
  .af-home-page .af-section-heading { gap: 22px; }
  .af-home-page .af-section-heading > p { max-width: 65ch; }
  .af-home-page .af-service-row { grid-template-columns: 32px minmax(0, .85fr) minmax(0, 1.15fr); gap: 20px; }
  .af-home-page .af-contact-actions { justify-content: start; }
  .af-contact-page.af-refined .af-contact-preview { max-width: 680px; }
}

@media (max-width: 600px) {
  .af-refined { --af-gutter: 20px; }
  .af-refined .af-header { width: calc(100% - 40px); }
  .af-home-page .af-hero-value { padding-top: 120px; padding-bottom: 40px; gap: 32px; }
  .af-home-page .af-hero h1 { margin-top: 24px; font-size: clamp(38px, 10.6vw, 48px); line-height: 1.08; letter-spacing: -.045em; }
  .af-home-page .af-hero-lead { font-size: 17px; }
  .af-home-page .af-hero-actions { gap: 12px; }
  .af-home-page .af-hero-actions .af-button { width: 100%; }
  .af-home-page .af-hero-offer ol { display: block; margin-top: 12px; }
  .af-home-page .af-hero-offer li { padding: 10px 0; }
  .af-home-page .af-hero-offer strong { font-size: 16px; }
  .af-home-page .af-section { padding-block: 48px; }
  .af-home-page .af-section-heading { margin-bottom: 28px; }
  .af-home-page .af-service-row { grid-template-columns: 28px minmax(0, 1fr); gap: 18px 14px; padding-block: 28px; }
  .af-home-page .af-service-row-scope { grid-column: 2; }
  .af-home-page .af-service-row h3 { font-size: 27px; }
  .af-home-page .af-service-row-scope ul { display: grid; gap: 5px; }
  .af-home-page .af-stories-section { width: calc(100% - 40px); padding-block: 48px; }
  .af-home-page .af-story-card,
  .af-home-page .af-story-card-featured { padding: 24px; }
  .af-home-page .af-story-card-featured :is(h2, h3) { font-size: 29px; }
  .af-home-page .af-process { gap: 24px; }
  .af-home-page .af-assessment-section { padding-bottom: 40px; }
  .af-home-page .af-path-check-heading { flex-wrap: wrap; gap: 16px; }
  .af-home-page .af-path-question { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .af-home-page .af-path-question .af-path-stage-icon { display: none; }
  .af-home-page .af-path-question select { width: 100%; }
  .af-home-page .af-contact { padding-block: 48px; gap: 28px; }
  .af-home-page .af-contact-actions .af-button { width: 100%; }
  .af-contact-page.af-refined .af-contact-hero { padding-top: 118px; padding-bottom: 36px; }
  .af-contact-page.af-refined .af-contact-hero h1 { font-size: clamp(38px, 10.5vw, 46px); }
  .af-contact-page.af-refined .af-contact-promise { align-items: start; gap: 10px; }
  .af-contact-page.af-refined .af-contact-builder { padding-block: 40px 48px; }
  .af-contact-page.af-refined .af-contact-brief-preview { padding: 20px 16px; }
  .af-contact-page.af-refined .af-brief-summary { padding: 20px 16px; }
  .af-refined .af-brief-dock-review { gap: 4px 16px; }
}

@media (max-height: 420px) {
  .af-refined .af-brief-dock { position: static; }
}

@media print {
  .af-refined .af-brief-dock { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .af-home-page .af-service-row-scope > a svg { transition: none; }
  .af-home-page .af-service-row-scope > a:hover svg { transform: none; }
}
