/* Soft: Plus Jakarta Sans, a header that floats as a rounded bar, and photos and coloured sections that sit on the page
   as rounded panels. Large radius on pictures and panels, full pills on buttons and tabs, small radius on everything else. */

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("/fonts/plus-jakarta-sans-latin-wght-italic.woff2") format("woff2"); }

html.st-soft {
  --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --panel: 28px;   /* photos and coloured sections */
  --inset: 16px;   /* gap between a panel and the edge of the screen */
  --tint: color-mix(in srgb, var(--red) 7%, var(--white));
}
html.st-soft body { font-size: 17px; line-height: 1.72; }

/* Type */
html.st-soft :is(h1, h2, h3, h4) { font-family: var(--display); color: var(--dark); }
html.st-soft h1 { font-size: clamp(2.3rem, 4.8vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
html.st-soft h2 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); font-weight: 750; letter-spacing: -.022em; line-height: 1.18; }
html.st-soft h3 { font-size: 1.28rem; font-weight: 700; letter-spacing: -.012em; line-height: 1.3; }
html.st-soft h4 { font-size: 1.06rem; font-weight: 700; }
html.st-soft .section-title { margin-bottom: 1.7rem; }
html.st-soft .prose h2 { margin: 2.1em 0 .6em; }
html.st-soft .prose h3 { margin: 1.7em 0 .5em; }
html.st-soft .prose li::marker { color: var(--red); }

/* Buttons: pills */
html.st-soft .btn { font-family: var(--body); font-weight: 700; font-size: 15px; letter-spacing: 0; padding: .85rem 1.5rem; border-radius: 999px; }
html.st-soft .btn-ghost { border: 1.5px solid rgba(255,255,255,.75); }
html.st-soft .btn-outline { border: 1.5px solid var(--line); color: var(--dark); }
html.st-soft .btn-outline:hover { border-color: var(--dark); background: transparent; color: var(--dark); }

/* Header: a white rounded bar floating over the page */
html.st-soft .site-header { background: transparent; padding: 12px var(--inset) 0; pointer-events: none; }
html.st-soft .header-inner { pointer-events: auto; background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.2); min-height: 64px; padding: 0 10px 0 22px; max-width: calc(var(--wrap) - 16px); }
html.st-soft .header-logo img { filter: brightness(0); width: 150px; }
html.st-soft .primary-nav > ul { gap: 2px; }
html.st-soft .primary-nav > ul > li > a { color: var(--dark); font-size: 14.5px; font-weight: 600; padding: .55rem .9rem; border-radius: 999px; }
html.st-soft .primary-nav > ul > li > a::before { display: none; }
html.st-soft .primary-nav > ul > li > a:hover { background: var(--gray-50); color: var(--dark); }
html.st-soft .primary-nav > ul > li.active > a { background: var(--gray-100); color: var(--dark); }
html.st-soft .has-children > a::after { opacity: .5; }
html.st-soft .sub-menu { top: calc(100% + 10px); background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 6px; box-shadow: 0 20px 44px -14px rgba(0,0,0,.25); }
html.st-soft .sub-menu a { color: var(--dark); font-weight: 500; border-radius: 12px; padding: .6rem .9rem; }
html.st-soft .sub-menu a:hover { background: var(--gray-50); color: var(--dark); }
html.st-soft .header-cta { padding: .62rem 1.15rem; font-size: 14.5px; }
html.st-soft .nav-toggle span:not(.sr-only) { background: var(--dark); }
html.st-soft main#content { padding-top: 12px; }
@media (max-width: 1180px) {
  html.st-soft .header-inner { border-radius: 24px; flex-wrap: wrap; }
  html.st-soft .primary-nav { position: static; order: 3; flex-basis: 100%; background: transparent; border: 0; padding: 0 0 12px; }
  html.st-soft .primary-nav > ul > li > a { padding: .8rem .9rem; }
  html.st-soft .sub-menu { border: 0; box-shadow: none; padding: 0 0 .3rem .8rem; background: transparent; }
  html.st-soft .sub-menu a { color: var(--read); }
}

