/* Split: on computers each page opens as two columns. The page title and its photo stay put in a column on the left
   while the text scrolls on the right, so a visitor always knows where they are. Geist throughout; quiet and precise.
   On phones it stacks like the other styles. */

@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("/fonts/geist-latin-wght-italic.woff2") format("woff2"); }

html.st-split {
  --display: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 8px;
  --head-h: 66px;          /* header height, so the left column sits right under it */
  --side: clamp(340px, 38vw, 560px);
}
html.st-split body { font-size: 17px; line-height: 1.72; }

/* Type */
html.st-split :is(h1, h2, h3, h4) { font-family: var(--display); color: var(--dark); }
html.st-split h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); font-weight: 650; letter-spacing: -.04em; line-height: 1.04; }
html.st-split h2 { font-size: clamp(1.6rem, 2.5vw, 2.05rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
html.st-split h3 { font-size: 1.24rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
html.st-split h4 { font-size: 1.05rem; font-weight: 600; }
html.st-split .section-title { text-align: left; margin-bottom: 1.5rem; }
html.st-split .prose h2 { margin: 2.1em 0 .6em; }
html.st-split .prose h3 { margin: 1.7em 0 .5em; }
html.st-split .prose li::marker { color: var(--red); }

/* Buttons */
html.st-split .btn { font-family: var(--body); font-weight: 600; font-size: 15px; letter-spacing: -.005em; padding: .8rem 1.35rem; border-radius: 8px; }
html.st-split .btn-outline { border: 1px solid var(--line); color: var(--dark); }
html.st-split .btn-outline:hover { border-color: var(--dark); background: transparent; color: var(--dark); }

/* Header: compact, white, a hairline; the current page gets a small dot */
html.st-split .site-header { background: var(--white); border-bottom: 1px solid var(--line); }
html.st-split .header-inner { min-height: var(--head-h); max-width: none; padding: 0 28px; }
html.st-split .header-logo img { filter: brightness(0); width: 150px; }
html.st-split .primary-nav > ul > li > a { color: var(--read); font-size: 14.5px; font-weight: 500; padding: 22px 12px; }
html.st-split .primary-nav > ul > li > a::before { left: 50%; right: auto; width: 5px; height: 5px; bottom: 12px; border-radius: 50%; background: var(--red); transform: translateX(-50%) scale(0); }
html.st-split .primary-nav > ul > li.active > a::before, html.st-split .primary-nav > ul > li > a:hover::before { transform: translateX(-50%) scale(1); }
html.st-split .primary-nav > ul > li.active > a, html.st-split .primary-nav > ul > li > a:hover { color: var(--dark); }
html.st-split .has-children > a::after { opacity: .5; }
html.st-split .sub-menu { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 6px; box-shadow: 0 16px 36px -12px rgba(0,0,0,.2); }
html.st-split .sub-menu a { color: var(--dark); font-weight: 500; border-radius: 6px; padding: .55rem .8rem; }
html.st-split .sub-menu a:hover { background: var(--gray-50); color: var(--dark); }
html.st-split .header-cta { padding: .6rem 1.05rem; font-size: 14px; }
html.st-split .nav-toggle span:not(.sr-only) { background: var(--dark); }
@media (max-width: 1180px) {
  html.st-split .header-inner { padding: 0 20px; }
  html.st-split .primary-nav { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4px 24px 20px; }
  html.st-split .primary-nav > ul > li > a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  html.st-split .primary-nav > ul > li > a::before { display: none; }
  html.st-split .sub-menu { border: 0; box-shadow: none; padding: 0 0 .4rem .8rem; background: transparent; }
}

/* Home hero: words on the left, the video on the right */
html.st-split .hero.hero-tall { min-height: min(calc(100vh - var(--head-h)), 760px); }
@media (min-width: 900px) {
  html.st-split .hero.hero-tall .hero-media { left: 46%; }
  html.st-split .hero.hero-tall::after { background: linear-gradient(90deg, var(--black) 46%, rgba(0,0,0,.25) 46%, rgba(0,0,0,0) 100%); }
  html.st-split .hero.hero-tall .hero-content { margin: 0; padding-left: max(28px, calc((100vw - var(--wrap)) / 2 + 24px)); max-width: 46%; }
}
html.st-split .hero-tall h1, html.st-split .hero-tall h2 { font-size: clamp(2.8rem, 5.6vw, 4.8rem); font-weight: 650; letter-spacing: -.05em; line-height: 1; max-width: 11ch; }

/* Inner pages: banner beside the content */
html.st-split .hero.hero-slim { max-width: none; margin: 0; min-height: 240px; align-items: flex-end; border-radius: 0; }
html.st-split .hero-slim .hero-media img { filter: grayscale(.25); }
html.st-split .hero.hero-slim::after { background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.15) 60%, rgba(0,0,0,.05) 100%); }
html.st-split .hero.hero-slim.align-center { text-align: left; }
html.st-split .hero-slim .hero-content { align-items: flex-start; margin: 0; padding: 40px 28px 32px; max-width: none; }
html.st-split .hero-slim h1 { font-size: clamp(2rem, 3.4vw, 3rem); margin: 0; max-width: 18ch; }
@media (min-width: 1024px) {
  /* overflow-x: clip (not hidden) so the left column can stay in place while the page scrolls */
  html.st-split .visual-page:has(> .hero-slim:first-child) { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); align-items: start; overflow-x: clip; }
  html.st-split .visual-page > .hero-slim:first-child { grid-column: 1; grid-row: 1 / span 99; position: sticky; top: var(--head-h); height: calc(100vh - var(--head-h)); min-height: 0; }
  html.st-split .visual-page > .hero-slim:first-child .hero-content { padding: 0 36px 40px; }
  html.st-split .visual-page > .hero-slim:first-child h1 { font-size: clamp(2.1rem, 3.2vw, 3.2rem); }
  html.st-split .visual-page:has(> .hero-slim:first-child) > :not(.hero-slim) { grid-column: 2; min-width: 0; }
  html.st-split .visual-page:has(> .hero-slim:first-child) > .block > .wrap { max-width: calc(var(--narrow) + 112px); margin: 0; padding: 0 56px; }
  html.st-split .visual-page:has(> .hero-slim:first-child) > .block:nth-child(2) { padding-top: 64px; }
  html.st-split .visual-page:has(> .hero-slim:first-child) .rich-text .wrap.prose:not(.narrow) { max-width: calc(var(--narrow) + 112px); }
  html.st-split .visual-page:has(> .hero-slim:first-child) .team.cols-4 { grid-template-columns: repeat(3, 1fr); }
}

