:root {
  --site-ink: #171a26;
  --site-ink-2: #202534;
  --site-blue: #2b86b1;
  --site-blue-dark: #17698f;
  --site-blue-light: #8ccae7;
  --site-yellow: #f0cd16;
  --site-paper: #f5f7f9;
  --site-white: #ffffff;
  --site-muted: #63707b;
  --site-line: #dce2e7;
}

button,
input[type="button"],
input[type="submit"],
.elementor-button,
.wp-block-button__link,
.ast-button,
.button {
  border-radius: 999px !important;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #f0cd16 !important;
  outline-offset: 3px;
}

body:has(#threehp-home),
body:has(#threehp-portfolio) {
  background: #ffffff !important;
}

body:has(#threehp-home) :is(#page, #content, .site-content, .site-content > .ast-container, #primary, .content-area, .site-main, .ast-article-single, .entry-content),
body:has(#threehp-portfolio) :is(#page, #content, .site-content, .site-content > .ast-container, #primary, .content-area, .site-main, .ast-article-single, .entry-content) {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:has(#threehp-home) .entry-header,
body:has(#threehp-portfolio) .entry-header {
  display: none !important;
}

body:has(#threehp-home) .elementor-widget-html,
body:has(#threehp-home) .elementor-widget-html > .elementor-widget-container,
body:has(#threehp-portfolio) .elementor-widget-html,
body:has(#threehp-portfolio) .elementor-widget-html > .elementor-widget-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:has(#threehp-home) .elementor > .e-con,
body:has(#threehp-home) .elementor-section-wrap > .elementor-section,
body:has(#threehp-portfolio) .elementor > .e-con,
body:has(#threehp-portfolio) .elementor-section-wrap > .elementor-section {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
}

#masthead,
#masthead .ast-primary-header-bar,
#masthead .main-header-bar,
#masthead .ast-above-header-bar,
#masthead .ast-below-header-bar {
  background: #000000 !important;
}

#masthead .main-header-menu > .menu-item > .menu-link,
#masthead .ast-builder-menu-1 .menu-item > .menu-link,
#masthead .ast-builder-social-element,
#masthead .ast-builder-social-element svg,
#masthead .menu-toggle,
#masthead .mobile-menu-toggle-icon,
#masthead .mobile-menu-toggle-icon svg {
  color: #ffffff !important;
  fill: #ffffff !important;
}

#masthead .main-header-menu > .menu-item:hover > .menu-link,
#masthead .main-header-menu > .current-menu-item > .menu-link,
#masthead .ast-builder-menu-1 .menu-item:hover > .menu-link,
#masthead .ast-builder-menu-1 .current-menu-item > .menu-link {
  color: #8ccae7 !important;
}

@media (max-width: 921px) {
  .ast-mobile-header-wrap .ast-mobile-header-content,
  .ast-mobile-popup-drawer .ast-mobile-popup-inner,
  .ast-header-break-point .main-header-menu,
  .ast-builder-menu-mobile .main-navigation .sub-menu,
  .ast-header-break-point .main-header-menu .sub-menu {
    background: #101923 !important;
  }

  .ast-builder-menu-mobile .main-navigation .menu-item > .menu-link,
  .ast-header-break-point .main-header-menu .menu-link,
  .ast-builder-menu-mobile .main-navigation .ast-menu-toggle,
  .ast-header-break-point .main-header-menu .ast-menu-toggle {
    color: #ffffff !important;
    background: transparent !important;
  }

  .ast-builder-menu-mobile .main-navigation .menu-item:hover > .menu-link,
  .ast-builder-menu-mobile .main-navigation .current-menu-item > .menu-link,
  .ast-header-break-point .main-header-menu .menu-item:hover > .menu-link,
  .ast-header-break-point .main-header-menu .current-menu-item > .menu-link {
    color: #ffffff !important;
    background: #17698f !important;
  }
}

#threehp-home {
    --hp-ink: #171a26;
    --hp-ink-2: #202534;
    --hp-blue: #2b86b1;
    --hp-blue-dark: #17698f;
    --hp-blue-light: #8ccae7;
    --hp-yellow: #f0cd16;
    --hp-paper: #f5f7f9;
    --hp-white: #ffffff;
    --hp-muted: #63707b;
    --hp-line: #dce2e7;
    overflow: hidden;
    color: var(--hp-ink);
    background: var(--hp-white);
    font-family: inherit;
    font-size: 17px;
    line-height: 1.6;
  }

  #threehp-home,
  #threehp-home * { box-sizing: border-box; }

  #threehp-home a { color: inherit; }
  #threehp-home p { margin: 0; }

  #threehp-home h1,
  #threehp-home h2,
  #threehp-home h3 {
    margin: 0;
    color: inherit;
    font-family: inherit;
    letter-spacing: -.025em;
    line-height: 1.16;
    text-wrap: balance;
  }

  #threehp-home .hp-shell {
    width: min(calc(100% - 48px), 1180px);
    margin-inline: auto;
  }

  #threehp-home .hp-section { padding: 82px 0; }

  #threehp-home .hp-eyebrow {
    margin: 0 0 17px;
    color: var(--hp-blue-dark);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
  }

  #threehp-home .hp-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid currentColor;
    border-radius: 999px;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 800;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  }

  #threehp-home .hp-button:hover,
  #threehp-home .hp-button:focus-visible { transform: translateY(-2px); }

  #threehp-home .hp-button-primary {
    border-color: var(--hp-yellow);
    color: var(--hp-ink);
    background: var(--hp-yellow);
  }

  #threehp-home .hp-button-primary:hover,
  #threehp-home .hp-button-primary:focus-visible {
    border-color: var(--hp-white);
    background: var(--hp-white);
  }

  #threehp-home .hp-button-secondary {
    border-color: rgba(255,255,255,.72);
    color: var(--hp-white);
    background: transparent;
  }

  #threehp-home .hp-button-secondary:hover,
  #threehp-home .hp-button-secondary:focus-visible {
    border-color: var(--hp-white);
    color: var(--hp-ink);
    background: var(--hp-white);
  }

  #threehp-home .hp-hero {
    position: relative;
    padding: 124px 0 104px;
    color: var(--hp-white);
    background:
      radial-gradient(circle at 78% 18%, rgba(43,134,177,.38), transparent 29%),
      linear-gradient(135deg, var(--hp-ink) 0%, #1c2634 62%, #174f69 100%);
  }

  #threehp-home .hp-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: linear-gradient(90deg, var(--hp-yellow) 0 22%, var(--hp-blue) 22% 100%);
  }

  #threehp-home .hp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: clamp(48px, 7vw, 92px);
    align-items: end;
  }

  #threehp-home .hp-hero .hp-eyebrow { color: var(--hp-blue-light); }

  #threehp-home h1 {
    max-width: 820px;
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
  }

  #threehp-home .hp-hero-copy {
    max-width: 740px;
    margin-top: 27px;
    color: #d5e0e6;
    font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  }

  #threehp-home .hp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 36px;
  }

  #threehp-home .hp-hero-aside {
    padding-left: 30px;
    border-left: 1px solid rgba(255,255,255,.28);
  }

  #threehp-home .hp-hero-aside p {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
    color: #c4d1d8;
    font-size: .86rem;
  }

  #threehp-home .hp-hero-aside strong {
    display: block;
    margin-bottom: 2px;
    color: var(--hp-white);
    font-size: .98rem;
  }

  #threehp-home .hp-focus {
    color: var(--hp-white);
    background: var(--hp-ink-2);
  }

  #threehp-home .hp-focus-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #threehp-home .hp-focus-item {
    padding: 27px 24px;
    border-right: 1px solid rgba(255,255,255,.12);
    text-align: center;
  }

  #threehp-home .hp-focus-item:last-child { border-right: 0; }

  #threehp-home .hp-focus-item strong {
    display: block;
    color: var(--hp-yellow);
    font-size: 1rem;
  }

  #threehp-home .hp-focus-item span {
    display: block;
    margin-top: 3px;
    color: #c7d1d7;
    font-size: .77rem;
  }

  #threehp-home .hp-section-head {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(35px, 6vw, 80px);
    align-items: end;
    margin-bottom: 42px;
  }

  #threehp-home h2 {
    max-width: 760px;
    font-size: clamp(2.1rem, 3.8vw, 3.25rem);
    font-weight: 800;
  }

  #threehp-home .hp-intro {
    max-width: 680px;
    color: var(--hp-muted);
    font-size: 1.05rem;
  }

  #threehp-home .hp-why { background: var(--hp-paper); }

  #threehp-home .hp-why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--hp-line);
    border-left: 1px solid var(--hp-line);
  }

  #threehp-home .hp-why-card {
    min-height: 300px;
    padding: 32px;
    border-right: 1px solid var(--hp-line);
    border-bottom: 1px solid var(--hp-line);
    background: var(--hp-white);
  }

  #threehp-home .hp-card-number {
    color: var(--hp-blue-dark);
    font-size: .71rem;
    font-weight: 800;
    letter-spacing: .14em;
  }

  #threehp-home .hp-why-card h3 {
    margin-top: 62px;
    font-size: 1.55rem;
  }

  #threehp-home .hp-why-card p {
    margin-top: 14px;
    color: var(--hp-muted);
    font-size: .91rem;
  }

  #threehp-home .hp-approach {
    color: var(--hp-white);
    background: var(--hp-ink);
  }

  #threehp-home .hp-approach .hp-eyebrow { color: var(--hp-blue-light); }
  #threehp-home .hp-approach .hp-intro { color: #bac7ce; }

  #threehp-home .hp-approach-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  #threehp-home .hp-approach-card {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 18px;
    background: #202534;
  }

  #threehp-home .hp-approach-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  #threehp-home .hp-approach-copy { padding: 23px; }

  #threehp-home .hp-approach-copy h3 {
    color: var(--hp-white);
    font-size: 1.4rem;
  }

  #threehp-home .hp-approach-copy p {
    margin-top: 10px;
    color: #bdc8cf;
    font-size: .85rem;
  }

  #threehp-home .hp-deliver { background: var(--hp-white); }

  #threehp-home .hp-deliver-grid {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: clamp(45px, 7vw, 92px);
    align-items: start;
  }

  #threehp-home .hp-deliver-copy {
    max-width: 670px;
    color: var(--hp-muted);
    font-size: 1.03rem;
  }

  #threehp-home .hp-deliver-copy p + p { margin-top: 18px; }

  #threehp-home .hp-service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 30px;
    margin-top: 30px;
    border-top: 1px solid var(--hp-line);
  }

  #threehp-home .hp-service-list span {
    padding: 13px 0;
    border-bottom: 1px solid var(--hp-line);
    font-size: .84rem;
    font-weight: 800;
  }

  #threehp-home .hp-deliver .hp-button {
    margin-top: 30px;
    border-color: var(--hp-blue-dark);
    color: var(--hp-white);
    background: var(--hp-blue-dark);
  }

  #threehp-home .hp-deliver .hp-button:hover,
  #threehp-home .hp-deliver .hp-button:focus-visible {
    border-color: var(--hp-ink);
    background: var(--hp-ink);
  }

  #threehp-home .hp-credibility {
    color: var(--hp-white);
    background: linear-gradient(135deg, #111621 0%, #1b3342 100%);
  }

  #threehp-home .hp-leadership-head {
    max-width: 900px;
    margin-bottom: 44px;
  }

  #threehp-home .hp-leadership-intro {
    max-width: 820px;
    margin-top: 22px;
    color: #becbd2;
    font-size: 1.03rem;
  }

  #threehp-home .hp-leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }

  #threehp-home .hp-leader-card {
    display: grid;
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    padding: 26px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 22px;
    background: rgba(255,255,255,.035);
  }

  #threehp-home .hp-portrait {
    overflow: hidden;
    margin: 0;
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(140,202,231,.36);
    border-radius: 22px;
    box-shadow: 0 0 0 8px rgba(43,134,177,.08), 0 24px 60px rgba(0,0,0,.34);
  }

  #threehp-home .hp-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
  }

  #threehp-home .hp-leader-card--trinie .hp-portrait img { object-position: center 42%; }

  #threehp-home .hp-credibility .hp-eyebrow { color: var(--hp-blue-light); }

  #threehp-home .hp-leader-role {
    display: block;
    margin-bottom: 8px;
    color: var(--hp-blue-light);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  #threehp-home .hp-leader-copy h3 {
    color: var(--hp-white);
    font-size: 1.55rem;
  }

  #threehp-home .hp-leader-copy p {
    margin-top: 13px;
    color: #becbd2;
    font-size: .86rem;
  }

  #threehp-home .hp-contact {
    padding: 88px 0;
    color: var(--hp-white);
    background: var(--hp-blue-dark);
  }

  #threehp-home .hp-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: center;
  }

  #threehp-home .hp-contact .hp-eyebrow { color: #b9dff1; }
  #threehp-home .hp-contact h2 { max-width: 720px; }

  #threehp-home .hp-email {
    display: inline-block;
    margin-top: 15px;
    color: #d5eaf4;
    font-size: .94rem;
    font-weight: 700;
    text-decoration: none;
  }

  #threehp-home .hp-email:hover,
  #threehp-home .hp-email:focus-visible { text-decoration: underline; }

  @media (max-width: 920px) {
    #threehp-home .hp-hero-grid,
    #threehp-home .hp-section-head,
    #threehp-home .hp-deliver-grid,
    #threehp-home .hp-contact-grid {
      grid-template-columns: 1fr;
      gap: 34px;
    }

    #threehp-home .hp-hero-aside {
      padding: 24px 0 0;
      border-top: 1px solid rgba(255,255,255,.28);
      border-left: 0;
    }

    #threehp-home .hp-focus-grid,
    #threehp-home .hp-approach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    #threehp-home .hp-focus-item:nth-child(2) { border-right: 0; }
    #threehp-home .hp-focus-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
    #threehp-home .hp-why-grid { grid-template-columns: 1fr; }
    #threehp-home .hp-why-card { min-height: 245px; }
    #threehp-home .hp-why-card h3 { margin-top: 38px; }
    #threehp-home .hp-leadership-grid { grid-template-columns: 1fr; }
  }

  @media (max-width: 620px) {
    #threehp-home { font-size: 16px; }
    #threehp-home .hp-shell { width: min(calc(100% - 30px), 1180px); }
    #threehp-home .hp-section { padding: 58px 0; }
    #threehp-home .hp-hero { padding: 86px 0 72px; }
    #threehp-home h1 { font-size: clamp(2.45rem, 12vw, 3.35rem); }
    #threehp-home h2 { font-size: clamp(1.95rem, 9vw, 2.55rem); }
    #threehp-home .hp-actions { align-items: stretch; flex-direction: column; }
    #threehp-home .hp-actions .hp-button { width: 100%; }
    #threehp-home .hp-focus-grid,
    #threehp-home .hp-approach-grid,
    #threehp-home .hp-service-list { grid-template-columns: 1fr; }
    #threehp-home .hp-focus-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
    #threehp-home .hp-focus-item:last-child { border-bottom: 0; }
    #threehp-home .hp-why-card { min-height: 225px; padding: 27px 23px; }
    #threehp-home .hp-approach-grid { gap: 16px; }
    #threehp-home .hp-approach-card img { aspect-ratio: 16 / 10; }
    #threehp-home .hp-leadership-head { margin-bottom: 32px; }
    #threehp-home .hp-leader-card { grid-template-columns: 1fr; padding: 20px; }
    #threehp-home .hp-portrait { width: min(100%, 280px); }
    #threehp-home .hp-contact { padding: 64px 0; }
    #threehp-home .hp-contact .hp-button { width: 100%; }
  }

  @media (prefers-reduced-motion: reduce) {
    #threehp-home .hp-button { transition: none; }
  }

