/* ============================================================
   BASE ELEMENT — DESIGN SYSTEM
   Primary: #000000 / #FFC217
   Typography: Gilroy (display + body), Plus Jakarta Sans fallback
   ============================================================ */

:root {
  --black: #000000;
  --yellow: #FFC217;
  --white: #FFFFFF;
  --off-white: #F0EDE6;
  /* Brand-spec page background (April 2026 manual). */
  --gray-90: #161616;
  --gray-80: #1A1A1A;
  /* Brand blue + pink — see Base Element WP design spec. */
  --brand-blue: #2E51B5;
  --brand-blue-dark: #21408F;
  --brand-pink: #DA80AB;
  --brand-pink-dark: #B85F8B;
  --gray-60: rgba(255,255,255,0.6);
  --gray-40: rgba(255,255,255,0.4);
  --gray-20: rgba(255,255,255,0.2);
  --gray-10: rgba(255,255,255,0.1);
  --gray-06: rgba(255,255,255,0.06);
  --yellow-dim: rgba(255,194,23,0.1);
  --yellow-border: rgba(255,194,23,0.25);
  --orange: #E65300;
  --orange-dim: rgba(230,83,0,0.1);
  --orange-border: rgba(230,83,0,0.25);
  --red: #E24B4A;
  --green: #34A672;
  /*
   * Typography — Path C system (April 2026 redesign).
   * Display = Archivo Black (oversized client / wordmark / metric heads).
   * Body / editorial = Fraunces (the serif voice of the conversation,
   * panels, and editorial pages).
   * Mono / interface = JetBrains Mono (status labels, eyebrows, meta).
   * Old display + body vars are aliased to the new system so any
   * legacy rule keeps the right typographic register without churn.
   */
  --font-serif:   'Fraunces', Georgia, serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
  --font-display: 'Archivo Black', 'Fraunces', sans-serif;
  --font-body:    'Fraunces', Georgia, serif;
  --nav-h: 56px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Path C prototype aliases — let new surfaces (studio, insight,
     paper brief, careers refresh, ai-ops reskin) reference the
     prototype's semantic names while keeping the existing brand
     vars as the single source of truth. */
  --be-yellow: var(--yellow);
  --ink:       #0E0E10;
  --ink-2:     #161618;
  --ink-3:     #1F1F22;
  --ink-line:  rgba(255,255,255,0.08);
  --text:      var(--white);
  --text-mute: rgba(255,255,255,0.62);
  --text-faint:rgba(255,255,255,0.36);
  --serif:     var(--font-serif);
  --mono:      var(--font-mono);
  --display:   var(--font-display);

  /* Sector accents — used by work-index chips, brief case cards,
     evidence panel highlights. */
  --sec-hospitality: var(--brand-pink);
  --sec-retail:      #5BB68B;
  --sec-finance:     var(--brand-blue);
  --sec-tech:        var(--orange);

  /* Paper / cream brief surface. */
  --paper:      #F4F0E6;
  --paper-deep: #ECE6D6;
  --bone:       #1E1E20;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--gray-90);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: var(--gray-90);
  border-bottom: 0.5px solid var(--gray-10);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.be-mark {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--white);
  text-transform: uppercase;
}

/* Brand-manual helper classes (Gilroy weights). */
.gilroy_bold {
  font-family: var(--font-body);
  font-weight: 700;
}

.gilroy_light {
  font-family: var(--font-body);
  font-weight: 300;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-40);
  cursor: pointer;
  transition: color 0.2s;
  padding: 4px 0;
  white-space: nowrap;
  position: relative;
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-out);
}

.nav-link:hover, .nav-link.active { color: var(--yellow); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.2s;
}

/* ---- SCREENS ---- */
.screen {
  display: none;
  min-height: 100vh;
  padding-top: var(--nav-h);
}

.screen.active { display: flex; flex-direction: column; }

/* ---- TOAST ---- */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 2px;
  opacity: 0;
  transition: all 0.3s var(--ease-out);
  pointer-events: none;
  white-space: nowrap;
  z-index: 200;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-20); border-radius: 2px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--gray-90);
    border-top: 0.5px solid var(--gray-10);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    z-index: 99;
  }
  .nav-burger { display: flex; }
}

/* ---- BRAND MARQUEE ---- */
.brand-marquee {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: clamp(120px, 17vw, 180px);
  overflow: hidden;
  background: var(--gray-90);
  border-top: 1px solid var(--gray-10);
  border-bottom: 1px solid var(--gray-10);
}

.brand-marquee__track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  animation: brand-marquee-scroll 60s linear infinite;
  will-change: transform;
}

.brand-marquee:hover .brand-marquee__track { animation-play-state: paused; }

.brand-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0 2.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 11vw, 150px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.brand-marquee__item:hover { color: var(--brand-pink); }