/* Photos on the page get the panel radius */
html.st-soft .image-text-media::before { display: none; }
html.st-soft :is(.image-text-media img, .card-media img, .gallery img, .gallery.gallery-slider img, .video-frame, .prose figure img, .prose iframe, .prose video, .post-body img, .post-card-media) { border-radius: var(--panel); }

/* Home video hero: an inset rounded panel */
html.st-soft .hero.hero-tall { margin: 0 var(--inset); border-radius: 32px; }
html.st-soft .hero::after { background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.1) 100%); }
html.st-soft .hero-tall h1, html.st-soft .hero-tall h2 { font-size: clamp(2.8rem, 6.4vw, 5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; max-width: 13ch; }

/* Page banners: a rounded photo panel with the title at the bottom left */
html.st-soft .hero.hero-slim { max-width: calc(var(--wrap) - 16px); margin: 0 auto; min-height: 280px; align-items: flex-end; border-radius: var(--panel); }
html.st-soft .hero-slim .hero-media img { filter: grayscale(.35); }
html.st-soft .hero.hero-slim::after { background: linear-gradient(20deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.05) 100%); }
html.st-soft .hero.hero-slim.align-center { text-align: left; }
html.st-soft .hero-slim .hero-content { align-items: flex-start; padding: 64px 40px 36px; max-width: none; margin: 0; }
html.st-soft .hero-slim h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin: 0; max-width: 22ch; }
html.st-soft .hero-slim + .block { padding-top: 56px; }
@media (max-width: 1188px) { html.st-soft .hero.hero-slim { margin: 0 var(--inset); } }
@media (max-width: 760px) { html.st-soft .hero.hero-slim { min-height: 210px; border-radius: 22px; } html.st-soft .hero-slim .hero-content { padding: 48px 22px 24px; } }

/* Sections. Coloured ones become rounded panels with a little space around them. */
html.st-soft .block { padding: 80px 0; }
html.st-soft .block.space-compact { padding-top: 44px; padding-bottom: 44px; }
html.st-soft .block + .block.rich-text, html.st-soft .rich-text + .block { padding-top: 16px; }
html.st-soft :is(.bg-cream, .bg-mint, .bg-green, .bg-dark, .bg-gold, .card-grid, .cta-band, .stats-band) { margin: var(--inset); border-radius: 32px; }
html.st-soft .card-grid { background: var(--gray-50); }
html.st-soft .card-grid :is(h2, .section-title a) { color: var(--dark); }

/* Talent cards: a rounded photo with the text below */
html.st-soft .card { background: none; border-radius: 0; overflow: visible; }
html.st-soft .card-media img { aspect-ratio: 4 / 5; }
html.st-soft .card-body { text-align: left; padding: 18px 6px 0; }
html.st-soft .card-body h3 { font-size: 1.3rem; margin-bottom: .3rem; }
html.st-soft .card-body h3 a { color: var(--dark); }
html.st-soft .card-body h3 a:hover { color: var(--red); }
html.st-soft .card-body p { color: var(--read); font-size: 15.5px; line-height: 1.6; }

/* Questions: tiles; the FAQ page tints them with the main colour */
html.st-soft .faq-item, html.st-soft .faq.faq-solid .faq-item { border: 0; background: var(--gray-50); border-radius: 18px; margin: 0 0 10px; }
html.st-soft .faq.faq-solid .faq-item { background: var(--tint); }
html.st-soft .faq-item summary, html.st-soft .faq.faq-solid .faq-item summary { background: none; color: var(--dark); font-weight: 700; font-size: 1.04rem; padding: 1.05rem 1.1rem 1.05rem 1.35rem; border-radius: 18px; }
html.st-soft .faq-item summary::after, html.st-soft .faq.faq-solid .faq-item summary::after { display: grid; place-items: center; content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--white); color: var(--red); font-size: 1.15rem; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
html.st-soft .faq-item[open] summary::after { content: "\2013"; background: var(--red); color: var(--white); }
html.st-soft .faq-item .prose, html.st-soft .faq.faq-solid .faq-item .prose { border: 0; padding: 0 1.35rem 1.25rem; }

