/*
Theme Name: Serena Toso
Theme URI: https://www.serenatoso.com/
Author: Serena Toso
Description: Tema a blocchi editoriale per ricerca di mercato e posizionamento.
Version: 0.7.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: serena-toso
*/

:root {
  --st-navy: #17324D;
  --st-petrol: #1F6662;
  --st-ivory: #F5F1E8;
  --st-terracotta: #A94F32;
  --st-graphite: #263238;
  --st-mist: #DDE8E5;
  --st-white: #FFFFFF;
  --st-border: rgba(23, 50, 77, 0.16);
  --st-radius-sm: 10px;
  --st-radius-md: 18px;
  --st-shadow: 0 18px 50px rgba(23, 50, 77, 0.10);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
body, button, input, textarea, select { -webkit-font-smoothing: antialiased; }

a { text-underline-offset: 0.2em; }
main { min-height: 60vh; }

.st-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--st-border);
  background: color-mix(in srgb, var(--st-ivory) 94%, transparent);
  backdrop-filter: blur(14px);
}

.st-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.st-brand { min-width: 220px; }
.st-brand .wp-block-site-title {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.1;
  text-transform: uppercase;
}
.st-brand .wp-block-site-title a { color: var(--st-navy); text-decoration: none; }
.st-brand .wp-block-site-tagline {
  margin: 5px 0 0;
  color: var(--st-petrol);
  font-size: 0.75rem;
  line-height: 1.2;
}

.st-header-inner .wp-block-navigation {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 650;
}
.st-header-inner .wp-block-navigation-item__content { color: var(--st-navy); }
.st-header-inner .wp-block-navigation-item__content:hover { color: var(--st-terracotta); }
.st-nav-cta > .wp-block-navigation-item__content {
  border-radius: 8px;
  padding: 0.78rem 1rem !important;
  background: var(--st-terracotta);
  color: var(--st-white) !important;
}

.st-section { padding-top: clamp(72px, 9vw, 130px); padding-bottom: clamp(72px, 9vw, 130px); }
.st-section--tight { padding-top: clamp(52px, 7vw, 92px); padding-bottom: clamp(52px, 7vw, 92px); }
.st-section--navy { background: var(--st-navy); color: var(--st-white); }
.st-section--mist { background: var(--st-mist); }
.st-section--white { background: var(--st-white); }
.st-section--terracotta { background: var(--st-terracotta); color: var(--st-white); }

.st-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(82px, 11vw, 160px);
  padding-bottom: clamp(82px, 11vw, 160px);
  background:
    radial-gradient(circle at 82% 22%, rgba(31, 102, 98, 0.16), transparent 28rem),
    var(--st-ivory);
}
.st-hero::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(169,79,50,.22);
  border-radius: 50%;
  right: -150px;
  bottom: -170px;
}
.st-hero__columns { align-items: center !important; gap: clamp(42px, 6vw, 90px) !important; }
.st-hero h1 {
  max-width: 12ch;
  margin-top: 0.45rem;
  margin-bottom: 1.4rem;
  font-size: clamp(3.1rem, 7.3vw, 7.1rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}
.st-hero .st-lead { max-width: 720px; }

.st-kicker {
  margin-bottom: 0.8rem;
  color: var(--st-petrol);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.st-section--navy .st-kicker,
.st-section--terracotta .st-kicker { color: var(--st-mist); }

.st-lead {
  font-size: clamp(1.15rem, 1.75vw, 1.45rem);
  line-height: 1.55;
}
.st-note { color: color-mix(in srgb, var(--st-graphite) 75%, transparent); font-size: 0.96rem; }

.st-actions { margin-top: 2rem; gap: 12px; }
.wp-block-button__link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px !important;
  padding: 0.8rem 1.25rem !important;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(23, 50, 77, 0.15); }
.st-button-primary .wp-block-button__link { background: var(--st-terracotta); color: var(--st-white); }
.st-button-secondary .wp-block-button__link { background: transparent; border: 1px solid var(--st-navy); color: var(--st-navy); }
.st-section--navy .st-button-secondary .wp-block-button__link,
.st-section--terracotta .st-button-secondary .wp-block-button__link { border-color: var(--st-white); color: var(--st-white); }

.st-flow {
  position: relative;
  max-width: 440px;
  margin-left: auto;
  padding: 32px;
  border: 1px solid rgba(23, 50, 77, 0.12);
  border-radius: var(--st-radius-md);
  background: rgba(255,255,255,.52);
  box-shadow: var(--st-shadow);
}
.st-flow__item {
  position: relative;
  margin: 0;
  padding: 15px 18px 15px 44px;
  border-radius: 10px;
  color: var(--st-navy);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}
.st-flow__item::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--st-petrol);
  transform: translateY(-50%);
}
.st-flow__item + .st-flow__item { margin-top: 18px; }
.st-flow__item + .st-flow__item::after {
  content: "";
  position: absolute;
  left: 21px;
  top: -21px;
  width: 1px;
  height: 20px;
  background: rgba(31,102,98,.48);
}
.st-flow__item:last-child { background: var(--st-terracotta); color: var(--st-white); }
.st-flow__item:last-child::before { background: var(--st-white); }