#threehp-portfolio {
    --hp-ink: #171a26;
    --hp-ink-2: #202534;
    --hp-blue: #2b86b1;
    --hp-blue-dark: #17698f;
    --hp-yellow: #f0cd16;
    --hp-paper: #f5f7f9;
    --hp-white: #ffffff;
    --hp-muted: #63707b;
    --hp-line: #dce2e7;
    color: var(--hp-ink);
    background: var(--hp-white);
    font-family: inherit;
    font-size: 17px;
    line-height: 1.6;
    overflow: hidden;
  }

  #threehp-portfolio,
  #threehp-portfolio * { box-sizing: border-box; }

  #threehp-portfolio a { color: inherit; }

  #threehp-portfolio .hp-shell {
    width: min(calc(100% - 48px), 1180px);
    margin-inline: auto;
  }

  #threehp-portfolio .hp-section { padding: 76px 0; }

  #threehp-portfolio .hp-eyebrow {
    margin: 0 0 18px;
    color: var(--hp-blue-dark);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
  }

  #threehp-portfolio h1,
  #threehp-portfolio h2,
  #threehp-portfolio h3 {
    margin: 0;
    color: inherit;
    font-family: inherit;
    line-height: 1.18;
    letter-spacing: -.025em;
    overflow-wrap: normal;
    text-wrap: balance;
    white-space: normal;
    word-break: normal;
  }

  #threehp-portfolio p { margin: 0; }

  #threehp-portfolio .hp-hero-grid > *,
  #threehp-portfolio .hp-section-head > *,
  #threehp-portfolio .hp-case > *,
  #threehp-portfolio .hp-about-grid > *,
  #threehp-portfolio .hp-cta-grid > * { min-width: 0; }

  #threehp-portfolio .hp-hero {
    position: relative;
    padding: 118px 0 96px;
    color: var(--hp-white);
    background:
      radial-gradient(circle at 82% 12%, rgba(43,134,177,.38), transparent 29%),
      linear-gradient(135deg, var(--hp-ink) 0%, #1c2634 62%, #174f69 100%);
  }

  #threehp-portfolio .hp-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: linear-gradient(90deg, var(--hp-yellow) 0 21%, var(--hp-blue) 21% 100%);
  }

  #threehp-portfolio .hp-hero-grid {
    display: grid;
    grid-template-columns: 1.38fr .62fr;
    gap: 78px;
    align-items: end;
  }

  #threehp-portfolio .hp-hero .hp-eyebrow { color: #8ccae7; }

  #threehp-portfolio h1 {
    max-width: 820px;
    font-size: clamp(2.375rem, 4.4vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
  }

  #threehp-portfolio .hp-lede {
    max-width: 760px;
    margin-top: 28px;
    color: #d6e0e6;
    font-size: clamp(1.08rem, 1.65vw, 1.34rem);
  }

  #threehp-portfolio .hp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 36px;
  }

  #threehp-portfolio .hp-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid rgba(255,255,255,.7);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 800;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
  }

  #threehp-portfolio .hp-button-primary {
    border-color: var(--hp-yellow);
    background: var(--hp-yellow);
    color: var(--hp-ink);
  }

  #threehp-portfolio .hp-button:hover,
  #threehp-portfolio .hp-button:focus-visible {
    border-color: var(--hp-white);
    background: var(--hp-white);
    color: var(--hp-ink);
  }

  #threehp-portfolio .hp-hero-note {
    padding-left: 30px;
    border-left: 1px solid rgba(255,255,255,.28);
  }

  #threehp-portfolio .hp-hero-note p {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
    color: #c5d2d9;
    font-size: .86rem;
  }

  #threehp-portfolio .hp-hero-note strong {
    display: block;
    margin-bottom: 2px;
    color: var(--hp-white);
    font-size: .98rem;
  }

  #threehp-portfolio .hp-proof {
    color: var(--hp-white);
    background: var(--hp-ink-2);
  }

  #threehp-portfolio .hp-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  #threehp-portfolio .hp-proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 31px 25px;
    border-right: 1px solid rgba(255,255,255,.12);
    text-align: center;
  }

  #threehp-portfolio .hp-proof-item:last-child { border-right: 0; }

  #threehp-portfolio .hp-proof-number {
    display: block;
    color: var(--hp-yellow);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.2;
  }

  #threehp-portfolio .hp-proof-label {
    display: block;
    max-width: 190px;
    margin-top: 5px;
    margin-right: auto;
    margin-left: auto;
    color: #c8d1d7;
    font-size: .8rem;
    line-height: 1.4;
  }

  #threehp-portfolio .hp-section-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    max-width: 980px;
    margin-bottom: 36px;
  }

  #threehp-portfolio .hp-section-head > div { max-width: 880px; }

  #threehp-portfolio h2 {
    max-width: 900px;
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 800;
    line-height: 1.18;
  }

  #threehp-portfolio .hp-section-intro {
    max-width: 850px;
    color: var(--hp-muted);
    font-size: 1.06rem;
    line-height: 1.65;
  }

  #threehp-portfolio .hp-case {
    display: grid;
    grid-template-columns: .73fr 1.27fr;
    min-height: 470px;
    margin-top: 28px;
    border: 1px solid var(--hp-line);
    background: var(--hp-white);
  }

  #threehp-portfolio .hp-case-visual {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 34px;
    color: var(--hp-white);
    background: linear-gradient(145deg, var(--hp-ink) 0%, #234f68 100%);
  }

  #threehp-portfolio .hp-case:nth-of-type(2) .hp-case-visual {
    background: linear-gradient(145deg, #303541 0%, #6f2632 100%);
  }

  #threehp-portfolio .hp-case-number {
    color: #a7cce0;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
  }

  #threehp-portfolio .hp-case-mark {
    font-size: clamp(3.4rem, 7vw, 6.5rem);
    font-weight: 900;
    letter-spacing: -.08em;
    line-height: .85;
  }

  #threehp-portfolio .hp-case-visual small {
    color: #d4e0e6;
    font-size: .74rem;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  #threehp-portfolio .hp-case-copy { padding: 48px; }

  #threehp-portfolio .hp-case-copy h3 {
    max-width: 720px;
    font-size: clamp(1.75rem, 2.6vw, 2rem);
    line-height: 1.25;
  }

  #threehp-portfolio .hp-case-summary {
    max-width: 760px;
    margin-top: 19px;
    color: var(--hp-muted);
  }

  #threehp-portfolio .hp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 25px;
  }

  #threehp-portfolio .hp-tag {
    padding: 6px 9px;
    background: #e9f2f7;
    color: #245d78;
    font-size: .7rem;
    font-weight: 800;
  }

  #threehp-portfolio .hp-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 30px;
    border-top: 1px solid var(--hp-line);
  }

  #threehp-portfolio .hp-result { padding: 22px 22px 0 0; }

  #threehp-portfolio .hp-result strong {
    display: block;
    color: var(--hp-ink);
    font-size: 1.25rem;
  }

  #threehp-portfolio .hp-result span {
    display: block;
    margin-top: 3px;
    color: var(--hp-muted);
    font-size: .77rem;
    line-height: 1.4;
  }

  #threehp-portfolio .hp-experience {
    padding: 35px 0;
    border-top: 1px solid var(--hp-line);
    border-bottom: 1px solid var(--hp-line);
    background: var(--hp-paper);
  }

  #threehp-portfolio .hp-websites { background: var(--hp-paper); }

  #threehp-portfolio .hp-website-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--hp-line);
    border-left: 1px solid var(--hp-line);
  }

  #threehp-portfolio .hp-website-card {
    display: flex;
    min-height: 370px;
    flex-direction: column;
    padding: 30px;
    border-right: 1px solid var(--hp-line);
    border-bottom: 1px solid var(--hp-line);
    background: var(--hp-white);
  }

  #threehp-portfolio .hp-website-type {
    color: var(--hp-blue-dark);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
  }

  #threehp-portfolio .hp-website-card h3 {
    margin-top: 52px;
    font-size: 1.65rem;
  }

  #threehp-portfolio .hp-website-card p {
    margin-top: 15px;
    color: var(--hp-muted);
    font-size: .9rem;
  }

  #threehp-portfolio .hp-website-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 26px;
    color: var(--hp-blue-dark);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
  }

  #threehp-portfolio .hp-website-link:hover,
  #threehp-portfolio .hp-website-link:focus-visible { text-decoration: underline; }

  #threehp-portfolio .hp-media-evidence {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
    align-items: stretch;
  }

  #threehp-portfolio .hp-media-card {
    display: flex;
    overflow: hidden;
    min-width: 0;
    flex-direction: column;
    border: 1px solid var(--hp-line);
    color: var(--hp-ink);
    background: var(--hp-white);
  }

  #threehp-portfolio .hp-media-card:last-child {
    background: var(--hp-white);
  }

  #threehp-portfolio .hp-media-frame {
    display: grid;
    width: 100%;
    height: 460px;
    place-items: center;
    background: var(--hp-ink);
  }

  #threehp-portfolio .hp-media-frame iframe,
  #threehp-portfolio .hp-media-frame video {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    border: 0;
    background: var(--hp-ink);
    object-fit: contain;
  }

  #threehp-portfolio .hp-aicpa-frame {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--hp-ink);
  }

  #threehp-portfolio .hp-aicpa-frame::before {
    content: "";
    position: absolute;
    inset: -28px;
    z-index: -1;
    background: linear-gradient(rgba(9, 25, 37, .28), rgba(9, 25, 37, .28)), url('https://3hpinc.com/wp-content/uploads/2026/09/AICPA-Sizzle-Poster.jpg') center / cover no-repeat;
    filter: blur(18px);
    transform: scale(1.08);
  }

  #threehp-portfolio .hp-aicpa-preview {
    position: relative;
    z-index: 1;
    display: grid;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0 !important;
    place-items: center;
    overflow: hidden;
    color: inherit;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
  }

  #threehp-portfolio .hp-aicpa-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  #threehp-portfolio .hp-aicpa-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 70px;
    height: 70px;
    place-items: center;
    border: 2px solid rgba(255,255,255,.92);
    border-radius: 50%;
    color: var(--hp-white);
    background: rgba(9, 31, 45, .78);
    box-shadow: 0 12px 30px rgba(0,0,0,.28);
    font-size: 1.25rem;
    transform: translate(-50%, -50%);
    transition: transform .2s ease, background .2s ease;
  }

  #threehp-portfolio .hp-aicpa-preview:hover .hp-aicpa-play,
  #threehp-portfolio .hp-aicpa-preview:focus-visible .hp-aicpa-play {
    background: var(--hp-blue-dark);
    transform: translate(-50%, -50%) scale(1.06);
  }

  #threehp-portfolio .hp-aicpa-frame .hp-aicpa-video {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: rgba(9, 25, 37, .82);
    object-fit: contain;
  }

  #threehp-portfolio .hp-media-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
  }

  #threehp-portfolio .hp-media-caption {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
  }

  #threehp-portfolio .hp-media-caption strong {
    display: block;
    font-size: 1.4rem;
  }

  #threehp-portfolio .hp-media-caption p {
    margin-top: 8px;
    color: var(--hp-muted);
    font-size: .86rem;
  }

  #threehp-portfolio .hp-media-source {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 14px;
    color: var(--hp-blue-dark);
    font-size: .75rem;
    font-weight: 800;
    text-decoration: none;
  }

  #threehp-portfolio .hp-media-source:hover,
  #threehp-portfolio .hp-media-source:focus-visible { text-decoration: underline; }

  #threehp-portfolio .hp-creative { background: var(--hp-white); }

  #threehp-portfolio .hp-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--hp-line);
    border-left: 1px solid var(--hp-line);
  }

  #threehp-portfolio .hp-video-link {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    min-height: 235px;
    grid-template-rows: 48px 1fr;
    padding: 25px;
    border-right: 1px solid var(--hp-line);
    border-bottom: 1px solid var(--hp-line);
    color: var(--hp-ink);
    background-color: var(--hp-blue-dark);
    background-image: var(--hp-video-image);
    background-position: center;
    background-size: cover;
    color: var(--hp-white);
    text-decoration: none;
  }

  #threehp-portfolio .hp-video-link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(10, 31, 45, .22) 0%, rgba(10, 31, 45, .88) 100%);
    transition: background .2s ease;
  }

  #threehp-portfolio .hp-video-link:hover,
  #threehp-portfolio .hp-video-link:focus-visible {
    color: var(--hp-white);
  }

  #threehp-portfolio .hp-video-link:hover::before,
  #threehp-portfolio .hp-video-link:focus-visible::before {
    background: linear-gradient(180deg, rgba(8, 85, 117, .30) 0%, rgba(8, 85, 117, .94) 100%);
  }

  #threehp-portfolio .hp-play {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 1rem;
  }

  #threehp-portfolio .hp-video-link strong { font-size: 1.05rem; }

  #threehp-portfolio .hp-video-link > span:last-child {
    display: block;
    width: 100%;
    align-self: end;
  }

  #threehp-portfolio .hp-video-link strong {
    display: flex;
    height: 2.8em;
    align-items: flex-start;
    line-height: 1.35;
  }

  #threehp-portfolio .hp-video-link small {
    display: block;
    height: 1.35em;
    margin-top: 6px;
    color: rgba(255,255,255,.82);
    font-size: .72rem;
  }

  #threehp-portfolio .hp-video-link:hover small,
  #threehp-portfolio .hp-video-link:focus-visible small { color: #d6e4eb; }

  #threehp-portfolio .hp-creative-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
  }

  #threehp-portfolio .hp-creative-card {
    padding: 34px;
    border: 1px solid var(--hp-line);
  }

  #threehp-portfolio .hp-creative-card h3 {
    margin-top: 38px;
    font-size: 1.65rem;
  }

  #threehp-portfolio .hp-creative-card p {
    margin-top: 14px;
    color: var(--hp-muted);
    font-size: .9rem;
  }

  #threehp-portfolio .hp-creative-points {
    display: grid;
    gap: 8px;
    margin-top: 23px;
  }

  #threehp-portfolio .hp-creative-points span {
    padding-top: 9px;
    border-top: 1px solid var(--hp-line);
    font-size: .78rem;
    font-weight: 800;
  }

  #threehp-portfolio .hp-experience-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 30px;
  }

  #threehp-portfolio .hp-experience-label {
    color: var(--hp-muted);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
  }

  #threehp-portfolio .hp-company {
    color: #46525d;
    font-size: .9rem;
    font-weight: 800;
  }

  #threehp-portfolio .hp-services { background: var(--hp-paper); }

  #threehp-portfolio .hp-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--hp-line);
    border-left: 1px solid var(--hp-line);
  }

  #threehp-portfolio .hp-service {
    min-height: 310px;
    padding: 30px;
    border-right: 1px solid var(--hp-line);
    border-bottom: 1px solid var(--hp-line);
    background: var(--hp-white);
  }

  #threehp-portfolio .hp-service-index {
    color: var(--hp-blue-dark);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .13em;
  }

  #threehp-portfolio .hp-service h3 {
    margin-top: 66px;
    font-size: 1.55rem;
  }

  #threehp-portfolio .hp-service p {
    margin-top: 14px;
    color: var(--hp-muted);
    font-size: .9rem;
  }

  #threehp-portfolio .hp-approach {
    color: var(--hp-white);
    background: var(--hp-ink);
  }

  #threehp-portfolio .hp-approach .hp-eyebrow { color: #8ccae7; }

  #threehp-portfolio .hp-approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 46px;
    border-top: 1px solid rgba(255,255,255,.18);
  }

  #threehp-portfolio .hp-step {
    padding: 30px 25px 12px 0;
    border-right: 1px solid rgba(255,255,255,.14);
  }

  #threehp-portfolio .hp-step:last-child { border-right: 0; padding-left: 24px; }
  #threehp-portfolio .hp-step + .hp-step { padding-left: 24px; }

  #threehp-portfolio .hp-step-number {
    color: var(--hp-yellow);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
  }

  #threehp-portfolio .hp-step h3 { margin-top: 35px; font-size: 1.4rem; }

  #threehp-portfolio .hp-step p {
    margin-top: 12px;
    color: #bfcad0;
    font-size: .86rem;
  }

  #threehp-portfolio .hp-about-grid {
    display: grid;
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    gap: clamp(42px, 6vw, 88px);
    max-width: 1180px;
    align-items: center;
  }

  #threehp-portfolio .hp-about-photo {
    width: 100%;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(140,202,231,.36);
    border-radius: 22px;
    background: var(--hp-paper);
    box-shadow:
      0 0 0 8px rgba(43,134,177,.08),
      0 24px 60px rgba(0,0,0,.34);
  }

  #threehp-portfolio .hp-about-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
  }

  #threehp-portfolio .hp-about-content {
    max-width: 720px;
  }

  #threehp-portfolio .hp-about-content h2 {
    max-width: 24ch;
    line-height: 1.14;
  }

  #threehp-portfolio #about .hp-eyebrow { margin-bottom: 16px; }

  #threehp-portfolio .hp-about-copy {
    max-width: 62ch;
    margin-top: 24px;
    color: #4e5c67;
    font-size: 1rem;
    line-height: 1.75;
  }

  #threehp-portfolio .hp-about-copy p + p { margin-top: 18px; }

  #threehp-portfolio .hp-about-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 28px;
    margin-top: 28px;
    padding-top: 12px;
    border-top: 1px solid var(--hp-line);
  }

  #threehp-portfolio .hp-about-list span {
    padding: 9px 0;
    border-bottom: 0;
    color: var(--hp-ink);
    font-size: .86rem;
    font-weight: 700;
  }

  #threehp-portfolio .hp-cta {
    padding: 76px 0;
    color: var(--hp-white);
    background: linear-gradient(115deg, var(--hp-blue-dark), #163a51);
  }

  #threehp-portfolio .hp-cta-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 60px;
    align-items: center;
  }

  #threehp-portfolio .hp-cta h2 { font-size: clamp(1.875rem, 3vw, 2.5rem); line-height: 1.2; }
  #threehp-portfolio .hp-cta .hp-button { justify-self: end; }

  @media (max-width: 920px) {
    #threehp-portfolio .hp-hero-grid,
    #threehp-portfolio .hp-section-head,
    #threehp-portfolio .hp-about-grid,
    #threehp-portfolio .hp-cta-grid { grid-template-columns: 1fr; gap: 38px; }

    #threehp-portfolio .hp-hero-note { padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.28); border-left: 0; }
    #threehp-portfolio .hp-case { grid-template-columns: 1fr; }
    #threehp-portfolio .hp-case-visual { min-height: 280px; }
    #threehp-portfolio .hp-proof-grid,
    #threehp-portfolio .hp-approach-grid { grid-template-columns: repeat(2, 1fr); }
    #threehp-portfolio .hp-proof-item:nth-child(2) { border-right: 0; }
    #threehp-portfolio .hp-proof-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
    #threehp-portfolio .hp-service-grid { grid-template-columns: 1fr; }
    #threehp-portfolio .hp-website-grid { grid-template-columns: 1fr; }
    #threehp-portfolio .hp-media-evidence { grid-template-columns: 1fr; }
    #threehp-portfolio .hp-media-frame { height: 420px; }
    #threehp-portfolio .hp-video-grid { grid-template-columns: repeat(2, 1fr); }
    #threehp-portfolio .hp-creative-grid { grid-template-columns: 1fr; }
    #threehp-portfolio .hp-service { min-height: 230px; }
    #threehp-portfolio .hp-service h3 { margin-top: 35px; }
    #threehp-portfolio .hp-cta .hp-button { justify-self: start; }
    #threehp-portfolio .hp-section-head { gap: 18px; }
    #threehp-portfolio .hp-about-grid { gap: 24px; }
    #threehp-portfolio .hp-about-photo { width: min(100%, 360px); }
    #threehp-portfolio .hp-about-content { max-width: 760px; }
  }

  @media (max-width: 620px) {
    #threehp-portfolio { font-size: 16px; }
    #threehp-portfolio .hp-shell { width: min(calc(100% - 30px), 1180px); }
    #threehp-portfolio .hp-section { padding: 54px 0; }
    #threehp-portfolio .hp-hero { padding: 84px 0 70px; }
    #threehp-portfolio h1 { font-size: 2.375rem; }
    #threehp-portfolio h2 { font-size: 1.875rem; }
    #threehp-portfolio .hp-section-head { margin-bottom: 28px; }
    #threehp-portfolio .hp-section-intro { font-size: 1rem; }
    #threehp-portfolio .hp-proof-item { padding: 24px 14px; }
    #threehp-portfolio .hp-case-copy { padding: 30px 22px; }
    #threehp-portfolio .hp-results { grid-template-columns: 1fr; }
    #threehp-portfolio .hp-result { padding: 15px 0; border-bottom: 1px solid var(--hp-line); }
    #threehp-portfolio .hp-approach-grid { grid-template-columns: 1fr; }
    #threehp-portfolio .hp-step,
    #threehp-portfolio .hp-step + .hp-step,
    #threehp-portfolio .hp-step:last-child { padding: 25px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
    #threehp-portfolio .hp-about-list { grid-template-columns: 1fr; }
    #threehp-portfolio .hp-about-photo { width: min(100%, 320px); }
    #threehp-portfolio .hp-video-grid { grid-template-columns: 1fr; }
    #threehp-portfolio .hp-video-link strong,
    #threehp-portfolio .hp-video-link small { height: auto; min-height: 0; }
    #threehp-portfolio .hp-media-frame { height: 360px; }
    #threehp-portfolio .hp-experience { padding: 28px 0; }
    #threehp-portfolio .hp-experience-row {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px 20px;
      align-items: start;
    }
    #threehp-portfolio .hp-experience-label {
      grid-column: 1 / -1;
      margin-bottom: 4px;
    }
    #threehp-portfolio .hp-company {
      min-width: 0;
      font-size: .86rem;
      line-height: 1.4;
      overflow-wrap: anywhere;
    }
  }

  @media (max-width: 360px) {
    #threehp-portfolio .hp-experience-row { grid-template-columns: 1fr; }
    #threehp-portfolio .hp-experience-label { grid-column: 1; }
  }

  @media (prefers-reduced-motion: reduce) {
    #threehp-portfolio .hp-button { transition: none; }
  }

  
  #threehp-portfolio #selected-work,
  #threehp-portfolio #about {
    color: var(--hp-white);
  }

  
  #threehp-portfolio #selected-work .hp-eyebrow,
  #threehp-portfolio #about .hp-eyebrow {
    color: #8ccae7;
  }

  
  #threehp-portfolio #selected-work .hp-section-intro,
  #threehp-portfolio #about .hp-about-copy {
    color: #bfcad0;
  }

  
  #threehp-portfolio #selected-work .hp-case {
    color: var(--hp-ink);
  }

  
  #threehp-portfolio #about .hp-about-list span {
    color: var(--hp-white);
    border-bottom: 0;
  }

  #threehp-portfolio #about .hp-about-list {
    border-top-color: rgba(255,255,255,.18);
  }

