/*
Theme Name: stefanpittner v1.6.11
Theme URI: https://stefanpittner.de/
Author: Stefan Pittner
Author URI: https://stefanpittner.de/
Description: Bewerbungswebsite für Stefan Pittner: IT-Projektmanagement, Führung und Digitalisierung, ergänzt um KI-Qualifikationen und freie Dozententätigkeit.
Requires at least: 7.1
Requires PHP: 8.0
Version: 1.6.11
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stefanpittner
Tags: portfolio, block-patterns, full-site-editing, custom-colors, wide-blocks
*/

:root {
  --sp-font-sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --sp-ink: #0b172a;
  --sp-ink-soft: #203149;
  --sp-blue: #1467b3;
  --sp-blue-dark: #0b4f8a;
  --sp-cyan: #4cc9c0;
  --sp-sky: #eaf4fb;
  --sp-cloud: #f5f8fb;
  --sp-line: #dbe5ef;
  --sp-white: #ffffff;
  --sp-muted: #5e6c7e;
  --sp-shadow: 0 24px 70px rgba(11, 23, 42, 0.12);
  --sp-radius: 8px;
  --sp-radius-small: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sp-font-sans);
  color: var(--sp-ink);
  background: var(--sp-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

.editor-styles-wrapper {
  font-family: var(--sp-font-sans);
}

button,
input,
select,
textarea {
  max-width: 100%;
  font-family: inherit;
  font-size: 1rem;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.wp-site-blocks {
  padding: 0;
  overflow-x: hidden;
  overflow: clip;
}

.wp-site-blocks > * {
  margin-block-start: 0;
}

a {
  text-underline-offset: 0.18em;
}

main {
  display: block;
}

#profil,
#selbstcheck,
#arbeitsweise,
#nutzen,
#wirkung,
#expertise,
#aktuell,
#erfahrung,
#qualifikationen,
#kontakt {
  scroll-margin-top: 112px;
}

.sp-screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.sp-site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid rgba(219, 229, 239, 0.82);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.admin-bar .sp-site-header {
  top: 32px;
}

.sp-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  gap: 28px;
}

.sp-brand-logo {
  flex: 0 0 auto;
  width: clamp(220px, 23vw, 280px);
  margin: 0;
}

.sp-brand-logo a {
  display: block;
}

