/* Brand color tokens. Values are the BRANDGUIDE.md literals — change a color
   here, not at the use site. */

:root {
  /* Ink */
  --ht-ink: #101820;
  --ht-secondary: #41494F;
  --ht-muted: #595F66;
  /* Brand */
  --ht-yellow: #FDDA25;
  /* Surfaces */
  --ht-surface: #F2F0F3;
  --ht-surface-2: #E5E1E6;
  /* Accents */
  --ht-blue: #AFCDD7;
  --ht-pink: #F59BBB;
  --ht-slate: #4D7180;
  --ht-focus: #0091DA;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px
}

body {
  margin: 0;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility
}

img {
  display: block;
  max-width: 100%
}

a {
  color: inherit;
  text-decoration: none
}

a:hover {
  color: var(--ht-slate)
}

::selection {
  background: var(--ht-yellow);
  color: var(--ht-ink)
}

#contact ::selection {
  background: var(--ht-blue);
  color: var(--ht-ink);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--ht-focus);
  outline-offset: 3px
}

@keyframes ht-rise {
  from {
    opacity: 0;
    transform: translateY(18px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes ht-marq {
  from {
    transform: translate3d(0, 0, 0)
  }

  to {
    transform: translate3d(-50%, 0, 0)
  }
}

@keyframes ht-marq-r {
  from {
    transform: translate3d(-50%, 0, 0)
  }

  to {
    transform: translate3d(0, 0, 0)
  }
}

@keyframes ht-blink {

  0%,
  52% {
    opacity: 1
  }

  53%,
  100% {
    opacity: 0
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto
  }
}


@media(max-width:920px) {
  [data-navdesk] {
    display: none !important
  }

  [data-navbtn] {
    display: inline-flex !important
  }

  /* The drawer is always in the DOM; app.js toggles .is-open. */
  [data-navdrawer].is-open {
    display: flex !important
  }

  /* Scroll lock for the open overlay. Scoped to this query on purpose: at the
     top level, opening the overlay and then rotating to a wider viewport would
     hide the overlay but leave the page permanently unscrollable. */
  body.is-navopen {
    overflow: hidden
  }

  [data-herogrid] {
    grid-template-columns: 1fr !important;
    gap: 34px !important
  }
}


@media(max-width:820px) {
  [data-missiongrid] {
    grid-template-columns: 1fr !important;
    gap: 26px !important
  }

  [data-leads]>div {
    border-right: 0 !important;
    padding: 24px 0 !important;
  }

  [data-leads]>div:last-child {
    border-bottom: 0
  }
}

@media(max-width:880px) {
  [data-idxrow] {
    grid-template-columns: 2.6rem 1fr !important;
    row-gap: 12px !important
  }

  [data-idxrow]>div:nth-child(3) {
    grid-column: 2
  }

  [data-idxrow]>div:nth-child(4) {
    display: none !important
  }
}

@media(max-width:520px) {
  [data-idxrow] {
    grid-template-columns: 1fr !important
  }

  [data-idxrow]>div:nth-child(1) {
    padding-top: 0 !important
  }

  [data-idxrow]>div:nth-child(3) {
    grid-column: 1
  }
}

/* One-screen hero (index.html only — careers.html has no [data-herofit]).
   Unconstrained, the hero stacks a 3-line 108px h1 + a fixed 440px photo +
   the stat row and runs 1250-1260px tall, ~260-500px past a laptop viewport.
   Here the section becomes a fixed-height flex column and .intro-carousel is the
   only flex-grow child, so the photo absorbs whatever height is left over after
   the type. Everything else keeps its natural size.

   - 71px = the sticky header: .nav-row 68px + .nav-surface-3 2px + 1px border.
     Change the header height and this calc must follow.
   - box-sizing is set explicitly: the site has no global border-box reset, so
     without it the padding lands OUTSIDE min-height and the hero overshoots by
     exactly padding-top + padding-bottom.
   - The 9.6vh term in the font-size min() is what pulls the h1 down to 2 lines;
     max-width:none lets the grid column do the wrapping instead of 15ch.
   - Gated at min-height:600px. Shorter than that, the fixed content alone
     (type + stat row) exceeds the viewport, so the page falls back to the
     normal scrolling layout rather than crushing the photo to a sliver. */

@media(min-width:921px) and (min-height:600px) {
  [data-herofit] {
    box-sizing: border-box !important;
    min-height: calc(100svh - 71px) !important;
    display: flex !important;
    flex-direction: column !important;
    padding-top: clamp(22px, 3.4vh, 64px) !important;
    /* Identical to [data-herofit] .intro-carousel's margin-top below, so the
       banner sits with equal space above and beneath it. Keep them in step. */
    padding-bottom: clamp(34px, 4.8vh, 78px) !important
  }

  [data-herofit]>.ht-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0
  }

  [data-herofit] .hero-title {
    font-size: min(8.2vw, 9.6vh, 108px);
    max-width: none
  }

  /* The only flex-grow child, so raising this margin does not push the banner
     down — it hands the space back and the banner gets shorter. */
  [data-herofit] .intro-carousel {
    flex: 1 1 auto;
    height: auto;
    min-height: 140px;
    margin-top: clamp(34px, 4.8vh, 78px)
  }

}

/* ==========================================================================
   Element classes — extracted from inline style="" attributes.
   One class per unique declaration block; every element carries exactly one,
   so nothing here depends on source order. Hover states for these classes are
   in the "Hover states" section at the end of the file.
   ========================================================================== */

/* --- Shared / cross-section ------------------------------------ */

.ht-wrap {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

.ht-bar {
  position: absolute;
  top: -1px;
  left: 0;
  width: 28px;
  height: 3px;
  background: var(--ht-yellow);
}

.ht-label {
  font-family: 'Neue Haas Grotesk Text', 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ht-muted);
  margin: 0;
}

.ht-span {
  font-family: 'Neue Haas Grotesk Text', 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ht-muted);
  margin-left: auto;
}

.ht-header {
  opacity: 0;
  display: flex;
  align-items: baseline;
  gap: 18px;
  position: relative;
  border-top: 1px solid rgba(16, 24, 32, .92);
  padding-top: 12px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.ht-reveal {
  opacity: 0;
}

.ht-header-2 {
  display: flex;
  align-items: baseline;
  gap: 18px;
  position: relative;
  border-top: 1px solid rgba(16, 24, 32, .92);
  padding-top: 12px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.ht-img {
  height: 26px;
  width: auto;
}

.ht-section-verticals {
  padding-block: clamp(56px, 6.5vw, 96px);
}

.ht-box {
  opacity: 0;
  max-width: 60ch;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.ht-box-policy {
  opacity: 0;
  margin-bottom: clamp(36px, 5vw, 52px);
}


.ht-label-2 {
  font-family: 'Neue Haas Grotesk Text', 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin: 0;
}

.ht-section-why {
  background: var(--ht-blue);
  padding-block: clamp(56px, 6.5vw, 96px);
}

.ht-section-team {
  background: var(--ht-surface);
  padding-block: clamp(56px, 6.5vw, 96px);
}

.ht-bar-2 {
  position: absolute;
  top: -1px;
  left: 0;
  width: 28px;
  height: 3px;
  background: var(--ht-yellow);
}

/* --- Preview Button -------------------------------------------- */

.preview-notif {
  position: fixed;
  top: 10%;
  inset-inline: 0;
  margin-inline: auto;
  width: fit-content;
  z-index: 9999;
  padding: 12px 18px;
  background: var(--ht-ink);
  color: var(--ht-surface);
  font: 14px/1.4 system-ui, -apple-system, sans-serif;
  border-radius: 8px;
  box-shadow: 4px 4px 4px var(--ht-yellow);
}

/* --- Nav + footer ---------------------------------------------- */

.nav-label {
  font-family: 'Neue Haas Grotesk Text', 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ht-muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .16s ease, border-color .3s ease;
}

/* Overlay nav links. Tracking is deliberately looser than .nav-label's .2em is
   tight: .2em suits a 12px label, but at 34px it becomes ~7px between letters and
   reads as broken type, so it scales down as the size scales up. */
.nav-label-2 {
  font-family: 'Neue Haas Grotesk Text', 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(18px, 5vw, 30px);
  font-weight: bold;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ht-ink);
  padding: clamp(10px, 1vh, 15px) 0;
  border-bottom: 2px solid transparent;
  transition: color .16s ease, border-color .3s ease;
}

.nav-surface {
  background: #fff;
  color: var(--ht-ink);
  font-family: 'Neue Haas Grotesk Text', 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: 'kern' 1;
}

.nav-surface-2 {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(16, 24, 32, .92);
}

.nav-row {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.nav-row-2 {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-right: auto;
  margin-left: clamp(16px, 4vw, 52px);
}

.nav-row-3 {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(16, 24, 32, .2);
  border-radius: 2px;
  color: var(--ht-ink);
  cursor: pointer;
  padding: 9px;
}

.nav-btn-2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: clamp(17px, 4.6vw, 22px);
    padding: clamp(15px, 2vh, 20px) 26px;
    margin-top: clamp(12px, 2.5vh, 24px);
    border: 1.5px solid var(--ht-yellow);
    border-radius: 2px;
    background: var(--ht-yellow);
    color: var(--ht-ink);
    transition: background .16s ease, border-color .16s ease;
  }

  .nav-btn-2:hover {
    background: #E9C200;
    border-color: #E9C200;
    color: var(--ht-ink);
  }

.nav-surface-3 {
  height: 2px;
  background: transparent;
  overflow: hidden;
}

.nav-surface-4 {
  height: 2px;
  width: 100%;
  background: var(--ht-yellow);
  transform: scaleX(0);
  transform-origin: left;
}

/* Full-viewport overlay, not a dropdown. Lives OUTSIDE <header> in the markup on
   purpose: .nav-surface-2 sets backdrop-filter, which makes it a containing block
   for fixed descendants — nested inside it, inset:0 would resolve against the 71px
   header box instead of the viewport and the overlay would be a strip.
   box-sizing is explicit because there is no global border-box reset; without it
   the padding lands outside inset:0 and the overlay overshoots the viewport.
   z-index sits under .nav-surface-2's 60 so the header — and the X — stay on top;
   the 71px top padding keeps the links clear of it. */
.nav-row-4 {
  position: fixed;
  inset: 0;
  z-index: 50;
  box-sizing: border-box;
  background: #fff;
  padding: 71px clamp(20px, 5vw, 60px) 32px;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  gap: clamp(2px, 1vh, 10px);
}

.nav-icon-x {
  display: none;
}

[data-navbtn][aria-expanded="true"] .nav-icon-bars {
  display: none;
}

[data-navbtn][aria-expanded="true"] .nav-icon-x {
  display: block;
}


/* --- Hero (#top) ----------------------------------------------- */



.ht-span-1 {
  color: var(--ht-slate);
}



.ht-section-intro {
  padding-top: clamp(48px, 7.5vw, 92px);
  /* Must stay identical to .intro-carousel's margin-top: together these are the
     gap above and the gap below the hero banner, and they should read as equal.
     Change one, change the other. Same pairing exists in the [data-herofit]
     block for the one-screen desktop layout. */
  padding-bottom: clamp(44px, 6vw, 78px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 8.2fr) minmax(0, 3.8fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
}

.intro-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Neue Haas Grotesk Text', 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ht-muted);
  margin: 0;
}

.intro-span {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--ht-yellow);
  animation: ht-blink 1.5s steps(1) infinite;
}

.hero-title {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(44px, 8.2vw, 108px);
  letter-spacing: -.038em;
  line-height: .96;
  margin: clamp(20px, 3vw, 32px) 0 0;
  max-width: 15ch;
  text-wrap: balance;
}

.intro-box {
  padding-bottom: 6px;
}

.intro-text {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ht-secondary);
  line-height: 1.5;
  max-width: 38ch;
  margin: 0 0 28px;
  border-top: 1px solid rgba(16, 24, 32, .92);
  padding-top: 22px;
}

.intro-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.intro-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border: 1.5px solid var(--ht-yellow);
  border-radius: 2px;
  background: var(--ht-yellow);
  color: var(--ht-ink);
  transition: background .16s ease, border-color .16s ease;
}

