/*
Theme Name: HP 2026
Description: Hotel Professionals redesign — bgslaw.ch-inspired premium boutique look on official HP brand colors.
Template: generatepress
Version: 0.13.16
Author: Pat + Claude
*/

:root {
  --hp-teal: #00ACA6;
  --hp-teal-text: #007A76;
  --hp-teal-bright: #30B5AC;   /* logo teal */
  --hp-teal-soft: #BBDEDB;
  --hp-teal-tint: #E6F3F2;
  --hp-slate: #333C40;
  --hp-slate-deep: #262d31;
  --hp-green: #004D42;
  --hp-green-deep: #00352e;
  --hp-ink: #232121;
  --hp-gray: #DDE0E3;
  --hp-gray-text: #6D6C6C;
  --hp-gray-mid: var(--hp-gray-text);
  --hp-paper: #F7F8F8;
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --space: clamp(4.5rem, 10vw, 9.5rem);
  --pad-x: clamp(1.25rem, 5vw, 5rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- base ---------- */
body.hp-front {
  margin: 0;
  font-family: var(--font-body);
  color: var(--hp-ink);
  background: var(--hp-paper);
  -webkit-font-smoothing: antialiased;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
body.hp-front h1, body.hp-front h2, body.hp-front h3 {
  font-family: var(--font-display);
  font-weight: 340;
  line-height: 1.04;
  letter-spacing: 0;
  margin: 0 0 1.5rem;
}
body.hp-front a { color: inherit; text-decoration: none; }
body.hp-front .site-header, body.hp-front .site-footer { display: none; }
html { scroll-behavior: smooth; }
#hp-main:focus { outline: none; }
.hp-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.hp-skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  padding: .75rem 1rem;
  border-radius: 4px;
  background: #fff;
  color: var(--hp-slate);
  font: 600 .9rem/1.2 var(--font-body);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
  transform: translateY(-160%);
  transition: transform .2s var(--ease-out);
}
.hp-skip-link:focus { transform: none; }

.hp-section { padding: var(--space) var(--pad-x); position: relative; }
.hp-kicker {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--hp-teal-text); margin-bottom: 2rem;
}
.hp-kicker::before { content: ""; width: 3rem; height: 1px; background: var(--hp-teal); }
.hp-h2 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); max-width: 18ch; }
.hp-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 31rem);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
}
.hp-section-head .hp-h2 { margin-bottom: 0; }
.hp-section-copy {
  margin: 0 0 .35rem;
  color: var(--hp-gray-mid);
  font-size: 1.06rem;
  line-height: 1.75;
}
.hp-section-head--dark .hp-section-copy { color: rgba(221,224,227,.78); }
@media (max-width: 860px) {
  .hp-section-head { grid-template-columns: 1fr; }
}

/* ---------- reveal (content stays visible if the enhancement script ever fails) ---------- */
.hp-reveal { opacity: 1; transform: none; }
.hp-js.hp-js-ready .hp-reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.hp-js.hp-js-ready .hp-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hp-reveal { opacity: 1; transform: none; transition: none; }
  .hp-marquee-track { animation: none !important; }
  .hp-hero video { animation: none !important; }
}

/* ---------- nav ---------- */
.hp-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem var(--pad-x);
  transition: background .4s ease, box-shadow .4s ease, transform .45s var(--ease-out);
}
.hp-nav.is-scrolled { background: rgba(38,45,49,.9); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.07); }
.hp-nav.is-hidden { transform: translateY(-110%); }
body.hp-front .hp-logo { display: block; line-height: 0; }
body.hp-front .hp-logo img { height: 56px; width: auto; }
.hp-nav-links { display: flex; gap: 2.3rem; align-items: center; }
.hp-nav-cta {
  border: 1px solid rgba(48,181,172,.55); border-radius: 999px;
  padding: .5em 1.15em; color: var(--hp-teal-bright);
  transition: background .3s, color .3s;
}
.hp-nav-cta:hover { background: var(--hp-teal-bright); color: #10201e; }
.hp-nav--light .hp-nav-cta { color: var(--hp-green); border-color: rgba(0,77,66,.45); }
.hp-nav--light .hp-nav-cta:hover { background: var(--hp-green); color: #fff; }
.hp-nav--light .hp-nav-toggle { border-color: rgba(51,60,64,.45); color: var(--hp-slate); background: rgba(247,248,248,.7); }
.hp-nav-toggle { display: none; }
body.hp-front .hp-nav-links a {
  color: rgba(255,255,255,.94); font-size: .92rem; font-weight: 600; letter-spacing: .01em;
  position: relative; transition: color .25s;
}
body.hp-front .hp-nav-links a:not(.hp-nav-lang)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px;
  background: var(--hp-teal-bright); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease-out);
}
body.hp-front .hp-nav-links a:hover { color: #fff; }
body.hp-front .hp-nav-links a:not(.hp-nav-lang):hover::after { transform: scaleX(1); transform-origin: left; }
body.hp-front .hp-nav-lang {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  min-height: 2.75rem;
  padding: .35rem .15rem .35rem 1rem;
  border-left: 1px solid rgba(255,255,255,.28);
  color: #fff;
  letter-spacing: .12em;
  transition: color .25s;
}
body.hp-front .hp-nav-lang svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
body.hp-front .hp-nav-lang:hover { color: var(--hp-teal-soft); }
@media (max-width: 820px) {
  body.hp-front.hp-menu-open { overflow: hidden; }
  body.hp-front .hp-logo img { height: 44px; }
  .hp-nav { align-items: center; }
  .hp-js .hp-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    background: rgba(38,45,49,.25);
    color: #fff;
    min-height: 2.75rem;
    padding: .35rem .85rem;
    font: 600 .78rem/1 var(--font-body);
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .hp-nav-toggle-mark {
    width: 1rem;
    display: grid;
    gap: .26rem;
  }
  .hp-nav-toggle-mark i {
    display: block;
    height: 1px;
    background: currentColor;
    transform-origin: 50% 50%;
    transition: transform .25s var(--ease-out), opacity .2s;
  }
  .hp-nav.is-open .hp-nav-toggle-mark i:first-child { transform: translateY(.14rem) rotate(45deg); }
  .hp-nav.is-open .hp-nav-toggle-mark i:last-child { transform: translateY(-.14rem) rotate(-45deg); }
  .hp-nav.is-open { transform: none; }
  .hp-nav-links {
    position: absolute;
    top: calc(100% + .5rem);
    left: var(--pad-x);
    right: var(--pad-x);
    display: grid;
    gap: 0;
    padding: .55rem;
    border: 1px solid rgba(187,222,219,.24);
    border-radius: 6px;
    background: rgba(38,45,49,.96);
    box-shadow: 0 24px 70px -38px rgba(0,0,0,.65);
    backdrop-filter: blur(14px);
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .hp-js .hp-nav-links {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .25s, transform .25s var(--ease-out), visibility 0s linear .25s;
  }
  .hp-js .hp-nav.is-open .hp-nav-links {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition-delay: 0s;
  }
  body.hp-front .hp-nav-links a,
  body.hp-front .hp-nav-links a:not(.hp-nav-lang) {
    display: flex;
    justify-content: space-between;
    padding: .82rem .75rem;
    color: rgba(255,255,255,.86);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  body.hp-front .hp-nav-links a:last-child { border-bottom: 0; }
  body.hp-front .hp-nav-links a:not(.hp-nav-lang)::after { display: none; }
  body.hp-front .hp-nav-lang {
    justify-content: flex-start;
    gap: .55rem;
    margin-top: .45rem;
    padding: .82rem .75rem;
    border: 0;
    border-top: 1px solid rgba(187,222,219,.22);
    color: var(--hp-teal-soft);
  }
  .hp-nav-links .hp-nav-cta { border: 1px solid rgba(48,181,172,.45); border-radius: 8px; justify-content: center; margin-top: .4rem; }
}

/* ---------- hero ---------- */
.hp-hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--space) var(--pad-x) clamp(2.5rem, 6vw, 4.5rem);
  color: #fff; overflow: hidden;
  background-color: var(--hp-slate-deep);
  background-image: var(--hp-hero-poster, linear-gradient(160deg, var(--hp-slate) 0%, var(--hp-slate-deep) 55%, var(--hp-green) 130%));
  background-position: center;
  background-size: cover;
}
.hp-hero video {
  position: absolute; inset: -5%; width: 110%; height: 110%; object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity .6s ease;
}
.hp-hero video.is-ready {
  opacity: 1;
  animation: hp-kenburns 36s ease-in-out infinite alternate;
}
@keyframes hp-kenburns { from { transform: scale(1) translateY(0); } to { transform: scale(1.09) translateY(-1.5%); } }
.hp-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(20,29,31,.78) 0, rgba(20,29,31,.54) 5.5rem, rgba(20,29,31,0) 10.5rem),
    linear-gradient(90deg, rgba(20,29,31,.84) 0%, rgba(20,29,31,.72) 46%, rgba(20,29,31,.22) 76%, rgba(20,29,31,.10) 100%),
    linear-gradient(to top, rgba(20,29,31,.94) 0%, rgba(38,45,49,.45) 48%, rgba(38,45,49,.28) 100%);
}
.hp-hero > * { position: relative; z-index: 2; }
.hp-hero-kicker {
  display: flex; align-items: center; gap: 1rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--hp-teal-soft); margin-bottom: 2rem;
  opacity: 0; animation: hp-rise 1.1s var(--ease-out) .2s forwards;
}
.hp-hero-kicker::before { content: ""; width: 3.4rem; height: 1px; background: var(--hp-teal-bright); }
.hp-hero h1 {
  font-size: clamp(3.4rem, 6.2vw, 6.6rem);
  max-width: none; margin-bottom: 1.4rem;
}
.hp-hero h1 .line { display: block; white-space: nowrap; opacity: 0; animation: hp-rise 1.2s var(--ease-out) forwards; }
.hp-hero h1 .line:nth-child(1) { animation-delay: .35s; }
.hp-hero h1 .line:nth-child(2) { animation-delay: .5s; }
.hp-hero h1 .line:nth-child(3) { animation-delay: .65s; }
.hp-hero h1 .accent { color: var(--hp-teal-bright); text-shadow: 0 2px 18px rgba(0,0,0,.5); }
@keyframes hp-rise { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: none; } }
.hp-hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 46ch;
  color: var(--hp-gray); margin: 0 0 2rem;
  opacity: 0; animation: hp-rise 1.2s var(--ease-out) .85s forwards;
}
.hp-hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; animation: hp-rise 1.2s var(--ease-out) 1.1s forwards; }
.hp-cta {
  display: inline-flex; align-items: center; gap: .7rem;
  background: var(--hp-teal); color: #fff !important;
  padding: 1.05rem 2rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  transition: background .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.hp-cta:hover { background: var(--hp-teal-bright); transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(0,172,166,.55); }
.hp-cta--ghost { background: transparent; border: 1px solid rgba(255,255,255,.4); box-shadow: none; }
.hp-cta--ghost:hover { background: rgba(255,255,255,.1); box-shadow: none; }
.hp-hero-scroll {
  position: absolute; right: var(--pad-x); bottom: clamp(2.5rem, 6vw, 4.5rem); z-index: 2;
  width: 1px; height: 5.5rem; background: rgba(255,255,255,.25); overflow: hidden;
}
.hp-hero-scroll::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--hp-teal-bright); animation: hp-drip 2.2s ease-in-out infinite; }
@keyframes hp-drip { to { top: 110%; } }
@media (max-width: 700px) {
  .hp-hero {
    justify-content: center;
    min-height: 100svh;
    padding-top: 6.75rem;
    padding-bottom: 2rem;
    background-position: 55% 50%;
  }
  .hp-hero video.is-ready {
    opacity: .42;
    object-position: 55% 50%;
  }
  .hp-hero::after {
    background: linear-gradient(to top, rgba(20,29,31,.96) 0%, rgba(30,38,41,.80) 60%, rgba(30,38,41,.70) 100%);
  }
  .hp-hero-kicker {
    max-width: 26rem;
    margin-bottom: 1.25rem;
    font-size: .68rem;
    letter-spacing: .18em;
  }
  .hp-hero-kicker::before { width: 2.1rem; }
  .hp-hero h1 {
    font-size: clamp(2.65rem, 15vw, 4.1rem);
    margin-bottom: 1rem;
  }
  .hp-hero h1 .line { white-space: normal; }
  .hp-hero-kicker,
  .hp-hero h1 .line,
  .hp-hero-sub,
  .hp-hero-ctas {
    opacity: 1;
    animation: none;
    transform: none;
  }
  .hp-hero-sub {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: .85rem;
    max-width: 31rem;
  }
  .hp-hero-ctas {
    gap: .7rem;
    max-width: 20rem;
  }
  .hp-hero-ctas .hp-cta {
    width: 100%;
    justify-content: center;
    padding: .9rem 1.25rem;
  }
  .hp-hero-scroll { display: none; }
}

