/* Peak State Ventures - site pack theme "peakstate" (peakstate.nmore.dev).
   The look of the former WordPress theme "psv" (Bootstrap 4.6 + style.css 1.1): Signika 300 on white,
   navy #001650, orange #FF9900, Montserrat 600 for the hero title; container 1360px from 1440px,
   30px gutters (40px from 768px), Bootstrap breakpoints 576 / 768 / 992 / 1200 plus 1440.
   Written for this theme's markup (prefix ps-); the values are the old theme's. */

/* Signika: the variable file, declared as the three static weights the old site loaded from Google
   Fonts (300, 400, 700) - so 500 is drawn as 400 and 600 as 700, exactly as before (review round 2) */
@font-face { font-family: Signika; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/signika-latin-var.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Signika; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/signika-latin-var.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Signika; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/signika-latin-var.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Signika; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/signika-latin-ext-var.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Signika; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/signika-latin-ext-var.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Signika; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/signika-latin-ext-var.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/montserrat-latin-600.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/montserrat-latin-ext-600.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root { --ps-navy: #001650; --ps-orange: #FF9900; --ps-grey: #646E8A; }
html:has(> body.theme-peakstate) { scroll-padding-top: 63px; scroll-behavior: auto; overflow-x: hidden; }
body.theme-peakstate { position: relative; font-family: 'Signika', sans-serif; font-weight: 300; font-size: 16px; line-height: 1.35; color: #001650; background: #fff; -webkit-font-smoothing: auto; text-rendering: auto; }
.theme-peakstate a, .theme-peakstate a:hover { color: #001650; text-decoration: none; }
.theme-peakstate b, .theme-peakstate strong { font-weight: 700; }
.theme-peakstate p { margin: 0 0 1rem; }
.theme-peakstate main { display: block; }
.theme-peakstate [hidden] { display: none !important; }
.ps-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* focus ring: navy (13.7:1 on white; round 3 - orange alone was 2.1:1), orange on the dark cards and windows */
.theme-peakstate :focus-visible { outline: 2px solid #001650; outline-offset: 2px; border-radius: 2px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px #FF9900; }
.theme-peakstate .ps-card :focus-visible, .theme-peakstate .ps-tmodal :focus-visible, .theme-peakstate .ps-modal :focus-visible { outline-color: #FF9900; box-shadow: none; }

/* ── grid (Bootstrap container-xl / row / col with the old theme's gutters) ── */
.ps-container { width: 100%; padding-left: 30px; padding-right: 30px; margin-left: auto; margin-right: auto; }
.ps-row { display: flex; flex-wrap: wrap; margin-left: -10px; margin-right: -10px; }
.ps-row > [class*="ps-col-"] { position: relative; width: 100%; padding-left: 10px; padding-right: 10px; }
.ps-col-12 { flex: 0 0 100%; max-width: 100%; }
.ps-col-6 { flex: 0 0 50%; max-width: 50%; }
@media (min-width: 768px) {
  .ps-container { padding-left: 40px; padding-right: 40px; }
  .ps-col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .ps-col-md-6 { flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 992px) { .ps-col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; } }
@media (min-width: 1200px) {
  .ps-container { max-width: 1140px; }
  .ps-col-xl-3 { flex: 0 0 25%; max-width: 25%; }
  .ps-col-xl-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .ps-col-xl-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
}
@media (min-width: 1440px) { .ps-container { max-width: 1360px; } }

/* ── type ── */
.theme-peakstate .ps-h1 { font-family: inherit; font-size: 1.9375em; font-weight: 500; line-height: 1.2; letter-spacing: normal; margin: 0 0 .775em; text-transform: uppercase; color: #001650; }
.theme-peakstate .ps-h2 { display: inline-block; font-family: inherit; font-size: 1.5em; font-weight: 700; line-height: 1.2; letter-spacing: normal; color: #001650; padding-bottom: 10px; margin: 0 0 30px; text-transform: uppercase; border-bottom: 2px solid #FF9900; }
@media (min-width: 768px) {
  .theme-peakstate .ps-h1 { font-size: 4.5em; }
  .theme-peakstate .ps-h2 { margin-bottom: 60px; }
}

/* ── buttons ── */
.ps-btn { display: inline-block; font-family: inherit; font-size: 1em; font-weight: 700; line-height: 1; text-align: center; padding: 17px 18px; border-radius: 27px; border: 2px solid transparent; cursor: pointer; transition: background-color .3s ease, border-color .3s ease, color .3s ease, opacity .3s ease; }
.theme-peakstate .ps-btn--light, .theme-peakstate .ps-btn--light:hover { color: #000; }
.ps-btn--light { background-color: #FFF; border-color: #FFF; }
.ps-btn--light:hover { background-color: #E2E2E2; border-color: #E2E2E2; }
.ps-card__contacts .ps-btn { display: block; width: 100%; }

/* ── header ── */
.ps-nav { position: fixed; top: 0; right: 0; left: 0; z-index: 1030; display: flex; align-items: center; background-color: #FFF; padding: 0 30px; height: 108px; transition: box-shadow .3s ease, height .3s ease; }
.staffbar ~ .ps-nav, .staffbar + .skip + .ps-nav { top: 37px; }
.ps-nav.is-scrolled { height: 64px; box-shadow: 0 4px 10px rgba(10, 58, 114, .12); }
.ps-nav__in { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; padding-left: 0; padding-right: 0; }
.ps-brand { position: relative; z-index: 10; display: block; flex: none; width: 102px; height: 30px; margin-right: 1rem; }
.ps-brand img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.ps-toggler { display: block; position: relative; z-index: 10; flex: none; width: 28px; height: 28px; padding: 0; border: none; border-radius: 0; background: transparent; cursor: pointer; }
.ps-toggler span { display: block; position: absolute; width: 28px; height: 3px; margin: -1.5px -14px; top: 50%; left: 50%; background-color: #001650; border-radius: 2px; transition: transform .3s ease, width .1s ease; }
.ps-toggler span:first-child { transform: translateY(-4px); }
.ps-toggler span:last-child { width: 20px; transform: translateY(4px); }
.ps-toggler[aria-expanded=true] span:first-child { transform: rotate(45deg) translateY(0); }
.ps-toggler[aria-expanded=true] span:last-child { width: 28px; transform: rotate(-45deg) translateY(0); }
.ps-menu__list { display: flex; flex-direction: column; list-style: none; padding: 0; margin: 0; font-size: 1.5em; }
.ps-menu__link { display: block; color: #001650; padding: 8px 0; transition: opacity .3s ease; }
.ps-menu__list:hover .ps-menu__link:not(:hover) { opacity: .3; }
@media (max-width: 767.98px) {
  .ps-menu { display: flex; position: fixed; top: 0; left: 100%; width: 100%; height: 100%; overflow-y: auto; background-color: #FFF; padding: 120px 70px; visibility: hidden; transition: left 500ms ease-in-out, visibility 0s linear 500ms; }
  .ps-menu.is-open { left: 0; visibility: visible; transition: left 300ms ease-in-out; }
  body.ps-menu-open { overflow: hidden; }
}
@media (min-width: 768px) {
  .ps-nav { padding-left: 0; padding-right: 0; }
  .ps-nav__in { padding-left: 40px; padding-right: 40px; }
  .ps-toggler { display: none; }
  .ps-menu { display: flex; margin-left: auto; }
  .ps-menu__list { flex-direction: row; font-size: .9375em; }
  .ps-menu__item + .ps-menu__item { margin-left: 30px; }
  .ps-menu__link { position: relative; padding: 2px 0; }
  .ps-menu__link::after { content: ''; display: block; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px; background: #FF9900; transition: width .3s ease; }
  .ps-menu__link.is-active::after { width: 100%; }
}
@media (min-width: 1200px) {
  .ps-nav { height: 101px; }
  .ps-nav.is-scrolled { height: 64px; }
  .ps-brand { width: 126px; height: 37px; }
}

/* ── sections ── */
.ps-block { display: block; position: relative; z-index: 10; background-color: #FFF; padding-top: 20px; }
.ps-block::before, .ps-block::after { content: ''; display: table; clear: both; }

/* hero (#main of the old theme) */
.ps-hero { display: block; text-align: center; overflow: hidden; padding-top: 123px; padding-bottom: 60px; }
.ps-hero__content { position: relative; }
.ps-hero__texts { position: fixed; z-index: 2; width: 100%; left: 0; }
.theme-peakstate .ps-hero__sub { position: relative; z-index: 10; font-size: 1.25em; margin: 0 0 2.35em; }
.theme-peakstate .ps-hero__title { position: relative; z-index: 10; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 2.125em; line-height: 1.1; letter-spacing: .33em; text-transform: uppercase; color: #FF9900; margin: 0 0 1rem; }
.ps-hero img { display: inline; vertical-align: middle; max-width: 100%; height: auto; }
.ps-hero__rockbg { position: relative; z-index: 1; pointer-events: none; }
.ps-hero .ps-hero__rock { display: block; position: absolute; z-index: 3; top: 0; left: 0; pointer-events: none; }
.ps-hero__clouds { display: block; position: absolute; z-index: 4; top: 50%; left: 0; pointer-events: none; will-change: transform; }
.ps-hero__clouds::after { content: ''; display: block; position: absolute; width: 100%; height: 200vh; margin-top: -2px; top: 100%; left: 0; background-color: #FFF; }
@media (max-width: 767.98px) {
  .ps-hero .ps-hero__rockbg, .ps-hero .ps-hero__rock { width: 270%; max-width: 270%; margin-top: -30px; margin-left: -90%; }
  .ps-hero__clouds { width: 100vw; margin-left: -30px; top: 70%; }
}
/* fix: the old title ran off both edges of narrow phones ("WORLD-CLASS" is wider than 330px at 34px) */
@media (max-width: 575.98px) { .theme-peakstate .ps-hero__title { font-size: min(2.125em, 7.2vw); } }
@media (min-width: 768px) {
  .ps-hero { padding-top: 133px; }
  .theme-peakstate .ps-hero__sub { font-size: 1.875em; margin-bottom: 1.3em; }
  .theme-peakstate .ps-hero__title { font-size: 4.125em; }
  .ps-hero__rockbg, .ps-hero .ps-hero__rock { margin-top: 70px; }
}
@media (min-width: 992px) { .ps-hero__rockbg, .ps-hero .ps-hero__rock { margin-top: 20px; } }
@media (min-width: 1200px) {
  .ps-hero { padding-top: 193px; }
  .theme-peakstate .ps-hero__title { font-size: 6em; }
  .ps-hero__rockbg, .ps-hero .ps-hero__rock { margin-top: 0; }
}

/* about */
.ps-about-sec { padding-bottom: 25px; overflow-x: clip; }
.ps-about__rock1 { display: block; position: absolute; right: -120px; top: -120px; width: 300px; pointer-events: none; }
.ps-about__rock2 { display: none; position: absolute; pointer-events: none; }
.ps-about__rock1 img, .ps-about__rock2 img { max-width: 100%; height: auto; }
.ps-about-sec .ps-container { position: relative; z-index: 2; }
.ps-about__content { overflow: hidden; }
.theme-peakstate .ps-about__lead { font-size: 1.875em; font-weight: 300; line-height: 1.25; text-transform: uppercase; margin-bottom: .5em; }
.ps-about__lead b, .ps-about__lead strong { font-weight: 400; }
.ps-about__text { font-size: 1.125em; }
@media (min-width: 768px) {
  .ps-about-sec { padding-bottom: 60px; }
  .ps-about__rock1 { width: 480px; right: -200px; top: -90px; }
  .theme-peakstate .ps-about__lead { font-size: 3.875em; }
  .ps-about__text { font-size: 1.375em; }
}
@media (min-width: 1200px) {
  .ps-about-sec { padding-bottom: 120px; }
  .ps-about__rock1 { width: 600px; right: auto; left: calc(50vw + 360px); top: -220px; }
  .ps-about__rock2 { display: block; width: 520px; left: calc(50vw - 950px); top: 170px; }
  .ps-about-sec .ps-h2 { float: left; margin-right: 200px; }
  .theme-peakstate .ps-about__lead { font-size: 4.5em; }
}

/* portfolio */
.ps-portfolio-sec { padding-bottom: 22px; }
.ps-portfolio__text { font-size: 1.5em; line-height: 1.5; margin-bottom: 2em; }
.ps-filters { margin-bottom: 40px; }
.ps-scroll-x { overflow: hidden; margin-left: -30px; margin-right: -30px; }
.ps-scroll-x__in { overflow-x: auto; margin-bottom: -30px; padding: 0 30px 30px; -webkit-overflow-scrolling: touch; }
.ps-tags { white-space: nowrap; list-style: none; padding: 0; margin: 0; font-size: 1.125em; }
.ps-tags li { display: inline-block; margin-right: 20px; }
.ps-tag { display: inline-block; position: relative; cursor: pointer; text-align: center; opacity: .6; font: inherit; font-weight: 300; color: inherit; background: none; border: 0; padding: 0; line-height: inherit; -webkit-touch-callout: none; user-select: none; transition: opacity .3s ease; }
.ps-tag::before { display: block; content: attr(title); font-weight: bold; height: 0; overflow: hidden; visibility: hidden; }
.ps-tag:hover { font-weight: 700; opacity: 1; }
.ps-tag::after { content: ''; display: block; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px; background-color: #FF9900; transition: width .3s ease; }
.ps-tag.is-active { opacity: 1; font-weight: 700; }
.ps-tag.is-active::after { width: 100%; }
.ps-grid { margin-left: -10px; margin-right: -10px; }
.ps-grid::after { content: ''; display: table; clear: both; }
.ps-item { display: block; float: left; padding: 0 10px 20px; }
.ps-item--sm { width: 50%; }
.ps-item--md, .ps-item--xl { width: 100%; }
.ps-item__box { display: flex; position: relative; flex-direction: column; align-items: center; justify-content: center; height: 120px; border: none; background-color: #FBFBFB; border-radius: 7px; padding: 25px 32px; transition: box-shadow .3s ease, opacity .3s ease; }
.ps-item.is-active .ps-item__box { box-shadow: 0 4px 14px 0 rgba(10, 58, 114, .08); }
.ps-item.is-disabled .ps-item__box { opacity: .15; pointer-events: none; }
.ps-item--md .ps-item__box { padding: 34px 75px; }
.ps-item--xl .ps-item__box { height: auto; align-items: flex-start; padding: 32px 30px 40px; }
.ps-item__exited { display: block; position: absolute; width: 34px; height: 14px; top: 10px; right: 12px; background: url(../img/exited.svg) center center / 34px 14px no-repeat; }
.ps-item__logo { display: flex; justify-content: center; align-items: center; position: relative; width: 100%; height: 100%; transition: opacity .3s ease; }
.ps-item--xl .ps-item__logo { justify-content: flex-start; align-items: flex-start; max-width: 130px; height: 40px; margin-bottom: 20px; }
.ps-item:not(.ps-item--xl) a:hover .ps-item__logo, .ps-item:not(.ps-item--xl) a:focus-visible .ps-item__logo { opacity: 0; }
.ps-item__logo img { display: inline; vertical-align: middle; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.ps-item__name { font-weight: 700; text-align: center; }
.ps-item__title { font-weight: 700; margin-bottom: .5em; }
.ps-item__text { margin-bottom: 1.3125em; line-height: 1.35; }
.ps-item__text p { margin: 0 0 1rem; }
.ps-item__text [style*="font-weight"] { font-weight: 300 !important; }
.ps-item--xl .ps-item__link { font-size: .875em; text-decoration: underline; }
.ps-item:not(.ps-item--xl) a .ps-item__link { display: block; position: absolute; font-size: .8125em; font-weight: 700; padding: 8px 0; top: 50%; left: 50%; opacity: 0; white-space: nowrap; transform: translateX(-50%) translateY(-50%); transition: opacity .3s ease; }
.ps-item:not(.ps-item--xl) a:hover .ps-item__link, .ps-item:not(.ps-item--xl) a:focus-visible .ps-item__link { opacity: 1; }
.ps-item:not(.ps-item--xl) a .ps-item__link::after { content: ''; display: block; position: absolute; width: 100%; height: 3px; bottom: 0; left: 0; background-color: #FFD231; }
@media (min-width: 768px) {
  .ps-portfolio-sec { padding-bottom: 40px; }
  .ps-portfolio-sec .ps-h2 { float: left; }
  .ps-portfolio__text { max-width: 465px; overflow: hidden; margin-left: auto; }
  .ps-scroll-x { margin-left: -40px; margin-right: -40px; }
  .ps-scroll-x__in { padding-left: 40px; padding-right: 40px; }
  .ps-tags li { margin-right: 40px; }
  .ps-item--xl a { height: 260px; }
  .ps-item--sm { width: 25%; }
  .ps-item--md { width: 50%; }
  .ps-item--xl { width: 100%; }
  .ps-item__text { display: block; height: 4.05em; overflow: hidden; flex-shrink: 0; }
  .ps-item--xl .ps-item__link { margin-top: auto; }
}
@media (max-width: 991.98px) {
  /* fix (round 2): "All" stays on phones and tablets (the old theme hid it and forced PropTech) */
  .ps-item.is-disabled { display: none; }
}
@media (min-width: 1200px) {
  .ps-portfolio-sec { padding-bottom: 100px; }
  .ps-filters { margin-bottom: 55px; }
  .ps-item--sm { width: 12.5%; }
  .ps-item--md { width: 25%; }
  .ps-item--xl { width: 50%; }
  .ps-item--xl.ps-item--right { float: right; }
}

/* team */
.ps-team-sec { padding-bottom: 60px; }
.ps-team-wrap { position: relative; }
.ps-team { margin: 0; }
.ps-team::after { content: ''; display: table; clear: both; }
.ps-person { width: 100%; padding: 0; }
.ps-card { display: block; position: relative; border: none; border-radius: 7px; overflow: hidden; background: #e9e9e9; cursor: default; }
.ps-card::before { content: ''; display: block; padding-top: 146%; }
.ps-card .ps-card__photo { display: block; position: absolute; top: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ps-card__info { position: absolute; z-index: 2; color: #FFF; bottom: 0; left: 0; width: 100%; padding: 30px 40px; background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%); }
.ps-card__info::after { content: ''; display: block; position: absolute; bottom: 34px; right: 40px; width: 23px; height: 5px; background: url(../img/dots.svg) center center / 23px 5px no-repeat; }
.ps-card__name, .ps-tmodal .ps-card__name { font-size: 1.75em; font-weight: 700; }
.ps-card__more, .ps-tmodal .ps-card__more { display: none; position: relative; z-index: 2; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; padding: 30px 40px; background-position: center center; background-repeat: no-repeat; background-size: cover; transition: top .5s ease; }
.ps-card__more::before, .ps-tmodal .ps-card__more::before { content: ''; display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba(0, 0, 0, .25); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); }
.ps-card__content { display: flex; flex-direction: column; position: relative; z-index: 2; width: 100%; height: 100%; color: #FFF; }
.ps-card__bio { margin-bottom: 40px; line-height: 1.4; }
.ps-card__contacts { position: relative; margin-top: auto; padding-left: 61px; }
.ps-card__contacts::before { content: ''; display: block; position: absolute; width: 26px; height: 26px; left: 0; top: 50%; margin-top: -13px; background: url(../img/linkedin.svg) center center / 26px 26px no-repeat; }
.ps-tmodal { position: fixed; z-index: 1100; top: 0; left: 0; width: 100%; height: 100%; }
.ps-tmodal .ps-card__more { display: block; background-image: var(--ps-photo); overflow-y: auto; }
.ps-tmodal .ps-card__bio { margin-top: 25px; }
.ps-tmodal__close { display: block; position: absolute; z-index: 10; width: 30px; height: 30px; top: 15px; right: 15px; padding: 0; border: 0; cursor: pointer; background: url(../img/close.svg) center center / 15px 15px no-repeat; }
.ps-team__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; min-height: 28px; }
.ps-team__next { font-weight: 700; }
@media (max-width: 767.98px) {
  /* phones: one card at a time, the next one peeking in (the old Owl carousel) */
  .ps-team { display: flex; gap: 15px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -30px; padding-right: 30px; scrollbar-width: none; -ms-overflow-style: none; touch-action: pan-x pan-y; }
  .ps-team::-webkit-scrollbar { display: none; }
  .ps-team::after { content: none; }
  .ps-person { flex: 0 0 100%; scroll-snap-align: start; }
  .ps-card[tabindex] { cursor: pointer; }
}
@media (min-width: 768px) {
  .ps-team-sec { padding-bottom: 80px; }
  .ps-team { margin-left: -10px; margin-right: -10px; position: relative; }
  .ps-team__nav { display: none !important; }
  .ps-person { width: 50%; float: left; padding: 0 10px 20px; }
  .ps-team.is-masonry .ps-person { position: absolute; float: none; }
  .ps-card { z-index: 5; -webkit-mask-image: -webkit-radial-gradient(white, black); }
  .ps-card::before { content: none; }
  .ps-card .ps-card__photo { position: relative; height: auto; aspect-ratio: var(--ps-ar, auto); }
  .ps-card__info { padding: 35px 42px; }
  .ps-card__more { display: block; position: absolute; padding: 30px 28px 28px; top: 100%; }
  .ps-card:hover .ps-card__more, .ps-card:focus-within .ps-card__more, .ps-card:focus .ps-card__more { top: 0%; }
  .ps-card__bio { font-size: .875em; }
  .ps-tmodal { display: none !important; }
}
@media (min-width: 1200px) { .ps-card__info::after { display: none; } }
@media (min-width: 1440px) {
  .ps-person { width: 33.333333333%; }
  .ps-card__more { padding: 35px 42px; }
  .ps-card__bio { font-size: 1em; }
}


/* stories */
.ps-stories-sec { padding-bottom: 60px; }
.ps-story { display: flex; position: relative; flex-direction: column; border-radius: 7px; background: #F9F9F9; overflow: hidden; margin-bottom: 20px; }
.ps-story::after { content: ''; display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #FFF; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.ps-story:hover::after { opacity: .3; }
.ps-story__row { display: flex; margin-left: -10px; margin-right: -10px; height: 200px; }
.ps-story__half { flex: 0 0 50%; max-width: 50%; padding-left: 10px; padding-right: 10px; }
.ps-story__half--media { order: 2; }
.ps-story__preview { display: block; position: relative; width: 100%; }
.ps-story--full .ps-story__preview { height: 100%; }
.ps-story__preview img { position: absolute; top: 0; left: 0; width: 100%; height: 100% !important; object-fit: cover; }
.ps-story__preview::after { content: ''; display: block; position: relative; padding-top: 58.5%; }
.ps-story--full .ps-story__preview::after { content: none; }
.ps-story__content { position: relative; padding: 16px; height: 100%; display: flex; flex-direction: column; }
.ps-story__info { display: flex; align-items: center; margin-bottom: 16px; min-height: 24px; }
.ps-story--full .ps-story__info { margin-bottom: auto; }
.ps-story__icon { display: block; margin-right: 8px; flex-shrink: 0; border-radius: 50%; overflow: hidden; width: 24px; height: 24px; background-color: #FFF; }
.ps-story__icon img { width: 100%; height: 100%; object-fit: cover; }
/* no picture: the site's misty peak (hero artwork) on a soft brand sky, with the mark */
.ps-story__preview--none, .theme-peakstate .nw-card--noimg::before {
  background-color: #EEF1F7;
  background-image: radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,255,255,0)), image-set(url(../img/rock-2.webp) 1x, url(../img/rock-2@2x.webp) 2x), linear-gradient(180deg, #FFFFFF 0%, #E3E8F2 100%);
  background-size: 46% 70%, cover, 100% 100%; background-position: center, 50% 62%, 0 0; background-repeat: no-repeat;
  background-blend-mode: normal, multiply, normal; }
.ps-story__preview--none::before { content: ''; position: absolute; z-index: 1; left: 50%; top: 50%; width: 34px; height: 34px; transform: translate(-50%, -50%);
  background: url(../mark.svg) center / contain no-repeat; filter: drop-shadow(0 6px 16px rgba(0, 22, 80, .22)); }
@media (min-width: 768px) { .ps-story__preview--none::before { width: 60px; height: 60px; } }
.ps-story__name { font-size: 12px; line-height: 1; }
.ps-story__title { font-size: 12px; line-height: 16px; height: 48px; overflow: hidden; margin-bottom: 8px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.ps-story__date { color: #646E8A; font-size: 12px; line-height: 16px; }
@media (min-width: 768px) {
  .ps-stories-sec { padding-bottom: 80px; }
  .ps-story__row { height: 340px; }
  .ps-story__preview::after { padding-top: 64.5%; }
  .ps-story__content { padding: 16px 24px; }
  .ps-story__icon { margin-right: 16px; width: 32px; height: 32px; }
  .ps-story__info { min-height: 32px; }
  .ps-story__name { font-size: 18px; }
  .ps-story__title { font-size: 24px; line-height: 32px; height: 96px; margin-bottom: 16px; }
  .ps-story__date { font-size: 18px; line-height: 24px; }
}
@media (min-width: 1200px) {
  .ps-stories-sec { padding-bottom: 120px; }
  .ps-story__row { height: 354px; }
  .ps-story__preview::after { padding-top: 50%; }
  .ps-story__title { height: 64px; -webkit-line-clamp: 2; }
}
@media (min-width: 1440px) { .ps-story__row { height: 391px; } }

/* pagination */
.ps-pager { display: flex; justify-content: center; list-style: none; padding-left: 0; margin: 20px 0 1rem; }
.ps-pager__link { display: block; position: relative; font-family: inherit; font-weight: 300; font-size: 21px; line-height: 1; padding: 5px 10px; color: #5A6688; border: none; background: none; cursor: pointer; }
.theme-peakstate .ps-pager__link { color: #5A6688; }
.theme-peakstate .ps-pager__link:hover { color: #001650; background: none; text-decoration: underline; }
.theme-peakstate .ps-pager__item.is-active .ps-pager__link { color: #001650; }
.ps-pager__item--prev .ps-pager__link, .ps-pager__item--next .ps-pager__link { text-indent: -9999px; overflow: hidden; width: 30px; }
.theme-peakstate .ps-pager__item--prev .ps-pager__link:hover, .theme-peakstate .ps-pager__item--next .ps-pager__link:hover { opacity: .5; }
.ps-pager__item--prev { margin-right: 20px; }
.ps-pager__item--prev .ps-pager__link { background: url("data:image/svg+xml,%3Csvg width='9' height='16' viewBox='0 0 9 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 15L1 8L8 1' stroke='%23001650' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A") center center no-repeat; }
.ps-pager__item--next { margin-left: 20px; }
.ps-pager__item--next .ps-pager__link { background: url("data:image/svg+xml,%3Csvg width='9' height='16' viewBox='0 0 9 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L8 8L1 15' stroke='%23001650' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A") center center no-repeat; }
.theme-peakstate .ps-pager__item--prev .ps-pager__link:hover { background: url("data:image/svg+xml,%3Csvg width='9' height='16' viewBox='0 0 9 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 15L1 8L8 1' stroke='%23001650' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A") center center no-repeat; }
.theme-peakstate .ps-pager__item--next .ps-pager__link:hover { background: url("data:image/svg+xml,%3Csvg width='9' height='16' viewBox='0 0 9 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L8 8L1 15' stroke='%23001650' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A") center center no-repeat; }
@media (min-width: 1200px) { .ps-pager { margin-top: 40px; } }

/* inner pages (the old #inner: /stories/, text pages) */
.ps-inner { display: block; overflow: hidden; padding-top: 160px; padding-bottom: 60px; }
@media (min-width: 768px) { .ps-inner { padding-top: 180px; } }
.theme-peakstate .ps-h1--plain { text-transform: none; font-size: 31px; line-height: 35px; margin-bottom: 1em; }
@media (min-width: 768px) { .theme-peakstate .ps-h1--plain { font-size: 55px; line-height: 61px; margin-bottom: 44px; } }
.ps-prose { max-width: 75%; font-size: 1em; }
.ps-prose img { display: block; max-width: 100%; height: auto; margin: 40px 0; }
.ps-prose a { text-decoration: underline !important; }
@media (max-width: 1199.98px) { .ps-prose { max-width: none; } }
.ps-partnote p { padding: 16px 20px; border: 2px dashed #FF9900; border-radius: 7px; }
.ps-partlist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ps-partlist li { display: flex; align-items: center; gap: 10px; }
.ps-partlist .ps-story__icon { width: 32px; height: 32px; margin: 0; border: 1px solid #e2e2e2; }

/* events */
.ps-events-sec { padding-bottom: 60px; }
.ps-event__card { display: block; position: relative; padding: 38px 38px 46px; height: 400px; overflow: hidden; border-radius: 7px; background-color: #0a3a72; background-position: center center; background-repeat: no-repeat; background-size: cover; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.theme-peakstate .ps-event__card, .theme-peakstate .ps-event__card:hover { color: #F7F7F7; }
.ps-event__card::before { content: ''; display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(0deg, rgba(0, 22, 80, 0) 0%, rgba(10, 58, 114, 1) 100%); }
.ps-event__card::after { content: ''; display: block; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-color: #001650; opacity: 0; transition: opacity .3s ease; }
.ps-event__card:hover::after, .ps-event__card:focus-visible::after { opacity: 1; }
.ps-event__content { display: flex; position: relative; z-index: 2; flex-direction: column; width: 100%; height: 100%; }
.ps-event__title { font-size: 1.75em; margin-top: auto; }
.ps-events__nav { display: flex; flex-direction: row; justify-content: space-between; align-items: center; margin-top: 30px; }
.ps-arrow { display: block; position: relative; width: 34px; height: 22px; padding: 0; border: 0; cursor: pointer; background: transparent center center / 34px 8px no-repeat; }
.ps-arrow--prev { background-image: url(../img/arrow-left.svg); }
.ps-arrow--next { background-image: url(../img/arrow-right.svg); }
.ps-count { font-size: 1em; }
@media (max-width: 767.98px) {
  .ps-events { display: flex; gap: 15px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -30px; padding-right: 30px; scrollbar-width: none; }
  .ps-events::-webkit-scrollbar { display: none; }
  .ps-event { flex: 0 0 100%; scroll-snap-align: start; }
}
@media (min-width: 768px) {
  .ps-events { display: flex; flex-direction: row; flex-wrap: wrap; margin-left: -10px; margin-right: -10px; }
  .ps-event { display: block; width: 50%; padding: 0 10px 20px; }
  .ps-events__nav { display: none !important; }
}
@media (min-width: 1200px) { .ps-event__card { padding: 52px; } }

/* the event photos window */
.ps-modal { display: block; position: fixed; overflow: hidden; z-index: 1100; top: 0; right: 0; bottom: 0; left: 0; padding: 62px 0 14px; color: #FFF; opacity: 0; transition: opacity .5s ease; }
.ps-modal[hidden] { display: none; }
.ps-modal.is-open { opacity: 1; }
.ps-modal__shade { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba(0, 0, 0, .86); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); }
.ps-modal__box { position: relative; z-index: 2; width: 100%; height: 100%; }
.ps-modal__close { display: block; position: fixed; z-index: 10; width: 30px; height: 30px; top: 15px; right: 15px; padding: 0; border: 0; cursor: pointer; background: url(../img/close.svg) center center / 15px 15px no-repeat; }
.ps-modal__content { position: relative; z-index: 2; width: 100%; height: 100%; overflow-y: auto; }
.ps-modal__title { font-size: 1.5em; margin-bottom: 1.5em; }
.ps-slider { overflow-y: auto; }
.ps-slider img { display: block; max-width: 100%; height: auto; margin-bottom: 16px; }
.ps-slider__nav { display: none; }
body.ps-noscroll { overflow: hidden; }
@media (min-width: 768px) {
  .ps-modal { padding: 30px 0; }
  .ps-modal__close { top: 25px; right: 25px; }
  .ps-modal__content { display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
  .ps-modal__content > .ps-container { width: 100%; }
  .ps-modal__title { font-size: 2.125em; margin-bottom: 1.75em; }
  .ps-slider { overflow: visible; }
  .ps-slider__track { display: flex; gap: 20px; transition: transform .25s ease; }
  .ps-slider img { margin: 0; height: 50vh; width: auto; max-width: none; flex: none; }
  .ps-slider__nav { display: flex; flex-direction: row; justify-content: space-between; align-items: center; margin-top: 30px; }
  .ps-slider__nav .ps-arrow--prev { background-image: url(../img/arrow-left-w.svg); }
  .ps-slider__nav .ps-arrow--next { background-image: url(../img/arrow-right-w.svg); }
}
@media (min-width: 1200px) {
  .ps-modal__close { top: 30px; right: 30px; }
  .ps-slider__nav { max-width: 320px; }
}

/* footer (#contact) */
.ps-footer { padding-bottom: 100px; background: #FFF url(../img/rock-footer.webp) right 55% bottom -20px / 673px 216px no-repeat; }
.ps-footer__brand { display: inline-block; position: relative; z-index: 10; width: 102px; height: 30px; margin-bottom: 37px; padding: 0; background: url(../img/logo.svg) left center / contain no-repeat; text-indent: -9999px; white-space: nowrap; font-size: 0; }
.ps-footer__row { align-items: center; }
.ps-footer__copy { position: relative; }
.ps-footer__extra { position: absolute; left: 10px; right: 10px; top: 100%; margin-top: -6px; font-size: 13px; }
.ps-footer__small { font-size: 13px; margin-bottom: 6px !important; }
.ps-credit { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.ps-credit img { display: block; height: 25px; width: auto; }
@media (max-width: 767.98px) {
  .theme-peakstate .ps-footer__t1 { margin-bottom: 0; }
  .theme-peakstate .ps-footer__t2 { margin-top: -2px; border-bottom: none; border-top: 2px solid #FF9900; padding-top: 10px; }
}
@media (min-width: 768px) {
  .ps-footer { padding-bottom: 130px; background-position: right 55% bottom -80px; background-size: 1013px 325px; }
  .theme-peakstate .ps-footer__t1 { display: block; margin-right: -20px; }
}
@media (min-width: 1200px) {
  .ps-footer { padding-bottom: 100px; background-position: right -200px bottom; }
  .ps-footer__brand { width: 126px; height: 37px; background-size: contain; }
}

/* ── the platform's own pages in this look (News story and lists, Portfolio, Team, Events, 404, cookie policy) ── */
.theme-peakstate .pagehead { padding: 160px 0 0; background: #fff; text-align: left; }
@media (min-width: 768px) { .theme-peakstate .pagehead { padding-top: 180px; } }
.theme-peakstate .pagehead .wrap, .theme-peakstate .cm-sec .wrap, .theme-peakstate .sec .wrap, .theme-peakstate .nw-page, .theme-peakstate main > .wrap { max-width: 1360px; padding-left: 30px; padding-right: 30px; }
@media (min-width: 768px) { .theme-peakstate .pagehead .wrap, .theme-peakstate .cm-sec .wrap, .theme-peakstate .sec .wrap, .theme-peakstate .nw-page, .theme-peakstate main > .wrap { padding-left: 40px; padding-right: 40px; } }
@media (min-width: 1200px) and (max-width: 1439.98px) { .theme-peakstate .pagehead .wrap, .theme-peakstate .cm-sec .wrap, .theme-peakstate .sec .wrap, .theme-peakstate .nw-page, .theme-peakstate main > .wrap { max-width: 1140px; } }
.theme-peakstate .h-page, .theme-peakstate .nw-head__title { font-family: inherit; font-size: 1.9375em; font-weight: 500; line-height: 1.2; letter-spacing: normal; text-transform: uppercase; color: #001650; margin: 0 0 .775em; }
@media (min-width: 768px) { .theme-peakstate .h-page, .theme-peakstate .nw-head__title { font-size: 4.5em; } }
.theme-peakstate .eyebrow { -webkit-text-fill-color: currentColor; background: none; color: #646E8A; font-weight: 300; font-size: 18px; }
.theme-peakstate .pagehead__sub { font-size: 1.375em; color: #001650; }
.theme-peakstate .h-section { font-family: inherit; font-size: 1.5em; font-weight: 700; text-transform: uppercase; letter-spacing: normal; }
.theme-peakstate .btn { font-family: inherit; font-weight: 700; border-radius: 27px; }
/* orange buttons with navy text (7.9:1; white on orange was 2.1:1 - round 3) */
.theme-peakstate .btn--primary, .theme-peakstate .btn--dark { background: #FF9900; border-color: #FF9900; color: #001650; }
.theme-peakstate .btn--primary:hover, .theme-peakstate .btn--dark:hover { background: #FCA92E; border-color: #FCA92E; color: #001650; }
.theme-peakstate .prose a, .theme-peakstate .cm-sec a:not(.btn):not(.cm-pill) { text-decoration: underline; }
.theme-peakstate .cm-crumbs, .theme-peakstate .nw-crumbs { display: none; }
.theme-peakstate .cm-pill { border-radius: 27px; font-weight: 300; }
.theme-peakstate .cm-pill.is-active { background: #001650; border-color: #001650; color: #fff; }
.theme-peakstate .cm-card { border-radius: 7px; background: #F9F9F9; box-shadow: none; }
/* the portfolio's own pages: the cover is the company logo */
.theme-peakstate .pf-card .cm-card__media { background: #FBFBFB; display: flex; align-items: center; justify-content: center; padding: 30px 40px; aspect-ratio: 16 / 9; }
.theme-peakstate .pf-card .cm-card__media img { width: auto; height: auto; max-width: 100%; max-height: 80px; object-fit: contain; position: static; }
.theme-peakstate .pf-cover { background: #FBFBFB; border-radius: 7px; padding: 48px; display: flex; justify-content: flex-start; }
.theme-peakstate .pf-cover img { width: auto; max-width: 260px; max-height: 90px; height: auto; object-fit: contain; }
.theme-peakstate .pf-facts { background: none; border: 0; padding: 0; gap: 8px 48px; }
.theme-peakstate .pf-facts dt { color: #646E8A; font-weight: 300; text-transform: none; letter-spacing: normal; font-size: 14px; }
.theme-peakstate .pf-facts dd { color: #001650; font-size: 18px; overflow-wrap: anywhere; }
/* Events: the photos of an event in rows of three on its own page */
.theme-peakstate.ev-detail .prose:has(> p img) { display: flex; flex-wrap: wrap; gap: 12px; }
.theme-peakstate.ev-detail .prose:has(> p img) > * { flex: 0 0 100%; margin: 0; }
.theme-peakstate.ev-detail .prose:has(> p img) > p:has(img) { flex: 0 0 calc((100% - 24px) / 3); }
.theme-peakstate.ev-detail .prose p img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: 7px; margin: 0; }
@media (max-width: 575.98px) { .theme-peakstate.ev-detail .prose:has(> p img) > p:has(img) { flex-basis: calc((100% - 12px) / 2); } }
/* News: the story page in the old story layout (date and "Story" above the title, the lead, the text) */
.theme-peakstate .nw-progress, .theme-peakstate .nw-story__side, .theme-peakstate .nw-share, .theme-peakstate .nw-story__share, .theme-peakstate .nw-more, .theme-peakstate .nw-readalso, .theme-peakstate .nw-translations, .theme-peakstate .nw-side, .theme-peakstate .nw-feedlink, .theme-peakstate .nw-more-link, .theme-peakstate .nw-byline__avatar { display: none !important; }
.theme-peakstate .nw-story { display: block; max-width: 1280px; padding-top: 140px; padding-bottom: 60px; }
.theme-peakstate .nw-story__head { padding-bottom: 0; }
.theme-peakstate .nw-story__kicker { gap: 0; margin-bottom: 20px; }
.theme-peakstate .nw-story__kicker .nw-kicker { padding-bottom: 0; border-bottom: 0; }
@media (min-width: 768px) { .theme-peakstate .nw-story { padding-top: 144px; } }
.theme-peakstate .nw-story__head { display: flex; flex-direction: column; }
.theme-peakstate .nw-story__kicker { order: 1; display: flex; align-items: center; font-size: 18px; line-height: 24px; margin-bottom: 20px; }
.theme-peakstate .nw-story__kicker .nw-kicker { display: flex; align-items: center; color: #001650; font-size: 18px; font-weight: 300; text-transform: none; letter-spacing: normal; background: none; padding: 0; }
.theme-peakstate .nw-story__kicker .nw-kicker::before { content: ''; display: block; width: 5px; height: 5px; border-radius: 50%; background: #FF9900; margin: 0 20px 0 0; }
.theme-peakstate .nw-story__title { order: 2; font-family: inherit; font-size: 31px; line-height: 35px; font-weight: 500; letter-spacing: normal; margin: 0 0 1em; text-transform: none; color: #001650; max-width: none; }
.theme-peakstate .nw-story__standfirst { order: 3; font-size: 16px; font-weight: 400; line-height: 1.5; color: #001650; max-width: 75%; margin: 0; }
.theme-peakstate .nw-story__rail { position: static; display: block; margin: 0 0 20px; padding: 0; border: 0; }
.theme-peakstate .nw-byline { display: flex; gap: 0; }
.theme-peakstate .nw-byline__name { display: none; }
.theme-peakstate .nw-byline__meta { display: flex; color: #646E8A; font-size: 18px; line-height: 24px; }
.theme-peakstate .nw-byline__meta > span { display: none; }
.theme-peakstate .nw-story__main { max-width: 75%; }
.theme-peakstate .nw-prose { font-size: 16px; line-height: 1.35; color: #001650; font-weight: 300; }
.theme-peakstate .nw-prose p { margin: 0 0 1rem; }
.theme-peakstate .nw-prose img { display: block; width: 100%; height: auto; margin: 40px 0; border-radius: 0; }
.theme-peakstate .nw-prose > p:first-of-type::first-letter { font-weight: inherit; }
.theme-peakstate .nw-prose a { color: #001650; text-decoration: none; font-weight: inherit; }
.theme-peakstate .nw-prose a:hover { text-decoration: underline; }
.theme-peakstate .nw-story.ps-dated .nw-story__rail { display: none; }
.ps-story-date { color: #646E8A; }
.theme-peakstate .nw-story.ps-dated .nw-kicker::before { margin: 0 20px; }
.theme-peakstate .nw-story__media { display: none; }
.theme-peakstate .nw-topics, .theme-peakstate .nw-story__foot { border: 0; padding: 0; margin: 0; }
@media (min-width: 768px) {
  .theme-peakstate .nw-story__title { font-size: 55px; line-height: 61px; margin-bottom: 44px; }
  .theme-peakstate .nw-story__standfirst { font-size: 22px; }
}
@media (max-width: 1199.98px) { .theme-peakstate .nw-story__main, .theme-peakstate .nw-story__standfirst { max-width: none; } }
.theme-peakstate .nw-page { padding-top: 160px; padding-bottom: 60px; }
@media (min-width: 768px) { .theme-peakstate .nw-page { padding-top: 180px; } }
.theme-peakstate .nw-card { background: #F9F9F9; border-radius: 7px; overflow: hidden; }
.theme-peakstate .nw-card__title a { color: #001650; }
.theme-peakstate .nw-kicker { color: #001650; }
.theme-peakstate .nw-meta { color: #646E8A; }
/* 404: the hero of the old 404 template ("Error 404" over the mountain) */
.theme-peakstate.page-404 main { position: relative; overflow: hidden; padding-bottom: 60px; }
.theme-peakstate.page-404 .pagehead { position: relative; z-index: 5; text-align: center; padding-top: 123px; background: transparent; }
.theme-peakstate.page-404 .pagehead .eyebrow { display: block; margin: 0 0 2.35em; color: #001650; font-size: 1.25em; }
.theme-peakstate.page-404 .pagehead .eyebrow::before { content: 'Error '; }
.theme-peakstate.page-404 .h-page { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: min(2.125em, 7.2vw); line-height: 1.1; letter-spacing: .33em; color: #FF9900; }
.theme-peakstate.page-404 .pagehead__sub { display: none; }
.theme-peakstate.page-404 main { --ps404-w: min(1280px, 100vw - 80px); --ps404-top: 193px; --ps404-m: 0px; --ps404-cw: var(--ps404-w); --ps404-ctop: calc(var(--ps404-top) - var(--ps404-m) + (var(--ps404-m) + var(--ps404-w) * 766 / 1280) / 2); }
.theme-peakstate.page-404 main::before { content: ''; display: block; position: absolute; z-index: 1; left: 50%; top: var(--ps404-top); width: var(--ps404-w); aspect-ratio: 1280 / 766; transform: translateX(-50%); background: url(../img/rock.webp) center top / 100% auto no-repeat, url(../img/rock-bg.webp) center top / 100% auto no-repeat; pointer-events: none; }
.theme-peakstate.page-404 main::after, .ps-404-clouds { content: ''; display: block; position: absolute; z-index: 2; left: 50%; top: var(--ps404-ctop); width: var(--ps404-cw); height: calc(var(--ps404-cw) * 930 / 1280); margin-left: calc(var(--ps404-cw) / -2); background: url(../img/clouds.webp) center top / 100% auto no-repeat; pointer-events: none; }
.theme-peakstate.page-404 main > .sec { position: relative; z-index: 5; margin-top: min(40vw, 470px); padding-bottom: 20px; }
@media (max-width: 767.98px) {
  /* phones: the mountain at 270% of the column, shifted left, as on the old 404 */
  .theme-peakstate.page-404 main { --ps404-w: calc((100vw - 60px) * 2.7); --ps404-top: 93px; --ps404-cw: 100vw; --ps404-ctop: calc(93px + (100vw - 60px) * 2.7 * 766 / 1280 * .7); }
  .theme-peakstate.page-404 main::before { left: 30px; margin-left: calc((100vw - 60px) * -0.9); transform: none; }
  .theme-peakstate.page-404 main::after, .ps-404-clouds { left: 0; margin-left: 0; }
  .theme-peakstate.page-404 main > .sec { margin-top: calc((100vw - 60px) * 2.7 * 766 / 1280 - 150px); }
}
.theme-peakstate .nw-story__title, .theme-peakstate .ps-h1 { text-wrap: wrap; }
@media (min-width: 768px) {
  /* the mountain of the home hero: the container's width, 70 px under the title block (20 px from 992 px, 0 from 1200 px) */
  .theme-peakstate.page-404 main { --ps404-top: 203px; --ps404-m: 70px; }
  .theme-peakstate.page-404 .pagehead { padding-top: 133px; }
  .theme-peakstate.page-404 .pagehead .eyebrow { font-size: 1.875em; margin-bottom: 1.3em; }
  .theme-peakstate.page-404 .h-page { font-size: 4.125em; }
}
@media (min-width: 992px) { .theme-peakstate.page-404 main { --ps404-top: 153px; --ps404-m: 20px; } }
@media (min-width: 1200px) {
  .theme-peakstate.page-404 main { --ps404-top: 193px; --ps404-m: 0px; }
  .theme-peakstate.page-404 .pagehead { padding-top: 193px; }
  .theme-peakstate.page-404 .h-page { font-size: 6em; }
}
/* the cookie banner and its window in this look */
.theme-peakstate .consent, .theme-peakstate [class*="consent"] { font-family: 'Signika', sans-serif; }

/* ── review round 1 (2026-11-26) ── */
/* bigger hit areas around the same drawings (44 x 44 on touch screens) */
.ps-toggler::before { content: ''; position: absolute; top: -8px; right: -8px; bottom: -8px; left: -8px; }
.ps-arrow::before { content: ''; position: absolute; top: -11px; right: -5px; bottom: -11px; left: -5px; }
.ps-modal__close::before, .ps-tmodal__close::before { content: ''; position: absolute; top: -7px; right: -7px; bottom: -7px; left: -7px; }
.ps-footer__small a, .ps-credit { display: inline-block; padding: 4px 0; margin: -4px 0; }
.ps-credit { display: inline-flex; }
.ps-tag { padding: 10px; margin: -10px; }
.ps-tag::after { left: 10px; bottom: 10px; }
.ps-tag.is-active::after { width: calc(100% - 20px); }
/* home: faded portfolio tiles are out of reach for the mouse - and for the keyboard (peakstate.js) */
/* News lists (/news/, /news/story/, /news/press/): no sidebar here, so the list takes the whole width */
.theme-peakstate .nw-with-side { grid-template-columns: minmax(0, 1fr); }
.theme-peakstate .nw-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.theme-peakstate .nw-card--noimg::before { content: ''; display: block; aspect-ratio: 16 / 10; border-radius: 7px;
  background-image: url(../mark.svg), radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,255,255,0)), image-set(url(../img/rock-2.webp) 1x, url(../img/rock-2@2x.webp) 2x), linear-gradient(180deg, #FFFFFF 0%, #E3E8F2 100%);
  background-size: 56px auto, 46% 70%, cover, 100% 100%; background-position: center, center, 50% 62%, 0 0; background-repeat: no-repeat; background-blend-mode: normal, normal, multiply, normal; }
.theme-peakstate .nw-card__media { border-radius: 7px; }
/* News story: the text column of the old col-xl-9 (955 px at 1440), the lead paragraph in the text */
.theme-peakstate .nw-story__main, .theme-peakstate .nw-story__standfirst { max-width: calc(75% - 5px); }
.theme-peakstate .nw-story:has(.nw-prose > p.lead:first-child) .nw-story__standfirst { display: none; }
.theme-peakstate .nw-prose p.lead { font-size: 16px; font-weight: 400; line-height: 1.5; margin: 0 0 1rem; }
@media (min-width: 768px) { .theme-peakstate .nw-prose p.lead { font-size: 22px; } }
@media (max-width: 1199.98px) { .theme-peakstate .nw-story__main, .theme-peakstate .nw-story__standfirst { max-width: none; } }
/* Portfolio project pages: the website once (as a link, peakstate.js), the text once, the logo in a fitting box */
.theme-peakstate.pf-detail .pagehead .eyebrow { display: none; }
.theme-peakstate.pf-detail:has(.pf-story) .pagehead__sub { display: none; }
.theme-peakstate .pf-facts { display: flex; flex-wrap: wrap; }
.theme-peakstate .pf-facts dd { overflow-wrap: normal; word-break: normal; }
.theme-peakstate .pf-facts dd a { color: #001650; text-decoration: underline; }
.theme-peakstate .pf-cover { display: inline-flex; justify-content: center; align-items: center; min-width: min(100%, 320px); max-width: 100%; }
/* Events: a past event shows its date and place only (the old site showed "SF 2019"; the time of day
   and the core's "Times are Limassol time." are not known / not right for SF, London, New York) */
.theme-peakstate.ev-detail .ev-box:not(:has(.ev-box__btns)) .cm-meta-list > li:first-child { display: none; }
/* 404: readable outline button over the rock, the clouds fade out before the footer */
.theme-peakstate.page-404 .btn--outline { background: #fff; }
.theme-peakstate.page-404 main::after { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }

/* ── review round 2 (2026-11-26) ── */
/* links: the underline of the old theme (the platform's site.css draws it 3 px lower and 1 px thin) */
.theme-peakstate a { text-underline-offset: auto; text-decoration-thickness: auto; }
/* one way into the cookie choices: the footer's "Cookie settings" (as the banner says); no floating
   cookie or back-to-top circles over the content - the old site had neither */
.theme-peakstate .cc-fab, .theme-peakstate .totop { display: none !important; }
/* hero title from 768 px: keeps the 40 px gutter on narrow tablets (was 5 px at 768) */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .theme-peakstate .ps-hero__title { font-size: min(4.125em, 7.6vw); }
}
/* portfolio filter row: a fade at the right edge while more tags are hidden there (peakstate.js) */
.ps-scroll-x { position: relative; }
.ps-scroll-x::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 56px; background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 85%); pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.ps-scroll-x.is-more::after { opacity: 1; }
/* story cards: whole words before the ellipsis (peakstate.js trims the title by words; the line
   clamp stays as the no-script fallback) */
.ps-story__title.is-fit { display: block; -webkit-line-clamp: unset; position: relative; margin-right: -1em; padding-right: 1em; }
.ps-ell { display: inline-block; width: 0; overflow: visible; white-space: nowrap; }
/* phones: card titles 14 px (were 12 px), source and date 13 px; three lines as before */
@media (max-width: 767.98px) {
  .ps-story__title { font-size: 14px; line-height: 18px; height: 54px; }
  .ps-story__name, .ps-story__date { font-size: 13px; }
}
/* event photos window: scrolls when the screen is too short (phone landscape), the pictures shrink
   so title + photos + arrows fit where they can; photos follow a swipe (peakstate.js) */
@media (min-width: 768px) {
  .ps-modal__content { display: flex; flex-direction: column; justify-content: flex-start; overflow-x: hidden; overflow-y: auto; }
  .ps-modal__content > .ps-container { margin-top: auto; margin-bottom: auto; }
  .ps-slider img { height: max(140px, min(50vh, 100vh - 280px)); }
  .ps-slider__track { touch-action: pan-y; }
  .ps-slider__track.is-drag { transition: none; }
  .ps-slider img { -webkit-user-drag: none; user-select: none; }
}
@media (min-width: 768px) and (max-height: 560px) {
  .ps-modal__title { font-size: 1.5em; margin-bottom: .75em; }
  .ps-slider__nav { margin-top: 16px; }
}
/* 404: the clouds are a real element when the script runs, so they drift up like the home hero's */
.ps-404-js.page-404 main::after { display: none; }
.ps-404-clouds { will-change: transform; }
.ps-404-clouds::after { content: ''; display: block; position: absolute; top: 100%; left: 0; width: 100%; height: 200vh; margin-top: -2px; background: #fff; }

/* ── the platform's module pages in this look (round 2) ── */
/* page headings: Signika 400 like the old h1 (the variable font no longer draws 500 as Medium) */
.theme-peakstate .ps-h1, .theme-peakstate .nw-story__title, .theme-peakstate .h-page, .theme-peakstate .nw-head__title { font-weight: 400; }
.theme-peakstate.page-404 .h-page { font-weight: 600; }
/* module pagers (/projects/, /events/past/, /news/) drawn like the site's pager: grey numbers, navy current */
.theme-peakstate .cm-pager { gap: 0; }
.theme-peakstate .cm-pager ol { gap: 0; }
.theme-peakstate .cm-pager__num, .theme-peakstate .cm-pager__step { min-width: 44px; height: 44px; padding: 0 10px; border: 0; border-radius: 0; background: none; font-weight: 300; font-size: 21px; color: #5A6688; }
.theme-peakstate .cm-sec .cm-pager a { text-decoration: none; }
.theme-peakstate .cm-sec .cm-pager a:hover { color: #001650; text-decoration: underline; border: 0; }
.theme-peakstate .cm-pager__num.is-current { background: none; color: #001650; }
.theme-peakstate .cm-pager__step span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.theme-peakstate .cm-pager__step.is-off { visibility: hidden; }
.theme-peakstate .cm-pager__step .ico { color: #001650; }
/* /projects/: no "Featured" badge (it only meant "large tile" on the home page); logos at one shared
   height inside the card, never blown up past their own size */
.theme-peakstate .pf-card .cm-badge { display: none; }
.theme-peakstate .pf-card .cm-card__media img { max-width: min(100%, 180px); max-height: 56px; }
/* /projects/<slug>/: one left edge for the title, the facts, the logo box, the text and the pager */
.theme-peakstate.pf-detail .cm-facts > div { padding: 0; }
.theme-peakstate.pf-detail .pf-facts { margin-bottom: 32px; }
.theme-peakstate.pf-detail .cm-sec { padding-top: 0; }
.theme-peakstate.pf-detail .pf-story { max-width: 955px; margin: 0; padding: 0; }
.theme-peakstate.pf-detail .pf-story .prose { max-width: none; font-size: 18px; line-height: 1.45; }
.theme-peakstate .pf-nav { border-top: 0; padding-top: 0; gap: 20px; }
.theme-peakstate .pf-nav__link { padding: 0; border: 0; border-radius: 0; font-weight: 700; text-decoration: none !important; }
.theme-peakstate .pf-nav__link:hover { box-shadow: none; text-decoration: underline !important; }
.theme-peakstate .pf-nav__link small { color: #646E8A; font-weight: 300; font-size: 14px; }
/* Events: a past event shows its venue and year only (as the old cards: "SF 2019"); the day and month
   are WordPress entry dates, not the real ones (peakstate.js writes the year) */
.theme-peakstate .ev-card.is-past .ev-date { display: none; }
.theme-peakstate .ev-card.is-past { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 760px) { .theme-peakstate .ev-card.is-past { grid-template-columns: minmax(0, 1fr); } }
/* event page: the gallery thumbnails open the photo window (peakstate.js) */
.ps-thumb { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 7px; }
.ps-thumb img { display: block; }

/* ── review round 3 (2026-11-26) ── */
/* short pages: the footer reaches the bottom of the window (no white band under the mountain) */
body.theme-peakstate { display: flex; flex-direction: column; min-height: 100vh; }
body.theme-peakstate > main { flex: 1 0 auto; }
body.theme-peakstate > footer { flex: none; }
/* 404 (with the script): "Error 404" and the title stay where they are and sink into the rising
   clouds, as on the home hero (the old #main .texts was position: fixed on the 404 too). The rock
   is its own layer above the text, the sky behind it (the home hero's rock-bg 1 / text 2 / rock 3 /
   clouds 4); peakstate.js keeps the block's height */
.ps-404-js.page-404 .pagehead { z-index: auto; }
.ps-404-js.page-404 .pagehead__inner { position: fixed; z-index: 2; left: 0; right: 0; margin-left: auto; margin-right: auto; }
.ps-404-js.page-404 main::before { background: url(../img/rock-bg.webp) center top / 100% auto no-repeat; }
.ps-404-rock { display: block; position: absolute; z-index: 3; left: 50%; top: var(--ps404-top); width: var(--ps404-w); aspect-ratio: 1280 / 766; transform: translateX(-50%); background: url(../img/rock.webp) center top / 100% auto no-repeat; pointer-events: none; }
.ps-404-js.page-404 .ps-404-clouds { z-index: 4; }
@media (max-width: 767.98px) { .ps-404-rock { left: 30px; margin-left: calc((100vw - 60px) * -0.9); transform: none; } }
/* News lists (/news/, /news/story/, /news/press/) in the look of /stories/: titles Signika 300 at
   24 px, no category kicker on the cards, the sections as the home filter tags, no rule */
.theme-peakstate .nw-card .nw-kicker { display: none; }
.theme-peakstate .nw-card__title { font-size: 18px; line-height: 24px; font-weight: 300; letter-spacing: normal; }
.theme-peakstate .nw-card--lead .nw-card__title { font-size: 31px; line-height: 35px; font-weight: 300; }
.theme-peakstate .nw-card__title a:hover { color: #001650; text-decoration: underline; }
@media (min-width: 768px) {
  .theme-peakstate .nw-card__title { font-size: 24px; line-height: 32px; }
  .theme-peakstate .nw-card--lead .nw-card__title { font-size: 40px; line-height: 46px; }
}
.theme-peakstate .nw-lead { border-bottom: 0; padding-bottom: 0; }
.theme-peakstate .nw-grid .nw-card { gap: 0; }
.theme-peakstate .nw-grid .nw-card__body { padding: 16px 24px 24px; gap: 8px; }
.theme-peakstate .nw-sections { gap: 30px; padding-top: 8px; font-size: 1.125em; }
.theme-peakstate .nw-sections a { position: relative; padding: 4px 0; border: 0; border-radius: 0; background: none; color: #001650; font-size: inherit; font-weight: 300; opacity: .6; }
.theme-peakstate .nw-sections a:hover, .theme-peakstate .nw-sections a[aria-current] { background: none; color: #001650; opacity: 1; font-weight: 700; }
.theme-peakstate .nw-sections a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #FF9900; }
/* the story page: "Story" is plain text as on the old story (peakstate.js; no link to /news/story/) */
.theme-peakstate .nw-story__kicker span.nw-kicker { display: flex; align-items: center; }
/* press note pages: "Read the article on forbes.com" as the site's outline pill button */
.theme-peakstate .nw-story:has(.nw-story__kicker a[href$="/press/"]) .nw-prose a { display: inline-block; margin-top: 12px; padding: 15px 26px; border: 2px solid #001650; border-radius: 27px; font-weight: 700; line-height: 1.2; text-decoration: none; transition: background-color .3s ease, color .3s ease; }
.theme-peakstate .nw-story:has(.nw-story__kicker a[href$="/press/"]) .nw-prose a:hover { background: #001650; color: #fff; text-decoration: none; }
/* module pagers: numbers without an underline at rest (underline on hover), the home pager's arrows */
.theme-peakstate .cm-sec .cm-pager a:not(.btn):not(.cm-pill) { text-decoration: none; }
.theme-peakstate .cm-sec .cm-pager a:not(.btn):not(.cm-pill):hover { text-decoration: underline; }
.theme-peakstate .cm-pager__step .ico { display: none; }
.theme-peakstate .cm-pager__step { background: url("data:image/svg+xml,%3Csvg width='9' height='16' viewBox='0 0 9 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L8 8L1 15' stroke='%23001650' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A") center center no-repeat; }
.theme-peakstate .cm-pager__step:first-child { background-image: url("data:image/svg+xml,%3Csvg width='9' height='16' viewBox='0 0 9 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 15L1 8L8 1' stroke='%23001650' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A"); }
.theme-peakstate .cm-sec .cm-pager a.cm-pager__step:hover { background-color: transparent; opacity: .5; }
/* /projects/: the shared size is for the drawn mark, not for transparent padding around it
   (peakstate.js measures the padding and widens the box: Higher Ground, Kenzie Academy) */
.theme-peakstate .pf-card .cm-card__media img.ps-padded { max-width: var(--ps-mw, 180px); max-height: var(--ps-mh, 56px); }
/* /team/ (module page): the photos are cropped from the top, so no head touches the edge */
.theme-peakstate .tm-card__photo img { object-position: 50% 0; }
/* home team cards at 768-991 px: the whole bio and "Message me" fit in the card (Jason's bio ran
   15 px under the edge at 768 px - also on the old site); a card that is still too short scrolls */
@media (min-width: 768px) and (max-width: 991.98px) {
  .ps-card__more { padding: 24px 24px 22px; }
  .ps-card__bio { font-size: .8125em; margin-bottom: 20px; }
}
@media (min-width: 768px) { .ps-card__more { overflow-y: auto; scrollbar-width: thin; } }
/* event pages: no blank line after the place ("Where" box evenly padded) */
.theme-peakstate .ev-box .cm-meta-list li > div > br:last-child { display: none; }
.theme-peakstate .ev-box .cm-meta-list:last-child { margin-bottom: 0; }
/* home stories, small phones: the large card's title gets the room above it (4 lines) */
@media (max-width: 359.98px) {
  .ps-story--full .ps-story__title { height: 72px; -webkit-line-clamp: 4; }
}
/* hit areas of at least 24 px around the same drawings (WCAG 2.5.8) */
.ps-footer__row p > a[href^="mailto:"] { display: inline-block; padding: 6px 0; margin: -6px 0; }
.ps-team__next { display: inline-block; padding: 11px 0; margin: -11px 0; }
.ps-pager__link::before { content: ''; position: absolute; top: -7px; right: 0; bottom: -7px; left: 0; }
.ps-credit { padding: 0 0 4px; margin: 0 0 -4px; }
/* footer on phones: one heading ("Get in touch") over the logo and the e-mail - "Contacts" stood on
   top of it with nothing under it (from 768 px the two columns as before) */
@media (max-width: 767.98px) {
  .theme-peakstate .ps-row:has(.ps-footer__t2) .ps-footer__t1 { display: none; }
  .theme-peakstate .ps-footer__t2 { margin-top: 0; border-top: 0; padding-top: 0; border-bottom: 2px solid #FF9900; padding-bottom: 10px; }
}
/* phone menu without the script: the menu button is a link to #ps-menu, the menu opens as :target
   and a tap on a menu link closes it (with the script: peakstate.js, html.ps-js) */
@media (max-width: 767.98px) {
  :root:not(.ps-js) .ps-menu:target { left: 0; visibility: visible; transition: left 300ms ease-in-out; }
}
/* the page behind the open phone menu / windows does not scroll (html too; peakstate.js pins the body) */
html.ps-locked, html.ps-locked body { overflow: hidden; }