.intro-carousel {
  opacity: 0;
  margin-top: clamp(44px, 6vw, 78px);
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  height: clamp(260px, 33vw, 440px);
}

.ht-section-mission {
  background: var(--ht-surface);
  border-top: 1px solid rgba(16, 24, 32, .92);
  padding-block: clamp(56px, 6.5vw, 96px);
}

/* --------------------------------------------------------------------------
   Hero image — fills the .intro-carousel frame above.
   -------------------------------------------------------------------------- */

.intro-single-slide {
  position: absolute;
  inset: 0;
  margin: 0;
}

.intro-single-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  /* The illustration's objects sit centred in its viewBox, so a frame taller or
     wider than 2.5:1 should crop evenly on both sides rather than favour one. */
  object-position: center;
}

/* --- Hero desk (the draggable easter egg) ----------------------------------
   The banner is an inline <svg> rather than an <img> so its objects can be
   dragged; see the comment on the markup in index.html. The cropping that
   object-fit:cover used to do is now preserveAspectRatio="xMidYMid slice" on
   the element itself, so this only has to make it fill the frame. */

.desk-scene {
  display: block;
  width: 100%;
  height: 100%;
}

/* Every object is its own drag handle. touch-action:none is load-bearing on
   touch: without it the browser claims the gesture for scrolling and the
   object never moves. */
