:root {
  --dxp-s-component-wrapper-spacer-size: 1.5rem;
  --dxp-s-component-wrapper-spacer-size-mobile: 1.5rem;
  --dxp-s-section-columns-max-width: 1280px;
  --dxp-s-section-columns-max-width-mobile: none;
  --dxp-s-column-spacer-size: 1rem;
  --dxp-s-column-spacer-size-mobile: 0.75rem;
  --dxp-s-html-font-size: 1rem;
  --dxp-s-body-font-size: 1rem;
  --dxp-s-body-line-height: 1.65;
  --dxp-s-link-text-decoration: none;
  --dxp-s-link-text-decoration-hover: underline;
  --dxp-s-link-text-decoration-focus: underline;
  --dxp-s-section-content-spacing-block-start: 1rem;
  --dxp-s-section-content-spacing-inline-end: 1rem;
  --dxp-s-section-content-spacing-block-end: 1rem;
  --dxp-s-section-content-spacing-inline-start: 1rem;
  --dxp-s-section-content-spacing-block-start-mobile: 0.75rem;
  --dxp-s-section-content-spacing-inline-end-mobile: 1rem;
  --dxp-s-section-content-spacing-block-end-mobile: 0.75rem;
  --dxp-s-section-content-spacing-inline-start-mobile: 1rem;
}

/*
 * The part of the Salesforce Design System and the experience site's own element rules that
 * the portfolio components rely on, written out by hand with the values the live site serves.
 *
 * On the Salesforce site these come from the SLDS sheets and the dxp extension sheets, and
 * they reach every component because synthetic shadow lets global rules through. The static
 * build runs components in native shadow, where a rule on the page does not cross into a
 * component. So this one sheet is adopted into every component's shadow root, and it is also
 * placed ahead of the site stylesheet on the page for the light DOM.
 *
 * Only what the templates use is here: the border box reset, the form control and heading
 * and list resets, link colour, and the utility classes found by searching the component
 * templates for slds- class names. Add a rule here when a template starts using a new class.
 *
 * Every rule keeps the var() chain the live sheet uses where one exists, with the resolved
 * value as the last fallback, so a page that sets none of the hooks still looks right.
 */

/* Normalize and base, from salesforce-lightning-design-system part 1. */
*,
::before,
::after {
  box-sizing: border-box;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
}

button[disabled],
input[disabled] {
  cursor: default;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  padding: 0;
}

textarea {
  overflow: auto;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

legend {
  border: 0;
  padding: 0;
}

dl,
h1,
h2,
h3,
h4,
h5,
h6,
ol,
p,
ul {
  margin: 0;
  padding: 0;
}

dd,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: 1em;
}

ol,
ul {
  list-style: none;
}

/* Taking the block display off summary is what hides the browser's disclosure triangle. */
summary {
  display: block;
}

