/* ETH juniors — site styles, translated from the "jWebsite v2" Claude Design project. */

/* Px Grotesk Pan, the ETH juniors brand font, self-hosted. */
@font-face { font-family: 'Px Grotesk Pan'; src: url('../fonts/Px-Grotesk-Pan-Light.otf') format('opentype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Px Grotesk Pan'; src: url('../fonts/Px-Grotesk-Pan-Regular.otf') format('opentype'); font-weight: 400 500; font-display: swap; }
@font-face { font-family: 'Px Grotesk Pan'; src: url('../fonts/Px-Grotesk-Pan-Bold.otf') format('opentype'); font-weight: 600 700; font-display: swap; }

:root {
  --navy: #00184F;
  --indigo: #6600FF;
  --aqua: #1AFFC6;            /* aquamarine: labels and links on dark backgrounds */
  --slate: #5A6180;
  --muted: #8A90AC;
  --faint: #A2A8C0;
  --line: #E4E6EF;
  --line-strong: #C9CCDA;
  --soft: #F5F6FA;
  --soft-blue: #F2F5FC;
  --tint: #F4F1FF;
  --white: #ffffff;
  --danger: #D92D4B;

  --font: 'Px Grotesk Pan', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: var(--font);       /* headlines use the brand font too */
  --max: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(56px, 7vw, 104px);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--navy); font-family: var(--font); text-wrap: pretty; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--indigo); text-decoration: none; transition: color .18s, background-color .18s, border-color .18s; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--indigo); color: #fff; padding: 10px 16px; border-radius: 3px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--tight-bottom { padding-bottom: clamp(32px, 4vw, 56px); }
.band-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-softblue { background: var(--soft-blue); border-bottom: 1px solid var(--line); }