.desk-item {
  cursor: grab;
  touch-action: none;
}

.desk-item.is-dragging {
  cursor: grabbing;
}

.desk-scene [data-desk="sticky"] {
  cursor: pointer;
}

.desk-sticky-text {
  font-family: 'Neue Haas Grotesk Text', 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 17px;
  fill: var(--ht-ink);
  opacity: .72;
  /* The words are part of the note, not a separate target. */
  pointer-events: none;
}

/* A sheet that has been taken off the pad and landed on the desk. It is inert:
   no longer a drag handle, and not a click target, so it never intercepts a
   grab meant for whatever it came to rest on top of. */
.desk-note.is-dropped {
  cursor: default;
  pointer-events: none;
}

.mission-wrap {
  opacity: 0;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.mission-emoji {
  grid-area: 1 / 1;
  z-index: 0;
  width: clamp(180px, 24vw, 400px);
  height: auto;
  justify-self: end;
  align-self: center;
  opacity: .5;
}


.hero-title-2 {
  grid-area: 1 / 1;
  z-index: 1;
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 4.6vw, 54px);
  letter-spacing: -.028em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

.mission-span {
  display: block;
  margin-top: clamp(18px, 2.4vw, 26px);
  font-family: 'Neue Haas Grotesk Text', 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 400;
  color: var(--ht-secondary);
  letter-spacing: 0;
  line-height: 1.4;
  max-width: 34ch;
}

/* --- Services (#services) -------------------------------------- */

.verticals-label {
  font-family: 'Neue Haas Grotesk Text', 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ht-secondary);
  border: 1px solid rgba(16, 24, 32, .2);
  border-radius: 2px;
  padding: 5px 9px;
}