b,
strong {
  font-weight: 700;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

pre {
  overflow: auto;
}

hr {
  display: block;
  margin: 2rem 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--slds-g-color-border-base-1, #e5e5e5);
  height: 1px;
  clear: both;
  box-sizing: content-box;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

caption,
td,
th {
  text-align: left;
}

td,
th {
  padding: 0;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

::placeholder {
  color: var(--dxp-c-placeholder-text-color, var(--dxp-g-neutral-3, #747474));
  font-weight: 400;
  opacity: 1;
}

a,
button {
  cursor: pointer;
}

/*
 * Links, from the dxp extension sheet. On the live site a component's rules carry an extra
 * attribute selector from synthetic shadow, so these beat a plain class rule such as
 * .link but lose to .btn:link. Native shadow has no such attribute, so the :not(i) here
 * gives the same order: one element more than a bare a:link, and still under a class plus
 * :link. The background and transition lines are unset on this site, and an unset hook
 * clears a component's own value, as it does on the live site.
 */
a,
a:link:not(i),
a:visited:not(i) {
  color: var(
    --dxp-c-link-text-color,
    var(--dxp-s-link-text-color, var(--dxp-g-brand, #2563eb))
  );
  text-decoration: var(
    --dxp-c-link-text-decoration,
    var(--dxp-s-link-text-decoration, none)
  );
  background-color: var(--dxp-c-link-color-background);
  transition: var(--dxp-c-link-transition);
}

a:hover:not(i),
a:active:not(i) {
  color: var(
    --dxp-c-link-text-color-hover,
    var(--dxp-s-link-text-color-hover, var(--dxp-g-brand-1, #1d4ed8))
  );
  text-decoration: var(--dxp-s-link-text-decoration-hover, underline);
  background-color: var(--dxp-c-link-color-background-hover);
}

a:focus:not(i) {
  color: var(
    --dxp-c-link-text-color-focus,
    var(--dxp-s-link-text-color-hover, var(--dxp-g-brand-1, #1d4ed8))
  );
  text-decoration: var(--dxp-s-link-text-decoration-focus, underline);
  background-color: var(--dxp-c-link-color-background-focus);
}

/* Spacing utilities. The dxp sheet sets these from the spacing hooks. */
.slds-m-top_x-small {
  margin-top: var(--dxp-g-spacing-xsmall, 0.5rem);
}

.slds-m-top_small {
  margin-top: var(--dxp-g-spacing-small, 0.75rem);
}

.slds-m-top_medium {
  margin-top: var(--dxp-g-spacing-medium, 1rem);
}

.slds-m-top_large {
  margin-top: var(--dxp-g-spacing-large, 1.5rem);
}

.slds-m-bottom_small {
  margin-bottom: var(--dxp-g-spacing-small, 0.75rem);
}

.slds-m-bottom_medium {
  margin-bottom: var(--dxp-g-spacing-medium, 1rem);
}

.slds-p-around_medium {
  padding: var(--dxp-g-spacing-medium, 1rem);
}

.slds-p-around_large {
  padding: var(--dxp-g-spacing-large, 1.5rem);
}

.slds-p-around_xx-large {
  padding: var(--dxp-g-spacing-xxlarge, 3rem);
}

/* Grid and sizing. */
.slds-grid {
  display: flex;
}

.slds-wrap {
  flex-wrap: wrap;
  align-items: flex-start;
}

.slds-gutters {
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

.slds-gutters .slds-col {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.slds-col {
  flex: 1 1 auto;
}

.slds-size_1-of-1 {
  flex: none;
  width: 100%;
}

@media (min-width: 48em) {
  .slds-medium-size_1-of-2 {
    flex: none;
    width: 50%;
  }
}

/* Description list laid out as label and value. */
.slds-list_horizontal {
  display: flex;
}

.slds-list_horizontal .slds-item_label {
  width: 30%;
  padding-right: 0.75rem;
}

.slds-list_horizontal .slds-item_detail {
  width: 70%;
}

/* Text utilities. The dxp sheet resolves the sizes from the branding set. */
.slds-text-heading_small {
  font-size: var(--dxp-s-text-heading-small-font-size, 1.125rem);
  font-weight: var(--dxp-s-text-heading-small-font-weight, 600);
  line-height: var(--dxp-s-text-heading-small-line-height, 1.25);
  color: var(
    --dxp-s-text-heading-small-color,
    var(--dxp-g-root-contrast, #101828)
  );
}

.slds-text-body_small {
  font-size: var(--dxp-s-body-small-font-size, 0.75rem);
  line-height: var(--dxp-s-body-small-line-height, 1.25);
  color: var(
    --dxp-s-body-small-text-color,
    var(--dxp-g-root-contrast, #101828)
  );
}

.slds-text-title_caps {
  font-size: var(--dxp-c-title-caps-font-size, 0.75rem);
  line-height: var(--dxp-c-title-caps-line-height, 1.25);
  font-weight: var(--dxp-c-title-caps-font-weight, 400);
  letter-spacing: var(--dxp-c-title-caps-letter-spacing, 0.0625rem);
  text-transform: var(--dxp-c-title-caps-text-transform, uppercase);
  color: var(
    --dxp-c-title-caps-text-color,
    var(--dxp-g-root-contrast, #101828)
  );
}

.slds-text-align_right {
  text-align: right;
}

/* Form element and state helpers. */
.slds-form-element {
  position: relative;
  min-width: 0;
  margin-bottom: var(--dxp-g-spacing-medium, 1rem);
}

.slds-is-relative {
  position: relative;
}

.slds-assistive-text {
  position: absolute !important;
  margin: -1px !important;
  border: 0 !important;
  padding: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

.slds-hide {
  display: none !important;
}


.comm-section-container {
  display: block;
  padding: var(--dxp-s-section-content-spacing-block-start) var(--dxp-s-section-content-spacing-inline-end)
    var(--dxp-s-section-content-spacing-block-end) var(--dxp-s-section-content-spacing-inline-start);
}

.columns-content {
  display: flex;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  flex-direction: row;
  max-width: var(--dxp-s-section-columns-max-width);
  column-gap: var(--dxp-s-column-spacer-size);
}

.comm-column {
  display: flex;
  min-width: 0;
}

.column-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
  min-width: 0;
}

.component-wrapper-spacer {
  margin-bottom: var(--dxp-s-component-wrapper-spacer-size);
}

@media (max-width: 64em) {
  .comm-section-container {
    padding: var(--dxp-s-section-content-spacing-block-start-mobile) var(--dxp-s-section-content-spacing-inline-end-mobile)
      var(--dxp-s-section-content-spacing-block-end-mobile) var(--dxp-s-section-content-spacing-inline-start-mobile);
  }

  .columns-content {
    flex-direction: column;
    max-width: var(--dxp-s-section-columns-max-width-mobile);
    row-gap: var(--dxp-s-column-spacer-size-mobile);
  }

  .comm-column {
    width: 100%;
  }

  .component-wrapper-spacer {
    margin-bottom: var(--dxp-s-component-wrapper-spacer-size-mobile);
  }
}


html {
  font-size: var(--dxp-s-html-font-size);
  line-height: 1.5;
}

body {
  font-size: var(--dxp-s-body-font-size);
  line-height: var(--dxp-s-body-line-height);
}

/*
 * Site design tokens.
 * Light is the fallback. Dark applies when the visitor's system asks for it, unless the header
 * toggle has set data-theme="light" on the html element. data-theme="dark" forces dark.
 * The portfolioThemeLayout :host mirrors these values, so keep the two in step.
 */

/*
 * Fonts ship as the Portfolio_Fonts static resource (SIL Open Font License 1.1).
 * This file is served from <base>/sfsites/c/cms/delivery/media/<id>, so the relative URL below
 * reaches <base>/sfsites/c/resource/Portfolio_Fonts/ without writing the base path down.
 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/sr/Portfolio_Fonts/inter-latin-400-normal.woff2")
    format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/sr/Portfolio_Fonts/inter-latin-500-normal.woff2")
    format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/sr/Portfolio_Fonts/inter-latin-600-normal.woff2")
    format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/sr/Portfolio_Fonts/inter-latin-700-normal.woff2")
    format("woff2");
}

@font-face {
  font-family: "Fira Code";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/sr/Portfolio_Fonts/fira-code-latin-400-normal.woff2")
    format("woff2");
}

@font-face {
  font-family: "Fira Code";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/sr/Portfolio_Fonts/fira-code-latin-500-normal.woff2")
    format("woff2");
}

/* Light set, the fallback. */
:root {
  color-scheme: light;

  --pf-bg: #ffffff;
  --pf-surface: #ffffff;
  --pf-subtle: #f9fafb;
  --pf-border: #e5e7eb;
  --pf-text: #101828;
  --pf-body: #344054;
  --pf-muted: #667085;
  --pf-accent: #2563eb;
  --pf-chip: #f2f4f7;
  --pf-chip-text: #344054;
  --pf-warn: #fef3c7;
  --pf-warn-text: #92400e;
  --pf-ok: #067647;
  --pf-code: #f2f4f7;
  --pf-code-text: #1d2939;
  --pf-btn: #2563eb;
  --pf-btn-text: #ffffff;
  --pf-btn-hover: #1d4ed8;
  --pf-error: #fee4e2;
  --pf-error-text: #b42318;
  /* GitHub's own alert colours, so a doc reads as it does on GitHub. */
  --pf-alert-note: #0969da;
  --pf-alert-tip: #1a7f37;
  --pf-alert-important: #8250df;
  --pf-alert-warning: #9a6700;
  --pf-alert-caution: #d1242f;
  --pf-focus: #2563eb;
  --pf-color-scheme: light;
  --pf-glass: rgba(255, 255, 255, 0.9);
  --pf-shadow: 0 12px 32px rgba(16, 24, 40, 0.14);
  --pf-paper-edge: #cbd5e1;
  --pf-paper-shadow:
    0 1px 2px rgba(16, 24, 40, 0.08), 0 6px 16px rgba(16, 24, 40, 0.1);

  --pf-font-sans: "Inter", system-ui, sans-serif;
  --pf-font-mono: "Fira Code", ui-monospace, monospace;

  --pf-radius-sm: 8px;
  --pf-radius: 12px;
  --pf-radius-lg: 16px;
  /* Fully round ends, for a tag or pill (c/pill). Buttons, toggles and fields stay at 8 px. */
  --pf-radius-pill: 999px;

  --pf-space-1: 4px;
  --pf-space-2: 8px;
  --pf-space-3: 12px;
  --pf-space-4: 16px;
  --pf-space-5: 24px;
  --pf-space-6: 32px;

  /*
   * Type scale, the house values the layout audit of 2026-11-15 measured. Each role has a size
   * token, and a heading role has its weight and line height too. A size ending in -sm is the
   * same role under 768 px wide, which a component sets in its own media query. The same in
   * light and dark, so the dark blocks below do not repeat them.
   */
  /* The page title, one h1 per page (c/pageIntro, the docs and message pages, the hero). */
  --pf-font-page: 40px;
  --pf-font-page-sm: 32px;
  --pf-weight-page: 600;
  --pf-line-page: 1.15;
  /* A section heading, the h2 that opens a page section (c/sectionHeading). */
  --pf-font-section: 32px;
  --pf-font-section-sm: 26px;
  --pf-weight-section: 700;
  --pf-line-section: 1.2;
  /* A heading inside a panel, an h2 or h3 (c/sectionHeading with section-heading-panel). */
  --pf-font-panel: 20px;
  --pf-weight-panel: 700;
  --pf-line-panel: 1.3;
  /* The title of one card in a grid of cards, such as a case study card. */
  --pf-font-card: 17px;
  --pf-weight-card: 600;
  --pf-line-card: 1.3;
  /* Running text. */
  --pf-font-body: 16px;
  --pf-line-body: 1.6;
  /* The one or two sentences under a page title. */
  --pf-font-lead: 18px;
  --pf-line-lead: 1.65;
  /* A caption, hint or note under a figure or a control. */
  --pf-font-caption: 14px;
  /* Small print: a date, a count, the text inside a pill. */
  --pf-font-meta: 12px;

  /* The touch target every control meets, in both directions (c/nativeControls). */
  --pf-control-height: 44px;

  /*
   * DXP globals mapped onto the tokens, so base components and Builder follow the theme.
   * The branding style sets literal values for these before this file loads. This file wins by
   * order, and the derived shades are set here too because the runtime writes them as literals.
   */
  --dxp-g-root: var(--pf-bg) !important;
  --dxp-g-root-1: var(--pf-subtle) !important;
  --dxp-g-root-2: var(--pf-chip) !important;
  --dxp-g-root-3: var(--pf-border) !important;
  --dxp-g-root-contrast: var(--pf-text) !important;
  --dxp-g-root-contrast-1: var(--pf-body) !important;
  --dxp-g-root-contrast-2: var(--pf-body) !important;
  --dxp-g-root-contrast-3: var(--pf-text) !important;
  --dxp-g-neutral: var(--pf-chip) !important;
  --dxp-g-neutral-1: var(--pf-border) !important;
  --dxp-g-neutral-2: var(--pf-border) !important;
  --dxp-g-neutral-3: var(--pf-muted) !important;
  --dxp-g-neutral-contrast: var(--pf-text) !important;
  --dxp-g-neutral-contrast-1: var(--pf-body) !important;
  --dxp-g-neutral-contrast-2: var(--pf-body) !important;
  --dxp-g-neutral-contrast-3: var(--pf-text) !important;
  --dxp-g-brand: var(--pf-btn) !important;
  --dxp-g-brand-1: var(--pf-btn-hover) !important;
  --dxp-g-brand-contrast: var(--pf-btn-text) !important;
  --dxp-g-brand-contrast-1: var(--pf-btn-text) !important;
  --dxp-g-root-font-family: var(--pf-font-sans) !important;

  --dxp-s-button-color: var(--pf-btn) !important;
  --dxp-s-button-color-contrast: var(--pf-btn-text) !important;
  --dxp-s-link-text-color: var(--pf-accent) !important;
  --dxp-s-link-text-color-hover: var(--pf-accent) !important;

  --dxp-c-header-color-background: transparent !important;
  --dxp-c-footer-color-background: transparent !important;
  --dxp-c-content-color-background: transparent !important;
}

/* Dark set, when the system asks for it and the visitor has not chosen light. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

    --pf-bg: #0b0f17;
    --pf-surface: #111827;
    --pf-subtle: #0f1520;
    --pf-border: #1f2937;
    --pf-text: #f3f4f6;
    --pf-body: #d0d5dd;
    --pf-muted: #98a2b3;
    --pf-accent: #60a5fa;
    --pf-chip: #1d2939;
    --pf-chip-text: #d0d5dd;
    --pf-warn: #3a2a0a;
    --pf-warn-text: #fcd34d;
    --pf-ok: #47cd89;
    --pf-code: #0b0f17;
    --pf-code-text: #e2e8f0;
    --pf-btn: #2563eb;
    --pf-btn-text: #ffffff;
    --pf-btn-hover: #1d4ed8;
    --pf-error: #3b1219;
    --pf-error-text: #fda29b;
    --pf-alert-note: #4493f8;
    --pf-alert-tip: #3fb950;
    --pf-alert-important: #ab7df8;
    --pf-alert-warning: #d29922;
    --pf-alert-caution: #f85149;
    --pf-focus: #60a5fa;
    --pf-color-scheme: dark;
    --pf-glass: rgba(11, 15, 23, 0.9);
    --pf-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
    --pf-paper-edge: #475569;
    --pf-paper-shadow:
      0 0 0 1px rgba(148, 163, 184, 0.25), 0 8px 24px rgba(0, 0, 0, 0.5);
  }
}

/* Dark set, when the visitor has chosen dark with the header toggle. */
:root[data-theme="dark"] {
  color-scheme: dark;

  --pf-bg: #0b0f17;
  --pf-surface: #111827;
  --pf-subtle: #0f1520;
  --pf-border: #1f2937;
  --pf-text: #f3f4f6;
  --pf-body: #d0d5dd;
  --pf-muted: #98a2b3;
  --pf-accent: #60a5fa;
  --pf-chip: #1d2939;
  --pf-chip-text: #d0d5dd;
  --pf-warn: #3a2a0a;
  --pf-warn-text: #fcd34d;
  --pf-ok: #47cd89;
  --pf-code: #0b0f17;
  --pf-code-text: #e2e8f0;
  --pf-btn: #2563eb;
  --pf-btn-text: #ffffff;
  --pf-btn-hover: #1d4ed8;
  --pf-error: #3b1219;
  --pf-error-text: #fda29b;
  --pf-alert-note: #4493f8;
  --pf-alert-tip: #3fb950;
  --pf-alert-important: #ab7df8;
  --pf-alert-warning: #d29922;
  --pf-alert-caution: #f85149;
  --pf-focus: #60a5fa;
  --pf-color-scheme: dark;
  --pf-glass: rgba(11, 15, 23, 0.9);
  --pf-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  --pf-paper-edge: #475569;
  --pf-paper-shadow:
    0 0 0 1px rgba(148, 163, 184, 0.25), 0 8px 24px rgba(0, 0, 0, 0.5);
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: var(--pf-font-sans);
  background-color: var(--pf-bg) !important;
  color: var(--pf-text);
  -webkit-font-smoothing: antialiased;
}

.dxp-content-layout,
.dxp-root-layout,
.dxp-site-layout,
.dxp-region-header,
.dxp-region-footer,
.dxp-region-content,
.dxp-section {
  background-color: transparent !important;
  background: transparent !important;
}

::selection {
  background: var(--pf-accent);
  color: var(--pf-bg);
}

:focus-visible {
  outline: 2px solid var(--pf-focus);
  outline-offset: 2px;
}