.brand-marquee__sep {
  display: inline-block;
  width: 200px;
  max-width: 18vw;
  height: 18px;
  background: var(--white);
  border-radius: 9px;
  flex-shrink: 0;
}

.brand-marquee__item--accent { color: var(--yellow); }
.brand-marquee__item--orange { color: var(--orange); }

/* ---- BLUE USP BLOCK ---- */
.usp-block {
  background: var(--brand-blue);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}
.usp-block__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5.5vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}
.usp-block__title em {
  font-style: normal;
  color: var(--brand-pink);
}
.usp-block__body {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 50ch;
}
@media (max-width: 820px) {
  .usp-block { grid-template-columns: 1fr; align-items: start; }
}

/* ---- LARGE CONTACT BLOCK ---- */
.contact-block {
  /* width:100% / flex-basis:100% are required because .contact-block sits
     directly inside .screen--stage (which is `display:flex; flex-wrap:wrap`).
     Without an explicit full-row claim, this section would share a flex line
     with .stage-content + .stage-sidebar and squeeze the hero into a sliver.
     The brand-marquee used to play this row-break role; it was removed when
     the home page was simplified. */
  flex: 0 0 100%;
  width: 100%;
  background: var(--gray-90);
  color: var(--white);
  padding: clamp(3rem, 8vw, 7rem) clamp(1.5rem, 4vw, 4rem);
  text-align: left;
}
.contact-block__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-pink);
  margin-bottom: 1.25rem;
}
.contact-block__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 11vw, 180px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  color: var(--white);
}
.contact-block__title em {
  font-style: normal;
  color: var(--brand-pink);
}
.contact-block__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  margin-top: 1rem;
}
.contact-block__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-pink);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.contact-block__cta:hover { background: var(--brand-pink-dark); }
.contact-block__email {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}
.contact-block__email:hover { color: var(--brand-pink); }

/* ---- BLUE 2-COL FOOTER ---- */
.site-footer {
  /* Same row-break requirement as .contact-block — see comment above. */
  flex: 0 0 100%;
  width: 100%;
  background: var(--brand-blue);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 4rem) 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
}
.site-footer__col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}
.site-footer__brand {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.site-footer__tag {
  font-size: 14px;
  line-height: 1.6;
  max-width: 38ch;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
}
.site-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.site-footer__links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s;
}
.site-footer__links a:hover { color: var(--brand-pink); }
.site-footer__legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 1.25rem;
  margin-top: 1.5rem;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 720px) {
  .site-footer { grid-template-columns: 1fr; }
}

@keyframes brand-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-marquee__track { animation: none; }
}

/* ---- LET'S MEET CTA — skeleton-hand SVG icon (used in contact block) ---- */
.cta-hand {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  transform: rotate(-12deg);
  transition: transform 0.25s var(--ease-out);
}
.contact-block__cta .cta-hand { width: 18px; height: 18px; }
.contact-block__cta:hover .cta-hand { transform: rotate(-22deg) translateY(-1px); }

/* ---- ROTATING PROOF CAROUSEL (stage sidebar) ---- */
.proof-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.proof-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem 1.5rem;
  background: var(--gray-80);
  border: 1px solid var(--gray-10);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none;
}
.proof-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.proof-panel__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
}
.proof-panel__media {
  display: block;
  width: 100%;
  max-height: 140px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 0.25rem;
}
@media (prefers-reduced-motion: reduce) {
  .proof-panel__media { animation: none !important; }
}
.proof-panel__clients { display: flex; flex-direction: column; gap: 6px; }
.proof-panel__client {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(255,255,255,0.55);
}
.proof-panel__client--hi { color: var(--white); }
.proof-panel__client--dim { color: rgba(255,255,255,0.35); font-size: 13px; font-weight: 500; margin-top: 4px; }

.proof-panel__award { display: flex; flex-direction: column; gap: 4px; }
.proof-panel__award-line {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.proof-panel__award-line--hi { color: var(--yellow); font-size: 22px; }
.proof-panel__award-meta { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 0.5rem; }

.proof-panel__stat { display: flex; flex-direction: column; gap: 0.5rem; }
.proof-panel__stat-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 84px);
  font-weight: 800;
  line-height: 1;
  color: var(--yellow);
  letter-spacing: -0.02em;
}
.proof-panel__stat-label {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
}