.verticals-type {
  font-family: 'Neue Haas Grotesk Text', 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 12.5px;
  color: var(--ht-muted);
  padding-top: 8px;
}

.verticals-heading {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.7vw, 31px);
  letter-spacing: -.022em;
  line-height: 1.08;
  margin: 0 0 6px;
}

.verticals-label-2 {
  font-family: 'Neue Haas Grotesk Text', 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ht-slate);
}

.verticals-text {
  color: var(--ht-secondary);
  font-size: 16px;
  margin: 0 0 16px;
  line-height: 1.5;
  max-width: 50ch;
}

.privacy-text {
  color: var(--ht-secondary);
  font-size: 16px;
  margin: 0 0 16px;
  line-height: 1.5;
}

.verticals-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.verticals-type-2 {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  color: var(--ht-blue);
  padding-top: 6px;
  text-align: right;
}

.verticals-grid {
  opacity: 0;
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 4fr) minmax(0, 6fr) 1.6rem;
  column-gap: clamp(20px, 3.5vw, 52px);
  padding: clamp(24px, 3vw, 36px) 12px;
  margin-inline: -12px;
  border-bottom: 1px solid rgba(16, 24, 32, .2);
  align-items: start;
  transition: background .2s ease;
}

.verticals-title {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 50px);
  letter-spacing: -.03em;
  line-height: 1.05;
  margin: 0 0 16px;
  text-wrap: balance;
}

