/* Company family — the Ash layer for the one-off marketing pages
   ===============================================================
   /about/, /careers/, /contact-us/, /who-we-help/, /how-we-work/,
   /agentic-delivery/, the two operating-system reference pages, the five
   Shopify SEO landing pages, /industries/ and the 404. Linked from each
   page's head partial (never bundled into site.css — only these pages pay for
   it), and linked *before* the page's own <style> block so page rules win.

   Those pages were written against the old light system: Webflow bands
   (`.surface-light`, `.surface-dark`), Webflow buttons and type classes, and
   their own prefixed components. Their prefixed rules were re-pointed at the
   Ash tokens in place; what is here is everything they share and cannot own —
   the page ground, the Webflow classes the migrated markup still carries
   (styled by the shared Webflow sheet, which is not edited), and the Ash
   versions of the closing CTA and the avatar button.

   Tokens only (tokens.css, second block). Red text is --color-brand-red, which
   passes on black (5.75:1), on --color-background-dark and on glass; it never
   sits on indigo. */

html,
body {
  background-color: var(--color-background-page);
  color: var(--color-text-primary);
}

/* ---- Webflow bands --------------------------------------------------- */
.surface-light { background-color: transparent; }
.surface-dark { background-color: var(--color-background-page); }

/* ---- Webflow type classes the migrated markup still uses --------------- */
.paragraph-default { color: var(--color-text-secondary); }
.paragraph-default.is-white { color: var(--color-text-secondary); }
.h1_editorial,
.h1_editorial.is-white,
.heading-2-standard {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-primary);
  text-wrap: balance;
}
.h1_editorial,
.h1_editorial.is-white { font-size: clamp(2.125rem, 3.34vw, 3rem); line-height: 1.1667; }
.card_subtitle_medium { color: var(--color-text-primary); }
.is-orange { color: var(--color-brand-red); }

/* ---- The closing CTA (".service-cta_component") -------------------------
   The block every page ends on — headline, line of copy, avatar button, cube
   video. On the old pages it sat in a dark band; on Ash it becomes a glass
   panel with the indigo glow behind it, the way the homepage's own close does. */
.service-cta_component {
  position: relative;
  isolation: isolate;
  margin-top: 40px;
  margin-bottom: 80px;
  padding: 56px 64px;
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-panel);
  background:
    radial-gradient(70% 90% at 100% 0%, rgb(77 63 137 / 0.55), transparent 70%),
    radial-gradient(60% 80% at 0% 100%, rgb(126 40 39 / 0.35), transparent 70%),
    var(--color-glass-fill);
  box-sizing: border-box;
}
.service-cta_content .heading-2-standard,
.service-cta_content .h1_editorial { color: var(--color-text-primary); }
.service-cta_content .paragraph-default { color: var(--color-text-secondary); }
@media screen and (max-width: 767px) {
  .service-cta_component { padding: 40px 24px; margin-bottom: 56px; }
}

/* ---- Webflow buttons → ds-btn --------------------------------------------
   `.button-hero-dark` and its outline twin are the primary CTA button on
   every page here — "Get a Preview, Not a Proposal", the close the AOS
   landing page argues for. On Ash that is the primary button: the fill red,
   white label, 12px radius, the 16px arrow — ds.css's .ds-btn--primary,
   restated for the Webflow class names the markup carries. The team-avatar
   variant these used to carry is gone: the headshot sat on a button whose
   whole promise is that you get a preview back, not a meeting. */
.button-hero-dark,
.button-hero-dark-outline-2 {
  background-color: var(--color-button-surface-primary);
  border: 1.5px solid var(--color-button-surface-primary);
  border-radius: var(--radius-button);
  color: var(--color-button-text-primary);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.button-hero-dark:hover,
.button-hero-dark-outline-2:hover {
  background-color: var(--color-button-surface-primary-hover);
  border-color: var(--color-button-surface-primary-hover);
}
.button-hero-dark:focus-visible,
.button-hero-dark-outline-2:focus-visible {
  outline: 2px solid var(--color-text-primary);
  outline-offset: 3px;
}
.button-hero-dark .btn_text,
.button-hero-dark-outline-2 .btn_text,
.button-hero-dark .is-white,
.button-hero-dark-outline-2 .is-white {
  color: var(--color-button-text-primary);
  font-family: var(--font-sans);
  font-weight: 600;
}
/* .txt-btn-slim moved to interactions.css: /what-we-do/ uses it too and
   doesn't load this sheet. */

/* ---- Brand marquee band on these pages --------------------------------- */
.res-logo-band { background-color: var(--color-background-page); }

/* ---- The glass card, for page components that want the homepage's card --
   (10% offwhite fill, 15% white hairline, 24px radius). The prefixed rules
   reach the same values through the tokens; this is the class for markup. */
.co-glass {
  background: var(--color-glass-fill);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-panel);
}

/* ---- Focus: every link on a dark page keeps a visible ring ------------- */
main a:focus-visible,
main button:focus-visible,
main summary:focus-visible {
  outline: 2px solid var(--color-text-primary);
  outline-offset: 3px;
}

/* ---- Links in authored prose --------------------------------------------
   A bare <a> inside a paragraph carries no class, so it fell to the browser
   default #0000ee — 2.23:1 on black. Offwhite with the house red underline;
   the underline is load-bearing (colour alone must not mark a link).
   This rule outranks the page sheets' own prose-link styles, and several of
   those draw their underline as a border-bottom — so a link got this
   underline and that border both, two red rules 3px apart, on 14 pages
   (Agentic Delivery, the AOS pages, the industry lists, How We Work…). The
   border goes; this underline is the one the site uses. */
main p a:not([class]),
main li a:not([class]),
main td a:not([class]) {
  color: var(--color-text-primary);
  border-bottom: 0;
  text-decoration: underline;
  text-decoration-color: var(--color-brand-red);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
main p a:not([class]):hover,
main li a:not([class]):hover,
main td a:not([class]):hover { color: var(--color-brand-red); }
.service-cta_image { border-radius: var(--radius-card); }