/* ---------- client marquee ---------- */
.hp-marquee { background: #fff; padding: 1.9rem 0; overflow: hidden; position: relative; }
.hp-marquee-track { display: flex; align-items: center; width: max-content; animation: hp-marquee 46s linear infinite; will-change: transform; }
.hp-marquee:hover .hp-marquee-track { animation-play-state: paused; }
@keyframes hp-marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
.hp-marquee img {
  height: 44px; width: auto; display: block; margin-right: 4rem;
  filter: grayscale(1); opacity: .8; mix-blend-mode: multiply;
  transition: filter .35s, opacity .35s;
}
.hp-marquee img:hover { filter: none; opacity: 1; }

/* ---------- intro + stats ---------- */
.hp-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.hp-intro-statement {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.1vw, 2.5rem);
  font-weight: 340; line-height: 1.32;
  max-width: 26ch; margin: 0;
}
.hp-intro-statement strong { color: var(--hp-teal); font-weight: 340; }
.hp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem 2rem; }
.hp-stat { border-top: 1px solid var(--hp-gray); padding-top: 1.2rem; }
.hp-stat b, .hp-stat b span { font-family: var(--font-display); font-weight: 340; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; color: var(--hp-slate); }
.hp-stat b { display: block; }
.hp-stat b .plus { color: var(--hp-teal); }
.hp-stat > span { display: block; margin-top: .5rem; font-size: .85rem; color: var(--hp-gray-mid); letter-spacing: .04em; font-family: var(--font-body); }
@media (max-width: 900px) { .hp-intro { grid-template-columns: 1fr; } }

/* ---------- client situations ---------- */
.hp-paths { background: var(--hp-paper); }
.hp-path-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3.2rem;
  background: var(--hp-gray);
  border: 1px solid var(--hp-gray);
}
.hp-path-card {
  display: flex;
  flex-direction: column;
  min-height: 19rem;
  padding: 1.5rem;
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: transform .45s var(--ease-out), background .35s, color .35s;
}
.hp-path-card::before {
  content: "";
  position: absolute;
  inset: auto 1.5rem 1.5rem 1.5rem;
  height: 1px;
  background: var(--hp-teal);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .55s var(--ease-out);
}
.hp-path-card span {
  font-family: var(--font-display);
  color: var(--hp-teal-text);
  margin-bottom: 2.4rem;
}
.hp-path-card h3 {
  font-size: 1.4rem;
  line-height: 1.3;
  min-height: 3.9em; /* 3 title lines - keeps descriptions aligned across cards */
  margin-bottom: .75rem;
  color: var(--hp-slate);
}
.hp-path-card p {
  margin: 0;
  color: var(--hp-gray-mid);
  font-size: .92rem;
  line-height: 1.62;
}
.hp-path-card:hover {
  background: var(--hp-slate-deep);
  color: #fff;
  transform: translateY(-6px);
}
.hp-path-card:hover h3 { color: #fff; }
.hp-path-card:hover p { color: rgba(221,224,227,.82); }
.hp-path-card:hover span { color: var(--hp-teal-soft); }
.hp-path-card:hover::before { transform: scaleX(1); }
@media (max-width: 1180px) { .hp-path-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .hp-path-grid { grid-template-columns: 1fr; } .hp-path-card { min-height: 14rem; } }

.hp-cases .hp-kicker,
.hp-insights .hp-kicker { color: var(--hp-teal-soft); }

/* ---------- services ---------- */
.hp-services { background: #fff; }
.hp-service-list { list-style: none; margin: 3.2rem 0 0; padding: 0; border-top: 1px solid var(--hp-gray); counter-reset: hp-svc; }
.hp-service-list li { border-bottom: 1px solid var(--hp-gray); }
.hp-service-list a {
  display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 1.5rem; align-items: center;
  padding: 2rem .75rem; position: relative; overflow: hidden;
  transition: padding-left .4s var(--ease-out);
}
.hp-service-list a::before {
  content: ""; position: absolute; inset: 0; background: var(--hp-teal-tint);
  transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease-out); z-index: 0;
}
.hp-service-list a:hover::before { transform: scaleY(1); }
.hp-service-list a > * { position: relative; z-index: 1; }
.hp-service-list a:hover { padding-left: 1.6rem; }
.hp-service-num { font-family: var(--font-display); font-size: 1rem; color: var(--hp-teal-text); }
.hp-service-title { font-family: var(--font-display); font-size: clamp(1.35rem, 2.7vw, 2rem); font-weight: 360; }
.hp-service-arrow {
  width: 2.7rem; height: 2.7rem; display: grid; place-items: center; flex: none;
  border: 1px solid rgba(51,60,64,.25); border-radius: 999px;
  color: var(--hp-slate); font-size: 1.05rem; line-height: 1;
  transition: transform .35s var(--ease-out), background .3s, color .3s, border-color .3s;
}
.hp-service-list a:hover .hp-service-arrow { transform: translateX(6px); background: var(--hp-teal); border-color: var(--hp-teal); color: #fff; }
@media (max-width: 600px) { .hp-service-list a { grid-template-columns: 2.6rem 1fr auto; gap: .8rem; padding: 1.4rem .25rem; } }
.hp-services-index-link {
  display: inline-flex;
  margin-top: .45rem;
  color: var(--hp-green);
  font-size: .9rem;
  font-weight: 650;
  border-bottom: 1px solid rgba(0,77,66,.28);
}
.hp-services-index-link:hover { border-color: var(--hp-green); }
.hp-service-list--compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 4vw, 4rem);
}
.hp-service-list--compact a {
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  gap: 1rem;
  min-height: 5.25rem;
  padding: 1.1rem .75rem 1.1rem .35rem;
}
.hp-service-list--compact .hp-service-title { font-size: clamp(1.18rem, 1.8vw, 1.5rem); }
.hp-service-list--compact .hp-service-arrow { width: 2.35rem; height: 2.35rem; }
@media (max-width: 760px) {
  .hp-service-list--compact { grid-template-columns: 1fr; column-gap: 0; }
  .hp-service-list--compact a { min-height: 0; padding: 1rem .65rem 1rem .2rem; }
}

/* ---------- case studies (image wall) ---------- */
.hp-cases { background: var(--hp-slate-deep); color: #fff; }
.hp-cases .hp-h2 { color: #fff; }
.hp-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3.2rem; }
.hp-case-card {
  position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 4px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.8rem;
  isolation: isolate; background: linear-gradient(145deg, var(--hp-slate), var(--hp-green));
}
.hp-case-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  filter: grayscale(35%) brightness(.85);
  transition: transform .8s var(--ease-out), filter .5s;
}
.hp-case-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(28,26,26,.88) 8%, rgba(28,26,26,.18) 60%);
  transition: opacity .5s;
}
.hp-case-card:hover img { transform: scale(1.07); filter: grayscale(0%) brightness(.95); }
.hp-case-card span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--hp-teal-soft); margin-bottom: .4rem; }
.hp-case-card h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); margin: 0; color: #fff; }
.hp-cases-all { margin: 2rem 0 0; text-align: right; }
.hp-cases-all .hp-news-text-link { color: var(--hp-teal-soft); }
.hp-cases-all .hp-news-text-link:hover { color: #fff; }
@media (max-width: 980px) { .hp-case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .hp-case-grid { grid-template-columns: 1fr; } }

/* ---------- case studies archive ---------- */
.hp-case-archive-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(18rem, .75fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  box-sizing: border-box;
  width: min(100%, 86rem);
  margin: 0 auto;
  padding: clamp(3.2rem, 7vw, 6.5rem) var(--pad-x);
}
.hp-case-archive-feature-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  background: linear-gradient(145deg, var(--hp-slate), var(--hp-green));
}
.hp-case-archive-feature-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hp-case-archive-feature-copy h2 {
  margin: .8rem 0 1rem;
  color: var(--hp-slate-deep);
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  line-height: 1.08;
}
.hp-case-archive-feature-copy p { margin: 0 0 1.2rem; color: var(--hp-gray-mid); line-height: 1.72; }
.hp-case-archive-grid-section .hp-case-grid { width: min(100%, 86rem); margin-right: auto; margin-left: auto; }
.hp-case-archive-grid-head { width: min(100%, 86rem); margin-right: auto; margin-left: auto; }
@media (max-width: 820px) { .hp-case-archive-feature { grid-template-columns: 1fr; } }