.verticals-text-2 {
  color: var(--ht-secondary);
  font-size: 18px;
  margin: 0;
  max-width: 52ch;
}

.verticals-box {
  border-top: 1px solid rgba(16, 24, 32, .92);
}

.verticals-grid-2 {
  opacity: 0;
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 4fr) minmax(0, 6fr) 1.6rem;
  column-gap: clamp(20px, 3.5vw, 52px);
  padding: clamp(24px, 3vw, 36px) 12px;
  margin-inline: -12px;
  border-bottom: 1px solid rgba(16, 24, 32, .92);
  align-items: start;
  transition: background .2s ease;
}

.ht-section-apple {
  background: var(--ht-ink);
  color: #fff;
  padding-block: clamp(56px, 6.5vw, 96px);
}

/* --- Apple partner (#apple) ------------------------------------ */

.apple-label {
  font-family: 'Neue Haas Grotesk Text', 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 8px;
}

.apple-text {
  color: rgba(255, 255, 255, .62);
  font-size: 14.5px;
  margin: 0;
  max-width: 40ch;
}

.apple-item {
  padding: 20px 12px;
  margin-inline: -12px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  transition: background .2s ease;
}

.apple-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.apple-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .5);
  padding-top: 12px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.apple-img {
  width: 224px;
  max-width: 68%;
  height: auto;
  margin: 6px 0 28px;
}

.apple-title {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 46px);
  letter-spacing: -.032em;
  line-height: 1.06;
  color: #fff;
  margin: 0 0 18px;
  max-width: 13ch;
  text-wrap: balance;
}

.apple-text-2 {
  color: rgba(255, 255, 255, .74);
  font-size: 17px;
  margin: 0 0 26px;
  max-width: 44ch;
}

.apple-link {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color .18s ease;
}

.apple-list {
  opacity: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, .92);
}

.apple-item-2 {
  padding: 20px 12px;
  margin-inline: -12px;
  border-bottom: 1px solid rgba(255, 255, 255, .92);
  transition: background .2s ease;
}

/* --- Why Hi! Tech (#why) --------------------------------------- */

.why-row {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ht-ink);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.why-box {
  margin: 0;
  color: var(--ht-secondary);
  font-size: 15.5px;
  line-height: 1.5;
}

.why-box-2 {
  padding: 22px 12px;
  margin-inline: -12px;
  border-bottom: 1px solid rgba(16, 24, 32, .2);
  transition: background .2s ease;
}

.why-box-3 {
  color: var(--ht-slate);
  font-weight: 600;
}

.why-bullet {
  width: 9px;
  height: 9px;
  flex: none;
  background: var(--ht-ink);
}

.why-box-4 {
  overflow: hidden;
}

/*  client-logo marquee tracks. */
.why-row-2 {
  display: flex;
  width: max-content;
  will-change: transform;
}

.why-row-2.is-scrolling {
  animation: ht-marq var(--ht-marq-speed, 58s) linear infinite;
}

[data-marq="-1"].is-scrolling {
  animation-name: ht-marq-r;
}

.client-link {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 92px;
  padding: 0 22px;
  border-left: 1px solid rgba(255, 255, 255, .13);
}

.client-img {
  max-height: 26px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .75;
  transition: transform .3s cubic-bezier(.2, .75, .3, 1), opacity .28s ease;
}

.client-name {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 13px;
  text-align: center;
  font-family: 'Neue Haas Grotesk Text', 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .28s ease, transform .28s cubic-bezier(.2, .75, .3, 1);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px, 6vw, 76px);
  align-items: start;
}

.why-title {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 46px);
  letter-spacing: -.032em;
  line-height: 1.06;
  margin: 0 0 22px;
  max-width: 16ch;
  text-wrap: balance;
}

.why-text {
  color: var(--ht-secondary);
  font-size: 17px;
  margin: 0 0 18px;
  max-width: 46ch;
}

.why-text-2 {
  color: var(--ht-secondary);
  font-size: 17px;
  margin: 0;
  max-width: 46ch;
}

.why-row-3 {
  opacity: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(16, 24, 32, .92);
  margin: 0;
}