/* ---------- Type ---------- */
.eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin: 0 0 20px; }
.on-dark .eyebrow, .eyebrow--aqua { color: var(--aqua); }
.label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 24px; }
.h-display { font-weight: 400; font-size: clamp(34px, 4.3vw, 58px); line-height: 1.06; letter-spacing: -.03em; }
.h-section { font-weight: 400; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -.02em; }
.h-sub { font-weight: 400; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.2; letter-spacing: -.02em; }
.h-card { font-weight: 400; font-size: 24px; letter-spacing: -.015em; }
.h-card-lg { font-weight: 400; font-size: 27px; letter-spacing: -.015em; }
.h-small { font-weight: 500; font-size: 19px; letter-spacing: -.01em; }
.lead { font-size: 17.5px; line-height: 1.68; color: var(--slate); max-width: 58ch; }
.body { font-size: 16.5px; line-height: 1.65; color: var(--slate); }
.body + .body { margin-top: 16px; }
.small { font-size: 15.5px; line-height: 1.6; color: var(--slate); }
.xsmall { font-size: 14.5px; line-height: 1.6; color: var(--slate); }
.on-dark { color: #fff; }
.on-dark .lead, .on-dark .body, .on-dark .small, .on-dark .xsmall { color: rgba(255,255,255,.76); }
.mw-56 { max-width: 56ch; } .mw-62 { max-width: 62ch; } .mw-74 { max-width: 74ch; }
.mt-s { margin-top: 20px; } .mt-m { margin-top: clamp(24px, 3vw, 34px); } .mt-l { margin-top: clamp(40px, 5vw, 64px); }
.mb-s { margin-bottom: 20px; } .mb-m { margin-bottom: 44px; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 3px; font: 500 16px/1.2 var(--font); padding: 15px 30px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .18s, color .18s, border-color .18s, transform .18s; }
.btn--sm { border-radius: 3px; padding: 13px 26px; }
.btn--primary { background: var(--indigo); color: #fff; }
.btn--primary:hover { background: var(--navy); color: #fff; }
.on-dark .btn--primary:hover, .btn--primary.btn--invert-hover:hover { background: #fff; color: var(--navy); }
.btn--outline { background: transparent; border-color: var(--line); color: var(--navy); }
.btn--outline:hover { border-color: var(--indigo); color: var(--indigo); }
.btn--outline-dark { border-color: var(--line-strong); color: var(--navy); }
.btn--outline-dark:hover { border-color: var(--navy); color: var(--navy); }
.btn--xl { font-size: 25px; font-weight: 600; padding: 17px 35px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.link-arrow { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; color: var(--indigo); }
.link-arrow span { font-size: 17px; line-height: 1; transition: transform .18s; }
.link-arrow:hover span { transform: translateX(3px); }
.on-dark .link-arrow { color: var(--aqua); }
.on-dark .link-arrow:hover { color: #fff; }
.text-link { color: var(--indigo); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.nav { max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter); display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav__logo { display: block; flex: none; }
.nav__logo img { display: block; height: 51px; width: 162px; }
.nav__menu { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); font-size: 18px; font-weight: 500; white-space: nowrap; }
.nav__item { position: relative; padding-bottom: 4px; }
.nav__link { color: var(--slate); display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; font: inherit; padding: 0; cursor: pointer; }
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--indigo); }
.nav__link[aria-current="page"] { color: var(--navy); }
.nav__caret { display: block; width: 10px; height: 6px; margin-top: 2px; color: var(--muted); transition: transform .18s; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }
.dropdown { position: absolute; top: 100%; left: -20px; margin-top: 16px; background: #fff; border: 1px solid var(--line); padding: 22px 10px; display: flex; flex-direction: column; min-width: 240px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .16s, transform .16s, visibility 0s .16s; }
.dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.dropdown--wide { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(200px, 1fr); gap: 8px 28px; }
.dropdown__col { display: flex; flex-direction: column; }
.nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity .16s, transform .16s; }
.dropdown__title { padding: 4px 20px 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.dropdown a { display: block; padding: 9px 20px; font-size: 14.5px; color: var(--navy); white-space: nowrap; }
.dropdown a:hover { background: var(--soft); color: var(--indigo); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); }
.lang { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.lang__current { color: var(--navy); }
.lang__sep { color: #C8CCDB; }
.lang a { color: var(--faint); }
.lang a:hover { color: var(--indigo); }
.nav__cta { border-radius: 3px; padding: 13px 26px; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 3px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: transform .2s, background-color .2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ''; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
.nav-open .nav__toggle span { background: transparent; }
.nav-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  :root { --header-h: 76px; }
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .nav__logo img { height: 44px; width: 140px; }
  .nav__toggle { display: inline-flex; }
  .nav__menu, .nav__right { display: none; }
  .nav-open .site-header { background: #fff; }
  .nav-open .nav { flex-wrap: wrap; }
  .nav-open .nav__menu { display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 0; white-space: normal; max-height: calc(100vh - 160px); overflow-y: auto; }
  .nav-open .nav__right { display: flex; width: 100%; margin: 8px 0 6px; justify-content: space-between; }
  .nav__item { padding: 0; border-top: 1px solid var(--line); }
  .nav__menu > .nav__link { border-top: 1px solid var(--line); padding: 16px 0; }
  .nav__item > .nav__link { width: 100%; justify-content: space-between; padding: 16px 0; }
  .dropdown, .dropdown--wide { position: static; display: none; margin: 0 0 12px; padding: 0; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; min-width: 0; }
  .dropdown::before { display: none; }
  .nav__item.is-open .dropdown { display: flex; }
  .nav__item.is-open .dropdown--wide { display: grid; grid-template-columns: 1fr; }
  .dropdown a { white-space: normal; padding: 9px 12px; }
  .dropdown__title { padding: 8px 12px; }
}

/* ---------- Heroes ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.bg-photo { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-repeat: no-repeat; background-position: center; background-size: cover; filter: saturate(.85); opacity: 1 !important; }
/* Parallax: large photos reach 60px beyond their section (cropped by overflow: hidden), so they can
   drift ±45px while scrolling (main.js) without showing an edge. Sections with their own inset keep it. */
.bg-photo, .home-hero__img { top: -60px; bottom: -60px; will-change: transform; }
.hero--team .bg-photo { top: 0; bottom: 0; will-change: auto; }
.scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.scrim--down, .scrim--home { background: linear-gradient(90deg, rgba(5,14,38,.9) 0%, rgba(5,14,38,.78) 38%, rgba(5,14,38,.4) 72%, rgba(5,14,38,.18) 100%); }
.scrim--down-light { background: rgba(5,14,38,.84); }
.scrim--indigo-wash { display: none; }
.services-hero .scrim--down { background: linear-gradient(90deg, rgba(5,14,38,.9) 0%, rgba(5,14,38,.8) 50%, rgba(5,14,38,.72) 100%); }
.hero__inner { position: relative; z-index: 2; }

/* Hero + client banner fill exactly one screen, so the banner sits flush at the bottom edge
   (svh = the visible height on phones with the address bar shown). */
.home-hero-wrap { display: flex; flex-direction: column; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); }
.home-hero { flex: 1; min-height: 360px; display: flex; align-items: center; }
.home-hero__img { position: absolute; inset: -60px 0; z-index: 0; }
.home-hero__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; filter: saturate(.85); }
.home-hero .hero__inner { width: 100%; padding-top: clamp(32px, min(7vw, 9svh), 112px); padding-bottom: clamp(32px, min(7vw, 9svh), 112px); z-index: 3; }
.home-hero h1 { font-weight: 500; font-size: clamp(40px, 5.4vw, 78px); line-height: 1.04; letter-spacing: -.035em; color: #fff; }
.typed { display: block; font-size: .42em; font-weight: 500; letter-spacing: .02em; margin-bottom: .22em; min-height: 1.1em; color: var(--aqua); }
.caret { display: inline-block; width: .06em; height: .9em; margin-left: .08em; vertical-align: -.08em; background: var(--aqua); animation: caret .9s steps(1) infinite; }
.caret { display: none; }
.hero-anim .caret { display: inline-block; }
.hero-anim .caret.is-done { display: none; }
.words { display: block; min-height: 3.12em; }
.words span { display: block; }
.hero-anim .words span { opacity: 0; }
.hero-anim .words span.is-in { animation: word 1.1s ease-out both; }
@keyframes caret { 0%, 49% { opacity: 1 } 50%, 100% { opacity: 0 } }
@keyframes word { from { opacity: 0; transform: translateY(.18em) } to { opacity: 1; transform: none } }

.page-hero .hero__inner { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); }
.page-hero .bg-photo { inset: -80px 0; opacity: .42; }
.page-hero__title { margin: 0 0 14px; color: #fff; }
.page-hero__intro { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.72); margin: 0 0 44px; max-width: 56ch; }

.services-hero .hero__inner { padding-top: clamp(60px, 8vw, 116px); padding-bottom: clamp(60px, 8vw, 116px); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.services-hero h1 { max-width: 22ch; color: #fff; }
.services-hero .lead { font-size: 18px; margin-top: 28px; max-width: 62ch; color: rgba(255,255,255,.74); }
.jump-nav { display: flex; flex-direction: column; align-self: end; margin-bottom: -18px; }
.jump-nav a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 21px; color: #fff; }
.jump-nav a span { font-size: 17px; color: var(--aqua); transition: transform .18s; }
.jump-nav a:hover { color: var(--aqua); }
.jump-nav a:hover span { transform: translateX(4px); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 40px clamp(28px, 3.4vw, 48px); }
.grid--170 { grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
.grid--200 { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.grid--220 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px clamp(20px, 2.4vw, 32px); }
.grid--240 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: clamp(28px, 3.4vw, 44px); }
.grid--280 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 36px clamp(24px, 3vw, 44px); }
.grid--split { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); align-items: start; gap: clamp(28px, 4vw, 56px); }
.feature { display: flex; flex-direction: column; gap: 14px; height: 100%; color: inherit; }
a.feature:hover { color: inherit; }
a.feature:hover .h-card { color: var(--indigo); }
.on-dark a.feature:hover .h-card { color: #fff; }
.feature__more { margin-top: auto; padding-top: 22px; }
.feature__more-text { margin-top: auto; padding-top: 22px; font-size: 15px; font-weight: 500; color: var(--aqua); }
.step { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.step__num { font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--muted); }
.on-dark .step__num { color: var(--aqua); }
.step h3, .step h4 { font-weight: 500; font-size: 19px; line-height: 1.25; letter-spacing: -.01em; }
.photo { width: 100%; aspect-ratio: 16 / 11; border-radius: 3px; overflow: hidden; display: block; object-fit: cover; }

/* ---------- Home ---------- */
.clients { background: #fff; border-bottom: 1px solid var(--line); padding: 20px 0 35px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.clients__label, .partners__label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.marquee { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { display: block; height: 26px; width: auto; max-width: 210px; object-fit: contain; margin-right: 46px; flex: none; }
@keyframes marquee { from { transform: translate3d(0,0,0) } to { transform: translate3d(-50%,0,0) } }

.engage .bg-photo { opacity: .45; }
.engage .hero__inner { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.engage p { font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.78); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 0 0 44px; }
.spotlight { display: flex; flex-direction: column; gap: 16px; }
.spotlight__logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 112px; border-radius: 3px; background: #fff; padding: 22px 28px; }
.spotlight__logo img { display: block; width: auto; height: 34px; max-width: 72%; object-fit: contain; }
.spotlight__tag { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.spotlight h3 { font-weight: 500; font-size: 21px; line-height: 1.3; letter-spacing: -.015em; }

.stats { background: var(--navy); color: #fff; }
.stats .container { padding-top: clamp(44px, 5vw, 76px); padding-bottom: clamp(44px, 5vw, 76px); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px 44px; }
.stat__value { font-weight: 400; font-size: clamp(36px, 3.8vw, 56px); line-height: 1.05; letter-spacing: -.03em; font-feature-settings: 'tnum' 1; }
.stat__label { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.78); margin-top: 18px; }

.quote { border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr); align-items: stretch; gap: clamp(32px, 4vw, 56px); }
.quote figure { margin: 0; align-self: center; padding: 32px 0; }
.quote blockquote { font-weight: 400; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.35; letter-spacing: -.02em; margin: 0; color: var(--slate); }
.quote figcaption { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin-top: 28px; }
.quote__img { position: relative; width: 100%; aspect-ratio: 16 / 9; align-self: start; }
.quote__img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }

.partners { border-top: 1px solid var(--line); background: var(--soft); }
.partners .container { padding-top: 32px; padding-bottom: 32px; display: flex; align-items: center; gap: 24px 40px; flex-wrap: wrap; justify-content: center; }
.partners__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; justify-content: center; }
.partners__logos a { display: block; opacity: .9; }
.partners__logos a:hover { opacity: 1; }
.partners__logos img { display: block; width: 126px; height: 46px; object-fit: contain; filter: brightness(0); }
.partners__logos img.is-wide { width: 152px; height: 59px; }
.partners__logos img.is-bold { width: 100px; }  /* very bold wordmark: a little smaller so it weighs like the others */

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; color: #fff; }
.cta .bg-photo { inset: -90px -2px; background-position: center 40%; opacity: .4; }
.cta .scrim { background: rgba(5,14,38,.86); }
.cta .hero__inner { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { font-weight: 400; font-size: clamp(34px, 5vw, 68px); line-height: 1.05; letter-spacing: -.03em; color: #fff; }
.cta .btn--primary:hover { background: var(--navy); color: #fff; }

/* ---------- What we do ---------- */
.capability { scroll-margin-top: 120px; display: grid; grid-template-columns: minmax(240px, .85fr) minmax(0, 2fr); gap: clamp(24px, 3.5vw, 56px); padding: clamp(36px, 4vw, 52px) 0; }
.capability h3 { font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.02em; }
.capability__intro { font-size: 15.5px; line-height: 1.65; color: var(--slate); margin-top: 18px; }
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px clamp(20px, 3vw, 40px); }
.case { display: flex; flex-direction: column; gap: 16px; }
.case img { display: block; height: 26px; width: auto; max-width: 210px; object-fit: contain; object-position: left center; }
.case img.mono { filter: brightness(0); }
.case__name { display: flex; align-items: center; height: 26px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: var(--navy); }
.leasing .bg-photo { opacity: .45; }
.leasing .scrim { background: rgba(5,14,38,.86); }
.leasing .hero__inner { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.split-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: clamp(28px, 4vw, 64px); align-items: end; margin-bottom: 20px; }
.event-figure { margin: 0; position: relative; min-height: 260px; }
.event-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
a.card-link { display: flex; flex-direction: column; gap: 14px; height: 100%; color: var(--navy); }
a.card-link:hover { color: var(--indigo); }

/* ---------- Who we are ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: clamp(20px, 2.4vw, 30px); }
.people--bod { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.person { display: flex; flex-direction: column; border-radius: 3px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: border-color .18s; }
.person:hover { border-color: var(--indigo); }
.person img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1); background: var(--soft); transition: filter .35s ease; }
.person:hover img, .person:focus-within img { filter: none; }
.people--bod .person img { aspect-ratio: 1 / 1; object-position: center 20%; }
.person__body { padding: 18px 20px 22px; }
.person h4 { font-weight: 600; font-size: 17px; letter-spacing: -.01em; margin: 0 0 6px; color: var(--navy); }
.person p { font-size: 14.5px; line-height: 1.5; color: var(--slate); }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); align-items: center; gap: 36px clamp(24px, 3vw, 44px); }
.logo-wall div { display: flex; align-items: center; justify-content: center; height: 42px; }
.logo-wall img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(24px, 3vw, 36px); }
.milestone { display: flex; flex-direction: column; gap: 14px; }
.milestone__rule { display: flex; align-items: center; gap: 10px; }
.milestone__rule::before { content: ''; flex: none; width: 11px; height: 11px; border-radius: 999px; background: var(--navy); }
.milestone__rule::after { content: ''; flex: 1; height: 1px; background: #D8DAE6; }
.milestone__year { font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: -.03em; color: var(--navy); }
.milestone p { font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* ---------- Careers ---------- */
.signup-note { padding: 22px 26px; border-left: 3px solid var(--navy); background: var(--soft); max-width: 74ch; }
.signup-note .h-small { margin-bottom: 8px; }
.mainboard-closed { margin-top: 22px; padding: 16px 20px; border-left: 3px solid var(--navy); background: var(--soft); font-size: 15.5px; line-height: 1.6; color: var(--slate); max-width: 62ch; }
.richtext p + p { margin-top: 16px; }
.richtext strong { color: var(--navy); font-weight: 600; }
.benefits h4 { font-weight: 500; font-size: 19px; letter-spacing: -.01em; padding-top: 16px; border-top: 2px solid var(--navy); }
.figures { display: flex; flex-wrap: wrap; gap: 28px 44px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figure__value { font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: -.03em; color: var(--navy); }
.figure__label { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
@media (min-width: 900px) { .alt-left > :first-child { order: 0; } }

/* ---------- Jobs (Zoho Recruit) ---------- */
.jobs-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.field-inline { flex: 1 1 260px; position: relative; }
.input, .select, .textarea { width: 100%; font: 400 16px/1.4 var(--font); color: var(--navy); background: #fff; border: 1px solid var(--line-strong); border-radius: 3px; padding: 13px 16px; transition: border-color .18s, box-shadow .18s; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(102,0,255,.14); }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235A6180' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.textarea { min-height: 140px; resize: vertical; }
.jobs-meta { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.job-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.job { border-bottom: 1px solid var(--line); }
.job a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 22px 4px; color: var(--navy); }
.job a:hover { background: var(--soft); color: var(--indigo); }
.job__title { font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.job__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--slate); grid-column: 1; }
.job__go { grid-row: 1 / span 2; grid-column: 2; font-size: 15px; font-weight: 500; color: var(--indigo); white-space: nowrap; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); }
.jobs-empty, .jobs-error { padding: 32px 0; color: var(--slate); }
.zoho-embed { min-height: 400px; }
.zoho-embed iframe { width: 100%; border: 0; min-height: 900px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
/* Fields in one row share a baseline: when a label wraps onto two lines, the inputs still line up */
.form-grid > .field { display: flex; flex-direction: column; justify-content: flex-end; }
.field label, .field .field__label { display: block; font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.field .req { color: var(--indigo); }
.field small { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--slate); }
.check input { margin-top: 3px; accent-color: var(--indigo); width: 16px; height: 16px; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; border: 1px solid var(--line-strong); border-radius: 3px; padding: 9px 16px; font-size: 14.5px; color: var(--navy); cursor: pointer; transition: all .15s; }
.chip input:checked + span { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--indigo); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; font-size: 15px; line-height: 1.5; border-radius: 3px; padding: 14px 18px; display: none; }
.form-status.is-ok { display: block; background: #E8FFF8; color: #04543F; border: 1px solid #A7F3DD; }
.form-status.is-err { display: block; background: #FFF0F3; color: #8A1230; border: 1px solid #F7C5D1; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-card { background: var(--soft); border: 1px solid var(--line); border-radius: 3px; padding: 28px; }
.contact-card h3 { font-weight: 500; font-size: 19px; margin-bottom: 14px; }
.contact-card p, .contact-card a { font-size: 15.5px; line-height: 1.7; }
.contact-card + .contact-card { margin-top: 20px; }
.tabs { display: inline-flex; gap: 4px; background: var(--soft); border: 1px solid var(--line); border-radius: 3px; padding: 4px; margin-bottom: 28px; flex-wrap: wrap; }
.tabs button { font: 500 15px var(--font); color: var(--slate); background: none; border: 0; border-radius: 3px; padding: 10px 18px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--indigo); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 74ch; }
.prose h2 { font-weight: 400; font-size: 28px; letter-spacing: -.02em; margin: 44px 0 14px; }
.prose h3 { font-weight: 500; font-size: 19px; margin: 28px 0 10px; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; color: var(--slate); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,.14); color: #fff; }
.footer__grid { padding-top: 64px; padding-bottom: 30px; display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr 1fr; gap: 48px clamp(24px, 3vw, 48px); }
.footer__brand img { display: block; height: 98px; width: 222px; margin-bottom: 22px; }
.footer__brand p { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.68); margin: 0 0 34px; max-width: 32ch; }
.socials { display: flex; align-items: center; gap: 14px; }
.socials a { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.32); color: rgba(255,255,255,.82); }
.socials a:hover { border-color: #fff; color: #fff; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer__col { display: flex; flex-direction: column; gap: 18px; font-size: 15px; }
.footer__col h2 { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.footer__col a, .footer__col span { color: rgba(255,255,255,.72); }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.5); }
.footer__bottom a { color: rgba(255,255,255,.6); }
.footer__bottom a:hover { color: #fff; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Reveal on scroll ---------- */

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .services-hero .hero__inner, .split-head, .quote, .capability, .contact-layout { grid-template-columns: 1fr; }
  .jump-nav { margin-bottom: 0; }
  .quote figure { padding-bottom: 0; }
  .event-figure { min-height: 0; aspect-ratio: 16 / 11; }
}
@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .btn--xl { font-size: 20px; padding: 15px 26px; white-space: normal; text-align: center; }
  .job a { grid-template-columns: 1fr; }
  .job__go { grid-row: auto; grid-column: 1; }
  .cta .hero__inner { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .words span { opacity: 1; animation: none !important; }
  .caret { display: none; }
  .bg-photo { transform: none !important; }
}

.footer__col .footer__copy { font-size: 13px; color: rgba(255,255,255,.42); margin-top: 14px; }

/* ---------- Talent Pool sign-up dialog (wraps the Zoho Campaigns copy-code form) ---------- */
html.dialog-open { overflow: hidden; }
.signup-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); margin: auto; padding: 0; border: 0; border-radius: 3px; background: #fff; color: var(--navy); box-shadow: 0 30px 80px rgba(0,24,79,.35); overflow: auto; overscroll-behavior: contain; }
.signup-dialog::backdrop { background: rgba(0,24,79,.6); }
.signup-dialog[open] { animation: dialog-in .22s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.signup-dialog__close { position: sticky; top: 14px; float: right; margin: 14px 14px 0 0; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 24px; line-height: 1; cursor: pointer; }
.signup-dialog__close:hover { border-color: var(--indigo); color: var(--indigo); }
.signup-dialog__privacy { padding: 0 clamp(22px, 4vw, 40px) clamp(22px, 4vw, 34px); font-size: 13.5px; color: var(--muted); }

.zc-form { padding: clamp(26px, 4vw, 40px) clamp(22px, 4vw, 40px) 8px; font-size: 15px; }
.zc-form #SIGNUP_HEADING { font-weight: 400; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 10px; padding-right: 40px; }
.zc-form #SIGNUP_DESCRIPTION { font-size: 16px; line-height: 1.6; color: var(--slate); margin-bottom: 26px; }
.zc-form #imgBlock:empty { display: none; }
.zc-form #errorMsgDiv { background: #FFF0F3; color: #8A1230; border: 1px solid #F7C5D1; border-radius: 3px; padding: 12px 16px; margin-bottom: 18px; }
.zc-form .zcsffieldsdiv { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.zc-form .zcsffieldsdiv > div:nth-child(-n+3) { grid-column: auto; }
.zc-form .zcsffieldsdiv > div:has(.zc-check) { grid-column: 1 / -1; }
.zc-form .zcsffieldsdiv > div:first-child { grid-column: 1 / -1; }
.zc-form [name="SIGNUP_FORM_LABEL"] { font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.zc-form [name="SIGNUP_FORM_LABEL"] label { font-weight: 500; }
.zc-form [name="SIGNUP_REQUIRED"] { color: var(--indigo); }
.zc-form input[type="text"], .zc-form input[type="email"], .zc-form select { width: 100%; font: 400 16px/1.4 var(--font); color: var(--navy); background: #fff; border: 1px solid var(--line-strong); border-radius: 3px; padding: 12px 14px; transition: border-color .18s, box-shadow .18s; }
.zc-form select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235A6180' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.zc-form input:focus, .zc-form select:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(102,0,255,.14); }
.zc-form .mt20.ml20 { display: flex; flex-wrap: wrap; gap: 8px; max-height: 236px; overflow-y: auto; padding: 4px 2px; }
.zc-check { position: relative; display: inline-flex; cursor: pointer; }
.zc-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.zc-check span { display: inline-block; border: 1px solid var(--line-strong); border-radius: 3px; padding: 7px 14px; font-size: 14px; color: var(--navy); transition: background-color .15s, border-color .15s, color .15s; }
.zc-check:hover span { border-color: var(--indigo); }
.zc-check input:checked + span { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.zc-check input:focus-visible + span { outline: 2px solid var(--indigo); outline-offset: 2px; }
.zc-form #captchaOld { margin-top: 22px; }
.zc-form #captchaParent { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.zc-form #captchaDiv { min-height: 40px; }
.zc-form #captchaDiv img { display: block; border-radius: 6px; }
.zc-form #relCaptcha { width: 22px; height: 22px; cursor: pointer; order: 2; }
.zc-form #captchaText { width: 200px; }
.zc-form #capRequired { color: var(--indigo); }
.zc-form #REQUIRED_FIELD_TEXT { font-size: 13px; color: var(--muted); margin: 18px 0 14px; }
.zc-form #zcWebOptin { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 3px; background: var(--indigo); color: #fff; font: 500 16px/1.2 var(--font); padding: 15px 30px; cursor: pointer; transition: background-color .18s; }
.zc-form #zcWebOptin:hover { background: var(--navy); }
.zc-form #privacyNotes { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin-top: 18px; }
.zc-form #Zc_SignupSuccess { background: #E8FFF8; border: 1px solid #A7F3DD; color: #04543F; border-radius: 3px; padding: 14px 18px; margin-bottom: 18px; }
.zc-form #Zc_SignupSuccess img { width: 22px; height: 22px; }
.zc-form #zcOptinOverLay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 100; }
.zc-form #zcOptinSuccessPopup { position: fixed; z-index: 101; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(560px, calc(100vw - 32px)); background: #fff; border-radius: 3px; box-shadow: 0 20px 60px rgba(0,24,79,.3); padding: 32px; }
.zc-form #closeSuccess { position: absolute; top: 10px; right: 10px; cursor: pointer; }
.zc-form #closeSuccess img { width: 24px; height: 24px; }
@media (max-width: 600px) { .zc-form .zcsffieldsdiv { grid-template-columns: 1fr; } }

/* =====================================================================
   Features from the previous site (header with mega menus, Capabilities,
   Industries, Client impact, case studies, forms) in the v2 design
   ===================================================================== */

/* ---------- Header: one "What we do" mega menu, language switch ---------- */
.nav { position: relative; }
.nav { position: relative; }
.nav__link[aria-current="page"] { color: var(--navy); }
.nav__link[aria-current="page"]::after { content: ''; display: block; height: 2px; background: var(--indigo); border-radius: 2px; position: absolute; left: 0; right: 0; bottom: -34px; }
.nav__menu > .nav__link, .nav__item > .nav__link { position: relative; }
.lang__current { color: var(--navy); }
.lang--dark .lang__current { color: #fff; }
.lang--dark a { color: rgba(255,255,255,.55); }
.lang--dark a:hover { color: #fff; }
.lang--dark .lang__sep { color: rgba(255,255,255,.3); }
@media (max-width: 1180px) and (min-width: 1081px) { .nav__menu { font-size: 17px; gap: 22px; } .nav { gap: 28px; } }
@media (max-width: 1080px) {
  .nav__link[aria-current="page"]::after { display: none; }
}

/* ---------- Page hero extras ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; font-weight: 500; letter-spacing: .02em; margin-bottom: 22px; color: rgba(255,255,255,.6); }
.crumbs a { color: var(--aqua); }
.crumbs a:hover { color: #fff; }
.page-hero--plain .hero__inner { padding-bottom: clamp(44px, 5vw, 72px); }
.cta__note { margin-top: 16px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.82); }
.cta__note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; }

/* ---------- In-page navigation ---------- */
.toc { position: sticky; top: var(--header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.toc__inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 12px; padding-bottom: 12px; }
.toc__inner::-webkit-scrollbar { display: none; }
.toc a { flex: none; font-size: 14.5px; font-weight: 500; color: var(--slate); padding: 8px 14px; border-radius: 3px; white-space: nowrap; }
.toc a:hover { color: var(--indigo); background: var(--soft); }
.toc a.is-active { color: #fff; background: var(--indigo); }
.toc ~ * [id], .details .detail { scroll-margin-top: calc(var(--header-h) + 76px); }

/* ---------- Detail sections (capabilities, industries) ---------- */
.details { padding-top: clamp(20px, 3vw, 40px); padding-bottom: clamp(40px, 5vw, 72px); }
.detail { display: grid; grid-template-columns: minmax(240px, .85fr) minmax(0, 2fr); gap: clamp(24px, 3.5vw, 56px); padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.detail:last-child { border-bottom: 0; }
.detail__side { align-self: start; position: sticky; top: calc(var(--header-h) + 90px); }
.detail__num { display: block; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.detail__title { font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.02em; }
.detail__main { display: flex; flex-direction: column; gap: 22px; }
.detail__main .lead { max-width: 64ch; color: var(--navy); font-size: 19px; line-height: 1.55; }
.detail__main .body { max-width: 68ch; }
.offer { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; margin-top: 6px; }
.offer > div { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.offer strong { font-size: 16.5px; font-weight: 500; color: var(--navy); }
.offer strong a { color: var(--navy); }
.offer strong a:hover { color: var(--indigo); }
.offer span { font-size: 14.5px; line-height: 1.55; color: var(--slate); }
.mini-case { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 3px; color: var(--navy); background: #fff; transition: border-color .18s, background-color .18s; }
.mini-case > span:first-child { display: flex; flex-direction: column; gap: 6px; }
.mini-case:hover { border-color: var(--indigo); background: var(--soft); color: var(--navy); }
.mini-case__title { font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.mini-case__arrow { flex: none; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: var(--indigo); font-size: 20px; transition: transform .18s; }
.mini-case:hover .mini-case__arrow { transform: translateX(3px); }
.acc details { border-top: 1px solid var(--line); }
.acc details:last-child { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 19px; font-weight: 500; color: var(--navy); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 24px; font-weight: 300; color: var(--indigo); transition: transform .2s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details p { padding: 0 0 22px; max-width: 60ch; }
.quote--plain { display: block; border-top: 1px solid var(--line); }
.quote--plain figure { max-width: 900px; padding-top: 40px; }

/* ---------- Case studies ---------- */
.case-card { display: flex; flex-direction: column; gap: 14px; color: var(--navy); }
.case-card .spotlight__logo { border: 1px solid var(--line); transition: border-color .18s; }
.case-card:hover { color: var(--navy); }
.case-card:hover .spotlight__logo { border-color: var(--indigo); }
.case-card:hover .case-card__title { color: var(--indigo); }
.case-card__title { font-weight: 500; font-size: 21px; line-height: 1.3; letter-spacing: -.015em; transition: color .18s; }
.case-card__more { margin-top: auto; padding-top: 4px; }
.case-card[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 20px; margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.filters .field { flex: 0 1 280px; }
.filter-count { margin-left: auto; font-size: 14.5px; color: var(--muted); padding-bottom: 14px; }
.cases-empty { padding: 28px 0; color: var(--slate); }
.testimonial { margin: 0; padding-top: 26px; border-top: 1px solid var(--navy); }
.testimonial blockquote { margin: 0; font-weight: 400; font-size: 21px; line-height: 1.4; letter-spacing: -.015em; color: var(--navy); }
.testimonial figcaption { margin-top: 20px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.testimonial figcaption b { display: block; color: var(--navy); font-weight: 600; }
.case-meta { display: flex; flex-wrap: wrap; gap: 20px 48px; margin: 18px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); }
.case-meta dt { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.case-meta dd { margin: 0; font-size: 16.5px; color: #fff; }
.case-meta a { color: var(--aqua); }
.case-meta a:hover { color: #fff; }
.case-body { display: grid; grid-template-columns: minmax(200px, .6fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.case-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 22px; }
.case-aside .spotlight__logo { border: 1px solid var(--line); }
.case-aside nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.case-aside nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--slate); }
.case-aside nav a:hover { color: var(--indigo); }
.case-main { display: flex; flex-direction: column; gap: clamp(36px, 4vw, 52px); max-width: 72ch; }
.case-summary { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.5; color: var(--navy); font-weight: 400; max-width: none; }
.case-sec { scroll-margin-top: calc(var(--header-h) + 24px); }
.case-sec .eyebrow { margin-bottom: 14px; }
.case-sec .body + .body { margin-top: 14px; }
.impact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.impact-list li { position: relative; padding: 14px 0 14px 30px; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.5; color: var(--navy); }
.impact-list li::before { content: ''; position: absolute; left: 0; top: 22px; width: 11px; height: 11px; border-radius: 50%; background: var(--navy); }
.case-quote figure { margin: 0; max-width: 980px; }
.case-quote blockquote { margin: 0; font-weight: 400; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.35; letter-spacing: -.02em; color: var(--navy); }
.case-quote figcaption { display: flex; align-items: center; gap: 16px; margin-top: 30px; font-size: 15px; color: var(--muted); }
.case-quote figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.case-quote figcaption b { display: block; color: var(--navy); font-weight: 600; }

/* ---------- Forms ---------- */
.field label .opt { font-weight: 400; color: var(--muted); }
.form-status[hidden], .form-success[hidden] { display: none; }
.form-status { display: block; background: #FFF0F3; color: #8A1230; border: 1px solid #F7C5D1; border-radius: 3px; padding: 14px 18px; font-size: 15px; line-height: 1.5; }
.form-status a { color: inherit; text-decoration: underline; }
.form-success { border: 1px solid #A7F3DD; background: #E8FFF8; border-radius: 3px; padding: 32px; }
.form-group { border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
.form-group legend { padding: 0; margin-bottom: 18px; font-size: 22px; font-weight: 400; letter-spacing: -.015em; color: var(--navy); }
.contact-card--dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.contact-list { margin: 0 0 22px; display: flex; flex-direction: column; gap: 18px; }
.contact-list dt { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 4px; }
.contact-list dd { margin: 0; font-size: 15.5px; line-height: 1.6; color: #fff; }
.contact-list a { color: #fff; }
.contact-list a:hover { color: var(--aqua); }
.contact-card--dark .link-arrow { color: var(--aqua); }
.prose h2:first-child { margin-top: 0; }

@media (max-width: 860px) {
  .detail, .case-body { grid-template-columns: 1fr; }
  .detail__side, .case-aside { position: static; }
  .case-aside nav { display: none; }
  .case-aside .spotlight__logo { max-width: 320px; }
  .filter-count { margin-left: 0; width: 100%; padding-bottom: 0; }
}


/* ---------- Typography: serif headlines, sans text ---------- */
.h-display, .h-section, .h-sub, .home-hero h1 .words, .cta h2, .capability h3, .detail__title,
.stat__value, .figure__value, .milestone__year, .form-group legend, .prose h2, .zc-form #SIGNUP_HEADING {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; font-optical-sizing: auto;
}
.h-display, .home-hero h1 .words, .cta h2 { font-weight: 300; letter-spacing: -.018em; }
.home-hero h1 { font-weight: 400; }
.quote blockquote, .testimonial blockquote, .case-quote blockquote, .case-summary {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.005em;
}
body { line-height: 1.65; }
.h-card, .h-card-lg, .h-small, .mini-case__title, .case-card__title, .spotlight h3 { font-family: var(--font); letter-spacing: -.01em; }

/* ---------- What we do: expertise graphic (after the ETH juniors expertise slide) ---------- */
/* Graphic on the left, the selected area's detail on the right. The graphic is sized by the screen
   height and the detail is kept compact, so the whole block is visible at once on any screen. */
#expertise { --exp-h: calc(100svh - var(--header-h) - 48px); }
.exp { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; margin-top: clamp(24px, 3vw, 40px); scroll-margin-top: calc(var(--header-h) + 24px); }
.exp-stage { width: min(500px, 42vw, calc(var(--exp-h) * .93)); min-width: 280px; padding-bottom: 6%; }
.exp-hex { position: relative; width: 100%; aspect-ratio: 1; }
.exp-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.exp-mesh { stroke: var(--line); stroke-width: 1.5; }
.exp-inner { stroke: var(--indigo); stroke-width: 3; stroke-linecap: round; opacity: .9; }
.exp-edge { fill: none; stroke: var(--indigo); stroke-width: 3; stroke-dasharray: 64 18; stroke-linecap: round; }
.exp-node { position: absolute; width: 16%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--indigo); box-shadow: inset 0 0 0 1px var(--line-strong); cursor: pointer; transition: background-color .18s, color .18s, transform .18s; }
.exp-node svg { width: 52%; height: 52%; }
.exp-node:hover { transform: translate(-50%, -50%) scale(1.06); }
.exp-node.is-active { background: var(--indigo); color: #fff; }
.exp-label { position: absolute; transform: translateX(-50%); margin-top: 9%; padding: 3px 9px; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .92); font: inherit; font-size: clamp(12px, 1.15vw, 14.5px); font-weight: 500; line-height: 1.3; white-space: nowrap; color: var(--navy); cursor: pointer; transition: color .18s, background-color .18s; }
.exp-label:hover { color: var(--indigo); }
.exp-label.is-active { color: #fff; background: var(--indigo); }
.exp-panels { display: grid; max-width: 620px; }
.exp-panels > .exp-panel { grid-area: 1 / 1; }
.exp-panels > .exp-panel[hidden] { display: block !important; visibility: hidden; }
.exp-panel__title { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.5vw, 34px); line-height: 1.15; color: var(--indigo); margin: 4px 0 10px; }
.exp-panel__head .body { margin: 0; font-size: 15px; line-height: 1.6; }
.exp-panel__body { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.exp-offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.exp-offers li { position: relative; padding: 8px 0 8px 22px; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 500; line-height: 1.35; color: var(--navy); }
.exp-offers li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 9px; height: 5px; border-left: 2px solid var(--indigo); border-bottom: 2px solid var(--indigo); transform: rotate(-45deg); }
.exp-panel .mini-case { padding: 12px 18px; }
.exp-panel .mini-case__title { font-size: 15.5px; }
.exp-ref { display: flex; flex-direction: column; gap: 4px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 3px; background: #fff; }
.exp-ref__text { font-size: 14px; line-height: 1.5; color: var(--navy); }
@media (max-width: 860px) {
  .exp { grid-template-columns: 1fr; gap: 28px; }
  .exp-stage { width: min(400px, 82%, calc(var(--exp-h) * .55)); min-width: 0; justify-self: center; }
  .exp-label { font-size: 12px; padding: 2px 7px; }
}
@media (max-width: 420px) { .exp-offers { grid-template-columns: 1fr; gap: 0; } }

/* ---------- What we do: ways of working (tabs) ---------- */
.wtabs { margin-top: clamp(28px, 3.5vw, 44px); }
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line-strong); }
.tabs__list [role="tab"] { padding: 14px 18px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: none; font: inherit; font-size: 16px; font-weight: 500; color: var(--slate); cursor: pointer; }
.tabs__list [role="tab"]:hover { color: var(--navy); }
.tabs__list [role="tab"][aria-selected="true"] { color: var(--navy); border-bottom-color: var(--indigo); }
.tab-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); padding-top: clamp(32px, 4vw, 52px); }
.tab-panel + .tab-panel { border-top: 1px solid var(--line); margin-top: 32px; }
.tab-panel[hidden] + .tab-panel, .tab-panel + .tab-panel[hidden] { border-top: 0; margin-top: 0; }
.tab-panel__intro .body { margin: 18px 0 28px; }
.steps-list { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps-list li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 18px 0; border-top: 1px solid var(--line-strong); }
.steps-list li:last-child { border-bottom: 1px solid var(--line-strong); }
.steps-list li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; font-size: 13px; font-weight: 600; color: var(--indigo); padding-top: 3px; }
.steps-list--plain li::before { content: "—"; }
.steps-list strong { font-size: 17px; font-weight: 500; color: var(--navy); }
.steps-list span { font-size: 14.5px; line-height: 1.55; color: var(--slate); }
.facts { display: grid; gap: 16px; }
.facts > div { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 3px; background: #fff; }
.facts strong { font-size: 18px; font-weight: 500; color: var(--navy); }
.facts > div > span:last-child { font-size: 14.5px; line-height: 1.55; color: var(--slate); }
.facts__quote { margin: 4px 0 0; padding-left: 18px; border-left: 2px solid var(--indigo); font-family: var(--serif); font-size: 19px; line-height: 1.45; color: var(--navy); }
.facts__quote cite { display: block; margin-top: 8px; font-family: var(--font); font-style: normal; font-size: 13.5px; color: var(--slate); }
@media (max-width: 860px) { .tab-panel { grid-template-columns: 1fr; } .tabs__list { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; gap: 0; } .tabs__list [role="tab"] { margin-bottom: 0; } .tabs__list [role="tab"] { white-space: nowrap; padding: 12px 14px; font-size: 15px; } }

/* ---------- What we do: industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-top: clamp(24px, 3vw, 40px); }
.ind-tile { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: 3px; color: var(--navy); background: #fff; transition: border-color .18s, transform .18s; }
.ind-tile:hover { border-color: var(--indigo); }
.ind-tile__name { font-size: 18px; font-weight: 500; line-height: 1.3; }
.ind-tile__text { flex: 1; font-size: 14.5px; line-height: 1.55; color: var(--slate); }
.ind-tile .link-arrow { font-size: 14px; }

/* What we do: keep the tabs and the industry tiles within one screen height as well. */
.tab-panel { padding-top: clamp(24px, 3vw, 40px); }
.tab-panel__intro .body { margin: 14px 0 22px; }
.steps-list li { padding: 12px 0; }
.steps-list strong { font-size: 16px; }
.steps-list span { font-size: 14px; line-height: 1.5; }
.facts { gap: 12px; }
.facts > div { padding: 14px 18px; gap: 4px; }
.facts__quote { font-size: 17px; }
.ind-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ind-tile { padding: 18px 18px 16px; gap: 8px; }
.ind-tile__name { font-size: 16.5px; }
.ind-tile__text { font-size: 13.5px; line-height: 1.5; }
@media (max-width: 900px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ind-grid { grid-template-columns: 1fr; gap: 10px; } .ind-tile__text { display: none; } }
@media (max-height: 640px) and (min-width: 861px) {
  .tab-panel__intro .body { font-size: 14.5px; line-height: 1.55; }
  .ind-tile__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* Careers: key facts as chips and the Talent Pool ways of working */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 20px; padding: 0; }
.chips { gap: 4px 0; }
.chips li { font-size: 14px; font-weight: 500; color: var(--navy); }
.chips li + li::before { content: "·"; margin: 0 10px; color: var(--muted); font-weight: 400; }
.modes { display: grid; gap: 0; margin: 0 0 22px; }
.modes > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.modes > div:last-child { border-bottom: 1px solid var(--line); }
.modes dt { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.modes dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--slate); }
.tab-panel .mainboard-closed { margin-top: 16px; }
@media (max-width: 520px) { .modes > div { grid-template-columns: 1fr; gap: 2px; } }
.tab-panel { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .tab-panel { grid-template-columns: 1fr; } }
/* Low screens (laptops): tighter tabs so a whole tab stays visible at once */
@media (max-height: 820px) and (min-width: 861px) {
  .tab-panel { padding-top: 20px; gap: clamp(28px, 4vw, 56px); }
  .tab-panel .h-sub { font-size: 24px; }
  .tab-panel__intro .body { font-size: 14.5px; line-height: 1.55; margin: 10px 0 14px; }
  .chips { margin-bottom: 14px; gap: 6px; }
  .chips li { font-size: 13px; }
  .modes { margin-bottom: 16px; }
  .modes > div { padding: 6px 0; }
  .modes dt { font-size: 14px; }
  .modes dd { font-size: 13.5px; line-height: 1.45; }
  .tab-panel .mainboard-closed { margin-top: 12px; padding: 10px 14px; font-size: 14px; line-height: 1.5; }
  .steps-list li { padding: 9px 0; }
  .steps-list strong { font-size: 15px; }
  .steps-list span { font-size: 13.5px; line-height: 1.45; }
  .tab-panel .btn { padding-top: 11px; padding-bottom: 11px; }
}

/* Tabs: one consistent rhythm inside every tab — heading, text, facts, ways of working, buttons */
.tab-panel__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.tab-panel__intro > * { margin: 0 !important; }
.tab-panel__intro .modes { align-self: stretch; }
.tab-panel__intro .btn-row { margin-top: 8px !important; gap: 12px; }
.tab-panel__intro .btn { min-width: 0; }
.tab-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--slate); max-width: 52ch; }
.tab-note::before { content: ""; flex: none; width: 2px; align-self: stretch; background: var(--line-strong); }
/* Tabs: no outline box on click; keyboard focus shows as a soft highlight */
.tabs__list [role="tab"]:focus { outline: none; }
.tabs__list [role="tab"]:focus-visible { background: var(--soft); border-radius: 3px 8px 0 0; }
.exp-label:focus { outline: none; }
.exp-label:focus-visible { box-shadow: 0 0 0 2px var(--indigo); }
@media (max-height: 820px) and (min-width: 861px) {
  .tab-panel__intro { gap: 12px; }
  .tab-panel__intro .btn-row { margin-top: 6px !important; }
}

/* ---------- About us: compact team tabs, jFund, history ---------- */
.tab-panel--people { grid-template-columns: 1fr; gap: 20px; }
.tab-panel--people .tab-panel__intro, .tab-panel--people .tab-panel__intro .body { max-width: none; }
.people--compact { grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 12px; }
.people--compact .person { border-radius: 3px; }
.people--compact .person img, .people--compact.people--bod .person img { aspect-ratio: 1 / 1; object-position: center 22%; }
.people--compact .person__body { padding: 9px 10px 11px; }
.people--compact .person h4 { font-size: 13.5px; line-height: 1.3; margin: 0 0 2px; }
.people--compact .person p { font-size: 12px; line-height: 1.4; }
.jfund { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(24px, 3vw, 40px); }
.jfund .tab-panel__intro .modes dt { font-size: 14.5px; }
.logo-wall--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 24px; margin-top: 14px; }
.logo-wall--compact div { height: 30px; }
.timeline-c { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 2.5vw, 36px); margin-top: clamp(24px, 3vw, 40px); }
.milestone-c { display: flex; flex-direction: column; gap: 4px; padding: 16px 0 20px; border-top: 1px solid var(--line-strong); position: relative; }
.milestone-c::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--indigo); }
.milestone-c__year { font-family: var(--serif); font-size: 26px; line-height: 1.1; color: var(--indigo); }
.milestone-c strong { font-size: 15.5px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.milestone-c > span:last-child { font-size: 14px; line-height: 1.5; color: var(--slate); }
@media (max-width: 860px) {
  .jfund { grid-template-columns: 1fr; }
  .timeline-c { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .people--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .logo-wall--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline-c { grid-template-columns: 1fr; }
}
/* Low screens: team as compact cards (round photo, text beside it) so a whole team fits at once */
@media (max-height: 760px) and (min-width: 861px) {
  .people--compact { grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 10px; }
  .people--compact .person { flex-direction: row; align-items: center; gap: 12px; padding: 8px 10px; }
  .people--compact .person img, .people--compact.people--bod .person img { flex: none; width: 52px; height: 52px; aspect-ratio: 1 / 1; border-radius: 50%; }
  .people--compact .person__body { padding: 0; }
}
/* Info notes: text flows normally (links stay inline), icon sits in the left margin */
.tab-note { display: block; position: relative; padding-left: 14px; }
.tab-note::before { position: absolute; left: 0; top: 2px; bottom: 2px; display: block; }
.jfund { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
@media (max-width: 860px) { .jfund { grid-template-columns: 1fr; } }

/* About us — jFund: grant amounts, committee list, wide logo wall */
.grants strong { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.grants .amount { font-family: var(--serif); font-size: 19px; font-weight: 400; color: var(--indigo); white-space: nowrap; }
.grants__note { margin-top: 14px; color: var(--slate); font-size: 13.5px; line-height: 1.5; }
.modes--people > div { grid-template-columns: minmax(11em, auto) 1fr; }
.logo-wall--wide { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 22px 32px; margin-top: 4px; }
.tab-panel__intro .btn { padding-left: 22px; padding-right: 22px; }

/* jFund: tabs on the left, supported startups always visible on the right */
.jfund { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: clamp(24px, 3vw, 40px); }
.jfund .wtabs { margin-top: 0; }
.jfund .tab-panel { grid-template-columns: 1fr; gap: 20px; }
.jfund #jfund-committee { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.jfund__startups { padding-top: 6px; }
.jfund__startups .logo-wall--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 22px; margin-top: 16px; }
.grant-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-self: stretch; }
.grant-row > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 3px; background: #fff; }
.grant__amount { font-family: var(--serif); font-size: 22px; line-height: 1.15; color: var(--indigo); white-space: nowrap; }
.grant-row strong { font-size: 14px; font-weight: 500; color: var(--navy); }
.jfund .grants__note { margin: 0; }
@media (max-width: 1100px) { .jfund #jfund-committee { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .jfund { grid-template-columns: 1fr; } .jfund__startups .logo-wall--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grant-row { gap: 6px; } .grant-row > div { padding: 10px; } .grant__amount { font-size: 16.5px; } .grant-row strong { font-size: 12.5px; line-height: 1.3; } .jfund__startups .logo-wall--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* jFund committee: members in two columns, meeting and contact side by side */
.jfund #jfund-committee { grid-template-columns: 1fr; gap: 16px; }
.modes--people { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.modes--people > div { grid-template-columns: 1fr; gap: 0; padding: 7px 0; }
.modes--people > div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
.modes--people dt { font-size: 14px; }
.modes--people dd { font-size: 13px; }
.jfund #jfund-committee .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jfund #jfund-committee .facts > div { padding: 12px 16px; }
@media (max-width: 520px) { .modes--people, .jfund #jfund-committee .facts { grid-template-columns: 1fr; } }

/* ---------- Tabs: icons and visual steps (all pages) ---------- */
.tabs__list [role="tab"] { display: inline-flex; align-items: center; gap: 8px; }
.tab-icon { width: 18px; height: 18px; flex: none; color: var(--muted); transition: color .18s; }
.tabs__list [role="tab"][aria-selected="true"] .tab-icon, .tabs__list [role="tab"]:hover .tab-icon { color: var(--indigo); }
/* Steps as a vertical timeline: numbered circles joined by a line */
.steps-list li { position: relative; display: block; padding: 6px 0 16px 50px; border: 0 !important; }
.steps-list li::before { position: absolute; left: 0; top: 2px; width: 34px; height: 34px; display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1; color: var(--indigo); padding: 0; }

.steps-list li::after { content: ""; position: absolute; left: 16.5px; top: 40px; bottom: -2px; width: 1.5px; background: var(--line-strong); }
.steps-list li:last-child::after { display: none; }
.steps-list li:last-child { padding-bottom: 0; }
.steps-list strong { display: block; margin-bottom: 2px; }
.steps-list span { display: block; }
.steps-list--plain li::before { content: "•"; font-size: 18px; line-height: 1; }
.steps-list--plain li:first-child::before { background: #fff; color: var(--indigo); }
/* Grants keep their amounts in the timeline */
@media (max-height: 820px) and (min-width: 861px) {
  .steps-list li { padding: 4px 0 11px 46px; }
  .steps-list li::before { width: 30px; height: 30px; font-size: 20px; }
  .steps-list li::after { left: 14.5px; top: 36px; }
}
/* Step numbers: centred over the connecting line and on the same line as the step title */
.steps-list strong { line-height: 26px; }
.steps-list li::before { top: 6px; height: 26px; line-height: 26px; text-align: center; }
@media (max-height: 820px) and (min-width: 861px) {
  .steps-list strong { line-height: 24px; }
  .steps-list li::before { top: 4px; height: 24px; line-height: 24px; }
}

/* Tabs: a photo above each tab's text — only where the screen is tall enough */
.tab-panel__photo { display: block; width: 100%; height: clamp(120px, 18vh, 190px); object-fit: cover; border-radius: 3px; }
#leasing .tab-panel__photo { object-position: center 35%; }
#mainboard .tab-panel__photo { object-position: center 18%; }
@media (max-height: 820px) and (min-width: 861px) { .tab-panel__photo { display: none; } }
@media (max-width: 860px) { .tab-panel__photo { height: 160px; } }
@media (max-height: 640px) and (min-width: 861px) { .facts__quote { display: none; } }

/* About us: team cards. Square photo, name and role below; Mainboard 7 per row, Board at the same card size 5 per row */
.people-grid { grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); }
.people-grid .person img, .people-grid.people--bod .person img { aspect-ratio: 1 / 1; object-position: center 22%; }
@media (max-width: 520px) { .people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 861px) {
  .tab-panel.tab-panel--people { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
  .tab-panel--people .tab-panel__intro .body { font-size: 16px; line-height: 1.65; }
  .people-grid { --g: 16px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--g); }
  .people-grid .person, .people--compact.people-grid .person { flex-direction: column; align-items: stretch; gap: 0; padding: 0;
    border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: #fff; }
  .people-grid .person img, .people-grid.people--bod .person img { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 0; object-fit: cover; object-position: center 22%; }
  .people-grid .person__body, .people--compact.people-grid .person__body { padding: 12px 13px 16px; }
  .people-grid .person h4 { color: var(--navy); font-size: 14.5px; line-height: 1.3; letter-spacing: -.005em; margin: 0 0 4px; }
  .people-grid .person p { color: var(--slate); font-size: 13px; line-height: 1.45; hyphens: auto; hyphenate-limit-chars: 14 6 6; overflow-wrap: break-word; }
}
@media (min-width: 1200px) {
  .people-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .people-grid.people--bod { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: calc((100% - 6 * var(--g)) / 7 * 5 + 4 * var(--g)); }
}
/* What we do: the four ways of working as an orbit. The tab buttons sit as icon nodes on a ring,
   the centre shows the chosen way's photo, a solid spoke links it to the chosen node. */
.wtabs--orbit { --orb: min(430px, 34vw, calc(100svh - var(--header-h) - 150px)); position: relative; display: grid; grid-template-columns: var(--orb) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 96px); align-items: start; }
.wtabs--orbit .tabs__list { position: relative; grid-column: 1; grid-row: 1 / span 4; align-self: start; margin-top: 8px; display: block; width: var(--orb); aspect-ratio: 1; border: 0; overflow: visible; }
.orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-ring { fill: none; stroke: var(--indigo); stroke-width: .7; stroke-dasharray: 7 3.2; stroke-linecap: round; opacity: .55; }
.orbit-ring--inner { stroke: var(--line-strong); stroke-width: .35; stroke-dasharray: none; opacity: 1; }
.orbit-spoke { stroke: var(--line-strong); stroke-width: .35; transition: stroke .25s, stroke-width .25s; }
.wtabs--orbit:has(#tab-projects[aria-selected="true"]) .orbit-spoke--1,
.wtabs--orbit:has(#tab-leasing[aria-selected="true"]) .orbit-spoke--2,
.wtabs--orbit:has(#tab-campus-interview[aria-selected="true"]) .orbit-spoke--3,
.wtabs--orbit:has(#tab-campus-marketing[aria-selected="true"]) .orbit-spoke--4 { stroke: var(--indigo); stroke-width: .8; }
.orbit-hub { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: url('/assets/brand/ethj-signet.svg') 52% 50% / 46% no-repeat, var(--navy); }
.wtabs--orbit .tabs__list [role="tab"] { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 46%; margin: 0; padding: 0; border: 0; background: none; font-size: clamp(14px, 1.15vw, 16px); font-weight: 500; line-height: 1.25; text-align: center; color: var(--navy); white-space: normal; transform: translate(-50%, calc(-1 * var(--node) / 2)); --node: clamp(52px, 15.5%, 68px); }
.wtabs--orbit .tabs__list [role="tab"]:nth-of-type(1) { left: 23.13%; top: 23.13%; flex-direction: column-reverse; transform: translate(-50%, calc(-100% + var(--node) / 2)); }
.wtabs--orbit .tabs__list [role="tab"]:nth-of-type(2) { left: 76.87%; top: 23.13%; flex-direction: column-reverse; transform: translate(-50%, calc(-100% + var(--node) / 2)); }
.wtabs--orbit .tabs__list [role="tab"]:nth-of-type(3) { left: 76.87%; top: 76.87%; }
.wtabs--orbit .tabs__list [role="tab"]:nth-of-type(4) { left: 23.13%; top: 76.87%; }
.wtabs--orbit .tabs__list [role="tab"] .tab-icon { flex: none; width: var(--node); height: var(--node); margin: 0; padding: calc(var(--node) * .27); border-radius: 50%; background: #fff; color: var(--indigo); stroke-width: 1.6; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color .2s, color .2s, transform .18s, box-shadow .2s; }
.wtabs--orbit .tabs__list [role="tab"]:hover .tab-icon { box-shadow: inset 0 0 0 1px var(--indigo); }
.orbit-label { padding: 2px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.wtabs--orbit .tabs__list [role="tab"][aria-selected="true"] .orbit-label { color: var(--indigo); border-color: var(--indigo); }
.wtabs--orbit .tabs__list [role="tab"]:hover .orbit-label { color: var(--indigo); }
.wtabs--orbit .tabs__list [role="tab"][aria-selected="true"]:hover .orbit-label { color: var(--indigo); }
.wtabs--orbit .tabs__list [role="tab"][aria-selected="true"] .tab-icon { background: var(--indigo); color: #fff; box-shadow: none; }
.wtabs--orbit .tabs__list [role="tab"]:focus-visible { background: none; outline: none; }
.wtabs--orbit .tabs__list [role="tab"]:focus-visible .tab-icon { outline: 2px solid var(--indigo); outline-offset: 4px; }
/* content beside the orbit: text first, then the steps / facts; the photo now lives in the centre */
.wtabs--orbit .tab-panel { grid-column: 2; grid-row: 1; grid-template-columns: 1fr; gap: 22px; padding-top: 0; border-top: 0 !important; margin-top: 0 !important; }
.wtabs--orbit .tab-panel__photo { display: none; }
.wtabs--orbit .tab-panel__intro .body { max-width: 62ch; }
.wtabs--orbit .steps-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.wtabs--orbit .steps-list li { padding-bottom: 0; }
.wtabs--orbit .steps-list li::after { display: none; }
.wtabs--orbit .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wtabs--orbit .facts__quote { grid-column: 1 / -1; }
@media (max-width: 860px) {
  .wtabs--orbit { --orb: min(330px, calc(100vw - 2 * var(--gutter) - 90px)); grid-template-columns: 1fr; row-gap: 28px; }
  .wtabs--orbit .tabs__list { grid-row: 1; justify-self: center; margin: 54px 0 46px; overflow: visible; flex-wrap: wrap; }
  .wtabs--orbit .tabs__list [role="tab"] { width: 50%; font-size: 13.5px; padding: 0; --node: 50px; }
  .wtabs--orbit .tab-panel { grid-column: 1; grid-row: 2; }
  .wtabs--orbit .steps-list, .wtabs--orbit .facts { grid-template-columns: 1fr; }
}

/* Phone menu: while it is open the page behind it cannot scroll or bounce, so the menu stays put */
@media (max-width: 1080px) {
  html:has(body.nav-open) { overflow: hidden; overscroll-behavior: none; }
  body.nav-open { overflow: visible; }  /* body must not become its own scroller, or the sticky header loses its place */
  .nav-open .nav__menu { overscroll-behavior: contain; }
}

/* Contact: pick up to three call slots in a small calendar (fills the "Preferred call time" field) */
.slots { display: grid; grid-template-columns: minmax(250px, 300px) minmax(0, 1fr); gap: 20px 32px; padding: 18px; border: 1px solid var(--line-strong); border-radius: 3px; background: #fff; }
.slots__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.slots__title { font-size: 15px; font-weight: 600; color: var(--navy); text-transform: capitalize; }
.slots__nav { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--navy); font: inherit; font-size: 16px; cursor: pointer; }
.slots__nav:disabled { opacity: .35; cursor: default; }
.slots__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.slots__dow { padding: 4px 0; font-size: 11.5px; font-weight: 600; text-align: center; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.slots__day { position: relative; aspect-ratio: 1; display: grid; place-items: center; border: 0; border-radius: 3px; background: none; font: inherit; font-size: 14px; color: var(--navy); cursor: pointer; }
.slots__day:hover:not(:disabled):not(.is-sel) { background: var(--soft); }
.slots__day:disabled { color: var(--line-strong); cursor: default; }
.slots__day.is-sel { background: var(--indigo); color: #fff; }
.slots__day.has-pick::after { content: ""; position: absolute; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--indigo); }
.slots__day.is-sel.has-pick::after { background: #fff; }
.slots__side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.slots__hint { margin: 0; font-size: 14px; line-height: 1.5; color: var(--slate); }
.slots__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; }
.slots__time { padding: 8px 0; border: 1px solid var(--line-strong); border-radius: 3px; background: #fff; font: inherit; font-size: 14px; color: var(--navy); cursor: pointer; }
.slots__time:hover:not(:disabled):not(.is-on) { border-color: var(--indigo); color: var(--indigo); }
.slots__time.is-on { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.slots__time:disabled { opacity: .4; cursor: default; }
.slots__picked { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.slots__picked li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 3px; background: var(--soft); font-size: 14px; color: var(--navy); }
.slots__picked button { border: 0; background: none; padding: 2px 4px; font: inherit; font-size: 13px; color: var(--slate); text-decoration: underline; cursor: pointer; }
.slots__label { margin: 4px 0 0; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) { .slots { grid-template-columns: 1fr; padding: 14px; } .slots__day { aspect-ratio: auto; height: 40px; } }

/* Case studies without a logo file: the client name as a quiet wordmark */
.spotlight__logo--text { font-size: 17px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; color: var(--navy); }


/* Call slots: closed by default, a field-like button opens the calendar */
.slots__toggle { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 3px; background: #fff; font: inherit; font-size: 16px; text-align: left; color: var(--slate); cursor: pointer; transition: border-color .15s; }
.slots__toggle:hover, .slots__toggle[aria-expanded="true"] { border-color: var(--indigo); }
.slots__toggle.has-picks { color: var(--navy); }
.slots__toggle svg { flex: none; width: 20px; height: 20px; color: var(--indigo); }
.slots__toggle-text { flex: 1; min-width: 0; line-height: 1.4; }
.slots__chev { flex: none; width: 8px; height: 8px; margin-right: 4px; border-right: 1.6px solid var(--slate); border-bottom: 1.6px solid var(--slate); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.slots__toggle[aria-expanded="true"] .slots__chev { transform: rotate(-135deg) translateY(-2px); }
[data-slots] .slots { margin-top: 8px; }
.slots__done { align-self: flex-start; margin-top: 2px; padding: 9px 18px; border: 0; border-radius: 3px; background: var(--indigo); font: inherit; font-size: 14px; font-weight: 600; color: #fff; cursor: pointer; }
.slots__done[hidden] { display: none; }

/* Home: the four ways of working as subtle, fully clickable cards (1, 2 or 4 per row, never 3 + 1) */
.way-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .way-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .way-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.way-card { position: relative; display: flex; flex-direction: column; gap: 12px; height: 100%; padding: clamp(22px, 2vw, 28px); border: 1px solid rgba(255,255,255,.14); border-radius: 3px; background: rgba(255,255,255,.025); color: #fff; transition: background-color .2s, border-color .2s, transform .2s; }
.way-card__title { font-family: var(--font); font-weight: 500; font-size: clamp(20px, 1.55vw, 23px); line-height: 1.25; letter-spacing: -.01em; color: #fff; margin: 0; transition: color .2s; white-space: nowrap; }
.way-card p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.74); }
.way-card__arrow { margin-top: auto; padding-top: 10px; font-size: 20px; line-height: 1; color: rgba(255,255,255,.4); transition: color .2s, transform .2s; }
.way-card:hover, .way-card:focus-visible { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.36); color: #fff; }
.way-card:hover .way-card__title, .way-card:focus-visible .way-card__title { color: #CDBEFF; }
.way-card:hover .way-card__arrow, .way-card:focus-visible .way-card__arrow { color: #CDBEFF; transform: translateX(5px); }
.way-card:focus-visible { outline: 2px solid rgba(255,255,255,.7); outline-offset: 3px; }
/* Header just above the phone-menu breakpoint: tighter, so the "Book a call" button never sticks out */
@media (max-width: 1240px) and (min-width: 1081px) {
  .nav { gap: 22px; }
  .nav__menu { font-size: 16px; gap: 18px; }
  .nav__right { gap: 14px; }
  .nav__cta { padding: 12px 18px; font-size: 15px; }
  .nav__logo img { width: 140px; height: auto; }
}

/* Home: client quote and team photo as one clean split — photo spans the full height of the quote, both centred */
.quote { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: stretch; gap: clamp(32px, 5vw, 72px); padding: clamp(48px, 6vw, 88px) 0; border-top: 0; }
.quote figure { align-self: center; padding: 0; }
.quote__img { aspect-ratio: auto; align-self: stretch; min-height: 340px; border-radius: 3px; overflow: hidden; }
.quote__img img { object-position: center 20%; }
@media (max-width: 900px) {
  .quote { grid-template-columns: 1fr; }
  .quote__img { aspect-ratio: 16 / 10; min-height: 0; }
}

/* Expertise: best-known clients of the chosen area, linking to the filtered case studies */
.exp-clients { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--navy); }
.exp-clients__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.exp-clients__head .link-arrow { font-size: 14px; }
.exp-clients__logos { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 8px; }
.exp-client { display: flex; align-items: center; justify-content: center; height: 54px; padding: 8px 12px; border-radius: 3px; background: var(--soft); border: 1px solid transparent; transition: border-color .15s, background-color .15s; }
.exp-client:hover, .exp-client:focus-visible { border-color: var(--line-strong); background: #fff; }
.exp-client img { display: block; max-width: 100%; max-height: 28px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s; }
.exp-client:hover img, .exp-client:focus-visible img { filter: none; opacity: 1; }
.exp-client--name { font-size: 13px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; text-align: center; color: var(--navy); }
@media (max-width: 520px) { .exp-clients__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .exp-client { height: 46px; } }


/* ---------- Header menus: plain typographic panels under their item ---------- */
@media (min-width: 1081px) {
  .nav__item--drop { position: relative; }
  .dropdown--menu { z-index: 60; left: -28px; margin-top: 22px; padding: 26px 28px 22px; min-width: 0; border: 1px solid var(--line); border-top: 2px solid var(--navy); border-radius: 0; box-shadow: 0 16px 40px rgba(0,24,79,.10); }
  .dropdown--menu::before { top: -28px; height: 28px; }
  .dropdown--list { width: 260px; }
  .dropdown--services { width: 720px; }
}
.menu-cols { display: grid; grid-template-columns: 1.15fr 1fr .85fr; gap: 0 36px; }
.menu-col { display: flex; flex-direction: column; }
.dropdown a.menu-col__title { padding: 0 0 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 20px; font-weight: 400; letter-spacing: -.01em; line-height: 1.2; color: var(--navy); white-space: normal; }
.dropdown a.menu-col__title:hover { background: none; color: var(--indigo); }
.menu-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.dropdown .menu-list a { display: block; padding: 7px 0; font-size: 15.5px; font-weight: 400; line-height: 1.35; color: var(--navy); white-space: normal; transition: color .15s; }
.dropdown .menu-list a:hover, .dropdown .menu-list a:focus-visible { background: none; color: var(--indigo); }
.dropdown--list .menu-list a { padding: 8px 0; font-size: 16px; }
.dropdown--list .menu-list li + li a { border-top: 1px solid var(--line); }
.menu-foot { display: flex; gap: 28px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.dropdown .menu-foot a { padding: 0; font-size: 15px; font-weight: 500; color: var(--indigo); white-space: nowrap; }
.dropdown .menu-foot a:hover { background: none; color: var(--indigo); }
@media (max-width: 1080px) {
  .nav__item.is-open .dropdown--menu { display: block; padding: 0 0 14px; }
  .menu-cols { grid-template-columns: 1fr; gap: 14px; }
  .dropdown a.menu-col__title { font-size: 18px; padding: 4px 0 8px; margin-bottom: 2px; }
  .dropdown .menu-list a, .dropdown--list .menu-list a { padding: 8px 0; font-size: 16px; }
  .dropdown--list .menu-list li + li a { border-top: 0; }
  .menu-foot { margin-top: 12px; padding-top: 12px; gap: 24px; }
}

/* Client impact: page controls under the case grid */
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 40px; }
.pager[hidden] { display: none; }
.pager__btn { min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--navy); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: border-color .15s, color .15s, background-color .15s; }
.pager__btn:hover:not(:disabled) { border-color: var(--navy); }
.pager__btn[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager__btn:disabled { color: var(--faint); cursor: default; }
.pager__step { padding: 0 16px; }
@media (max-width: 520px) { .pager__step { padding: 0 12px; } }

/* Client impact: description of the chosen industry under the filters */
.filter-desc { max-width: 70ch; margin: -8px 0 28px; font-size: 16px; line-height: 1.6; color: var(--slate); }
.filter-desc[hidden] { display: none; }

/* "Four ways to work with us": plain typographic sub-points (no badges, no boxes) */
.wtabs--orbit .steps-list { gap: 0 36px; }
.wtabs--orbit .steps-list li { display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; align-content: start; padding: 14px 0 16px; border-top: 1px solid var(--line) !important; }
.wtabs--orbit .steps-list li::before,
.wtabs--orbit .steps-list li:first-child::before,
.band-soft .wtabs--orbit .steps-list li::before,
.band-soft .wtabs--orbit .steps-list li:first-child::before { content: counter(step); position: static; grid-row: span 2; width: auto; height: auto; display: block; border: 0; border-radius: 0; background: none; padding: 0; font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.05; color: var(--navy); }
.wtabs--orbit .steps-list li::after { display: none; }
.wtabs--orbit .steps-list strong { font-size: 15.5px; font-weight: 600; line-height: 1.35; color: var(--navy); margin-bottom: 3px; }
.wtabs--orbit .steps-list span { font-size: 14px; line-height: 1.5; color: var(--slate); }
.wtabs--orbit .steps-list--plain li { grid-template-columns: 1fr; }
.wtabs--orbit .steps-list--plain li::before,
.band-soft .wtabs--orbit .steps-list--plain li::before,
.band-soft .wtabs--orbit .steps-list--plain li:first-child::before { display: none; }
.wtabs--orbit .facts { gap: 0 36px; }
.wtabs--orbit .facts > div { padding: 14px 0 16px; gap: 3px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.wtabs--orbit .facts .spotlight__tag { order: 2; font-size: 13.5px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--slate); }
.wtabs--orbit .facts strong { order: 1; font-size: 15.5px; font-weight: 600; }
.wtabs--orbit .facts > div > span:last-child { order: 3; margin-top: 4px; font-size: 14px; }
.wtabs--orbit .facts__quote { margin-top: 12px; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); font-size: 18px; }

/* Orbit labels: sit on a background patch so the dashed ring never runs through the text or its underline */
.wtabs--orbit .tabs__list [role="tab"] { gap: 12px; }
.wtabs--orbit .orbit-label { position: relative; z-index: 1; padding: 2px 8px; border-bottom: 0; background: var(--soft); border-radius: 2px;
  text-decoration: underline 1px transparent; text-underline-offset: 5px; transition: color .2s, text-decoration-color .2s; }
.wtabs--orbit .tabs__list [role="tab"][aria-selected="true"] .orbit-label { text-decoration-color: var(--indigo); }
.wtabs--orbit .tabs__list [role="tab"] .tab-icon { position: relative; z-index: 1; }
@media (max-width: 860px) { .wtabs--orbit .orbit-label { padding: 2px 3px; white-space: nowrap; } }

/* Square-cornered buttons everywhere: the round footer social buttons and the dialog close button follow the 3px corners of all other buttons */
.socials a, .signup-dialog__close { border-radius: 3px; }

/* Home team photo: show the whole picture at its own proportions instead of cropping it to the quote's height */
.quote__img { aspect-ratio: 1480 / 790; min-height: 0; align-self: center; }
.quote__img img { object-position: center; }
@media (max-width: 900px) { .quote__img { aspect-ratio: 1480 / 790; } }