#threehp-home,
#threehp-portfolio {
  width: 100%;
  max-width: none;
}

#threehp-portfolio {
  display: flex !important;
  flex-direction: column !important;
}

#threehp-portfolio > :is(.hp-hero, #about, .hp-proof, #selected-work, .hp-websites, .hp-experience, .hp-creative, #presentations, #communications, .hp-cta, .hp-video-modal) {
  flex: 0 0 auto;
}

#threehp-portfolio > .hp-hero { order: 1 !important; }
#threehp-portfolio > #about { order: 2 !important; }
#threehp-portfolio > .hp-proof { order: 3 !important; }
#threehp-portfolio > #selected-work { order: 4 !important; }
#threehp-portfolio > .hp-websites { order: 5 !important; }
#threehp-portfolio > .hp-experience { order: 6 !important; }
#threehp-portfolio > .hp-creative { order: 7 !important; }
#threehp-portfolio > #presentations { order: 8 !important; }
#threehp-portfolio > #communications { order: 9 !important; }
#threehp-portfolio > .hp-cta { order: 10 !important; }
#threehp-portfolio > .hp-video-modal { order: 99 !important; }

#threehp-home .hp-hero,
#threehp-portfolio .hp-hero {
  padding-top: 28px;
}

#threehp-home .hp-contact .hp-eyebrow,
#threehp-portfolio .hp-cta .hp-eyebrow {
  color: #d5eaf4;
}