/* ---------- quote ---------- */
.hp-quote { background: #fff; }
.hp-quote-shell {
  display: grid;
  grid-template-columns: minmax(15rem, .55fr) minmax(0, 1.45fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: start;
  width: min(100%, 86rem);
  margin: 0 auto;
}
.hp-quote-head .hp-kicker { margin-bottom: 1.4rem; }
.hp-quote-head .hp-h2 { max-width: 11ch; font-size: clamp(2.2rem, 4vw, 3.7rem); }
.hp-quote-stage { min-width: 0; }
.hp-quote blockquote {
  margin: 0; max-width: 42ch;
  font-family: var(--font-display); font-weight: 340;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem); line-height: 1.42; color: var(--hp-slate-deep);
}
.hp-quote blockquote::before { content: "“"; display: block; font-size: 4.5rem; line-height: .62; color: var(--hp-teal); margin-bottom: 1.35rem; }
.hp-testimonial-mark {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hp-testimonial-mark.has-logo img {
  display: block;
  width: auto;
  max-width: 10rem;
  height: auto;
  max-height: 3rem;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .78;
}
.hp-testimonial-wordmark {
  color: var(--hp-slate);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .11em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}
@media (max-width: 820px) {
  .hp-quote-shell { grid-template-columns: 1fr; gap: 2.4rem; }
  .hp-quote-head .hp-h2 { max-width: 16ch; }
}

/* ---------- values ---------- */
.hp-values { background: var(--hp-paper); }
.hp-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3.2rem; }
.hp-value {
  background: #fff; border: 1px solid var(--hp-gray); border-radius: 4px;
  padding: 2.2rem 1.8rem; transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s;
}
.hp-value:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(51,60,64,.35); border-color: var(--hp-teal-soft); }
.hp-value i { font-style: normal; font-family: var(--font-display); font-size: .95rem; color: var(--hp-teal-text); }
.hp-value h3 { font-size: 1.35rem; margin: 1rem 0 .6rem; }
.hp-value p { margin: 0; font-size: .92rem; color: var(--hp-gray-mid); line-height: 1.6; }
.hp-value:last-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(15rem, .8fr) minmax(22rem, 1.2fr);
  gap: 1.8rem;
  align-items: center;
  background: var(--hp-slate);
  border-color: var(--hp-slate);
  color: #fff;
}
.hp-value:last-child h3 { margin: 0; color: #fff; }
.hp-value:last-child p { color: rgba(255,255,255,.78); }
.hp-value:last-child:hover { border-color: var(--hp-slate); }
@media (max-width: 1080px) { .hp-values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .hp-value:last-child { grid-template-columns: auto 1fr; }
  .hp-value:last-child p { grid-column: 2; }
}
@media (max-width: 560px) {
  .hp-values-grid { grid-template-columns: 1fr; }
  .hp-value:last-child { grid-column: auto; grid-template-columns: 1fr; }
  .hp-value:last-child p { grid-column: auto; }
}

/* ---------- reports, credentials, lead paths ---------- */
.hp-insights {
  background: var(--hp-slate-deep);
  color: #fff;
  overflow: hidden;
}
.hp-insights .hp-h2 { color: #fff; }
.hp-insights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3.2rem;
}
.hp-insight-card {
  min-height: 18rem;
  border: 1px solid rgba(221,224,227,.16);
  border-radius: 4px;
  padding: 1.8rem;
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(10px);
  transition: transform .45s var(--ease-out), background .35s, border-color .35s;
}
.hp-insight-card span {
  display: block;
  font-family: var(--font-display);
  color: var(--hp-teal-soft);
  margin-bottom: 3rem;
}
.hp-insight-card h3 {
  color: #fff;
  font-size: 1.62rem;
  margin-bottom: .8rem;
}
.hp-insight-card p {
  margin: 0;
  color: rgba(221,224,227,.76);
  line-height: 1.68;
}
.hp-insight-card:hover {
  transform: translateY(-7px);
  background: rgba(255,255,255,.07);
  border-color: rgba(187,222,219,.5);
}
@media (max-width: 880px) {
  .hp-insights-grid { grid-template-columns: 1fr; }
}

/* ---------- team ---------- */
.hp-team { background: #fff; }
.hp-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem 1.6rem; margin-top: 3.2rem; }
.hp-team-card { transition: transform .4s var(--ease-out); }
.hp-team-card:hover { transform: translateY(-6px); }
.hp-team-card .ph-wrap { overflow: hidden; border-radius: 4px; margin-bottom: .9rem; }
.hp-team-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; filter: grayscale(30%); transition: filter .45s, transform .8s var(--ease-out); }
.hp-team-card:hover img { filter: grayscale(0%); transform: scale(1.045); }
.hp-team-card.hp-team-card--portrait-close img { transform: scale(1.42); transform-origin: 50% 55%; }
.hp-team-card.hp-team-card--portrait-close:hover img { transform: scale(1.47); }
.hp-team-ph { width: 100%; aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--hp-slate), var(--hp-green)); color: var(--hp-teal-soft); font-family: var(--font-display); font-size: 2.6rem; }
.hp-team-card h3 { font-size: 1.18rem; margin: 0 0 .35rem; }
.hp-team-card p { margin: 0; font-size: .82rem; color: var(--hp-gray-mid); line-height: 1.5; }
@media (max-width: 1080px) { .hp-team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) {
  .hp-team-grid { grid-template-columns: 1fr; gap: 1.3rem; }
  .hp-team-card {
    display: grid;
    grid-template-columns: minmax(7rem, 8.5rem) minmax(0, 1fr);
    column-gap: 1rem;
    align-items: start;
    padding-top: 1.25rem;
    border-top: 1px solid var(--hp-gray);
  }
  .hp-team-card .ph-wrap { grid-row: span 3; margin-bottom: 0; }
  .hp-team-card h3 { font-size: 1.32rem; margin: .05rem 0 .45rem; }
  .hp-team-card p { font-size: .88rem; line-height: 1.55; }
  .hp-team-more { display: none; }
}

/* ---------- contact ---------- */
.hp-contact { background: linear-gradient(145deg, #262D31 0%, #20272A 62%, #123B38 140%); color: #fff; overflow: hidden; }
.hp-contact::before {
  content: ""; position: absolute; right: -4rem; bottom: -6rem; z-index: 0;
  width: 24rem; height: 25rem; opacity: .025;
  background: url("assets/emblem-watermark.svg") no-repeat center / contain; pointer-events: none;
}
.hp-contact > * { position: relative; z-index: 1; }
.hp-contact .hp-kicker { color: var(--hp-teal-soft); }
.hp-contact .hp-kicker::before { background: var(--hp-teal-soft); }
.hp-contact .hp-h2 { max-width: 13ch; color: #fff; font-size: clamp(2.6rem, 5.8vw, 5rem); }
.hp-contact--gateway { padding-top: clamp(4.5rem, 8vw, 7rem); padding-bottom: clamp(4.5rem, 8vw, 7rem); }
.hp-contact-gateway-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(19rem, .65fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  width: min(100%, 86rem);
  margin: 0 auto;
}
.hp-contact--simple .hp-contact-gateway-inner { grid-template-columns: minmax(0, 56rem); }
.hp-contact-primary { margin: clamp(1.8rem, 3vw, 2.5rem) 0 0; }
.hp-contact-direct {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 44rem;
  margin-top: clamp(2rem, 4vw, 3.2rem);
  border-top: 1px solid rgba(221,224,227,.18);
  border-bottom: 1px solid rgba(221,224,227,.18);
}
.hp-contact-direct a {
  display: grid;
  align-content: center;
  min-height: 6.5rem;
  padding: 1rem 1.3rem;
  border-right: 1px solid rgba(221,224,227,.18);
  transition: background .25s, color .25s;
}
.hp-contact-direct a:last-child { border-right: 0; }
.hp-contact-direct a:hover { background: rgba(255,255,255,.055); }
.hp-contact-direct span {
  color: rgba(221,224,227,.62);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hp-contact-direct strong {
  margin-top: .25rem;
  color: var(--hp-teal-soft);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 360;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .hp-contact-gateway-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hp-contact::before { display: none; }
  .hp-contact-direct { grid-template-columns: 1fr; }
  .hp-contact-direct a { min-height: 5.6rem; border-right: 0; border-bottom: 1px solid rgba(221,224,227,.18); }
  .hp-contact-direct a:last-child { border-bottom: 0; }
}

/* ---------- homepage latest news (dark insights section) ---------- */
.hp-latest { margin-top: 3.2rem; }
.hp-latest-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .4rem; }
.hp-latest-head strong { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hp-teal-soft); font-weight: 600; }
.hp-latest-head a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .9rem; color: var(--hp-teal-soft); }
.hp-latest-head a:hover { color: #fff; }
.hp-latest-item { display: flex; gap: 1.6rem; align-items: baseline; padding: 1.05rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.hp-latest-item time { flex: 0 0 6.2rem; font-size: .8rem; color: rgba(221,224,227,.55); }
.hp-latest-item span { font-family: var(--font-display); font-weight: 360; font-size: 1.15rem; line-height: 1.4; color: #fff; transition: color .3s; }
.hp-latest-item:hover span { color: var(--hp-teal-soft); }
@media (max-width: 700px) { .hp-latest-item { flex-direction: column; gap: .2rem; } }

/* ---------- news editorial hub ---------- */
.hp-news-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 28%, rgba(187,222,219,.38), transparent 24rem),
    var(--hp-paper);
  border-bottom: 1px solid var(--hp-gray);
}
.hp-news-hero::after {
  content: "";
  position: absolute;
  right: -6rem;
  bottom: -11rem;
  width: 31rem;
  height: 31rem;
  opacity: .045;
  background: url("assets/emblem-watermark.svg") no-repeat center / contain;
  pointer-events: none;
}
.hp-news-hero-inner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(100%, 94rem);
  margin: 0 auto;
  padding: clamp(8.5rem, 12vw, 11rem) var(--pad-x) clamp(3.8rem, 7vw, 6rem);
}
.hp-news-hero--compact .hp-news-hero-inner { padding: clamp(7.4rem, 9vw, 8.5rem) var(--pad-x) clamp(2.4rem, 4vw, 3.5rem); }
.hp-news-hero .hp-kicker {
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: hp-rise 1s var(--ease-out) .12s forwards;
}
.hp-news-hero .hp-kicker::before { transform: scaleX(1); }
.hp-news-hero h1 {
  max-width: 14ch;
  margin: 0;
  color: var(--hp-slate-deep);
  font-size: clamp(2.8rem, 6.2vw, 5.6rem);
  opacity: 0;
  animation: hp-rise 1.1s var(--ease-out) .25s forwards;
}
.hp-news-hero p {
  max-width: 55rem;
  margin: 1.6rem 0 0;
  color: var(--hp-gray-mid);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  opacity: 0;
  animation: hp-rise 1.1s var(--ease-out) .42s forwards;
}
.hp-news-opening {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(19rem, .8fr);
  gap: clamp(1.25rem, 2.5vw, 2.3rem);
  box-sizing: border-box;
  width: min(100%, 94rem);
  margin: 0 auto;
  padding: clamp(2.5rem, 4vw, 3.75rem) var(--pad-x) clamp(3.2rem, 7vw, 6.5rem);
}
.hp-news-feature { min-width: 0; }
.hp-news-feature-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: var(--hp-gray);
}
.hp-news-feature-media img,
.hp-news-card-media img,
.hp-news-library-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .75s var(--ease-out), filter .5s ease;
}
.hp-news-feature:hover .hp-news-feature-media img,
.hp-news-card:hover .hp-news-card-media img,
.hp-news-library-item:hover .hp-news-library-media img { transform: scale(1.035); }
.hp-news-feature-body {
  position: relative;
  width: calc(100% - 3rem);
  box-sizing: border-box;
  margin: -4.5rem 0 0 1.5rem;
  padding: clamp(1.7rem, 3.5vw, 3rem);
  background: #fff;
  box-shadow: 0 30px 70px -48px rgba(35,33,33,.5);
}
.hp-news-eyebrow,
.hp-news-section-kicker,
.hp-news-report-kicker {
  display: block;
  margin-bottom: .65rem;
  color: var(--hp-teal-text);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}