.why-box-5 {
  padding: 22px 12px;
  margin-inline: -12px;
  border-bottom: 1px solid rgba(16, 24, 32, .92);
  transition: background .2s ease;
}

.client-surface {
  background: var(--ht-ink);
  color: #fff;
  padding-block: clamp(56px, 6.5vw, 96px);
  overflow: hidden;
}

.client-header {
  opacity: 0;
  display: flex;
  align-items: baseline;
  gap: 18px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .5);
  padding-top: 12px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.why-heading {
  opacity: 0;
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 42px);
  letter-spacing: -.03em;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 14px;
  max-width: 22ch;
  text-wrap: balance;
}

.why-text-3 {
  opacity: 0;
  color: rgba(255, 255, 255, .66);
  font-size: 17px;
  margin: 0;
  max-width: 54ch;
}

.why-row-5 {
  opacity: 0;
  margin-top: clamp(40px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

/* --- Team (#team) ---------------------------------------------- */

.team-img {
  width: 158px;
  height: 158px;
  border-radius: 4px;
  object-fit: cover;
  flex: none;
  background: var(--ht-surface-2);
  transition: transform .3s cubic-bezier(.2, .7, .3, 1), box-shadow .3s ease;
}

.team-type {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -.018em;
}

.team-label {
  font-family: 'Neue Haas Grotesk Text', 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ht-muted);
  margin-top: 7px;
}

.team-label-3 {
  display: block;
  font-family: 'Neue Haas Grotesk Text', 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ht-ink);
  margin-top: 4px;
}

.team-title {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 50px);
  letter-spacing: -.03em;
  line-height: 1.05;
  margin: 0 0 16px;
}

.team-text {
  color: var(--ht-secondary);
  font-size: 18px;
  margin: 0;
}

/* Group shot between the intro copy and the "Hi! Tech Leadership" bar. Carries
   data-reveal, so the opacity:0 here is undone by setupReveal(). */
.team-photo {
  opacity: 0;
  margin-bottom: clamp(36px, 5vw, 52px);
  border-radius: 4px;
  overflow: hidden;
  background: var(--ht-surface-2);
}

/* Letterboxed rather than the source 3:2: at full content width the untrimmed
   frame runs ~750px tall and pushes the roster off-screen. The two values work
   together — the ratio decides how much of the 3:2 source is dropped, and the
   Y position decides from which end. Tuned to take the excess off the TOP
   (treeline) while holding the group and the grass under it in frame. */
.team-photo-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.35 / 1;
  object-fit: cover;
  object-position: center 78%;
}

.team-grid {
  opacity: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: clamp(40px, 5vw, 56px);
}

.team-row {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 0;
  border-right: 0px solid rgba(16, 24, 32, .2);
}

.team-row-2 {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 0 26px clamp(22px, 3vw, 36px);
}

.team-grid-2 {
  opacity: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(146px, 1fr));
  gap: 28px 22px;
}

.team-figure {
  margin: 0;
}

.team-img-2 {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 4px;
  object-fit: cover;
  background: var(--ht-surface-2);
  transition: transform .3s cubic-bezier(.2, .7, .3, 1), box-shadow .3s ease;
}

.team-type-2 {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  margin-top: 11px;
  letter-spacing: -.012em;
}

.team-type-3 {
  font-family: 'Neue Haas Grotesk Text', 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 10.5px;
  letter-spacing: .05em;
  color: var(--ht-muted);
  line-height: 1.35;
  margin-top: 4px;
}

.team-surface {
  background: var(--ht-yellow);
  border-top: 1px solid rgba(16, 24, 32, .92);
  padding-block: clamp(56px, 6.5vw, 96px);
}

/* --- Contact (#contact) ---------------------------------------- */

.contact-bar {
  position: absolute;
  top: -1px;
  left: 0;
  width: 28px;
  height: 3px;
  background: var(--ht-ink);
}

.contact-label {
  font-family: 'Neue Haas Grotesk Text', 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ht-secondary);
  margin: 0;
}

.contact-text {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(16, 24, 32, .2);
}