#threehp-home .hp-leader-card {
  grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
}

#threehp-portfolio #selected-work,
#threehp-portfolio #about {
  color: #ffffff;
  background: #10151f;
}

#threehp-portfolio #selected-work .hp-eyebrow,
#threehp-portfolio #about .hp-eyebrow,
#threehp-portfolio .hp-pr .hp-eyebrow {
  color: #8ccae7;
}

#threehp-portfolio #selected-work .hp-section-intro,
#threehp-portfolio #about .hp-about-copy,
#threehp-portfolio .hp-pr .hp-section-intro {
  color: #becbd2;
}

#threehp-portfolio #selected-work .hp-case {
  color: #171a26;
}

#threehp-portfolio #about .hp-about-list {
  border-top-color: rgba(255,255,255,.18);
}

#threehp-portfolio #about .hp-about-list span {
  color: #ffffff;
}

#threehp-portfolio .hp-media-frame {
  height: auto;
  aspect-ratio: 16 / 10;
}

#threehp-portfolio .hp-media-frame .hp-aicpa-video,
#threehp-portfolio .hp-media-frame .hp-aicpa-preview > img {
  object-fit: contain;
}

#threehp-portfolio .hp-video-link strong,
#threehp-portfolio .hp-video-link small {
  height: auto;
}