.st-heading { max-width: 900px; margin-bottom: clamp(34px, 5vw, 64px); }
.st-heading h2 { margin-top: 0.35rem; margin-bottom: 1.1rem; font-size: clamp(2.25rem, 5vw, 4.7rem); line-height: 1.02; letter-spacing: -0.045em; }
.st-heading p { max-width: 760px; }

.st-question-list { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.st-question-list li {
  margin: 0;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.st-grid-4, .st-grid-3, .st-grid-2 { gap: 20px !important; align-items: stretch !important; }
.st-card {
  height: 100%;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-md);
  background: var(--st-white);
}
.st-card h3 { margin-top: .4rem; margin-bottom: .75rem; font-size: clamp(1.35rem, 2.3vw, 1.85rem); }
.st-card p:last-child { margin-bottom: 0; }
.st-card--transparent { background: transparent; }
.st-card--mist { background: var(--st-mist); }
.st-card--navy { background: var(--st-navy); color: var(--st-white); }
.st-card--navy h3 { color: var(--st-white); }
.st-number {
  color: var(--st-terracotta);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.st-triad .wp-block-column { position: relative; }
.st-triad h3 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 1rem; }
.st-triad .wp-block-column:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -10px;
  bottom: 0;
  width: 1px;
  background: var(--st-border);
}

.st-method { counter-reset: method; }
.st-method-step {
  position: relative;
  padding: 32px 0 32px 88px;
  border-top: 1px solid var(--st-border);
}
.st-method-step:last-child { border-bottom: 1px solid var(--st-border); }
.st-method-step::before {
  counter-increment: method;
  content: "0" counter(method);
  position: absolute;
  left: 0;
  top: 34px;
  color: var(--st-terracotta);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
}
.st-method-step h3 { margin-top: 0; margin-bottom: .55rem; }
.st-method-step p { margin-bottom: 0; max-width: 760px; }

.st-quote {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(2rem, 4.5vw, 4.25rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-align: center;
}

.st-bio { align-items: center !important; gap: clamp(38px, 6vw, 82px) !important; }
.st-bio-mark {
  display: grid;
  min-height: 380px;
  place-items: center;
  border-radius: var(--st-radius-md);
  background:
    linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.14)),
    var(--st-mist);
}
.st-bio-mark span {
  color: var(--st-navy);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 760;
  letter-spacing: -0.08em;
}

.st-page-hero { padding-top: clamp(70px, 8vw, 110px); padding-bottom: 42px; }
.st-page-hero h1 { max-width: 15ch; font-size: clamp(2.7rem, 6vw, 5.6rem); line-height: 1; letter-spacing: -0.05em; }
.st-page-content { padding-bottom: clamp(70px, 8vw, 120px); }
.st-page-content > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.st-page-content > .alignwide { max-width: 1200px; }

.st-site-footer { padding-top: 62px; padding-bottom: 32px; background: var(--st-navy); color: var(--st-white); }
.st-footer-grid { align-items: flex-start !important; gap: 32px !important; }
.st-site-footer .wp-block-site-title { margin: 0 0 .4rem; font-family: "Manrope", system-ui, sans-serif; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; }
.st-site-footer .wp-block-site-title a, .st-site-footer a { color: var(--st-white); }
.st-site-footer .wp-block-site-tagline { color: var(--st-mist); font-size: .9rem; }
.st-site-footer .wp-block-navigation { font-size: .9rem; }
.st-footer-meta { padding-top: 30px; margin-top: 38px; border-top: 1px solid rgba(255,255,255,.18); color: var(--st-mist); font-size: .82rem; }