.proof-panel__case { display: flex; flex-direction: column; gap: 0.5rem; }
.proof-panel__case-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
}
.proof-panel__case-meta { font-size: 12px; color: rgba(255,255,255,0.6); }
.proof-panel__case-cta {
  margin-top: 0.75rem;
  align-self: flex-start;
  background: none;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.proof-panel__case-cta:hover { background: var(--yellow); color: var(--black, #000); }
.proof-panel__case-cta:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.proof-panel__stats { display: flex; gap: 1.25rem; }
.proof-panel__stats-item { display: flex; flex-direction: column; }
.proof-panel__stats-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}
.proof-panel__stats-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

.proof-carousel__dots {
  position: absolute;
  bottom: 0.75rem;
  left: 1.5rem;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.proof-carousel__dot {
  width: 18px;
  height: 3px;
  border: none;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.proof-carousel__dot.is-active { background: var(--yellow); }
.proof-carousel__dot:hover { background: rgba(255,255,255,0.5); }
.proof-carousel__dot:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

/* Reduced-motion fallback — stack panels statically. */
.proof-carousel--static .proof-panel {
  position: relative;
  inset: auto;
  opacity: 1;
  transform: none;
  margin-bottom: 1rem;
  pointer-events: auto;
}
.proof-carousel--static .proof-carousel__dots { display: none; }

/* ---- BLUE USP BLOCK — accordion variant ---- */
.usp-block__intro { display: flex; flex-direction: column; gap: 1rem; }
.usp-block__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.usp-accordion { display: flex; flex-direction: column; }
.usp-accordion__item {
  border-top: 1px solid rgba(255,255,255,0.18);
}
.usp-accordion__item:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.usp-accordion__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 0;
  color: var(--white);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  transition: padding 0.25s var(--ease-out);
}
.usp-accordion__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-body);
}
.usp-accordion__title {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.usp-accordion__arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: transform 0.3s var(--ease-out), background 0.2s;
}
.usp-accordion__arrow svg { width: 16px; height: 16px; }
.usp-accordion__head:hover .usp-accordion__arrow { background: var(--brand-pink); }
.usp-accordion__item.is-open .usp-accordion__arrow {
  transform: rotate(180deg);
  background: var(--brand-pink);
}
.usp-accordion__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease-out), padding 0.3s var(--ease-out);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  padding: 0 0 0 calc(12px + 1.25rem); /* align under title (past num column) */
}
.usp-accordion__body > * { min-height: 0; overflow: hidden; }
.usp-accordion__item .usp-accordion__body {
  /* collapsed by default — content hidden via grid-row trick */
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding-bottom: 0;
}
.usp-accordion__item.is-open .usp-accordion__body {
  max-height: 800px;
  opacity: 1;
  padding-bottom: 1.1rem;
  transition: max-height 0.45s var(--ease-out), opacity 0.25s var(--ease-out), padding 0.25s var(--ease-out);
}
.usp-accordion__head:focus-visible {
  outline: 2px solid var(--brand-pink);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---- WHITE "WHAT WE DO" SERVICES ACCORDION ---- */
.services-accordion {
  background: var(--off-white);
  color: var(--gray-90);
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.services-accordion__head { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: calc(var(--nav-h) + 1rem); }
.services-accordion__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}
.services-accordion__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--gray-90);
  margin: 0;
}
.services-accordion__title em {
  font-style: normal;
  color: var(--orange);
}
.services-accordion__list { display: flex; flex-direction: column; }
.services-accordion__item {
  border-top: 1px solid rgba(22,22,22,0.18);
  position: relative;
}
.services-accordion__item:last-child {
  border-bottom: 1px solid rgba(22,22,22,0.18);
}
.services-accordion__item.is-open {
  border-top-color: var(--orange);
}
.services-accordion__item.is-open + .services-accordion__item {
  border-top-color: var(--orange);
}
.services-accordion__head-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 0;
  color: var(--gray-90);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
}
.services-accordion__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(22,22,22,0.45);
  font-family: var(--font-body);
}
.services-accordion__name {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  line-height: 1;
}
.services-accordion__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(22,22,22,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-90);
  transition: transform 0.3s var(--ease-out), background 0.2s, color 0.2s;
}
.services-accordion__arrow svg { width: 18px; height: 18px; }
.services-accordion__head-row:hover .services-accordion__arrow {
  background: var(--orange);
  color: var(--white);
}
.services-accordion__item.is-open .services-accordion__arrow {
  background: var(--orange);
  color: var(--white);
  transform: rotate(180deg);
}
.services-accordion__body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0 0 0 calc(13px + 1.5rem);
  transition: max-height 0.4s var(--ease-out), opacity 0.25s var(--ease-out), padding 0.3s var(--ease-out);
}
.services-accordion__item.is-open .services-accordion__body {
  max-height: 1000px;
  opacity: 1;
  padding-bottom: 1.75rem;
}
.services-accordion__head-row:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 4px;
}
.services-accordion__body p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(22,22,22,0.78);
  max-width: 60ch;
  margin: 0 0 1rem;
}
.services-accordion__cta {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  cursor: pointer;
}
.services-accordion__cta:hover { color: var(--gray-90); }

@media (max-width: 820px) {
  .services-accordion { grid-template-columns: 1fr; }
  .services-accordion__head { position: static; }
}
