/* Studio page additions: image breaks, founder, core / extended list, facts (see about/index.php) */
.st-media .container, .founder .container, .cmb .container, .facts .container, .how .container {
  max-width: var(--container); margin: 0 auto; padding: 0 3.5rem;
}

/* image breaks: any colour image becomes a red duotone, like the homepage studio band */
.st-media { padding: 0 0 9rem; }
.st-media--first { padding-top: 1rem; }
.st-frame { position: relative; margin: 0; overflow: hidden; border-radius: 14px; background: var(--red); isolation: isolate; }
.st-frame--wide { aspect-ratio: 21 / 9; }
.st-frame--strip { aspect-ratio: 24 / 7; }
.st-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12); mix-blend-mode: multiply; }
.st-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(90, 6, 20, 0.4) 0%, transparent 55%); pointer-events: none; }

/* founder */
.founder { padding: 0 0 9rem; }
.founder__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; align-items: center; }
.founder__art { margin: 0; }
.founder__art img { display: block; width: 100%; aspect-ratio: 1049 / 1148; height: auto; border-radius: 14px; object-fit: cover; object-position: 50% 50%; background: var(--red); }
.founder__cap { margin-top: 1.4rem; }
.founder__capline { display: block; margin-top: 0.9rem; font-family: var(--font-b); font-size: 0.85rem; line-height: 1.4; color: var(--muted); }
.founder__title { margin-top: 0.5rem; font-family: var(--font-d); font-weight: 400; letter-spacing: -0.03em; line-height: 1.02; font-size: clamp(2.25rem, 4.6vw, 4.5rem); color: var(--text); }
.founder__p { margin-top: 1.6rem; max-width: 36rem; font-family: var(--font-b); font-weight: 300; line-height: 1.55; font-size: clamp(1.12rem, 1.5vw, 1.4rem); color: var(--text); }
.founder__p + .founder__p { margin-top: 1.1rem; }
.founder__sign { margin: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.founder__name { font-family: var(--font-d); font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1; letter-spacing: -0.02em; color: var(--red); }
.founder__role { font-family: var(--font-b); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.founder__side { display: block; margin-top: 2.75rem; max-width: 36rem; padding: 1.75rem 2rem; border-radius: 14px; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--red); text-decoration: none; color: var(--text); transition: transform 0.25s, box-shadow 0.25s; }
.founder__side:hover, .founder__side:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(28,28,26,0.1); }
.founder__side span { display: block; }
.founder__side-label { font-family: var(--font-b); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); }
.founder__side-title { margin-top: 0.6rem; font-family: var(--font-d); letter-spacing: -0.02em; line-height: 1.1; font-size: clamp(1.5rem, 2.2vw, 2rem); }
.founder__side-text { margin-top: 0.6rem; font-family: var(--font-b); font-size: 1rem; line-height: 1.55; color: var(--muted); }
.founder__side-cta { display: inline-flex !important; align-items: center; gap: 0.6rem; margin-top: 1.1rem; font-family: var(--font-b); font-weight: 500; font-size: 1rem; transition: color 0.25s, gap 0.25s; }
.founder__side-cta::after { content: ''; width: 1.05rem; height: 1.05rem; background-color: var(--red); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h8M7 3l3 3-3 3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h8M7 3l3 3-3 3'/%3E%3C/svg%3E") center / contain no-repeat; }
.founder__side:hover .founder__side-cta, .founder__side:focus-visible .founder__side-cta { color: var(--red); gap: 0.9rem; }

/* core / extended */
.cmb { padding: 0 0 9rem; }
.cmb__title { margin-top: 0.5rem; max-width: 26ch; font-family: var(--font-d); font-weight: 400; letter-spacing: -0.03em; line-height: 1.06; font-size: clamp(1.9rem, 3.5vw, 3.4rem); color: var(--text); }
.cmb__cols { margin-top: 3.5rem; }
/* one dark panel holding everything we do */
.cmb__col { border-radius: 14px; padding: 3.5rem; }
.cmb__col--core { background: #0a0908; color: #F8F7F4; }
.cmb__label { font-family: var(--font-b); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); }
.cmb__col--core .cmb__label { color: #E8566D; }
.cmb__sub { margin-top: 0.6rem; max-width: 28rem; font-family: var(--font-b); font-size: 1.02rem; line-height: 1.5; color: var(--muted); }
.cmb__col--core .cmb__sub { color: rgba(248, 247, 244, 0.7); }
.cmb__list { list-style: none; margin: 2.25rem 0 0; padding: 0; column-count: 2; column-gap: 4rem; }
.cmb__list li { break-inside: avoid; }
.cmb__col--core .cmb__list li { position: relative; padding: 0.6rem 0 0.6rem 2.1rem; font-family: var(--font-d); letter-spacing: -0.02em; line-height: 1.15; font-size: clamp(1.45rem, 2.1vw, 2rem); color: #F8F7F4; }
.cmb__col--core .cmb__list li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1.05rem; height: 1.05rem; background-color: #E8566D; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h8M7 3l3 3-3 3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h8M7 3l3 3-3 3'/%3E%3C/svg%3E") center / contain no-repeat; }
.cmb__link { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 2.25rem; padding-bottom: 3px; font-family: var(--font-b); font-size: 1.05rem; font-weight: 500; color: #F8F7F4; text-decoration: none; border-bottom: 1px solid rgba(248, 247, 244, 0.35); transition: color 0.25s, border-color 0.25s, gap 0.25s; }
.cmb__link::after { content: ''; width: 1.05rem; height: 1.05rem; background-color: #E8566D; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h8M7 3l3 3-3 3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h8M7 3l3 3-3 3'/%3E%3C/svg%3E") center / contain no-repeat; }
.cmb__link:hover, .cmb__link:focus-visible { color: #E8566D; border-color: #E8566D; gap: 0.9rem; }

/* experience: named clients, grouped by sector */
.exp { padding: 4rem 0 4rem; }
.exp__lead { margin-top: 2.25rem; max-width: 48rem; padding: 0.4rem 0 0.4rem 1.75rem; border-left: 4px solid var(--red); font-family: var(--font-d); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1.15; letter-spacing: -0.025em; color: var(--text); }
.exp .container { max-width: var(--container); margin: 0 auto; padding: 0 3.5rem; }
.exp__title { margin-top: 0.5rem; max-width: 26ch; font-family: var(--font-d); font-weight: 400; letter-spacing: -0.03em; line-height: 1.06; font-size: clamp(1.9rem, 3.5vw, 3.4rem); color: var(--text); }
.exp__cols { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
.exp__label { padding-bottom: 1rem; border-bottom: 1px solid var(--text); font-family: var(--font-b); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); }
.exp__list { list-style: none; margin: 0; padding: 0; }
.exp__list li { padding: 0.9rem 0; border-bottom: 1px solid var(--border); font-family: var(--font-d); letter-spacing: -0.02em; line-height: 1.15; font-size: clamp(1.45rem, 2.1vw, 2rem); color: var(--text); }

/* how we work: lead paragraph added above the steps */
.how__lead { margin-top: 1.75rem; max-width: 40rem; font-family: var(--font-b); font-weight: 300; font-size: clamp(1.12rem, 1.5vw, 1.4rem); line-height: 1.55; color: var(--text); }

/* facts */
.facts { padding: 4rem 0 7rem; }
.facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2.5rem; margin: 0; padding-top: 2.25rem; border-top: 1px solid var(--border); }
.facts__item dt { font-family: var(--font-b); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.facts__item dd { margin: 0.8rem 0 0; font-family: var(--font-d); letter-spacing: -0.02em; line-height: 1.2; font-size: clamp(1.35rem, 1.9vw, 1.85rem); color: var(--text); }

@media (max-width: 960px) {
  .exp__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
  .founder__grid { grid-template-columns: 1fr; gap: 3rem; }
  .founder__art img { max-width: 30rem; }
}
@media (max-width: 600px) {
  .exp__cols { grid-template-columns: 1fr; gap: 2.25rem; }
}
@media (max-width: 768px) {
  .st-media .container, .founder .container, .cmb .container, .exp .container, .facts .container, .how .container { padding: 0 1.5rem; }
  .exp { padding: 2.5rem 0 2.5rem; }
  .exp__cols { margin-top: 2.5rem; }
  .st-media { padding-bottom: 5rem; }
  .st-media--first { padding-top: 0; }
  .st-frame--wide { aspect-ratio: 4 / 3; }
  .st-frame--strip { aspect-ratio: 16 / 9; }
  .founder, .cmb { padding-bottom: 5rem; }
  .cmb__cols { margin-top: 2.75rem; }
  .cmb__col { padding: 2rem 1.5rem; }
  .cmb__list { column-count: 1; }
  .facts { padding: 2.5rem 0 4.5rem; }
}