.js-ready .st-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js-ready .st-reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .st-header-inner { min-height: 70px; }
  .st-brand .wp-block-site-tagline { display: none; }
  .st-hero h1 { max-width: 10ch; }
  .st-flow { max-width: none; margin: 16px 0 0; }
  .st-triad .wp-block-column:not(:last-child)::after { display: none; }
  .st-bio-mark { min-height: 260px; }
}

@media (max-width: 781px) {
  .st-section { padding-top: 68px; padding-bottom: 68px; }
  .st-hero { padding-top: 76px; padding-bottom: 76px; }
  .st-hero__columns { gap: 42px !important; }
  .st-grid-4, .st-grid-3, .st-grid-2 { gap: 14px !important; }
  .st-card { padding: 24px; }
  .st-method-step { padding-left: 56px; }
  .st-flow { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-ready .st-reveal { opacity: 1; transform: none; }
}

/* Inner pages and contact form — v0.3 */
.st-page-intro {
  padding-bottom: clamp(40px, 6vw, 78px);
}
.st-page-intro h2 {
  max-width: 16ch;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}
.st-page-section {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--st-border);
}
.st-page-section h2 {
  max-width: 19ch;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.st-page-cta {
  margin-top: clamp(54px, 8vw, 110px);
  margin-bottom: clamp(70px, 9vw, 120px);
  padding: clamp(34px, 5vw, 62px);
  border-radius: var(--st-radius-md);
}
.st-page-cta h2 { max-width: 18ch; font-size: clamp(2rem, 4vw, 3.6rem); }
.st-page-cta p { max-width: 760px; }
.st-check-list { list-style: none; padding: 0; margin: 2rem 0; }
.st-check-list li {
  position: relative;
  margin: 0;
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px solid var(--st-border);
  font-size: 1.08rem;
}
.st-check-list li:first-child { border-top: 1px solid var(--st-border); }
.st-check-list li::before {
  content: "";
  position: absolute;
  left: .15rem;
  top: 1.45rem;
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: var(--st-petrol);
}
.st-contact-layout { gap: clamp(36px, 6vw, 84px) !important; align-items: flex-start !important; }
.st-contact-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-md);
  background: var(--st-white);
  box-shadow: var(--st-shadow);
}
.st-contact-form { margin: 0; }
.st-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.st-field { margin: 0 0 18px; }
.st-field label,
.st-consent label {
  display: block;
  margin-bottom: 7px;
  color: var(--st-navy);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: .86rem;
  font-weight: 700;
}
.st-field input,
.st-field textarea,
.st-field select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(23, 50, 77, .25);
  border-radius: 8px;
  padding: .8rem .9rem;
  background: var(--st-white);
  color: var(--st-graphite);
  font: inherit;
}
.st-field input:focus,
.st-field textarea:focus,
.st-field select:focus {
  outline: 3px solid rgba(31, 102, 98, .18);
  border-color: var(--st-petrol);
}
.st-consent { margin: .3rem 0 1.4rem; font-size: .9rem; }
.st-consent label { font-family: "Source Sans 3", system-ui, sans-serif; font-weight: 400; line-height: 1.45; }
.st-consent input { margin-right: .45rem; }
.st-submit {
  border: 0;
  border-radius: 8px;
  padding: .9rem 1.25rem;
  background: var(--st-terracotta);
  color: var(--st-white);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: .95rem;
  font-weight: 750;
  cursor: pointer;
}
.st-submit:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(23, 50, 77, .15); }
.st-form-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.st-form-message { padding: .8rem 1rem; border-radius: 8px; }
.st-form-message--error { background: #f7e7e2; color: #7f2f1e; }
.st-thanks { min-height: 48vh; }

@media (max-width: 781px) {
  .st-form-row { grid-template-columns: 1fr; gap: 0; }
  .st-page-cta { border-radius: 0; margin-left: calc(-1 * var(--wp--style--root--padding-left, 0px)); margin-right: calc(-1 * var(--wp--style--root--padding-right, 0px)); }
}


/* Layout refinements and visual placeholders — v0.3 */
.st-grid-3.wp-block-columns,
.st-grid-4.wp-block-columns {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.st-grid-4.wp-block-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.st-grid-3 > .wp-block-column,
.st-grid-4 > .wp-block-column { min-width: 0; }
.st-card h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.st-contact-layout.wp-block-columns {
  display: grid !important;
  grid-template-columns: minmax(300px, .82fr) minmax(480px, 1.18fr);
}
.st-contact-layout > .wp-block-column { min-width: 0; }
.st-contact-layout .wp-block-column:first-child h2 {
  max-width: 11ch;
  font-size: clamp(2.7rem, 4.8vw, 4.8rem);
  line-height: .98;
}

.st-analysis-intro.wp-block-columns,
.st-analysis-split.wp-block-columns {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: clamp(32px, 6vw, 82px) !important;
  align-items: center !important;
}
.st-analysis-split.wp-block-columns { align-items: start !important; }
.st-analysis-intro > .wp-block-column,
.st-analysis-split > .wp-block-column { min-width: 0; }

.st-visual-placeholder {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius-md);
  background:
    radial-gradient(circle at 80% 15%, rgba(31,102,98,.18), transparent 45%),
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(221,232,229,.72));
  box-shadow: var(--st-shadow);
}
.st-visual-placeholder::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -90px;
  bottom: -110px;
  border: 1px solid rgba(169,79,50,.28);
  border-radius: 50%;
}
.st-visual-placeholder__label {
  position: relative;
  z-index: 1;
  color: var(--st-petrol);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.st-visual-placeholder__title {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  margin: 1rem 0 2rem;
  color: var(--st-navy);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.st-visual-placeholder__stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}
.st-visual-placeholder__stack span {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: .58rem .75rem;
  border: 1px solid rgba(23,50,77,.12);
  border-radius: 7px;
  background: rgba(255,255,255,.72);
  color: var(--st-navy);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: .84rem;
  font-weight: 650;
}
.st-visual-placeholder__stack span:nth-child(2) { margin-left: 12%; }
.st-visual-placeholder__stack span:nth-child(3) { margin-left: 24%; background: var(--st-terracotta); color: var(--st-white); }

.st-ladder-placeholder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--st-radius-md);
  background: var(--st-navy);
  color: var(--st-white);
}
.st-ladder-placeholder__item {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
}
.st-ladder-placeholder__item:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -17px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  color: var(--st-mist);
  font-size: 1.3rem;
}
.st-ladder-placeholder__item strong {
  display: block;
  margin-bottom: .45rem;
  color: var(--st-white);
  font-family: "Manrope", system-ui, sans-serif;
}
.st-ladder-placeholder__item span { color: var(--st-mist); }