/* People */
html.st-soft .member img, html.st-soft .member-placeholder { border-radius: 24px; }
html.st-soft .member-name { font-weight: 700; color: var(--dark); }
html.st-soft .bg-gold .member-name { color: var(--white); }

/* Logos, slider, tabs */
html.st-soft .gallery-logos img { border: 0; background: var(--gray-50); border-radius: 18px; padding: 18px; }
html.st-soft .slider-btn { background: var(--white); color: var(--dark); border-radius: 50%; box-shadow: 0 8px 22px rgba(0,0,0,.2); }
html.st-soft .slider-btn:hover { background: var(--white); color: var(--red); }
html.st-soft .tabs { text-align: center; }
html.st-soft .tabs-nav { display: inline-flex; gap: 4px; padding: 5px; background: var(--gray-100); border-radius: 999px; margin: 0 auto 20px; }
html.st-soft .tab { border: 0; border-radius: 999px; padding: .5rem 1.05rem; color: var(--read); font-weight: 600; }
html.st-soft .tab::before { display: none; }
html.st-soft .tab:hover { color: var(--dark); }
html.st-soft .tabs.js .tab.on { background: var(--white); color: var(--dark); box-shadow: 0 2px 8px rgba(0,0,0,.1); border: 0; }
html.st-soft .tab-panel { border: 0; background: var(--gray-50); border-radius: var(--panel); padding: 28px 32px; text-align: left; font-weight: 400; color: var(--read); max-width: 760px; }

/* Forms and location cards */
html.st-soft .contact-form input, html.st-soft .contact-form textarea { border-radius: 14px; border-width: 1.5px; }
html.st-soft .location-card { border-radius: var(--panel); box-shadow: none; background: var(--gray-50); border: 0; }

/* Banners */
html.st-soft .cta-band h2 { letter-spacing: -.03em; }

/* Blog */
html.st-soft .post-grid { gap: 40px 28px; }
html.st-soft .post-card { border: 0; background: none; overflow: visible; }
html.st-soft .post-card-media { overflow: hidden; }
html.st-soft .post-card-body { padding: 16px 6px 0; }
html.st-soft .post-card time { text-transform: none; letter-spacing: 0; font-size: 14px; }
html.st-soft .post-card h3 { font-size: 1.14rem; line-height: 1.35; }
html.st-soft .post-card h3 a:hover { color: var(--red); }
html.st-soft .post-card p { font-size: 15px; line-height: 1.6; color: var(--read); }
html.st-soft .read-more { text-transform: none; letter-spacing: 0; font-weight: 700; font-size: 15px; }
html.st-soft .placeholder-art { text-transform: none; background: var(--tint); color: var(--red); font-size: 1.15rem; }
html.st-soft .sidebar h2 { font-size: 1.05rem; text-transform: none; letter-spacing: 0; }
html.st-soft .sidebar li a { color: var(--dark); }
html.st-soft .pager a, html.st-soft .pager span { border-radius: 999px; min-width: 2.4rem; text-align: center; }
html.st-soft .archive-header { margin: 0 var(--inset); border-radius: var(--panel); background: var(--gray-50); }

/* A blog post */
html.st-soft .post-header { padding-top: 64px; }
html.st-soft .post-header h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
html.st-soft .post-cta { border: 0; background: var(--tint); border-radius: var(--panel); padding: 44px 24px; margin-bottom: 80px; max-width: 760px; }

/* Footer: a rounded black panel */
html.st-soft .site-footer { margin: 0 var(--inset) var(--inset); border-radius: 32px; }

/* Phones */
@media (max-width: 520px) {
  html.st-soft .header-inner { gap: 8px; padding: 0 6px 0 16px; min-height: 58px; }
  html.st-soft .header-logo img { width: 116px; }
  html.st-soft .header-cta { padding: .55rem .9rem; font-size: 13.5px; }
  html.st-soft .nav-toggle { padding: 8px; }
  html.st-soft .hero.hero-tall { border-radius: 24px; }
  html.st-soft :is(.bg-cream, .bg-mint, .bg-green, .bg-dark, .bg-gold, .card-grid, .cta-band, .stats-band, .site-footer) { border-radius: 24px; }
  html.st-soft { --inset: 10px; }
}