.hp-news-feature time,
.hp-news-card time,
.hp-news-library-item time {
  color: var(--hp-gray-mid);
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hp-news-feature h2 {
  max-width: 20ch;
  margin: .85rem 0 1rem;
  color: var(--hp-slate-deep);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.08;
}
.hp-news-feature h2 a,
.hp-news-card h3 a,
.hp-news-library-item h3 a { transition: color .25s ease; }
.hp-news-feature h2 a:hover,
.hp-news-card h3 a:hover,
.hp-news-library-item h3 a:hover { color: var(--hp-teal-text); }
.hp-news-feature-body > p {
  max-width: 50rem;
  margin: 0 0 1.2rem;
  color: var(--hp-gray-mid);
  line-height: 1.72;
}
.hp-news-text-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.75rem;
  color: var(--hp-green);
  font-size: .88rem;
  font-weight: 650;
}
.hp-news-text-link span[aria-hidden="true"] { transition: transform .25s var(--ease-out); }
.hp-news-text-link:hover span[aria-hidden="true"] { transform: translateX(.25rem); }
.hp-news-report {
  position: relative;
  display: flex;
  min-height: 100%;
  overflow: hidden;
  border-radius: 4px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 100%, rgba(0,172,166,.25), transparent 18rem),
    linear-gradient(145deg, var(--hp-slate-deep), #20272a 62%, var(--hp-green) 150%);
}
.hp-news-report::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .04;
  background: url("assets/emblem-watermark.svg") no-repeat 125% 108% / 82%;
  pointer-events: none;
}
.hp-news-report-copy {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  box-sizing: border-box;
  width: 72%;
  padding: clamp(1.8rem, 3.5vw, 3rem);
}
.hp-news-report-kicker { color: var(--hp-teal-soft); }
.hp-news-report-year {
  display: block;
  margin: clamp(2.2rem, 5vw, 5rem) 0 .5rem;
  color: var(--hp-teal-soft);
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 5.2rem);
  font-weight: 340;
  line-height: .9;
}
.hp-news-report h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  line-height: 1.12;
}
.hp-news-report p {
  margin: 0 0 1.4rem;
  color: rgba(221,224,227,.78);
  font-size: .94rem;
  line-height: 1.68;
}
.hp-news-report-copy > a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.75rem;
  color: var(--hp-teal-soft);
  font-size: .86rem;
  font-weight: 650;
}
.hp-news-report-copy > a span { transition: transform .25s var(--ease-out); }
.hp-news-report-copy > a:hover { color: #fff; }
.hp-news-report-copy > a:hover span { transform: translateX(.25rem); }
.hp-news-report-cover {
  position: absolute;
  right: -2rem;
  bottom: -1.3rem;
  width: 43%;
  transform: rotate(4deg);
  transform-origin: 50% 100%;
  filter: drop-shadow(0 24px 22px rgba(0,0,0,.42));
}
.hp-news-report-cover img { display: block; width: 100%; height: auto; border-radius: 3px; }
.hp-news-latest { background: #fff; }
.hp-news-library { background: var(--hp-paper); border-top: 1px solid var(--hp-gray); }
.hp-news-section-head,
.hp-news-card-grid,
.hp-news-library-grid,
.hp-news-library .navigation.pagination {
  width: min(100%, 86rem);
  margin-right: auto;
  margin-left: auto;
}
.hp-news-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .7fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
}
.hp-news-section-head h2 {
  max-width: 18ch;
  margin: 0;
  color: var(--hp-slate-deep);
  font-size: clamp(2.25rem, 4.6vw, 4rem);
}
.hp-news-section-head > p {
  margin: 0 0 .3rem;
  color: var(--hp-gray-mid);
  line-height: 1.72;
}
.hp-news-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.15rem, 2vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.hp-news-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-top: 2px solid var(--hp-slate-deep);
  padding-top: .7rem;
}
.hp-news-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  background: var(--hp-gray);
}
.hp-news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 1.2rem;
}
.hp-news-card h3 {
  margin: .65rem 0 .85rem;
  color: var(--hp-slate-deep);
  font-size: clamp(1.4rem, 2vw, 1.78rem);
  line-height: 1.2;
}
.hp-news-card p {
  margin: 0 0 1rem;
  color: var(--hp-gray-mid);
  font-size: .92rem;
  line-height: 1.65;
}
.hp-news-card .hp-news-text-link { margin-top: auto; }
.hp-news-library--continuation { border-top: 0; }
.hp-news-library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(2.3rem, 4.5vw, 3.7rem);
}
.hp-news-library-item {
  position: relative;
  display: grid;
  grid-template-columns: clamp(7.2rem, 11vw, 10rem) minmax(0, 1fr) 2.75rem;
  gap: 1.15rem;
  align-items: center;
  min-height: 8.25rem;
  border-top: 1px solid var(--hp-gray);
  padding: 1rem 0;
}
.hp-news-library-media {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  background: var(--hp-gray);
}
.hp-news-library-item h3 {
  margin: .45rem 0 0;
  color: var(--hp-slate-deep);
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.25;
}
.hp-news-library-link {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--hp-gray);
  border-radius: 999px;
  color: var(--hp-green);
  transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease-out);
}
.hp-news-library-item:hover .hp-news-library-link {
  border-color: var(--hp-teal);
  color: #fff;
  background: var(--hp-teal);
  transform: translateX(.2rem);
}
.hp-news-media-empty {
  background:
    url("assets/emblem-watermark.svg") no-repeat 120% 135% / 70%,
    linear-gradient(145deg, var(--hp-slate), var(--hp-green));
}
.hp-news-empty { min-height: 30rem; }
.hp-news-library .navigation.pagination { margin-top: 3rem; }
.hp-news-library .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.hp-news-library .nav-links a,
.hp-news-library .nav-links span {
  display: inline-grid;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: .35rem .7rem;
  place-items: center;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--hp-slate);
  font-size: .9rem;
}
.hp-news-library .nav-links a:hover { border-color: var(--hp-teal); color: var(--hp-teal-text); }
.hp-news-library .nav-links .current { color: #fff; font-weight: 650; background: var(--hp-teal); }
.hp-news-library .nav-links .prev { margin-right: .3rem; }
.hp-news-library .nav-links .next { margin-left: .3rem; }
.hp-news-back { margin-top: 3rem; }
.hp-news-back a { font-weight: 600; color: var(--hp-teal-text); }
.hp-news-back a:hover { color: var(--hp-slate-deep); }
@media (max-width: 1020px) {
  .hp-news-opening { grid-template-columns: 1fr; }
  .hp-news-report { min-height: 30rem; }
  .hp-news-report-copy { width: 62%; }
  .hp-news-report-cover { right: 1.5rem; width: min(34%, 15rem); }
}
@media (max-width: 860px) {
  .hp-news-section-head { grid-template-columns: 1fr; }
  .hp-news-card-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hp-news-card { display: grid; grid-template-columns: minmax(11rem, .85fr) minmax(0, 1.15fr); gap: 1.4rem; }
  .hp-news-card-body { padding-top: .2rem; }
  .hp-news-library-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hp-news-hero-inner { padding-top: 7.6rem; padding-bottom: 3.4rem; }
  .hp-news-hero h1 { font-size: clamp(2.55rem, 13vw, 3.8rem); }
  .hp-news-opening { padding-top: 2.7rem; padding-bottom: 3.5rem; }
  .hp-news-feature-body { width: calc(100% - 1.5rem); margin: -2rem 0 0 .75rem; padding: 1.5rem; }
  .hp-news-feature h2 { font-size: clamp(1.75rem, 8.6vw, 2.35rem); }
  .hp-news-report { min-height: 32rem; }
  .hp-news-report-copy { width: 75%; padding: 1.6rem; }
  .hp-news-report-year { margin-top: 2.5rem; }
  .hp-news-report-cover { right: -1.25rem; width: 40%; }
  .hp-news-card { display: flex; gap: 0; }
  .hp-news-card-body { padding-top: 1rem; }
  .hp-news-library-item { grid-template-columns: 6.4rem minmax(0, 1fr) 2.75rem; gap: .85rem; min-height: 7rem; }
  .hp-news-library-item h3 { font-size: 1rem; }
  .hp-news-library .nav-links .prev,
  .hp-news-library .nav-links .next { width: 100%; margin: .25rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-news-feature-media img,
  .hp-news-card-media img,
  .hp-news-library-media img,
  .hp-news-text-link span,
  .hp-news-report-copy > a span,
  .hp-news-library-link { transition: none; }
}

/* ---------- single service ---------- */
.hp-sv-hero {
  position: relative; min-height: 64svh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
  background: linear-gradient(150deg, var(--hp-slate) 0%, var(--hp-slate-deep) 60%, var(--hp-green) 140%);
}
.hp-sv-num {
  position: absolute; right: -2rem; top: 50%; transform: translateY(-46%);
  font-family: var(--font-display); font-weight: 340;
  font-size: clamp(16rem, 38vw, 34rem); line-height: 1;
  color: rgba(255,255,255,.05); pointer-events: none; user-select: none;
}
.hp-sv-hero-inner { position: relative; z-index: 2; padding: 9rem var(--pad-x) clamp(2.5rem, 6vw, 4.5rem); max-width: 62rem; }
.hp-sv-hero .hp-kicker { color: var(--hp-teal-soft); opacity: 0; animation: hp-rise 1s var(--ease-out) .15s forwards; }
.hp-sv-hero .hp-kicker::before { background: var(--hp-teal-bright); }
.hp-sv-hero h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); color: #fff; margin-bottom: 1rem; opacity: 0; animation: hp-rise 1.1s var(--ease-out) .3s forwards; }
.hp-sv-content p:first-child::first-letter { font-size: inherit; float: none; padding: 0; color: inherit; } /* dash-lists shouldn't get drop caps */
.hp-sv-content p { position: relative; }

.hp-method, .hp-mandate { background: var(--hp-paper); border-top: 1px solid var(--hp-gray); }
.hp-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}
.hp-mandate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}
.hp-method-card, .hp-mandate-card {
  background: #fff;
  border: 1px solid var(--hp-gray);
  border-radius: 4px;
  padding: 1.6rem;
  min-height: 14rem;
}
.hp-method-card span, .hp-mandate-card span {
  display: block;
  font-family: var(--font-display);
  color: var(--hp-teal-text);
  margin-bottom: 2rem;
}
.hp-method-card h3, .hp-mandate-card h3 {
  font-size: 1.3rem;
  color: var(--hp-slate);
  margin-bottom: .65rem;
}
.hp-method-card p, .hp-mandate-card p {
  margin: 0;
  color: var(--hp-gray-mid);
  font-size: .94rem;
  line-height: 1.65;
}
@media (max-width: 980px) { .hp-method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hp-mandate-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hp-method-grid { grid-template-columns: 1fr; } }