#threehp-portfolio .hp-presentations {
  background: #f5f7f9;
}

#threehp-portfolio .hp-outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

#threehp-portfolio .hp-outcome-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce2e7;
  border-radius: 20px;
  background: #ffffff;
}

#threehp-portfolio .hp-outcome-card-featured {
  grid-column: 1 / -1;
}

#threehp-portfolio .hp-outcome-metric {
  display: flex;
  min-height: 0;
  align-items: center;
  padding: 24px 28px;
  color: #ffffff;
  background: linear-gradient(110deg, #171a26, #174f69);
}

#threehp-portfolio .hp-outcome-metric strong {
  display: block;
  flex: 0 0 auto;
  color: #f0cd16;
  font-size: clamp(2.65rem, 3.5vw, 3.6rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
  line-height: 1;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  writing-mode: horizontal-tb;
}

#threehp-portfolio .hp-outcome-metric span {
  margin: 0 0 0 20px;
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,.28);
  color: #d5e0e6;
  font-size: .86rem;
  line-height: 1.45;
}

#threehp-portfolio .hp-video-modal {
  width: min(94vw, 1100px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: visible;
  background: transparent;
}

#threehp-portfolio .hp-video-modal::backdrop {
  background: rgba(5, 12, 18, .88);
  backdrop-filter: blur(5px);
}

