/* Peter Brown Capital site styles. Last updated: November 9, 2026. */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--pbc-font); font-size: 15px; font-weight: 300; line-height: 1.93; color: var(--pbc-text); background: var(--pbc-white); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--pbc-accent); }
a:hover { color: var(--pbc-ink); }
h1, h2, h3 { margin: 0 0 0.6em; color: var(--pbc-ink); line-height: 1.3; }
:focus-visible { outline: 2px solid var(--pbc-accent); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; padding: 8px 16px; background: var(--pbc-white); color: var(--pbc-ink); }
.pbc-container { width: min(var(--pbc-container), 100% - 40px); margin-inline: auto; }

/* Header */
.pbc-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1240px, 100% - 40px); min-height: 80px; margin-inline: auto; padding: 24px 0; }
.pbc-logo img { width: 174px; height: auto; }
.pbc-nav__list { display: flex; gap: 40px; margin: 0; padding: 0; list-style: none; }
.pbc-nav__list a { display: block; padding: 4px 5px; color: var(--pbc-ink); font-size: 13px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.pbc-nav__list a:hover { color: var(--pbc-hover); }
.pbc-nav__list .current-menu-item > a, .pbc-nav__list .current_page_item > a { text-decoration: underline; text-underline-offset: 6px; }
.pbc-nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.pbc-nav-toggle__bar, .pbc-nav-toggle__bar::before, .pbc-nav-toggle__bar::after { display: block; width: 24px; height: 2px; margin: auto; background: var(--pbc-ink); content: ""; position: relative; }
.pbc-nav-toggle__bar::before { position: absolute; top: -7px; }
.pbc-nav-toggle__bar::after { position: absolute; top: 7px; }

@media (max-width: 900px) {
	.pbc-header__inner { flex-wrap: wrap; }
	.pbc-nav-toggle { display: block; }
	.pbc-nav { display: none; flex-basis: 100%; }
	.pbc-nav.is-open { display: block; }
	.pbc-nav__list { flex-direction: column; gap: 0; }
	.pbc-nav__list a { padding: 12px 0; border-top: 1px solid var(--pbc-tile); }
}

/* Slider */
.pbc-slider { position: relative; height: clamp(350px, 39vw, 500px); overflow: hidden; background: var(--pbc-ink); }
.pbc-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; }
.pbc-slide.is-active { opacity: 1; z-index: 1; }
.pbc-slide__img { width: 100%; height: 100%; object-fit: cover; }
.pbc-slide::after { position: absolute; inset: 0; background: var(--pbc-scrim); content: ""; }
.pbc-slide__content { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; width: min(var(--pbc-container), 100% - 120px); margin-inline: auto; }
.pbc-slide__label { margin: 0 0 6px; color: var(--pbc-accent-light); font-size: 15px; font-weight: 900; line-height: 1.3; }
.pbc-slide__tagline { max-width: 600px; margin: 0 0 40px; color: var(--pbc-white); font-size: clamp(28px, 3.9vw, 50px); font-weight: 400; line-height: 1.2; }
.pbc-slide__button { padding: 12px 35px; border: 1px solid var(--pbc-outline-on-dark); color: var(--pbc-white); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-decoration: none; text-transform: uppercase; transition: background 0.2s, border-color 0.2s; }
.pbc-slide__button:hover { border-color: var(--pbc-white); background: var(--pbc-white); color: var(--pbc-ink); }
.pbc-slider__arrow { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; transform: translateY(-50%); border: 0; background: var(--pbc-control-bg); color: var(--pbc-white); font-size: 32px; line-height: 1; cursor: pointer; }
.pbc-slider__arrow:hover { background: var(--pbc-control-hover-bg); }
.pbc-slider__arrow--prev { left: 12px; }
.pbc-slider__arrow--next { right: 12px; }
.pbc-slider__dots { position: absolute; bottom: 16px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 10px; }
.pbc-slider__dot { width: 12px; height: 12px; padding: 0; border: 2px solid var(--pbc-white); border-radius: 50%; background: transparent; cursor: pointer; }
.pbc-slider__dot[aria-current="true"] { background: var(--pbc-white); }
@media (prefers-reduced-motion: reduce) { .pbc-slide { transition: none; } }