/* A blog post: title and date on the left, the article on the right */
@media (min-width: 1024px) {
  html.st-split .single-post .post { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); align-items: start; }
  html.st-split .single-post .post-header { grid-column: 1; grid-row: 1 / span 9; position: sticky; top: var(--head-h); height: calc(100vh - var(--head-h)); max-width: none; margin: 0; padding: 64px 36px 40px; background: var(--gray-50); border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; }
  html.st-split .single-post .post-header h1 { font-size: clamp(1.9rem, 2.6vw, 2.6rem); }
  html.st-split .single-post .post > :not(.post-header) { grid-column: 2; }
  html.st-split .single-post .post-body, html.st-split .single-post .post-image { margin-left: 0; max-width: calc(var(--narrow) + 112px); padding-left: 56px; padding-right: 56px; }
  html.st-split .single-post .post-body { padding-top: 64px; }
  html.st-split .single-post .post-cta { width: auto; margin: 40px 56px 72px; max-width: var(--narrow); }
}

/* Sections */
html.st-split .block { padding: 72px 0; }
html.st-split .block.space-compact { padding-top: 40px; padding-bottom: 40px; }
html.st-split .block + .block.rich-text, html.st-split .rich-text + .block { padding-top: 12px; }

/* Photo and text, cards, people */
html.st-split .image-text-media::before { display: none; }
html.st-split .image-text-media img { border-radius: 10px; }
html.st-split .card-grid { background: var(--white); border-top: 1px solid var(--line); }
html.st-split .card-grid :is(h2, .section-title a) { color: var(--dark); }
html.st-split .card { background: none; border-radius: 0; overflow: visible; }
html.st-split .card-media img { border-radius: 10px; aspect-ratio: 3 / 4; }
html.st-split .card-body { text-align: left; padding: 16px 0 0; border-top: 0; }
html.st-split .card-body h3 { font-size: 1.2rem; margin-bottom: .3rem; }
html.st-split .card-body h3 a { color: var(--dark); }
html.st-split .card-body h3 a:hover { color: var(--red); }
html.st-split .card-body p { color: var(--read); font-size: 15px; line-height: 1.6; }
html.st-split .member img, html.st-split .member-placeholder { border-radius: 10px; }
html.st-split .member-name { color: var(--dark); font-weight: 600; }
html.st-split .bg-gold .member-name { color: var(--white); }