/* ---------- single case study ---------- */
.hp-cs-hero {
  position: relative; min-height: 72svh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--hp-slate-deep);
}
.hp-cs-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hp-cs-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,26,26,.92) 0%, rgba(51,60,64,.25) 55%, rgba(51,60,64,.5) 100%); }
.hp-cs-hero-inner { position: relative; z-index: 2; padding: 9rem var(--pad-x) clamp(2.5rem, 6vw, 4.5rem); max-width: 60rem; }
.hp-cs-hero .hp-kicker { color: var(--hp-teal-soft); opacity: 0; animation: hp-rise 1s var(--ease-out) .15s forwards; }
.hp-cs-hero .hp-kicker::before { background: var(--hp-teal-bright); }
.hp-cs-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); color: #fff; margin-bottom: 1rem; opacity: 0; animation: hp-rise 1.1s var(--ease-out) .3s forwards; }
.hp-cs-lead { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--hp-gray); max-width: 56ch; margin: 0; opacity: 0; animation: hp-rise 1.1s var(--ease-out) .5s forwards; }

.hp-cs-meta {
  display: flex; flex-wrap: wrap; gap: 1px; background: var(--hp-gray);
  border-bottom: 1px solid var(--hp-gray);
}
.hp-cs-meta > div { flex: 1 1 200px; background: var(--hp-paper); padding: 1.6rem var(--pad-x); }
.hp-cs-meta span { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--hp-teal-text); margin-bottom: .35rem; }
.hp-cs-meta b { font-family: var(--font-display); font-weight: 360; font-size: 1.25rem; color: var(--hp-slate); }

.hp-cs-body { background: #fff; padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.hp-cs-content { max-width: 68ch; font-size: 1.125rem; line-height: 1.8; color: var(--hp-ink); }
.hp-cs-content p { margin: 0 0 1.6em; }
.hp-cs-content p:first-child::first-letter {
  font-family: var(--font-display); font-size: 3.4em; line-height: .8;
  float: left; padding: .08em .12em 0 0; color: var(--hp-teal);
}
.hp-cs-content img { max-width: 100%; height: auto; border-radius: 4px; }

.hp-cs-gallery { background: #fff; padding-top: 0; }
.hp-cs-gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.hp-cs-gallery-grid figure { margin: 0; overflow: hidden; border-radius: 4px; }
.hp-cs-gallery-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; display: block; transition: transform .8s var(--ease-out); }
.hp-cs-gallery-grid figure:hover img { transform: scale(1.05); }

.hp-cs-pager {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center;
  padding: 2.2rem var(--pad-x); background: var(--hp-paper);
  border-top: 1px solid var(--hp-gray);
}
.hp-cs-pager-item span { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--hp-teal-text); margin-bottom: .3rem; }
.hp-cs-pager-item b { font-family: var(--font-display); font-weight: 360; font-size: 1.15rem; color: var(--hp-slate); transition: color .25s; }
.hp-cs-pager-item:hover b { color: var(--hp-teal-text); }
.hp-cs-pager-item.is-next { text-align: right; }
.hp-cs-pager-all { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .85rem; font-weight: 600; color: var(--hp-gray-mid); border-bottom: 1px solid currentColor; transition: color .25s; }
.hp-cs-pager-all:hover { color: var(--hp-teal-text); }
@media (max-width: 700px) { .hp-cs-pager { grid-template-columns: 1fr; text-align: left; } .hp-cs-pager-item.is-next { text-align: left; } }

.hp-contact--compact { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.hp-contact--compact .hp-h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }

/* ---------- footer ---------- */
.hp-foot {
  background: var(--hp-ink); color: #c1c8ca;
  padding: 2rem var(--pad-x); font-size: .82rem;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem;
}
.hp-foot img { height: 40px; width: auto; opacity: .85; }
.hp-foot-brand { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.hp-foot .hp-foot-emblem {
  width: 2.15rem;
  height: 2.15rem;
  object-fit: contain;
  object-position: left center;
}
.hp-foot-company { min-width: 0; }
.hp-foot-company strong { display: block; color: #fff; font-size: .78rem; font-weight: 600; }
.hp-foot-company address { margin: .25rem 0 0; font-style: normal; font-size: .72rem; line-height: 1.55; }
.hp-foot-company address span { display: block; }
.hp-foot-company small { display: block; margin-top: .25rem; color: #9da6a9; font-size: .68rem; }
.hp-foot a:hover { color: var(--hp-teal-bright); }
.hp-foot-links { display: flex; gap: 2rem; align-items: center; }
.hp-foot-links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.hp-foot-links a[aria-label] { justify-content: center; min-width: 2.75rem; }
.hp-foot-links svg { width: 18px; height: 18px; display: block; }
@media (max-width: 700px) {
  .hp-foot {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 1rem;
  }
  .hp-foot-brand { gap: .75rem; }
  .hp-foot-links { gap: 1.3rem; flex-wrap: wrap; }
}

/* ================= v0.4 — validated-direction polish ================= */

/* ---------- craft: selection + focus ---------- */
body.hp-front ::selection { background: var(--hp-teal); color: #fff; }
body.hp-front a:focus-visible, body.hp-front button:focus-visible {
  outline: 2px solid var(--hp-teal); outline-offset: 3px; border-radius: 2px;
}

/* ---------- member profile ---------- */
.hp-mb-hero {
  background: linear-gradient(135deg, var(--hp-slate-deep) 0%, var(--hp-slate) 55%, var(--hp-green-deep) 100%);
  color: #fff;
}
.hp-mb-hero-inner {
  display: grid; grid-template-columns: minmax(260px, 420px) 1fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: end;
  padding: 9rem var(--pad-x) 0; max-width: 76rem;
}
.hp-mb-media { line-height: 0; }
.hp-mb-media img.hp-mb-photo, .hp-mb-media img {
  width: 100%; height: auto; display: block;
  border-radius: 4px 4px 0 0;
  filter: saturate(.88) contrast(1.03);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.55);
}
.hp-mb-id { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.hp-mb-id .hp-kicker { color: var(--hp-teal-soft); opacity: 0; animation: hp-rise 1s var(--ease-out) .15s forwards; }
.hp-mb-id .hp-kicker::before { background: var(--hp-teal-bright); }
.hp-mb-id h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); color: #fff; margin-bottom: .6rem; opacity: 0; animation: hp-rise 1.1s var(--ease-out) .3s forwards; }
.hp-mb-role {
  font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--hp-teal-soft);
  letter-spacing: .02em; margin: 0 0 2.2rem; opacity: 0; animation: hp-rise 1.1s var(--ease-out) .45s forwards;
}
.hp-mb-contact { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: baseline; opacity: 0; animation: hp-rise 1.1s var(--ease-out) .6s forwards; }
.hp-mb-contact-label { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--hp-gray); }
.hp-mb-contact a {
  font-size: .95rem; color: var(--hp-gray);
  border-bottom: 1px solid rgba(221,224,227,.35);
  padding-bottom: 2px; transition: color .25s, border-color .25s;
}
.hp-mb-contact a:hover { color: #fff; border-color: var(--hp-teal-bright); }
.hp-mb-bio { padding-top: .5rem; }
@media (max-width: 820px) {
  .hp-mb-hero-inner { grid-template-columns: 1fr; align-items: start; padding-top: 7rem; }
  .hp-mb-media { max-width: 320px; }
  .hp-mb-media img { border-radius: 4px; }
  .hp-mb-id { padding-bottom: 3rem; }
}

/* ---------- About + credentials ---------- */
.hp-about-hero {
  background: var(--hp-paper);
  border-bottom: 1px solid var(--hp-gray);
}
.hp-about-hero-inner {
  max-width: 78rem;
  padding: 10rem var(--pad-x) clamp(4rem, 8vw, 7rem);
}
.hp-about-hero h1 {
  max-width: 68rem;
  margin: 1.8rem 0 0;
  color: var(--hp-slate);
  font-size: clamp(3rem, 7vw, 6.3rem);
}
.hp-about-hero p {
  max-width: 52rem;
  margin: 2rem 0 0;
  color: #60676a;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.72;
}
.hp-about-origin {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(20rem, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
  background: #fff;
}
.hp-about-origin-copy .hp-h2 {
  max-width: 46rem;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
}
.hp-about-origin-body { max-width: 48rem; }
.hp-about-origin-body p { margin: 0 0 1.4rem; color: #535b5e; line-height: 1.8; }
.hp-about-links { display: flex; flex-wrap: wrap; gap: .85rem 2rem; margin-top: 2.2rem; }
.hp-about-links a,
.hp-about-relationships .hp-news-text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--hp-slate);
  font-size: .83rem;
  font-weight: 600;
  border-bottom: 1px solid var(--hp-teal);
}
.hp-about-links a span,
.hp-about-relationships .hp-news-text-link span { margin-left: .45rem; color: var(--hp-teal); transition: transform .25s ease; }
.hp-about-links a:hover span,
.hp-about-relationships .hp-news-text-link:hover span { transform: translateX(.25rem); }
.hp-about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x);
  background: var(--hp-teal-tint);
}
.hp-about-stat {
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  border-left: 1px solid rgba(51,60,64,.18);
}
.hp-about-stat:first-child { padding-left: 0; border-left: 0; }
.hp-about-stat strong {
  display: block;
  color: var(--hp-slate);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 340;
  line-height: 1;
}
.hp-about-stat span { display: block; max-width: 13rem; margin-top: .8rem; color: #535b5e; font-size: .82rem; line-height: 1.5; }
.hp-about-why { background: var(--hp-slate-deep); color: #fff; }
.hp-about-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 86rem;
  margin: 0 auto;
  border-top: 1px solid rgba(221,224,227,.24);
  border-left: 1px solid rgba(221,224,227,.24);
}
.hp-about-why-card {
  min-height: 22rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid rgba(221,224,227,.24);
  border-bottom: 1px solid rgba(221,224,227,.24);
}
.hp-about-why-card > span { color: var(--hp-teal-soft); font-size: .72rem; font-weight: 600; letter-spacing: .16em; }
.hp-about-why-card h3 { margin: clamp(3rem, 6vw, 5.5rem) 0 1rem; color: #fff; font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.hp-about-why-card p { margin: 0; color: #c7ced0; font-size: .92rem; line-height: 1.7; }
.hp-about-relationships { background: var(--hp-paper); }
.hp-about-relationships .hp-clients-section-head > div > p { margin: 0 0 1.2rem; color: #60676a; line-height: 1.7; }
.hp-about-relationship-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 86rem;
  margin: 0 auto;
  border-top: 1px solid var(--hp-gray);
  border-left: 1px solid var(--hp-gray);
}
.hp-about-relationship {
  display: grid;
  place-items: center;
  min-height: 14rem;
  padding: 2rem;
  border-right: 1px solid var(--hp-gray);
  border-bottom: 1px solid var(--hp-gray);
  background: #fff;
}
.hp-about-relationship img { display: block; width: auto; max-width: min(100%, 14rem); height: auto; max-height: 5rem; object-fit: contain; filter: grayscale(1); }
.hp-about-relationship span { margin-top: 1rem; color: #60676a; font-size: .78rem; }
.hp-about-team { background: #fff; }
.hp-about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem) clamp(1.2rem, 3vw, 2.3rem);
  max-width: 86rem;
  margin: 0 auto;
}
.hp-about-person { display: block; border-top: 1px solid var(--hp-gray); padding-top: 1rem; }
.hp-about-person-media { overflow: hidden; border-radius: 4px; background: var(--hp-paper); }
.hp-about-person-media img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(.28); transition: filter .35s ease, transform .7s var(--ease-out); }
.hp-about-person:hover .hp-about-person-media img { filter: grayscale(0); transform: scale(1.025); }
.hp-about-person--portrait-close .hp-about-person-media img { transform: scale(1.42); transform-origin: 50% 55%; }
.hp-about-person--portrait-close:hover .hp-about-person-media img { transform: scale(1.45); }
.hp-about-person-copy { padding-top: 1.2rem; }
.hp-about-person h3 { margin: 0 0 .45rem; color: var(--hp-slate); font-size: 1.35rem; transition: color .25s ease; }
.hp-about-person:hover h3 { color: #007c78; }
.hp-about-person-copy > span { display: block; min-height: 2.7rem; color: #60676a; font-size: .78rem; line-height: 1.45; }
.hp-about-person p { margin: 1.15rem 0 0; color: #535b5e; font-size: .9rem; line-height: 1.7; }
.hp-about-person small { display: inline-flex; align-items: center; margin-top: 1.2rem; color: #3f494c; font-size: .76rem; font-weight: 600; }
.hp-about-person small i { margin-left: .4rem; color: #007c78; font-style: normal; transition: transform .25s ease; }
.hp-about-person:hover small i { transform: translateX(.25rem); }
@media (max-width: 1040px) {
  .hp-about-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-about-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hp-about-origin { grid-template-columns: 1fr; }
  .hp-about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 0; }
  .hp-about-stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hp-about-stat:nth-child(3):last-child { grid-column: 1 / -1; text-align: center; }
  .hp-about-stat:nth-child(3):last-child span { margin-right: auto; margin-left: auto; }
  .hp-about-relationship-grid { grid-template-columns: 1fr; }
  .hp-about-relationship { min-height: 10rem; }
}
@media (max-width: 560px) {
  .hp-about-hero-inner { padding-top: 8rem; }
  .hp-about-stats { grid-template-columns: 1fr; }
  .hp-about-stat,
  .hp-about-stat:nth-child(odd),
  .hp-about-stat:nth-child(3):last-child {
    grid-column: auto;
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
    text-align: left;
  }
  .hp-about-stat:nth-child(3):last-child span { margin-right: 0; margin-left: 0; }
  .hp-about-why-grid,
  .hp-about-team-grid { grid-template-columns: 1fr; }
  .hp-about-why-card { min-height: 0; }
  .hp-about-why-card h3 { margin-top: 2.5rem; }
  .hp-about-person-copy > span { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-about-links a span,
  .hp-about-relationships .hp-news-text-link span,
  .hp-about-person-media img,
  .hp-about-person h3,
  .hp-about-person small i { transition: none; }
}

/* ---------- Services index ---------- */
.hp-services-index-hero .hp-news-hero-inner { max-width: 76rem; }
.hp-services-index-hero h1 { max-width: 17ch; }
.hp-services-index { background: #fff; }
.hp-services-index-list {
  width: min(100%, 86rem);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hp-gray);
}
.hp-services-index-list--management { border-top: 0; }
.hp-services-index-list li { border-bottom: 1px solid var(--hp-gray); }
.hp-services-index-list a {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  min-height: 8.5rem;
  padding: 1.7rem .75rem;
  overflow: hidden;
  transition: padding-left .35s var(--ease-out), background .35s;
}
.hp-services-index-list a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--hp-teal-tint), rgba(230,243,242,.18));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .4s var(--ease-out);
}
.hp-services-index-list a > * { position: relative; z-index: 1; }
.hp-services-index-list a:hover { padding-left: 1.35rem; }
.hp-services-index-list a:hover::before { transform: scaleX(1); }
.hp-services-index-num {
  color: var(--hp-teal-text);
  font-family: var(--font-display);
  font-size: 1rem;
}
.hp-services-index-copy { display: grid; gap: .55rem; }
.hp-services-index-copy strong {
  color: var(--hp-slate);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  font-weight: 360;
  line-height: 1.12;
  transition: color .25s;
}
.hp-services-index-copy small {
  max-width: 70ch;
  color: #60676a;
  font-size: .94rem;
  line-height: 1.62;
}
.hp-services-index-arrow {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(51,60,64,.25);
  border-radius: 50%;
  color: var(--hp-slate);
  transition: transform .3s var(--ease-out), background .25s, border-color .25s, color .25s;
}
.hp-services-index-list a:hover .hp-services-index-copy strong { color: var(--hp-green); }
.hp-services-index-list a:hover .hp-services-index-arrow {
  border-color: var(--hp-teal);
  background: var(--hp-teal);
  color: #fff;
  transform: translateX(.3rem);
}
.hp-services-hpmg {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(18rem, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  width: min(100%, 86rem);
  box-sizing: border-box;
  margin: clamp(2.5rem, 6vw, 5rem) auto;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 4px;
  background: linear-gradient(145deg, var(--hp-slate-deep), var(--hp-green-deep));
  color: #fff;
  overflow: hidden;
}
.hp-services-hpmg .hp-kicker { color: var(--hp-teal-soft); }
.hp-services-hpmg .hp-kicker::before { background: var(--hp-teal-bright); }
.hp-services-hpmg h3 {
  margin: 1.2rem 0 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.hp-services-hpmg p {
  margin: 0;
  color: #d1d7d8;
  line-height: 1.75;
}
.hp-services-home-shortcut {
  width: min(100%, 86rem);
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  text-align: right;
}
.hp-services-home-shortcut a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: #60676a;
  font-size: .85rem;
  font-weight: 600;
  border-bottom: 1px solid var(--hp-gray);
}
.hp-services-home-shortcut span { margin-left: .45rem; color: var(--hp-teal); transition: transform .25s var(--ease-out); }
.hp-services-home-shortcut a:hover { color: var(--hp-slate); border-color: var(--hp-teal); }
.hp-services-home-shortcut a:hover span { transform: translateX(.25rem); }
.hp-sv-hpmg {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-left: 3px solid var(--hp-teal);
  background: var(--hp-teal-tint);
}
.hp-sv-hpmg strong {
  display: block;
  margin-bottom: .6rem;
  color: var(--hp-green);
  font-size: .76rem;
  letter-spacing: .16em;
}
.hp-sv-hpmg p { margin: 0; color: var(--hp-slate); font-size: 1rem; line-height: 1.7; }
@media (max-width: 760px) {
  .hp-services-index-list a { grid-template-columns: 2.75rem minmax(0, 1fr) auto; min-height: 0; padding: 1.5rem .2rem; }
  .hp-services-index-copy small { font-size: .88rem; }
  .hp-services-hpmg { grid-template-columns: 1fr; align-items: start; }
  .hp-services-home-shortcut { text-align: left; }
}
@media (max-width: 480px) {
  .hp-services-index-list a { grid-template-columns: 2.25rem minmax(0, 1fr); gap: .8rem; }
  .hp-services-index-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-services-index-list a,
  .hp-services-index-list a::before,
  .hp-services-index-copy strong,
  .hp-services-index-arrow,
  .hp-services-home-shortcut span { transition: none; }
}

/* ---------- Clients + proof hub ---------- */
.hp-clients-hero .hp-news-hero-inner { max-width: 72rem; }
.hp-client-relations { background: #fff; }
.hp-clients-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, .65fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  max-width: 86rem;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}
.hp-clients-section-head .hp-h2 {
  max-width: 58rem;
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}
.hp-clients-section-head > p {
  margin: 0 0 .35rem;
  color: #60676a;
  line-height: 1.75;
}
.hp-client-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 86rem;
  margin: 0 auto;
  border-top: 1px solid var(--hp-gray);
  border-left: 1px solid var(--hp-gray);
}
.hp-client-logo-card {
  min-width: 0;
  margin: 0;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  border-right: 1px solid var(--hp-gray);
  border-bottom: 1px solid var(--hp-gray);
  background: #fff;
}
.hp-client-logo-media {
  display: grid;
  place-items: center;
  min-height: clamp(6rem, 9vw, 8rem);
}
.hp-client-logo-media img {
  display: block;
  width: auto;
  max-width: min(100%, 10rem);
  height: auto;
  max-height: 4.5rem;
  object-fit: contain;
  filter: grayscale(1);
}
.hp-client-logo-media span {
  color: var(--hp-slate);
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-align: center;
}
.hp-client-logo-card h3 {
  margin: 1rem 0 0;
  color: #60676a;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
}
.hp-client-proof { background: var(--hp-slate-deep); color: #fff; }
.hp-clients-section-head--dark .hp-h2 { color: #fff; }
.hp-clients-section-head--dark > p { color: #c1c8ca; }
.hp-proof-feature {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(10rem, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  max-width: 86rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5.5rem) 0;
  border-top: 1px solid rgba(221,224,227,.24);
  border-bottom: 1px solid rgba(221,224,227,.24);
}
.hp-proof-feature blockquote { margin: 0; }
.hp-proof-feature blockquote p {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 3.25rem);
  font-weight: 340;
  line-height: 1.24;
}
.hp-proof-feature figcaption {
  color: var(--hp-teal-soft);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.5;
  text-transform: uppercase;
}
.hp-proof-library { max-width: 86rem; margin: clamp(3rem, 6vw, 5rem) auto 0; }
.hp-proof-library > h3 {
  margin-bottom: 1.8rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hp-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(221,224,227,.2);
}
.hp-proof-item { border-bottom: 1px solid rgba(221,224,227,.2); }
.hp-proof-item:nth-child(odd) { border-right: 1px solid rgba(221,224,227,.2); }
.hp-proof-item summary {
  position: relative;
  min-height: 13rem;
  padding: 2rem clamp(2rem, 4vw, 3.5rem) 2rem 0;
  cursor: pointer;
  list-style: none;
}
.hp-proof-item:nth-child(even) summary,
.hp-proof-item:nth-child(even) .hp-proof-item-body { padding-left: clamp(2rem, 4vw, 3.5rem); }
.hp-proof-item summary::-webkit-details-marker { display: none; }
.hp-proof-item summary strong,
.hp-proof-item summary span,
.hp-proof-item summary small { display: block; }
.hp-proof-item summary strong {
  margin-bottom: 1rem;
  color: var(--hp-teal-soft);
  font-size: .78rem;
  letter-spacing: .12em;
  line-height: 1.5;
  text-transform: uppercase;
}
.hp-proof-item summary span { color: #e7e9ea; line-height: 1.65; }
.hp-proof-item summary small {
  margin-top: 1.35rem;
  color: #bdc3c5;
  font-size: .75rem;
}
.hp-proof-item summary small i {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-left: .35rem;
  border: 1px solid rgba(187,222,219,.45);
  border-radius: 50%;
  color: var(--hp-teal-soft);
  font-style: normal;
  transition: transform .2s ease;
}
.hp-proof-item[open] summary small i { transform: rotate(45deg); }
.hp-proof-item summary:focus-visible { outline: 2px solid var(--hp-teal-soft); outline-offset: 4px; }
.hp-proof-item-body {
  padding: 0 clamp(2rem, 4vw, 3.5rem) 2rem 0;
  color: #d6dadd;
  line-height: 1.75;
}
.hp-proof-item-body p { margin: 0; }
.hp-clients-empty { max-width: 86rem; margin: 0 auto; color: #60676a; }
.hp-client-proof .hp-clients-empty { color: #c1c8ca; }
@media (max-width: 1060px) {
  .hp-client-logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hp-clients-section-head,
  .hp-proof-feature { grid-template-columns: 1fr; }
  .hp-client-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-client-logo-card { padding: 1rem; }
  .hp-client-logo-media { min-height: 5.5rem; }
  .hp-proof-feature { align-items: start; }
  .hp-proof-grid { grid-template-columns: 1fr; }
  .hp-proof-item:nth-child(odd) { border-right: 0; }
  .hp-proof-item:nth-child(even) summary,
  .hp-proof-item:nth-child(even) .hp-proof-item-body { padding-left: 0; }
  .hp-proof-item summary { min-height: 0; padding-top: 1.5rem; padding-bottom: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-proof-item summary small i { transition: none; }
}

/* ---------- article masthead ---------- */
.hp-article-hero {
  background: var(--hp-paper);
  border-bottom: 1px solid var(--hp-gray);
}
.hp-article-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, .9fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  box-sizing: border-box;
  width: min(100%, 94rem);
  margin: 0 auto;
  padding: clamp(7.5rem, 9vw, 8.5rem) var(--pad-x) clamp(1.8rem, 3vw, 2.6rem);
}
.hp-article-hero:not(.has-media) .hp-article-hero-inner { grid-template-columns: minmax(0, 62rem); }
.hp-article-masthead .hp-kicker { margin-bottom: 1.25rem; }
.hp-article-masthead h1 {
  max-width: 17ch;
  margin: 0;
  color: var(--hp-slate-deep);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.6vw, 4.5rem);
  font-weight: 340;
  line-height: 1.02;
  text-wrap: balance;
}
.hp-article-masthead.is-long-title h1 {
  max-width: 24ch;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.04;
}
.hp-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .7rem;
  align-items: center;
  margin-top: 1.35rem;
  color: var(--hp-gray-mid);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hp-article-meta a {
  color: var(--hp-green);
  font-weight: 650;
  border-bottom: 1px solid rgba(0,77,66,.28);
}
.hp-article-meta a:hover { border-color: var(--hp-green); }
.hp-article-feature { margin: 0; }
.hp-article-feature img {
  display: block;
  width: 100%;
  max-height: 22rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
}
.hp-article-feature figcaption {
  margin-top: .55rem;
  color: var(--hp-gray-mid);
  font-size: .72rem;
  line-height: 1.45;
}
@media (max-width: 760px) {
  .hp-article-hero-inner { grid-template-columns: 1fr; gap: 1.7rem; padding-top: 7.25rem; }
  .hp-article-masthead h1 { font-size: clamp(2.35rem, 11.5vw, 3.65rem); }
  .hp-article-masthead.is-long-title h1 { font-size: clamp(2rem, 8.6vw, 2.65rem); }
  .hp-article-feature img { max-height: none; }
}

/* ---------- generic page ---------- */
.hp-pg-hero { background: var(--hp-paper); border-bottom: 1px solid var(--hp-gray); }
.hp-pg-hero-inner { padding: 10rem var(--pad-x) clamp(2rem, 5vw, 3.5rem); max-width: 62rem; }
.hp-pg-hero .hp-kicker { opacity: 0; animation: hp-rise 1s var(--ease-out) .15s forwards; }
.hp-pg-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); color: var(--hp-slate); margin: 0; opacity: 0; animation: hp-rise 1.1s var(--ease-out) .3s forwards; }
.hp-contact-hero .hp-pg-hero-inner { max-width: 72rem; }
.hp-contact-hero p {
  margin: 1.4rem 0 0;
  max-width: 48rem;
  color: var(--hp-gray-mid);
  font-size: 1.12rem;
  line-height: 1.72;
  opacity: 0;
  animation: hp-rise 1.1s var(--ease-out) .45s forwards;
}

/* ---------- dedicated contact form ---------- */
.hp-contact-page {
  background: #fff;
  padding-top: clamp(3.25rem, 7vw, 6.2rem);
}
.hp-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 25rem);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.hp-form {
  display: grid;
  gap: 1.7rem;
}
.hp-optional-details {
  border: 1px solid var(--hp-gray);
  border-radius: 4px;
  background: var(--hp-paper);
  overflow: hidden;
}
.hp-optional-details summary {
  position: relative;
  display: grid;
  gap: .2rem;
  padding: 1.2rem 3.6rem 1.2rem 1.25rem;
  color: var(--hp-slate);
  cursor: pointer;
  list-style: none;
}
.hp-optional-details summary::-webkit-details-marker { display: none; }
.hp-optional-details summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--hp-gray);
  border-radius: 50%;
  color: var(--hp-teal);
  font-size: 1.25rem;
  line-height: 1;
  transform: translateY(-50%);
}
.hp-optional-details[open] summary::after { content: "−"; }
.hp-optional-details summary span { font-weight: 650; }
.hp-optional-details summary small { color: var(--hp-gray-mid); font-size: .88rem; }
.hp-optional-details[open] summary { border-bottom: 1px solid var(--hp-gray); background: #fff; }
.hp-optional-body { display: grid; gap: 1.6rem; padding: 1.4rem; }
.hp-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.hp-fieldset legend em {
  margin-left: .5rem;
  color: var(--hp-gray-mid);
  font-style: normal;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.hp-fieldset legend,
.hp-field > span {
  display: block;
  margin-bottom: .65rem;
  color: var(--hp-slate);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hp-choice-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
}
.hp-choice {
  position: relative;
  display: inline-flex;
}
.hp-choice input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
}
.hp-choice span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 2.9rem;
  padding: .55rem 1.1rem .55rem .75rem;
  border: 1.5px solid var(--hp-gray);
  border-radius: 999px;
  color: var(--hp-slate);
  background: #fff;
  line-height: 1.25;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.hp-choice span::before {
  content: "";
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  border: 1.5px solid #b8c0c3;
  border-radius: 50%;
  background: #fff;
  transition: border-color .2s, background .2s;
}
.hp-choice span:hover {
  border-color: var(--hp-teal);
  background: var(--hp-paper);
}
.hp-choice input:focus-visible + span {
  outline: 2px solid var(--hp-teal);
  outline-offset: 3px;
}
.hp-choice input:checked + span {
  border-color: var(--hp-teal);
  background: var(--hp-teal-tint);
  color: var(--hp-slate);
  font-weight: 650;
}
.hp-choice input:checked + span::before {
  border-color: var(--hp-teal);
  background: var(--hp-teal);
}
.hp-choice input:checked + span::after {
  content: "";
  position: absolute;
  left: 1.13rem;
  top: 50%;
  width: .25rem;
  height: .48rem;
  margin-top: -.32rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.hp-choice-clear {
  border: 0;
  background: none;
  padding: .4rem .3rem;
  color: var(--hp-gray-mid);
  font: inherit;
  font-size: .88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.hp-choice-clear:hover,
.hp-choice-clear:focus-visible { color: var(--hp-slate); }
.hp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.hp-field {
  display: block;
}
.hp-field input,
.hp-field select,
.hp-field textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 3.35rem;
  border: 1px solid var(--hp-gray);
  border-radius: 4px;
  background: var(--hp-paper);
  color: var(--hp-ink);
  font: inherit;
  padding: .85rem 1rem;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.hp-field textarea {
  min-height: 9rem;
  resize: vertical;
}
.hp-field select {
  appearance: auto;
}
.hp-field input:focus,
.hp-field select:focus,
.hp-field textarea:focus {
  outline: 0;
  border-color: var(--hp-teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,172,166,.12);
}
.hp-field--full { width: 100%; }
.hp-field small,
.hp-fieldset small,
.hp-field-error {
  display: block;
  margin-top: .45rem;
  color: #9b2f2f;
  font-size: .86rem;
}
.is-invalid input,
.is-invalid select,
.is-invalid textarea,
.is-invalid .hp-choice span {
  border-color: #bd6a6a;
}
.hp-consent {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  color: var(--hp-gray-mid);
  font-size: .95rem;
}
.hp-consent input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: .25rem;
  accent-color: var(--hp-teal);
}
.hp-form-submit {
  border: 0;
  width: fit-content;
  cursor: pointer;
}
.hp-form-alert {
  border-radius: 4px;
  padding: 1rem 1.1rem;
  display: grid;
  gap: .2rem;
  border: 1px solid var(--hp-gray);
}
.hp-form-alert strong { color: var(--hp-slate); }
.hp-form-alert span { color: var(--hp-gray-mid); }
.hp-form-alert--success {
  background: var(--hp-teal-tint);
  border-color: var(--hp-teal-soft);
}
.hp-form-alert--error {
  background: #fbf4f3;
  border-color: #e1b9b5;
}
.hp-form-alert:focus {
  outline: 2px solid var(--hp-teal);
  outline-offset: 3px;
}
.hp-form-error-list {
  margin: .45rem 0 0;
  padding-left: 1.15rem;
}
.hp-form-error-list a {
  color: #792828;
  text-decoration: underline;
  text-underline-offset: .15em;
}
.hp-form-error-list a:hover {
  text-decoration-thickness: 2px;
}
.hp-hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.hp-contact-aside {
  position: sticky;
  top: 7rem;
  border-radius: 4px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: linear-gradient(145deg, #262D31 0%, #20272A 62%, #123B38 140%);
  color: #fff;
  overflow: hidden;
}
.hp-contact-aside::after {
  content: "";
  position: absolute;
  right: -1.6rem;
  bottom: -2.6rem;
  width: 11rem;
  height: 11.3rem;
  opacity: .06;
  background: url("assets/emblem-watermark.svg") no-repeat center / contain;
  pointer-events: none;
}
.hp-contact-aside > * { position: relative; z-index: 1; }
.hp-contact-aside h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: .4rem;
}
.hp-direct-contact {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(221,224,227,.16);
  display: grid;
  gap: 1rem;
}
.hp-direct-contact a { display: grid; gap: .15rem; }
.hp-direct-contact span {
  color: rgba(221,224,227,.62);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hp-direct-contact strong {
  color: var(--hp-teal-soft);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 360;
  word-break: break-word;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}
.hp-direct-contact a:hover strong { color: #fff; }
@media (max-width: 1080px) {
  .hp-contact-layout { grid-template-columns: 1fr; }
  .hp-contact-aside { position: relative; top: auto; }
}
@media (max-width: 780px) {
  .hp-contact-hero .hp-pg-hero-inner {
    padding-top: 7.25rem;
    padding-bottom: 2.25rem;
  }
  .hp-contact-page {
    padding-top: 2.75rem;
  }
  .hp-form-grid { grid-template-columns: 1fr; }
  .hp-form-submit { width: 100%; justify-content: center; }
}

/* ---------- team cards are links now ---------- */
a.hp-team-card { position: relative; }
.hp-team-more {
  position: absolute; right: .25rem; bottom: .35rem;
  font-size: 1.05rem; color: var(--hp-teal);
  opacity: 0; transform: translateX(-8px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
a.hp-team-card:hover .hp-team-more { opacity: 1; transform: none; }
a.hp-team-card:hover h3 { color: var(--hp-teal-text); }
.hp-team-card h3 { transition: color .3s; }

/* ================= v0.5 — signature pass ================= */

/* seamless cross-page fades (progressive enhancement; no-ops where unsupported) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation-duration: .28s; }
::view-transition-new(root) { animation-duration: .28s; }

/* reading progress thread */
.hp-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--hp-teal), var(--hp-teal-bright));
  transform: scaleX(0); transform-origin: 0 50%; pointer-events: none;
}

/* marquee: soft edges */
.hp-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }

/* kicker line draws itself in */
.hp-kicker::before { transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--ease-out) .2s; }
.hp-kicker.is-in::before, .is-in .hp-kicker::before,
.hp-sv-hero .hp-kicker::before, .hp-cs-hero .hp-kicker::before,
.hp-mb-id .hp-kicker::before, .hp-pg-hero .hp-kicker::before { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .hp-kicker::before { transform: scaleX(1); transition: none; } }

/* CTAs move with intent */
.hp-cta, body.hp-front .hp-mail { transition: transform .25s var(--ease-out), background .3s, color .3s, border-color .3s; will-change: transform; }

/* testimonial rotator: inactive slides stay laid out but leave the accessibility tree */
.hp-quote-rotator { display: grid; }
.hp-quote-item { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(10px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); pointer-events: none; }
.hp-quote-item.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hp-quote-item[aria-hidden="true"] { visibility: hidden; }
.hp-quote-item blockquote { margin: 0 auto; border: 0; padding: 0; }
.hp-quote-item figcaption { display: flex; gap: 1rem; align-items: center; margin-top: 1.8rem; color: var(--hp-gray-mid); }
.hp-quote-nav { display: flex; gap: .8rem; align-items: center; justify-content: flex-start; margin-top: 2rem; }
body.hp-front .hp-quote-arrow {
  width: 2.75rem; height: 2.75rem; flex: 0 0 2.75rem;
  display: grid; place-items: center; padding: 0; position: relative;
  background: none; border: 1px solid rgba(51,60,64,.25); border-radius: 999px;
  color: var(--hp-slate); font-size: 0; line-height: 1; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.hp-quote-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: .72rem;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.hp-quote-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(50% + .22rem);
  width: .32rem;
  height: .32rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translate(-50%, -50%) rotate(-45deg);
  transform-origin: center;
}
.hp-quote-arrow[data-dir="-1"]::after {
  left: calc(50% - .22rem);
  transform: translate(-50%, -50%) rotate(135deg);
}
body.hp-front .hp-quote-arrow:hover { background: var(--hp-teal); border-color: var(--hp-teal); color: #fff; }
.hp-quote-count { font-size: .85rem; letter-spacing: .12em; color: var(--hp-gray-mid); min-width: 4.2em; text-align: center; font-variant-numeric: tabular-nums; }
.hp-quote-count b { display: inline-block; min-width: 1.4em; text-align: right; }
.hp-quote-count b { color: var(--hp-slate); font-weight: 600; }
body.hp-front .hp-quote-toggle {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  flex: 0 0 2.75rem;
  display: grid;
  place-items: center;
  margin-left: .35rem;
  padding: 0;
  border: 1px solid rgba(51,60,64,.2);
  border-radius: 50%;
  background: var(--hp-paper);
  color: var(--hp-slate);
  cursor: pointer;
  font: 700 .78rem/1 var(--font-body);
  transition: background .25s, border-color .25s, color .25s;
}
.hp-quote-toggle span {
  display: block;
  width: .5rem;
  height: .62rem;
  font-size: 0;
  background: linear-gradient(to right, currentColor 0 2px, transparent 2px 6px, currentColor 6px 8px);
}
.hp-quote-toggle[aria-pressed="true"] span {
  width: .55rem;
  height: .68rem;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateX(.06rem);
}
body.hp-front .hp-quote-toggle:hover { border-color: var(--hp-teal-text); color: var(--hp-teal-text); }
body.hp-front .hp-quote-arrow:focus,
body.hp-front .hp-quote-arrow:active,
body.hp-front .hp-quote-toggle:focus,
body.hp-front .hp-quote-toggle:active { border-radius: 50% !important; }
.hp-quote-arrow:focus-visible, .hp-quote-toggle:focus-visible { outline: 2px solid var(--hp-teal-text); outline-offset: 3px; }
@media (max-width: 560px) {
  .hp-quote-item figcaption { align-items: flex-start; flex-direction: column; }
  body.hp-front .hp-quote-toggle { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { .hp-quote-item { transition: none; } }

/* 404 */
.hp-404-num { font-family: var(--font-display); font-weight: 300; font-size: clamp(6rem, 22vw, 16rem); line-height: 1; color: var(--hp-teal-tint); -webkit-text-stroke: 1px var(--hp-teal-soft); }

/* light nav variant (generic pages, 404) */
body.hp-front .hp-nav--light .hp-nav-links a { color: var(--hp-slate); }
body.hp-front .hp-nav--light .hp-nav-links a:hover { color: var(--hp-teal-text); }
body.hp-front .hp-nav--light .hp-nav-lang { border-color: rgba(51,60,64,.35); color: var(--hp-slate); }
.hp-nav--light.is-scrolled { background: rgba(247,248,248,.92); box-shadow: 0 1px 0 rgba(51,60,64,.08); }

/* #109 (0.13.11): light-nav pages open the same dark mobile drawer as the homepage —
   the light-variant link colors above must not apply inside it. Desktop untouched. */
@media (max-width: 820px) {
  body.hp-front .hp-nav--light .hp-nav-links a,
  body.hp-front .hp-nav--light .hp-nav-links a:not(.hp-nav-lang) { color: rgba(255,255,255,.86); }
  body.hp-front .hp-nav--light .hp-nav-links a:hover,
  body.hp-front .hp-nav--light .hp-nav-links a:focus-visible { color: #fff; }
  body.hp-front .hp-nav--light .hp-nav-links .hp-nav-cta { color: var(--hp-teal-bright); border-color: rgba(48,181,172,.45); }
  body.hp-front .hp-nav--light .hp-nav-links .hp-nav-cta:hover,
  body.hp-front .hp-nav--light .hp-nav-links .hp-nav-cta:focus-visible { background: var(--hp-teal-bright); color: #10201e; }
  body.hp-front .hp-nav--light .hp-nav-lang { color: var(--hp-teal-soft); border-color: rgba(187,222,219,.22); }
}

/* ---------- cookie consent bar ---------- */
.hp-consent-bar {
  position: fixed;
  left: 1.25rem;
  right: auto;
  bottom: 1.25rem;
  z-index: 9000;
  max-width: 26rem;
  padding: 1.1rem 1.25rem 1.15rem;
  background: var(--hp-slate-deep);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.6);
  font-size: .9rem;
  line-height: 1.5;
}
.hp-consent-bar[hidden] { display: none; }
.hp-consent-bar p { margin: 0 0 .85rem; }
.hp-consent-bar strong { color: #fff; }
.hp-consent-bar a { color: var(--hp-teal-soft); text-decoration: underline; text-underline-offset: 3px; }
.hp-consent-actions { display: flex; gap: .6rem; justify-content: flex-end; }
.hp-consent-btn {
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  padding: .55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.28);
  background: transparent;
  color: rgba(255,255,255,.88);
}
.hp-consent-btn:hover, .hp-consent-btn:focus-visible { border-color: rgba(255,255,255,.6); color: #fff; }
.hp-consent-btn--accept { background: var(--hp-teal); border-color: var(--hp-teal); color: #fff; }
.hp-consent-btn--accept:hover, .hp-consent-btn--accept:focus-visible { background: var(--hp-teal-bright); border-color: var(--hp-teal-bright); }
@media (max-width: 640px) {
  .hp-consent-bar { left: .75rem; right: .75rem; bottom: .75rem; max-width: none; }
  .hp-consent-actions { justify-content: stretch; }
  .hp-consent-btn { flex: 1; }
}