#threehp-portfolio .hp-video-modal-inner {
  position: relative;
  display: grid;
  max-height: 92vh;
  place-items: center;
  padding: 18px;
  border-radius: 18px;
  background: #091925;
  box-shadow: 0 28px 80px rgba(0,0,0,.45);
}

#threehp-portfolio .hp-video-modal-player {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(92vh - 36px);
  border-radius: 10px;
  background: #000000;
  object-fit: contain;
}

#threehp-portfolio .hp-video-modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 2px solid #ffffff;
  border-radius: 50%;
  place-items: center;
  color: #ffffff;
  background: #17698f;
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

#threehp-portfolio .hp-video-modal-close:hover,
#threehp-portfolio .hp-video-modal-close:focus-visible {
  background: #0f526f;
}

#threehp-portfolio .hp-outcome-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 30px;
}

#threehp-portfolio .hp-outcome-copy h3,
#threehp-portfolio .hp-resource-card h3,
#threehp-portfolio .hp-pr-card h3,
#threehp-portfolio .hp-work-figure h3 {
  margin-top: 18px;
  font-size: 1.45rem;
}

#threehp-portfolio .hp-outcome-copy p,
#threehp-portfolio .hp-resource-card p,
#threehp-portfolio .hp-pr-card > p,
#threehp-portfolio .hp-work-figure p {
  margin-top: 13px;
  color: #63707b;
  font-size: .9rem;
  line-height: 1.65;
}