/* Questions: rows with a chevron */
html.st-split .faq-item, html.st-split .faq.faq-solid .faq-item { border: 0; border-bottom: 1px solid var(--line); margin: 0; }
html.st-split .faq-item:first-of-type { border-top: 1px solid var(--line); }
html.st-split .faq-item summary, html.st-split .faq.faq-solid .faq-item summary { background: none; color: var(--dark); font-weight: 600; font-size: 1.04rem; padding: 1.15rem 0; }
html.st-split .faq-item summary::after, html.st-split .faq.faq-solid .faq-item summary::after { display: block; content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--read); border-bottom: 2px solid var(--read); transform: rotate(45deg) translate(-3px, -3px); transition: transform .15s; }
html.st-split .faq-item[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); border-color: var(--red); }
html.st-split .faq-item .prose, html.st-split .faq.faq-solid .faq-item .prose { border: 0; padding: 0 0 1.25rem; }

/* Photos, logos, slider, tabs */
html.st-split .gallery img, html.st-split .gallery.gallery-slider img { border-radius: 8px; }
html.st-split .gallery-logos img { border: 1px solid var(--line); border-radius: 8px; }
html.st-split .slider-btn { background: var(--white); color: var(--dark); border: 1px solid var(--line); border-radius: 8px; }
html.st-split .slider-btn:hover { background: var(--white); color: var(--red); }
html.st-split .tabs-nav { justify-content: flex-start; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
html.st-split .tab { border: 0; padding: .65rem 1rem; color: var(--read); font-weight: 500; margin-bottom: -1px; border-bottom: 2px solid transparent; }
html.st-split .tab::before { display: none; }
html.st-split .tab:hover { color: var(--dark); }
html.st-split .tabs.js .tab.on { border: 0; border-bottom: 2px solid var(--dark); background: none; color: var(--dark); }
html.st-split .tab-panel { border: 0; padding: 0; text-align: left; font-weight: 400; color: var(--read); max-width: none; }
html.st-split .tab-panel video { border-radius: 10px; }

/* Video, embeds, forms, location cards */
html.st-split .video-frame, html.st-split .prose iframe, html.st-split .prose video, html.st-split .prose figure img, html.st-split .post-body img { border-radius: 10px; }
html.st-split .contact-form :is(input, textarea) { border-radius: 8px; }
html.st-split .location-card { border-radius: 12px; box-shadow: none; }

/* Blog list */
html.st-split .post-grid { gap: 40px 28px; }
html.st-split .post-card { border: 0; background: none; overflow: visible; }
html.st-split .post-card-media { border-radius: 10px; overflow: hidden; }
html.st-split .post-card-body { padding: 14px 0 0; }
html.st-split .post-card time { text-transform: none; letter-spacing: 0; font-size: 13.5px; }
html.st-split .post-card h3 { font-size: 1.1rem; line-height: 1.35; letter-spacing: -.015em; }
html.st-split .post-card h3 a:hover { color: var(--red); }
html.st-split .post-card p { font-size: 15px; line-height: 1.6; color: var(--read); }
html.st-split .read-more { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 15px; }
html.st-split .placeholder-art { text-transform: none; background: var(--gray-100); color: var(--dark); font-size: 1.1rem; }
html.st-split .sidebar h2 { font-size: 1rem; text-transform: none; letter-spacing: 0; }
html.st-split .sidebar li a { color: var(--dark); }
html.st-split .pager a, html.st-split .pager span { border-radius: 8px; }
html.st-split .post-cta { border: 1px solid var(--line); background: var(--gray-50); border-radius: 14px; padding: 40px 24px; margin-bottom: 72px; max-width: 760px; }

/* Phones */
@media (max-width: 520px) {
  html.st-split .header-logo img { width: 124px; }
  html.st-split .header-inner { gap: 10px; padding: 0 14px; }
  html.st-split .header-cta { padding: .5rem .8rem; font-size: 13.5px; }
  html.st-split .hero-slim .hero-content { padding: 36px 22px 24px; }
}