.sp-brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.sp-nav-wrap {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.sp-primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.sp-primary-nav a {
  color: var(--sp-ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.sp-primary-nav a:hover,
.sp-primary-nav a:focus-visible {
  color: var(--sp-blue);
}

.sp-header-contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 19px;
  border-radius: 999px;
  color: var(--sp-white);
  background: var(--sp-ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.sp-header-contact:hover,
.sp-header-contact:focus-visible {
  background: var(--sp-blue-dark);
  transform: translateY(-1px);
}

.sp-nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--sp-line);
  border-radius: 50%;
  color: var(--sp-ink);
  background: var(--sp-white);
  cursor: pointer;
}

.sp-nav-toggle span:not(.sp-screen-reader-text) {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: currentColor;
}

/* Shared layout */
.sp-section {
  padding: clamp(76px, 9vw, 132px) 24px;
}

.sp-section-inner {
  min-width: 0;
  width: min(1180px, 100%);
  margin-inline: auto;
}

.sp-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: end;
  margin-bottom: 52px;
  gap: 48px;
}

.sp-section-head > *,
.sp-hero-grid > *,
.sp-working-style-layout > *,
.sp-profile-grid > *,
.sp-certification-panel > *,
.sp-experience-layout > *,
.sp-qualification-grid > *,
.sp-contact-panel > * {
  min-width: 0;
}

.sp-section-head h2,
.sp-profile-copy h2,
.sp-qualification-copy h2,
.sp-contact-copy h2 {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

.sp-section-intro,
.sp-profile-lead,
.sp-contact-copy > p:not(.sp-eyebrow) {
  margin: 0;
  color: var(--sp-muted);
  font-size: 1.05rem;
  line-height: 1.68;
}

/* Readable line breaks: keep headings balanced and protect normal prose from arbitrary word splits. */
.sp-section-head h2,
.sp-profile-copy h2,
.sp-qualification-copy h2,
.sp-contact-copy h2,
.sp-hero-role,
.sp-impact-card h3,
.sp-expertise-card h3,
.sp-certification-lead h3,
.sp-certification-card h3,
.sp-timeline-item h3,
.sp-principle h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.sp-section-intro,
.sp-profile-lead,
.sp-hero-summary,
.sp-impact-card p,
.sp-expertise-card p:last-child,
.sp-certification-lead p:not(.sp-label),
.sp-certification-card p,
.sp-timeline-item p:last-child,
.sp-principle p,
.sp-contact-copy > p:not(.sp-eyebrow) {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  text-wrap: pretty;
}

.sp-eyebrow {
  margin: 0 0 18px;
  color: var(--sp-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sp-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid rgba(20, 103, 179, 0.2);
  border-radius: 999px;
  color: var(--sp-blue-dark);
  background: rgba(234, 244, 251, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

/* Hero */
.sp-hero {
  position: relative;
  min-height: 760px;
  padding: clamp(62px, 8vw, 112px) 24px clamp(76px, 9vw, 124px);
  background: #f5f8fb;
}

.sp-hero::after {
  position: absolute;
  right: -180px;
  bottom: -290px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(20, 103, 179, 0.12);
  border-radius: 50%;
  content: none;
}

.sp-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  position: relative;
  z-index: 1;
  align-items: center !important;
  width: min(1180px, 100%);
  margin: 0 auto;
  gap: clamp(48px, 7vw, 92px);
}

.sp-hero-copy {
  position: relative;
  padding-left: clamp(18px, 2vw, 30px);
  border-left: 2px solid rgba(20, 103, 179, 0.2);
}

.sp-hero-grid > .wp-block-column:first-child {
  flex-basis: 42% !important;
}

.sp-hero-grid > .wp-block-column:last-child {
  flex-basis: 58% !important;
}

.sp-portrait-shell {
  position: relative;
  max-width: 475px;
  margin: 0;
}

.sp-portrait-shell::before {
  position: absolute;
  z-index: -1;
  top: -26px;
  left: -26px;
  width: 86%;
  aspect-ratio: 1;
  border: 1px solid rgba(20, 103, 179, 0.2);
  border-radius: 50%;
  content: none;
}

.sp-hero-image {
  overflow: hidden;
  aspect-ratio: 1 / 1.08;
  margin: 0;
  border: 12px solid rgba(255, 255, 255, 0.92);
  border-radius: 46% 46% 18% 46%;
  box-shadow: var(--sp-shadow);
  background: var(--sp-line);
}

.sp-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
}

.sp-portrait-note {
  position: absolute;
  right: -18px;
  bottom: 24px;
  max-width: 250px;
  margin: 0;
  padding: 17px 20px;
  border: 1px solid rgba(219, 229, 239, 0.84);
  border-radius: 15px;
  color: var(--sp-ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(11, 23, 42, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.sp-portrait-note span {
  display: block;
  margin-bottom: 5px;
  color: var(--sp-blue);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sp-hero h1 {
  max-width: 740px;
  margin: 0;
  color: var(--sp-ink);
  font-size: 3.35rem;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.04;
  word-break: normal;
  hyphens: none;
  overflow-wrap: normal;
}

.sp-hero-name,
.sp-hero-title {
  display: block;
}

.sp-hero-name {
  margin-bottom: 0.35rem;
  color: var(--sp-blue-dark);
  font-family: var(--sp-font-sans);
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.sp-hero .sp-eyebrow {
  max-width: 640px;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.sp-hero-title {
  max-width: 760px;
}

.sp-hero-role {
  max-width: 800px;
  margin: 30px 0 0;
  color: var(--sp-blue-dark);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.sp-hero-summary {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--sp-ink-soft);
  font-size: 1.08rem;
  line-height: 1.72;
}

.sp-hero-skills {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  gap: 8px;
}

.sp-hero-skills li {
  padding: 8px 12px;
  border: 1px solid rgba(20, 103, 179, 0.17);
  border-radius: 999px;
  color: var(--sp-blue-dark);
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 5px 18px rgba(11, 23, 42, 0.035);
}

.sp-current-role {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  max-width: 660px;
  padding: 15px 18px;
  margin-top: 18px;
  border: 1px solid rgba(11, 23, 42, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(11, 23, 42, 0.06);
  gap: 3px 12px;
}

.sp-current-role-label {
  grid-row: 1 / span 2;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding-right: 12px;
  border-right: 1px solid var(--sp-line);
  color: var(--sp-blue);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sp-current-role strong {
  color: var(--sp-ink);
  font-size: 0.95rem;
}

.sp-current-role > span:last-child {
  color: var(--sp-muted);
  font-size: 0.82rem;
}

.sp-role-fit {
  max-width: 720px;
  padding: 18px 20px;
  margin-top: 14px;
  border: 1px solid rgba(20, 103, 179, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(234, 244, 251, 0.74));
  box-shadow: 0 12px 30px rgba(11, 23, 42, 0.055);
}

.sp-role-fit span {
  display: block;
  color: var(--sp-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.sp-role-fit span:first-child {
  margin-bottom: 7px;
  color: var(--sp-blue);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sp-role-fit strong {
  display: block;
  margin-bottom: 5px;
  color: var(--sp-ink);
  font-size: 0.98rem;
  line-height: 1.35;
}

.sp-hero .wp-block-buttons {
  flex-wrap: wrap;
  margin-top: 34px;
  gap: 12px;
}

.sp-button-primary .wp-block-button__link,
.sp-button-secondary .wp-block-button__link,
.sp-contact-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.sp-button-primary .wp-block-button__link {
  color: var(--sp-white);
  background: var(--sp-blue);
  box-shadow: 0 12px 26px rgba(20, 103, 179, 0.24);
}

.sp-button-primary .wp-block-button__link:hover,
.sp-button-primary .wp-block-button__link:focus-visible {
  background: var(--sp-blue-dark);
  box-shadow: 0 16px 34px rgba(20, 103, 179, 0.3);
  transform: translateY(-2px);
}

.sp-button-secondary .wp-block-button__link {
  border: 1px solid var(--sp-line);
  color: var(--sp-ink);
  background: rgba(255, 255, 255, 0.84);
}

.sp-button-secondary .wp-block-button__link:hover,
.sp-button-secondary .wp-block-button__link:focus-visible {
  border-color: var(--sp-blue);
  color: var(--sp-blue-dark);
  transform: translateY(-2px);
}

/* Proof band */
.sp-proof-band {
  padding: 38px 24px;
  color: var(--sp-white);
  background: var(--sp-ink);
}

.sp-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, 100%);
  margin: 0 auto;
  gap: 0;
}

.sp-proof-item {
  padding: 10px clamp(20px, 3vw, 42px);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.sp-proof-item:first-child {
  padding-left: 0;
  border-left: 0;
}

/* Employer fit */
.sp-employer-fit {
  background:
    radial-gradient(circle at 7% 12%, rgba(76, 201, 192, 0.17), transparent 28%),
    linear-gradient(135deg, #eef8fb 0%, #f8fbfd 58%, #e9f2f8 100%);
}

.sp-employer-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: clamp(32px, 6vw, 86px);
  margin-bottom: 44px;
}

.sp-employer-intro h2 {
  max-width: 780px;
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
}

.sp-employer-intro > p {
  max-width: 520px;
  margin: 0;
  color: var(--sp-muted);
  font-size: 1.05rem;
  line-height: 1.68;
  text-wrap: pretty;
}

.sp-employer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  overflow: hidden;
  background: var(--sp-white);
  box-shadow: 0 18px 44px rgba(11, 23, 42, 0.08);
}

.sp-employer-grid article {
  min-width: 0;
  padding: clamp(26px, 3vw, 40px);
}

.sp-employer-grid article + article {
  border-left: 1px solid var(--sp-line);
}

.sp-employer-grid span {
  display: inline-block;
  color: var(--sp-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.sp-employer-grid h3 {
  margin: 34px 0 12px;
  color: var(--sp-ink);
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
}

.sp-employer-grid p {
  margin: 0;
  color: var(--sp-muted);
  line-height: 1.65;
  text-wrap: pretty;
}

/* Visitor self-check */
.sp-self-check {
  background: var(--sp-cloud);
}

.sp-self-check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sp-self-check-card {
  display: flex;
  min-width: 0;
  min-height: 272px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--sp-line);
  border-radius: 18px;
  color: var(--sp-ink);
  background: var(--sp-white);
  box-shadow: 0 12px 30px rgba(11, 23, 42, 0.05);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.sp-self-check-card:hover,
.sp-self-check-card:focus-visible {
  border-color: rgba(20, 103, 179, 0.45);
  box-shadow: 0 18px 38px rgba(11, 23, 42, 0.1);
  transform: translateY(-3px);
}

.sp-self-check-card > span {
  color: var(--sp-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.sp-self-check-card h3 {
  margin: 36px 0 10px;
  color: var(--sp-ink);
  font-size: 1.2rem;
  line-height: 1.2;
  text-wrap: balance;
}

.sp-self-check-card p {
  margin: 0;
  color: var(--sp-muted);
  font-size: 0.95rem;
  line-height: 1.58;
  text-wrap: pretty;
}

.sp-self-check-card strong {
  display: block;
  margin-top: auto;
  padding-top: 22px;
  color: var(--sp-blue-dark);
  font-size: 0.86rem;
}

.sp-self-check-footer {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--sp-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Personal working style */
.sp-working-style {
  background: var(--sp-white);
}

.sp-working-style-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(46px, 8vw, 108px);
}

.sp-working-style-media {
  min-width: 0;
}

.sp-working-style-image {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: var(--sp-radius);
  background: var(--sp-line);
  box-shadow: 0 20px 54px rgba(11, 23, 42, 0.12);
}

.sp-working-style-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}

.sp-working-style-caption {
  max-width: 330px;
  margin: 18px 0 0;
  color: var(--sp-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.sp-working-style-copy h2 {
  max-width: 760px;
  margin: 0;
  color: var(--sp-ink);
  font-size: 2.2rem;
  line-height: 1.08;
  text-wrap: balance;
}

.sp-working-style-lead {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--sp-muted);
  font-size: 1.05rem;
  line-height: 1.68;
  text-wrap: pretty;
}

.sp-working-style-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid var(--sp-line);
  border-bottom: 1px solid var(--sp-line);
}

.sp-working-style-grid article {
  min-width: 0;
  padding: 24px 20px 26px 0;
}

.sp-working-style-grid article + article {
  padding-left: 20px;
  border-left: 1px solid var(--sp-line);
}

.sp-working-style-grid span {
  color: var(--sp-blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
}

.sp-working-style-grid h3 {
  margin: 24px 0 9px;
  color: var(--sp-ink);
  font-size: 1.08rem;
  line-height: 1.25;
  text-wrap: balance;
}

.sp-working-style-grid p {
  margin: 0;
  color: var(--sp-muted);
  font-size: 0.92rem;
  line-height: 1.58;
  text-wrap: pretty;
}

.sp-not-do-list {
  max-width: 700px;
  padding-top: 28px;
}

.sp-not-do-list h3 {
  margin: 0 0 12px;
  color: var(--sp-ink);
  font-size: 1.12rem;
}

.sp-not-do-list ul {
  display: grid;
  gap: 6px;
  padding-left: 1.15rem;
  margin: 0;
  color: var(--sp-muted);
  line-height: 1.55;
}

.sp-proof-kicker {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.53);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sp-proof-number {
  display: block;
  color: var(--sp-cyan);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.sp-proof-label {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  line-height: 1.4;
}

/* Profile */
.sp-profile {
  background: var(--sp-white);
}

.sp-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  align-items: start;
  gap: clamp(64px, 9vw, 128px);
}

.sp-profile-copy h2 {
  max-width: 600px;
  font-size: 2.2rem;
  line-height: 1.08;
}

.sp-profile-lead {
  margin-top: 30px;
}

.sp-principles {
  display: grid;
  gap: 14px;
}

.sp-principle {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: start;
  padding: 26px 28px;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-small);
  background: var(--sp-white);
  box-shadow: 0 9px 25px rgba(11, 23, 42, 0.05);
  column-gap: 14px;
}

.sp-principle-index {
  display: block;
  min-width: 0;
  color: var(--sp-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.42;
}

.sp-principle h3 {
  display: block;
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: 0;
  line-height: 1.25;
}

.sp-principle p {
  grid-column: 2;
  margin: 10px 0 0;
  color: var(--sp-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Decision quality */
.sp-decision-quality {
  position: relative;
  overflow: hidden;
  color: var(--sp-white);
  background: var(--sp-ink);
}

.sp-decision-quality::before {
  position: absolute;
  inset: auto -11vw -18vw auto;
  width: min(48vw, 680px);
  aspect-ratio: 1;
  border: 1px solid rgba(76, 201, 192, 0.35);
  border-radius: 50%;
  content: "";
  opacity: 0.72;
}

.sp-decision-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(48px, 8vw, 112px);
}

.sp-decision-copy .sp-eyebrow {
  color: var(--sp-cyan);
}

.sp-decision-copy h2 {
  max-width: 680px;
  margin: 0;
  color: var(--sp-white);
  font-size: 2.35rem;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.sp-decision-lead {
  max-width: 680px;
  margin: 30px 0 0;
  color: var(--sp-white);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.48;
  text-wrap: pretty;
}

.sp-decision-copy > p:last-child {
  max-width: 655px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
  text-wrap: pretty;
}

.sp-decision-steps {
  display: grid;
  gap: 12px;
}

.sp-decision-steps article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 14px;
  padding: 24px 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--sp-radius-small);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.sp-decision-steps span {
  color: var(--sp-cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.sp-decision-steps h3 {
  margin: 0;
  color: var(--sp-white);
  font-size: 1.15rem;
  letter-spacing: 0;
  text-wrap: balance;
}

.sp-decision-steps p {
  grid-column: 2;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.97rem;
  line-height: 1.58;
  text-wrap: pretty;
}

.sp-decision-formula {
  position: relative;
  max-width: 960px;
  margin: clamp(48px, 7vw, 84px) 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: balance;
}

.sp-decision-formula strong {
  color: var(--sp-cyan);
}

/* Impact */
.sp-impact {
  background: var(--sp-white);
}

.sp-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sp-impact-grid-stories {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sp-impact-card {
  min-height: 0;
  padding: 28px;
  border: 1px solid rgba(20, 103, 179, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(234, 244, 251, 0.68), rgba(255, 255, 255, 0.92));
  box-shadow: 0 12px 32px rgba(11, 23, 42, 0.055);
}

.sp-impact-card span {
  display: block;
  margin-bottom: 30px;
  color: var(--sp-blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sp-impact-card h3 {
  margin: 0;
  color: var(--sp-ink);
  font-size: 1.18rem;
  letter-spacing: 0;
  line-height: 1.22;
}

.sp-impact-card p {
  margin: 13px 0 0;
  color: var(--sp-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.sp-impact-flow {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.sp-impact-flow p {
  margin: 0;
}

.sp-impact-flow strong {
  display: block;
  margin-bottom: 3px;
  color: var(--sp-blue-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* Expertise */
.sp-expertise {
  background: var(--sp-cloud);
}

.sp-expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sp-expertise-card {
  display: flex;
  flex-direction: column;
  min-height: 238px;
  padding: 30px;
  border: 1px solid var(--sp-line);
  border-radius: 20px;
  background: var(--sp-white);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.sp-expertise-card:hover {
  border-color: rgba(20, 103, 179, 0.35);
  box-shadow: 0 18px 40px rgba(11, 23, 42, 0.08);
  transform: translateY(-4px);
}

.sp-card-no {
  margin: 0 0 44px;
  color: var(--sp-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.sp-expertise-card h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0;
  line-height: 1.18;
}

.sp-expertise-card p:last-child {
  margin: 14px 0 0;
  color: var(--sp-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.sp-expertise-card .sp-card-no {
  margin-bottom: clamp(28px, 3vw, 44px);
}

/* Current certification focus */
.sp-current-learning {
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
}

.sp-current-learning .sp-section-head {
  align-items: start;
}

.sp-certification-panel {
  display: grid;
  grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1.22fr);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(20, 103, 179, 0.13);
  border-radius: var(--sp-radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 60px rgba(11, 23, 42, 0.08);
  gap: clamp(28px, 5vw, 52px);
}

.sp-certification-lead h3 {
  margin: 20px 0 0;
  color: var(--sp-ink);
  font-size: 1.8rem;
  letter-spacing: 0;
  line-height: 1.08;
}

.sp-certification-lead p:not(.sp-label) {
  margin: 18px 0 0;
  color: var(--sp-muted);
  line-height: 1.66;
}

.sp-certification-status {
  padding: 15px 18px;
  border-left: 3px solid var(--sp-blue);
  border-radius: 0 12px 12px 0;
  background: var(--sp-sky);
}

.sp-certification-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sp-certification-card {
  padding: 24px;
  border: 1px solid var(--sp-line);
  border-radius: 18px;
  background: #ffffff;
}

.sp-certification-card span {
  display: block;
  margin-bottom: 24px;
  color: var(--sp-blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
}

.sp-certification-card h3 {
  margin: 0;
  color: var(--sp-ink);
  font-size: 1.12rem;
  letter-spacing: 0;
  line-height: 1.24;
}

.sp-certification-card p {
  margin: 12px 0 0;
  color: var(--sp-muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

/* Experience */
.sp-experience {
  color: var(--sp-white);
  background: var(--sp-ink);
}

.sp-experience .sp-eyebrow {
  color: var(--sp-cyan);
}

.sp-experience .sp-section-intro {
  color: rgba(255, 255, 255, 0.68);
}

.sp-experience-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(46px, 7vw, 88px);
}

.sp-action-image {
  overflow: hidden;
  position: sticky;
  top: 120px;
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: var(--sp-radius);
  background: #172844;
}

.sp-action-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}

.sp-timeline {
  display: grid;
  gap: 0;
}

.sp-timeline-item {
  position: relative;
  padding: 0 0 34px 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.sp-timeline-item:last-child {
  padding-bottom: 0;
}

.sp-timeline-item::before {
  position: absolute;
  top: 3px;
  left: -6px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--sp-ink);
  border-radius: 50%;
  background: var(--sp-cyan);
  box-shadow: 0 0 0 4px rgba(76, 201, 192, 0.13);
  content: "";
}

.sp-timeline-date {
  margin: 0 0 8px;
  color: var(--sp-cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sp-timeline-item h3 {
  margin: 0;
  color: var(--sp-white);
  font-size: 1.18rem;
  letter-spacing: 0;
  line-height: 1.25;
}

.sp-timeline-item p:last-child {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.65;
}

.sp-timeline-item a {
  color: var(--sp-cyan);
  font-weight: 700;
  text-decoration-thickness: 1px;
}

.sp-timeline-item a:hover,
.sp-timeline-item a:focus-visible {
  color: var(--sp-white);
}

/* Qualifications */
.sp-qualifications {
  background: var(--sp-white);
}

.sp-qualification-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: start;
  gap: clamp(46px, 7vw, 88px);
}

.sp-qualification-copy h2 {
  margin-bottom: 32px;
}

.sp-qualification-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 0 28px;
}

.sp-qualification-list li {
  padding: 16px 0;
  border-top: 1px solid var(--sp-line);
  color: var(--sp-ink-soft);
  font-weight: 700;
  line-height: 1.45;
}

.sp-qualification-intro {
  margin: -14px 0 26px;
  color: var(--sp-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.sp-qualification-list strong {
  display: block;
  color: var(--sp-ink);
}

.sp-qualification-list span {
  display: block;
  margin-top: 5px;
  color: var(--sp-muted);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.45;
}

.sp-learning-card {
  padding: clamp(30px, 4vw, 46px);
  border-radius: var(--sp-radius);
  background: linear-gradient(145deg, var(--sp-sky), #f7fbfe);
}

.sp-learning-card .sp-label {
  margin-bottom: 24px;
}

.sp-learning-card h3 {
  margin: 0;
  font-size: 1.75rem;
  letter-spacing: 0;
  line-height: 1.08;
}

.sp-learning-card > p:not(.sp-label) {
  margin: 18px 0 0;
  color: var(--sp-muted);
  line-height: 1.65;
}

.sp-learning-tags {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
  gap: 8px;
}

.sp-learning-tags li {
  padding: 9px 12px;
  border: 1px solid rgba(20, 103, 179, 0.17);
  border-radius: 999px;
  color: var(--sp-blue-dark);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
}

.sp-qualification-note,
.sp-examiner-note {
  margin: 30px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--sp-blue);
  color: var(--sp-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.sp-examiner-note {
  margin-top: 20px;
}

.sp-learning-now {
  padding-top: 22px;
  border-top: 1px solid rgba(20, 103, 179, 0.16);
}

/* Contact */
.sp-contact {
  padding: clamp(70px, 8vw, 112px) 24px;
  background: var(--sp-cloud);
}

.sp-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  width: min(1180px, 100%);
  padding: clamp(34px, 6vw, 76px);
  margin: 0 auto;
  border-radius: 34px;
  color: var(--sp-white);
  background:
    radial-gradient(circle at 95% 10%, rgba(76, 201, 192, 0.24), transparent 28%),
    linear-gradient(135deg, #0b172a 0%, #12294a 100%);
  box-shadow: var(--sp-shadow);
  gap: 48px;
}

.sp-contact-copy .sp-eyebrow {
  color: var(--sp-cyan);
}

.sp-contact-copy h2 {
  max-width: 720px;
  color: var(--sp-white);
}

.sp-contact-copy > p:not(.sp-eyebrow) {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.69);
}

.sp-contact-note {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--sp-cyan) !important;
  font-size: 0.92rem !important;
  font-weight: 700;
}

.sp-contact-actions {
  display: grid;
  justify-items: stretch;
  gap: 12px;
}

.sp-contact-actions .wp-block-buttons,
.sp-contact-actions .wp-block-button,
.sp-contact-actions .wp-block-button__link {
  width: 100%;
}

.sp-contact-button .wp-block-button__link {
  color: var(--sp-ink);
  background: var(--sp-white);
}

.sp-contact-button .wp-block-button__link:hover,
.sp-contact-button .wp-block-button__link:focus-visible {
  color: var(--sp-white);
  background: var(--sp-blue);
  transform: translateY(-2px);
}

.sp-contact-meta {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.82rem;
  text-align: center;
}

/* Footer */
.sp-footer {
  padding: 28px 24px;
  border-top: 1px solid var(--sp-line);
  background: var(--sp-white);
}

.sp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, 100%);
  margin: 0 auto;
  gap: 24px;
}

.sp-footer p {
  margin: 0;
  color: var(--sp-muted);
  font-size: 0.82rem;
}

.sp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.sp-footer-links a {
  color: var(--sp-ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.sp-footer-links a:hover,
.sp-footer-links a:focus-visible {
  color: var(--sp-blue);
}

/* Standard pages and posts */
.sp-content-shell {
  width: min(840px, calc(100% - 48px));
  min-height: 55vh;
  padding: 84px 0 110px;
  margin: 0 auto;
}

.sp-content-shell h1 {
  margin-bottom: 36px;
  font-size: 2.6rem;
  letter-spacing: 0;
  line-height: 1.1;
}

.sp-content-shell :where(p, li) {
  color: var(--sp-ink-soft);
  font-size: 1.04rem;
  line-height: 1.75;
}

.sp-content-shell :where(img, video, iframe, embed, object) {
  max-width: 100%;
}

.sp-content-shell :where(pre, table) {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sp-content-shell:has(.sp-focus-page) {
  width: min(1040px, calc(100% - 48px));
}

.sp-focus-page {
  display: grid;
  gap: 42px;
}

.sp-focus-page > .wp-block-group {
  margin: 0;
}

.sp-focus-lead {
  max-width: 840px;
  color: var(--sp-ink-soft);
  font-size: 1.14rem;
  line-height: 1.7;
}

.sp-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sp-focus-card {
  min-width: 0;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--sp-line);
  border-radius: 18px;
  background: var(--sp-white);
  box-shadow: 0 14px 34px rgba(11, 23, 42, 0.07);
}

.sp-focus-card h2,
.sp-focus-card h3 {
  margin: 0 0 12px;
  color: var(--sp-ink);
  font-size: 1.32rem;
  line-height: 1.18;
  text-wrap: balance;
}

.sp-focus-card p {
  margin: 0;
}

.sp-focus-card ul {
  padding-left: 1.2rem;
  margin: 12px 0 0;
}

.sp-focus-cta {
  padding: clamp(28px, 4vw, 44px);
  border-radius: 24px;
  color: var(--sp-white);
  background: linear-gradient(135deg, #0b172a 0%, #123a63 100%);
}

.sp-focus-cta h2 {
  margin: 0 0 12px;
  color: var(--sp-white);
  font-size: 1.8rem;
  line-height: 1.15;
}

.sp-focus-cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
}

.sp-focus-cta .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  color: var(--sp-ink);
  background: var(--sp-white);
  font-weight: 800;
  text-decoration: none;
}

/* Forms and plugin output, including WP Statistics shortcodes/widgets. */
.sp-content-shell :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea),
.wp-block-search__input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--sp-line);
  border-radius: 8px;
  color: var(--sp-ink);
  background: var(--sp-white);
}

:where(.wp-statistics-widget, .wp-statistics-container, .wps-wrap, .wps-postbox) {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

:where(.wp-statistics-widget, .wp-statistics-container, .wps-wrap) :where(canvas, svg, table) {
  max-width: 100% !important;
}

.sp-query-card {
  padding: 26px 0;
  border-top: 1px solid var(--sp-line);
}

.sp-query-card a {
  color: var(--sp-ink);
  text-decoration: none;
}

/* Focus and motion */
:where(a, button):focus-visible {
  outline: 3px solid var(--sp-cyan);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .sp-site-header {
    background: rgba(255, 255, 255, 0.98);
  }
}

@media (max-width: 1040px) {
  .sp-header-inner {
    width: min(100% - 34px, 1180px);
  }

  .sp-nav-toggle {
    display: block;
  }

  .sp-brand-logo {
    width: 250px;
  }

  .sp-nav-wrap {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    right: 17px;
    left: 17px;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    border: 1px solid var(--sp-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 42px rgba(11, 23, 42, 0.14);
    max-height: calc(100vh - 110px);
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .sp-nav-wrap.is-open {
    display: flex;
  }

  .sp-primary-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .sp-primary-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--sp-line);
  }

  .sp-header-contact {
    justify-content: center;
  }

  .sp-hero-grid {
    gap: 42px;
  }

  body.sp-menu-open {
    overflow: hidden;
  }

  .sp-expertise-grid,
  .sp-impact-grid,
  .sp-self-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sp-expertise-card {
    min-height: 0;
  }
}

@media (max-width: 781px) {
  .admin-bar .sp-site-header {
    top: 46px;
  }

  .sp-hero {
    min-height: 0;
    padding-top: 48px;
  }

  .sp-hero-grid {
    display: flex;
    flex-direction: column;
  }

  .sp-hero-grid > .wp-block-column {
    flex-basis: auto !important;
    width: 100%;
  }

  .sp-portrait-shell {
    max-width: 430px;
    margin: 0 auto;
  }

  .sp-hero-copy {
    padding-left: 0;
    border-left: 0;
    text-align: left;
  }

  .sp-hero h1 {
    font-size: 3.65rem;
  }

  .sp-hero-name {
    font-size: 2.35rem;
  }

  .sp-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sp-proof-item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .sp-proof-item:nth-child(n+3) {
    padding-top: 28px;
  }

  .sp-profile-grid,
  .sp-working-style-layout,
  .sp-employer-intro,
  .sp-decision-layout,
  .sp-section-head,
  .sp-certification-panel,
  .sp-experience-layout,
  .sp-qualification-grid,
  .sp-contact-panel {
    grid-template-columns: 1fr;
  }

  .sp-profile-grid {
    gap: 38px;
  }

  .sp-profile-copy h2 {
    max-width: 720px;
  }

  .sp-section-head {
    align-items: start;
    gap: 24px;
  }

  .sp-action-image {
    position: relative;
    top: 0;
    max-height: 620px;
  }

  .sp-contact-panel {
    gap: 36px;
  }

  .sp-working-style-grid {
    grid-template-columns: 1fr;
  }

  .sp-working-style-grid article,
  .sp-working-style-grid article + article {
    padding: 22px 0;
    border-left: 0;
  }

  .sp-working-style-grid article + article {
    border-top: 1px solid var(--sp-line);
  }
}

@media (max-width: 560px) {
  .sp-header-inner {
    min-height: 72px;
  }

  .sp-brand-logo {
    width: min(205px, calc(100vw - 100px));
  }

  .sp-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .sp-section-head h2,
  .sp-profile-copy h2,
  .sp-decision-copy h2,
  .sp-qualification-copy h2,
  .sp-contact-copy h2 {
    font-size: 2.15rem;
  }

  .sp-hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .sp-hero h1 {
    font-size: 2.85rem;
    line-height: 1.04;
  }

  .sp-hero-name {
    font-size: 2rem;
  }

  .sp-hero-role {
    font-size: 1.12rem;
  }

  .sp-hero .wp-block-buttons,
  .sp-hero .wp-block-button,
  .sp-hero .wp-block-button__link {
    width: 100%;
  }

  .sp-button-primary .wp-block-button__link,
  .sp-button-secondary .wp-block-button__link,
  .sp-contact-button .wp-block-button__link {
    min-height: 48px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .sp-portrait-note {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: -18px 14px 0;
  }

  .sp-current-role {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .sp-current-role-label {
    grid-row: auto;
    padding: 0 0 5px;
    border-right: 0;
  }

  .sp-proof-grid,
  .sp-employer-grid,
  .sp-expertise-grid,
  .sp-impact-grid,
  .sp-self-check-grid,
  .sp-certification-grid,
  .sp-qualification-list,
  .sp-focus-grid {
    grid-template-columns: 1fr;
  }

  .sp-proof-item,
  .sp-proof-item:first-child,
  .sp-proof-item:nth-child(3) {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .sp-proof-item:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .sp-expertise-card {
    min-height: 0;
  }

  .sp-employer-grid article + article {
    border-top: 1px solid var(--sp-line);
    border-left: 0;
  }

  .sp-section-intro,
  .sp-profile-lead,
  .sp-decision-lead,
  .sp-hero-summary,
  .sp-impact-card p,
  .sp-expertise-card p:last-child,
  .sp-certification-lead p:not(.sp-label),
  .sp-certification-card p,
  .sp-timeline-item p:last-child,
  .sp-principle p,
  .sp-decision-copy > p:last-child,
  .sp-decision-steps p,
  .sp-contact-copy > p:not(.sp-eyebrow) {
    hyphens: manual;
  }

  .sp-working-style-copy h2 {
    font-size: 2.15rem;
  }

  .sp-working-style-grid {
    margin-top: 32px;
  }

  .sp-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .sp-content-shell {
    width: min(100% - 36px, 840px);
    padding-top: 58px;
    padding-bottom: 76px;
  }
}

@media (max-width: 380px) {
  .sp-header-inner {
    width: calc(100% - 24px);
  }

  .sp-brand-logo {
    width: min(180px, calc(100vw - 88px));
  }

  .sp-nav-wrap {
    right: 12px;
    left: 12px;
    padding: 16px;
  }

  .sp-hero h1 {
    font-size: 2.5rem;
  }

  .sp-hero-name {
    font-size: 1.72rem;
  }

  .sp-section-head h2,
  .sp-profile-copy h2,
  .sp-decision-copy h2,
  .sp-qualification-copy h2,
  .sp-contact-copy h2 {
    font-size: 2rem;
  }

  .sp-principle,
  .sp-decision-steps article,
  .sp-impact-card,
  .sp-expertise-card,
  .sp-certification-card {
    padding: 22px;
  }

  .sp-principle p {
    grid-column: 1 / -1;
    margin-left: 0;
  }

  .sp-decision-steps article {
    grid-template-columns: 1fr;
  }

  .sp-decision-steps p {
    grid-column: 1;
  }
}

@media (max-height: 520px) and (orientation: landscape) and (max-width: 1040px) {
  .sp-header-inner {
    min-height: 64px;
  }

  .sp-nav-wrap {
    max-height: calc(100vh - 76px);
    max-height: calc(100dvh - 76px);
    padding: 14px 20px;
  }

  .sp-primary-nav a {
    padding-top: 9px;
    padding-bottom: 9px;
  }
}

@media (hover: none) {
  .sp-expertise-card:hover,
  .sp-self-check-card:hover,
  .sp-header-contact:hover,
  .sp-button-primary .wp-block-button__link:hover,
  .sp-button-secondary .wp-block-button__link:hover,
  .sp-contact-button .wp-block-button__link:hover {
    transform: none;
  }
}

/* Application profile: compact headings and unframed teaching topics. */
#top, #dozent { scroll-margin-top: 112px; }
.sp-hero { min-height: 0; padding-block: 56px 64px; }
.sp-hero-role { margin-top: 20px; font-size: 1.65rem; line-height: 1.3; }
.sp-hero-summary { font-size: 1.08rem; line-height: 1.6; }
.sp-hero-skills { margin-block: 20px; }
.sp-role-fit { margin-block: 20px; }
.sp-role-fit { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.sp-section { padding-block: 72px; }
.sp-section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-bottom: 36px; }
.sp-section-head h2, .sp-working-style-copy h2, .sp-contact-copy h2 { font-size: 2.1rem; line-height: 1.2; }
.sp-section-intro, .sp-working-style-lead { font-size: 1.05rem; line-height: 1.65; }
.sp-self-check-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-self-check-card, .sp-impact-card { border-radius: 8px; }
.sp-proof-band { background: #193d35; }
.sp-proof-number { font-size: 2.5rem; }
.sp-competence-grid, .sp-teaching-topics, .sp-qualification-groups {
  display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sp-competence-grid article, .sp-teaching-topics article { min-width: 0; padding-block: 22px; border-top: 2px solid var(--sp-line); }
.sp-competence-grid h3, .sp-teaching-topics h3, .sp-qualification-groups h3 { margin: 0 0 12px; font-size: 1.18rem; line-height: 1.35; }
.sp-competence-grid p, .sp-teaching-topics p { margin: 0; color: var(--sp-ink-soft); font-size: 1rem; line-height: 1.65; }
.sp-teaching { background: #edf4ef; }
.sp-teaching-topics, .sp-qualification-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-teaching-topics article { border-color: #b7d0c0; }
.sp-teaching-topics p + p { margin-top: 12px; }
.sp-international-profile { margin-top: 20px; font-size: 0.95rem; line-height: 1.65; color: var(--sp-muted); }
.sp-sector-context { margin: 0 0 20px; font-size: 0.95rem; line-height: 1.6; color: var(--sp-ink-soft); }
.sp-recent-practice { margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--sp-line); color: var(--sp-ink-soft); font-size: 1rem; line-height: 1.7; }
.sp-secondary-option { margin: 14px 0 0; font-size: 0.95rem; line-height: 1.6; color: var(--sp-muted); }
.sp-didactic-highlight { margin: 28px 0 0; padding-left: 18px; border-left: 3px solid var(--sp-blue); color: var(--sp-ink-soft); font-size: 1rem; line-height: 1.7; }
.sp-teaching-details { margin: 0 0 22px; border-top: 1px solid #b7d0c0; }
.sp-teaching-details summary { padding-block: 16px; font-size: 1rem; line-height: 1.5; font-weight: 700; cursor: pointer; }
.sp-teaching-details summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.sp-harvard-modules { margin-top: 12px; }
.sp-harvard-modules summary { font-size: 0.95rem; line-height: 1.5; cursor: pointer; }
.sp-harvard-modules summary:focus-visible { outline: 2px solid var(--sp-blue); outline-offset: 4px; }
.sp-harvard-modules ul { margin: 12px 0 0; padding-left: 20px; list-style: disc; }
.sp-qualification-groups .sp-qualification-list .sp-harvard-modules li { margin: 0; padding: 4px 0; border: 0; font-size: 0.95rem; font-weight: 400; line-height: 1.5; }
.sp-english-profile { display: block; max-width: 940px; margin: 48px auto; padding-inline: 24px; box-sizing: border-box; }
.sp-english-profile h1 { margin: 16px 0 24px; font-size: 2.4rem; line-height: 1.2; }
.sp-english-profile h2 { margin: 32px 0 12px; font-size: 1.4rem; line-height: 1.35; }
.sp-english-profile p, .sp-english-profile li { font-size: 1rem; line-height: 1.75; }
.sp-english-profile li + li { margin-top: 16px; }
.sp-teaching-evidence { margin: 28px 0 16px; font-size: 1rem; line-height: 1.7; }
.sp-teaching-method { margin: 16px 0 24px; color: var(--sp-muted); font-size: 0.95rem; line-height: 1.65; }
.sp-inline-action { display: inline-flex; gap: 12px; padding-block: 12px; font-weight: 700; }
.sp-qualification-groups > div { min-width: 0; }
.sp-qualification-groups .sp-qualification-list { display: block; }
.sp-qualification-groups .sp-qualification-list li { margin-bottom: 18px; }
.sp-further-qualifications { margin-top: 28px; padding-block: 18px; border-block: 1px solid var(--sp-line); }
.sp-further-qualifications summary { cursor: pointer; font-weight: 700; }
.sp-further-qualifications li { margin-block: 10px; }
.sp-contact-actions a { white-space: normal; overflow-wrap: anywhere; text-align: center; }

@media (max-width: 900px) {
  .sp-hero-grid { grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr); gap: 30px; }
  .sp-teaching-topics, .sp-qualification-groups { grid-template-columns: 1fr; gap: 16px; }
  .sp-self-check-grid { grid-template-columns: 1fr; }
}
@media (max-width: 781px) {
  .sp-hero { padding-top: 32px; }
  .sp-hero-grid { display: flex !important; gap: 32px; }
  .sp-hero-copy { order: -1; }
  .sp-portrait-shell { max-width: 300px; }
  .sp-hero-name { font-size: 2.5rem; }
  .sp-section { padding-block: 48px; }
  .sp-section-head, .sp-competence-grid { grid-template-columns: 1fr; gap: 24px; }
  .sp-working-style-layout { gap: 32px; }
  .sp-working-style-media { order: 2; }
  .sp-working-style-image { max-height: 380px; }
}
@media (max-width: 560px) {
  .sp-hero-name { font-size: 2.25rem; }
  .sp-hero-role { font-size: 1.35rem; }
  .sp-section-head h2, .sp-working-style-copy h2, .sp-contact-copy h2 { font-size: 1.8rem; }
  .sp-hero-copy .wp-block-buttons { gap: 10px; }
}