#threehp-portfolio .hp-document-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

#threehp-portfolio .hp-document-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 15px;
  border: 1px solid #17698f;
  border-radius: 999px;
  color: #17698f;
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}

#threehp-portfolio .hp-document-links a:hover,
#threehp-portfolio .hp-document-links a:focus-visible {
  color: #ffffff;
  background: #17698f;
}

#threehp-portfolio .hp-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
  border-top: 1px solid #dce2e7;
  border-left: 1px solid #dce2e7;
}

#threehp-portfolio .hp-resource-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid #dce2e7;
  border-bottom: 1px solid #dce2e7;
  background: #ffffff;
}

#threehp-portfolio .hp-document-links-stacked {
  display: grid;
}

#threehp-portfolio .hp-resource-card .hp-document-links {
  margin-top: 20px;
  padding-top: 0;
}

#threehp-portfolio .hp-work-figure {
  overflow: hidden;
  margin: 24px 0 0;
  border: 1px solid #dce2e7;
  border-radius: 20px;
  background: #ffffff;
}

#threehp-portfolio .hp-work-figure img {
  display: block;
  width: 100%;
  height: auto;
}

#threehp-portfolio .hp-work-figure figcaption {
  padding: 28px;
}

#threehp-portfolio .hp-pr {
  color: #ffffff;
  background: linear-gradient(135deg, #111621, #1b3342);
}