.contact-label-2 {
  font-family: 'Neue Haas Grotesk Text', 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 500;
  color: var(--ht-secondary);
  flex: none;
  width: 64px;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact-link {
  color: var(--ht-ink);
}

.contact-label-3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Neue Haas Grotesk Text', 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--ht-ink);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-grid {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-title {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(34px, 5.4vw, 64px);
  letter-spacing: -.038em;
  line-height: 1.02;
  margin: 0 0 20px;
  max-width: 13ch;
  text-wrap: balance;
}

.contact-text-2 {
  color: var(--ht-secondary);
  font-size: 18px;
  margin: 0 0 28px;
  max-width: 42ch;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border: 1.5px solid var(--ht-ink);
  border-radius: 2px;
  background: var(--ht-ink);
  color: #fff;
  transition: background .16s ease;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}



.contact-icon-2 {
  display: block;
  flex: none;
}

.contact-box {
  margin-top: 32px;
  border-top: 1px solid rgba(16, 24, 32, .92);
}

.contact-row {
  display: flex;
  flex-direction: column;
<<<<<<< HEAD
=======
}

/* The 22px below belongs between the two addresses, where a rule separates
   them. At the top of the list there is no longer a rule to clear, so the
   padding just widens the gap under the "Offices" label. */
.contact-row> :first-child {
  padding-top: 0;
>>>>>>> remotes/origin/preview
}

.contact-box-2 {
  font-style: normal;
  font-size: 15px;
  color: var(--ht-secondary);
  line-height: 1.55;
  padding: 22px 0;
  border-bottom: 1px solid rgba(16, 24, 32, .2);
}

.contact-span-2 {
  width: 9px;
  height: 9px;
  background: var(--ht-blue);
}

.contact-box-3 {
  font-style: normal;
  font-size: 15px;
  color: var(--ht-secondary);
  line-height: 1.55;
  padding: 22px 0;
  border-bottom: 1px solid rgba(16, 24, 32, .92);
}

.contact-span-3 {
  width: 9px;
  height: 9px;
  background: var(--ht-pink);
}

.footer-box {
  border-top: 1px solid rgba(16, 24, 32, .92);
  padding-block: 32px;
}

.footer-row {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--ht-muted);
}

.contact-span-4 {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  color: var(--ht-ink);
  letter-spacing: -.012em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-icon {
  display: block;
}

.nav-label.is-active {
  color: var(--ht-ink);
  border-bottom-color: var(--ht-ink);
}

.nav-label:hover,
.nav-label-2:hover {
  color: var(--ht-ink);
  border-bottom-color: rgba(16, 24, 32, .3);
}


.intro-btn:hover {
  background: #E9C200;
  border-color: #E9C200;
  color: var(--ht-ink);
}

.why-box-2:hover,

.why-box-5:hover {
  background: rgba(255, 255, 255, .66);
}

.client-link:focus-visible {
  background: rgba(255, 255, 255, .05);
}

.client-link:focus-visible .client-img {
  opacity: 1;
  transform: translateY(-6px) scale(1.07);
}

.client-link:focus-visible .client-name {
  opacity: 1;
  transform: none;
}

/* The marquee's hover affordances are gated on an actual pointer.
   iOS Safari applies :hover on tap and LEAVES IT APPLIED until you tap
   somewhere else, so ungated these stick after a touch — and a stuck
   `animation-play-state: paused` reads as a client carousel that tapped once
   and then never scrolled again. The :focus-visible copies above stay outside
   the query so keyboard users keep the affordance on every device. */
@media (hover: hover) {
  .client-link:hover {
    background: rgba(255, 255, 255, .05);
  }

  .why-row-2:hover {
    animation-play-state: paused;
  }

  .client-link:hover .client-img {
    opacity: 1;
    transform: translateY(-6px) scale(1.07);
  }

  .client-link:hover .client-name {
    opacity: 1;
    transform: none;
  }
}

.verticals-grid:hover,

.verticals-grid-2:hover {
  background: var(--ht-surface);
}

.apple-link:hover {
  color: var(--ht-blue);
}

.apple-item:hover,

.apple-item-2:hover {
  background: rgba(255, 255, 255, .05);
}

.team-img:hover,
.team-img-2:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(16, 24, 32, .14);
}

.contact-btn:hover {
  background: var(--ht-muted);
  color: var(--ht-surface);
}