@media (max-width: 1080px) {
  .st-grid-4.wp-block-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-contact-layout.wp-block-columns { grid-template-columns: minmax(250px, .75fr) minmax(420px, 1.25fr); }
}

@media (max-width: 781px) {
  .st-grid-3.wp-block-columns,
  .st-grid-4.wp-block-columns,
  .st-contact-layout.wp-block-columns,
  .st-analysis-intro.wp-block-columns,
  .st-analysis-split.wp-block-columns,
  .st-ladder-placeholder { grid-template-columns: 1fr; }
  .st-contact-layout .wp-block-column:first-child h2 { max-width: 14ch; font-size: clamp(2.35rem, 11vw, 3.8rem); }
  .st-visual-placeholder { min-height: 300px; }
  .st-ladder-placeholder__item:not(:last-child)::after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -19px;
    transform: translateX(-50%);
  }
}

/* v0.4 — homepage più breve, griglie leggibili e visual del metodo. */
.st-section--compact { padding-top: clamp(58px, 7vw, 96px); padding-bottom: clamp(58px, 7vw, 96px); }
.st-card--compact { min-height: 0; padding: clamp(22px, 3vw, 36px); }
.st-card--compact h3 { overflow-wrap: normal; word-break: normal; hyphens: manual; font-size: clamp(1.3rem, 2vw, 1.75rem); }
.st-grid-2.wp-block-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(20px,3vw,36px); }
.st-grid-2>.wp-block-column { min-width:0; }
.st-section--compact .st-heading { margin-bottom:clamp(26px,4vw,44px); }
.st-insight-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:30px 0 36px; }
.st-insight-steps>div { border:1px solid var(--st-border); border-radius:var(--st-radius-md); background:#fff; padding:clamp(20px,3vw,32px); display:flex; flex-direction:column; gap:18px; position:relative; }
.st-insight-steps>div:not(:last-child):after { content:'→'; position:absolute; right:-18px; top:calc(50% - 20px); color:var(--st-petrol); font-size:26px; z-index:2; }
.st-insight-steps span {font:700 .8rem Manrope,sans-serif; color:var(--st-petrol); letter-spacing:.12em;}
.st-insight-steps strong {font:700 clamp(1.1rem,2vw,1.5rem)/1.3 Manrope,sans-serif; color:var(--st-navy);}
.st-hero--v04 h1 { max-width:10ch; }
.st-section--compact .st-actions { margin-top:25px; }
.st-visual-placeholder { display:flex; min-height:315px; flex-direction:column; justify-content:center; align-items:center; text-align:center; gap:14px; padding:30px; border:1px dashed #89aaa5; border-radius:var(--st-radius-md); background:linear-gradient(145deg,#dde8e5,#f7f8f5); color:var(--st-navy); }
.st-visual-placeholder span {font:700 .67rem Manrope,sans-serif; letter-spacing:.17em; color:var(--st-petrol);}
.st-visual-placeholder strong {font:700 clamp(1.5rem,3vw,2.3rem)/1.2 Manrope,sans-serif;}
.st-visual-placeholder small {font-size:.95rem;}
@media(max-width:780px) { .st-grid-2.wp-block-columns,.st-insight-steps {grid-template-columns:1fr;} .st-insight-steps>div:not(:last-child):after {content:'↓';right:auto;left:calc(50% - 9px);top:auto;bottom:-22px;} .st-hero--v04 h1 {max-width:100%;} }


/* v0.5 — consistent mobile gutters, portrait, restrained headlines, footer & content release. */
:root { --st-gutter: clamp(24px, 5vw, 56px); }
html,body {max-width:100%;}
*,*::before,*::after {box-sizing:border-box;}
/* The block theme's root constraints need real interior padding on full-bleed sections. */
.st-site-header, .st-hero, .st-section, .st-site-footer { padding-left:var(--st-gutter) !important; padding-right:var(--st-gutter) !important; }
.st-header-inner, .st-footer-grid, .st-footer-meta, .st-section > .alignwide, .st-hero > .alignwide, .st-section > .wp-block-group, .st-site-footer > .alignwide {
  width:100%; max-width:1200px; margin-left:auto !important; margin-right:auto !important;
}
.st-page-hero, .st-page-content > .alignwide, .st-page-content > .st-page-intro, .st-page-content > .st-page-section, .st-page-content > .st-page-cta {
  width:calc(100% - 2 * var(--st-gutter)); max-width:1200px; margin-left:auto !important; margin-right:auto !important;
}
.st-page-hero {padding-top:clamp(42px,6vw,80px);padding-bottom:clamp(22px,3vw,40px);}
.st-page-content {padding-bottom:clamp(50px,7vw,90px);}
.st-page-hero h1 {font-size:clamp(2.6rem,6vw,5rem);}
.st-section h2, .st-page-content h2 {overflow-wrap:normal;word-break:normal;hyphens:none;}
.st-grid-3.wp-block-columns {grid-template-columns:repeat(3,minmax(0,1fr));}
.st-grid-3 .st-card h3 {font-size:clamp(1.32rem,2vw,1.7rem);line-height:1.22;}
.st-portrait-image {margin:0;overflow:hidden;border-radius:var(--st-radius-md);background:var(--st-mist);}
.st-portrait-image img {display:block;width:100%;height:auto;aspect-ratio:1206/1452;object-fit:cover;object-position:center 40%;}
.st-use-list {list-style:none;padding:0; margin:1.8rem 0 0; max-width:880px;}
.st-use-list li {padding:1rem 0 1rem 1.55rem;border-bottom:1px solid var(--st-border);position:relative;}
.st-use-list li::before {content:'•';position:absolute;left:.1rem;top:.95rem;color:var(--st-petrol);font-size:1.35rem;line-height:1.1;}
.st-result-map {max-width:900px;margin:2rem 0;display:flex;align-items:center;flex-direction:column;gap:16px;}
.st-result-map__sources {width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.st-result-map__sources span {padding:1.1rem .9rem;text-align:center;border:1px solid var(--st-border);border-radius:12px;background:white;font:700 .95rem/1.4 Manrope,system-ui,sans-serif;color:var(--st-navy);}
.st-result-map__arrow {font-size:2rem;color:var(--st-petrol);line-height:1;}
.st-result-map>strong {display:block;width:100%;padding:1.5rem;border-radius:12px;background:var(--st-navy);color:white;text-align:center;font:700 clamp(1.2rem,2.5vw,1.6rem)/1.4 Manrope,system-ui,sans-serif;}
.st-site-footer .wp-block-navigation {max-width:100%;}
.st-footer-grid >.wp-block-column {min-width:0;}
.st-footer-grid .wp-block-navigation__container {flex-wrap:wrap !important;column-gap:24px;row-gap:12px;justify-content:flex-end;}
.st-footer-meta {gap:16px;}
.st-contact-layout .wp-block-column:first-child h2 {max-width:none;font-size:clamp(2.35rem,4.5vw,4rem);line-height:1.08;}
.st-contact-card {min-width:0;}
.st-consent {margin:1rem 0 1.8rem;}
.st-consent label {font-size:1rem;line-height:1.55;}
.st-submit {min-height:50px;}
@media (max-width:980px) {
 .st-contact-layout.wp-block-columns {grid-template-columns:1fr !important;gap:26px !important;}
 .st-bio.wp-block-columns {display:grid !important;grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);gap:28px !important;}
 .st-bio > .wp-block-column {min-width:0;}
 .st-grid-3.wp-block-columns {grid-template-columns:1fr !important;}
}
@media (max-width:781px) {
 :root {--st-gutter:24px;}
 .st-site-header,.st-hero,.st-section,.st-site-footer {padding-left:var(--st-gutter) !important;padding-right:var(--st-gutter) !important;}
 .st-header-inner {min-height:68px;gap:16px;}
 .st-brand {min-width:0;}
 .st-brand .wp-block-site-title {font-size:clamp(.8rem,4.5vw,1rem);letter-spacing:.11em;white-space:nowrap;}
 .st-hero {padding-top:64px;padding-bottom:64px;}
 .st-hero h1 {font-size:clamp(2.9rem,10vw,4.5rem);line-height:1.04;max-width:100%;}
 .st-section {padding-top:60px;padding-bottom:60px;}
 .st-section h2,.st-page-content h2 {font-size:clamp(1.9rem,7.7vw,2.8rem);line-height:1.12;letter-spacing:-.035em;}
 .st-page-hero {padding-top:40px;padding-bottom:22px;}
 .st-page-hero h1 {font-size:clamp(2.7rem,10vw,3.65rem);}
 .st-page-intro {padding-bottom:38px;}
 .st-page-section {padding-top:48px;padding-bottom:48px;}
 .st-page-cta {padding:28px 24px !important;border-radius:var(--st-radius-md);margin-left:auto !important;margin-right:auto !important;}
 .st-contact-layout .wp-block-column:first-child h2 {font-size:clamp(2.3rem,9vw,3.35rem);max-width:100%;}
 .st-bio.wp-block-columns {grid-template-columns:1fr !important;gap:32px !important;}
 .st-portrait-image {width:min(100%,520px);}
 .st-grid-2.wp-block-columns,.st-grid-3.wp-block-columns {grid-template-columns:1fr !important;gap:16px !important;}
 .st-card,.st-card--compact {padding:24px;min-width:0;}
 .st-card h3 {font-size:1.4rem;}
 .st-contact-card {padding:24px;}
 .st-form-row {grid-template-columns:1fr;gap:0;}
 .st-result-map__sources {grid-template-columns:repeat(2,minmax(0,1fr));}
 .st-site-footer {padding-top:48px;padding-bottom:28px;}
 .st-footer-grid.wp-block-columns {display:flex;flex-direction:column;align-items:stretch !important;gap:26px !important;}
 .st-footer-grid .wp-block-column {width:100%;flex-basis:auto !important;}
 .st-footer-grid .wp-block-navigation {width:100%;}
 .st-footer-grid .wp-block-navigation__container {display:flex;flex-direction:column;align-items:flex-start;gap:14px;justify-content:flex-start;}
 .st-footer-meta {display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding-top:20px;margin-top:26px;}
 .st-footer-meta p {margin:0;}
}
@media(max-width:359px) {:root {--st-gutter:20px;} .st-brand .wp-block-site-title {letter-spacing:.075em;font-size:.78rem;} .st-card {padding:20px;} .st-result-map__sources {gap:8px;} }


/* v0.6 — portrait scale refinement on desktop only. */
@media (min-width: 981px) {
  .st-bio.wp-block-columns {
    display: grid !important;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(44px, 4.5vw, 64px) !important;
    align-items: start !important;
  }
  .st-bio > .wp-block-column {
    min-width: 0;
    flex-basis: auto !important;
  }
  .st-portrait-image {
    width: 100%;
    max-width: none;
  }
}


/* v0.7 — portrait protection and homepage CTA refinement. */
.st-portrait-image img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}
.st-home-analysis-cta {
  margin-top: clamp(24px, 3vw, 34px);
}