#threehp-portfolio .hp-pr-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.17);
  border-left: 1px solid rgba(255,255,255,.17);
}

#threehp-portfolio .hp-pr-proof > div {
  padding: 26px;
  border-right: 1px solid rgba(255,255,255,.17);
  border-bottom: 1px solid rgba(255,255,255,.17);
}

#threehp-portfolio .hp-pr-proof strong {
  display: block;
  color: #f0cd16;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

#threehp-portfolio .hp-pr-proof span {
  display: block;
  margin-top: 9px;
  color: #c8d4da;
  font-size: .82rem;
}

#threehp-portfolio .hp-pr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

#threehp-portfolio .hp-pr-card {
  min-width: 0;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  background: rgba(255,255,255,.04);
}

#threehp-portfolio .hp-pr-card > p {
  color: #becbd2;
}

#threehp-portfolio .hp-release-list {
  display: grid;
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
}

#threehp-portfolio .hp-release-list a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  text-decoration: none;
}

#threehp-portfolio .hp-release-list a:hover strong,
#threehp-portfolio .hp-release-list a:focus-visible strong {
  color: #8ccae7;
}

#threehp-portfolio .hp-release-list strong,
#threehp-portfolio .hp-release-list span {
  display: block;
}

#threehp-portfolio .hp-release-list strong {
  font-size: .94rem;
}

#threehp-portfolio .hp-release-list span {
  margin-top: 4px;
  color: #aebdc5;
  font-size: .8rem;
}

@media (max-width: 1100px) {
  #threehp-home .hp-leadership-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  #threehp-portfolio .hp-outcome-grid,
  #threehp-portfolio .hp-resource-grid,
  #threehp-portfolio .hp-pr-grid {
    grid-template-columns: 1fr;
  }

  #threehp-portfolio .hp-outcome-card-featured {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  #threehp-home .hp-hero,
  #threehp-portfolio .hp-hero {
    padding-top: 22px;
  }

  #threehp-home .hp-leader-card,
  #threehp-portfolio .hp-outcome-card {
    grid-template-columns: 1fr;
  }

  #threehp-home .hp-portrait {
    width: min(100%, 250px);
    margin-inline: auto;
  }

  #threehp-portfolio .hp-pr-proof {
    grid-template-columns: 1fr;
  }

  #threehp-portfolio .hp-outcome-metric {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 22px;
  }

  #threehp-portfolio .hp-outcome-metric strong {
    font-size: clamp(2.35rem, 12vw, 3.2rem);
  }

  #threehp-portfolio .hp-outcome-metric span {
    margin: 8px 0 0;
    padding: 0;
    border-left: 0;
  }

  #threehp-portfolio .hp-video-modal {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }

  #threehp-portfolio .hp-video-modal-inner {
    max-height: calc(100dvh - 24px);
    padding: 12px;
  }

  #threehp-portfolio .hp-video-modal-player {
    max-width: calc(100vw - 48px);
    max-height: calc(100dvh - 48px);
  }

  #threehp-portfolio .hp-video-modal-close {
    top: 8px;
    right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