/* Page content */
.pbc-main { padding-bottom: 60px; }
.pbc-page { padding-top: 40px; }
.pbc-content { color: var(--pbc-ink); }
.pbc-content h2 { font-size: 24px; font-weight: 800; }
.pbc-page .pbc-content > h2:first-child { font-size: 32px; font-weight: 600; }
.pbc-content p { margin: 0 0 1.2em; line-height: 29px; }
.pbc-page__title { font-size: 32px; font-weight: 600; }
.pbc-intro { max-width: 740px; }
.pbc-columns { display: grid; gap: 30px; margin-bottom: 40px; }
.pbc-columns--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.pbc-columns--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pbc-columns img { width: 100%; }
.pbc-home { padding-top: 40px; }
.pbc-testimonial { max-width: 900px; margin: 40px auto; padding: 0; color: var(--pbc-text); font-size: 24px; font-weight: 300; line-height: 36px; text-align: center; }
.pbc-testimonial p { line-height: 36px; }
.pbc-testimonial cite { display: block; color: var(--pbc-accent); font-size: 13px; font-style: normal; font-weight: 800; line-height: 1.5; text-transform: uppercase; }
@media (max-width: 767px) {
	.pbc-columns--2, .pbc-columns--3 { grid-template-columns: 1fr; }
}

/* Stories */
.pbc-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.pbc-story__image img { width: 100%; aspect-ratio: 353 / 233; object-fit: cover; }
.pbc-story__title { margin-top: 16px; font-size: 24px; font-weight: 800; }
.pbc-story__title a { color: var(--pbc-ink); text-decoration: none; }
.pbc-story__title a:hover { color: var(--pbc-accent); }
@media (max-width: 767px) { .pbc-stories { grid-template-columns: 1fr; } }

/* Portfolio grid */
.pbc-portfolio { margin-top: 40px; }
.pbc-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin: 0 0 24px; padding: 0; list-style: none; }
.pbc-filters button { padding: 8px; border: 0; background: none; color: var(--pbc-accent); font: inherit; font-size: 13px; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.pbc-filters button:hover, .pbc-filters button.is-active { color: var(--pbc-ink); }
.pbc-portfolio__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pbc-portfolio--cols-6 .pbc-portfolio__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pbc-tile { position: relative; display: block; aspect-ratio: 357 / 235; overflow: hidden; background: var(--pbc-tile); }
.pbc-tile[hidden] { display: none; }
.pbc-tile__img { width: 100%; height: 100%; object-fit: cover; }
.pbc-tile__overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 12px; background: var(--pbc-accent); opacity: 0; transition: opacity 0.25s; }
.pbc-tile:hover .pbc-tile__overlay, .pbc-tile:focus-visible .pbc-tile__overlay { opacity: 1; }
.pbc-tile__title { color: var(--pbc-white); font-size: 18px; font-weight: 600; line-height: 1.3; text-align: center; }
.pbc-portfolio--cols-6 .pbc-tile__title { font-size: 14px; }
@media (max-width: 1024px) { .pbc-portfolio--cols-6 .pbc-portfolio__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .pbc-portfolio__grid, .pbc-portfolio--cols-6 .pbc-portfolio__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Single */
.pbc-single { display: grid; grid-template-columns: minmax(0, 550px) minmax(0, 1fr); gap: 40px; padding-top: 40px; }
.pbc-single__title { font-size: 40px; font-weight: 600; }
.pbc-single .pbc-content { color: var(--pbc-text); }
.pbc-single__grid { margin-top: 60px; }
@media (max-width: 767px) {
	.pbc-single { grid-template-columns: 1fr; }
	.pbc-single__title { font-size: 30px; }
}

/* Footer */
.pbc-footer { padding: 5%; background: var(--pbc-ink); color: var(--pbc-white); }
.pbc-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; width: min(var(--pbc-container), 100%); margin-inline: auto; }
.pbc-footer h2 { color: var(--pbc-white); font-size: 24px; font-weight: 800; }
.pbc-footer p { margin: 0; font-size: 13px; line-height: 19.5px; }
.pbc-footer a { color: var(--pbc-white); }
.pbc-footer__credentials.pbc-footer__credentials { margin-top: 40px; font-size: 15px; font-weight: 300; text-align: center; text-transform: uppercase; }
@media (max-width: 767px) { .pbc-footer__cols { grid-template-columns: 1fr; } }

/* Design guidelines */
.dg-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; margin-bottom: 40px; }
.dg-swatch { display: grid; gap: 4px; }
.dg-swatch__chip { display: block; height: 80px; border: 1px solid var(--pbc-tile); }
