/* Espacio Margo — shared type scale.
   Page files own layout; these tokens own type. Use type-h1..type-h4 on headings,
   type-body on paragraphs. Compact/support variants change presentation only:
   the semantic heading level still follows the document's content hierarchy.
   Brand: Raftwork (headings), Nunito Sans (reading), IBM Plex Mono (UI/metadata).
   Buttons consume --type-control from this file in botones.css.
*/
:root{
 --type-h1:clamp(2.5rem,5vw,5rem);
 --type-h2:clamp(2rem,3.6vw,3.25rem);
 --type-h3:clamp(1.5rem,2.2vw,2rem);
 --type-h4:clamp(1.25rem,1.7vw,1.5rem);
 --type-lead:1.25rem;--type-body:1.125rem;--type-small:1rem;
 --type-note:.875rem;--type-label:.9375rem;--type-control:.875rem;--type-eyebrow:.8125rem;
 --type-compact-title:clamp(1.75rem,2.5vw,2.25rem);
 --type-support-title:1.5rem;
 --leading-display:1.08;--leading-section:1.15;--leading-heading:1.25;--leading-body:1.7;--leading-note:1.6;
 --space-text:1.5rem;--space-label:.5rem;
 --body-size:var(--type-body);--section-size:var(--type-h2);--sub-size:var(--type-h3);
}
html body{font-size:var(--type-body);line-height:var(--leading-body)}
html body main .type-h1[class],html body main .type-h2[class],html body main .type-h3[class],html body main .type-h4[class]{font-family:var(--display);font-weight:400;text-transform:none;overflow-wrap:break-word}
html body main .type-h1[class]{font-size:var(--type-h1);line-height:var(--leading-display);letter-spacing:-.035em}
html body main .type-h2[class]{font-size:var(--type-h2);line-height:var(--leading-section);letter-spacing:-.025em}
html body main .type-h3[class]{font-size:var(--type-h3);line-height:var(--leading-heading);letter-spacing:-.02em}
html body main .type-h4[class]{font-size:var(--type-h4);line-height:var(--leading-heading);letter-spacing:-.015em}
html body main p.type-body[class]{font-family:var(--body);font-size:var(--type-body);line-height:var(--leading-body);letter-spacing:0}
html body main p.type-body+p.type-body[class]{margin-top:var(--space-text)}
/* A short introduction has one step of emphasis; running copy stays at body size. */
html body .workshop-intro p.type-body[class],html body .research-hero-intro p.type-body[class],
html body .research-areas p.type-body[class],html body .research-reason p.type-body[class],
html body p.service-subtitle.type-body[class],html body p.appointment-lead.type-body[class],
html body p.team-page-lead.type-body[class],html body .team-heading p.lead.type-body,
html body .contact-panel>p.type-body[class],html body .workshop-contact-copy>p.type-body[class]{font-size:var(--type-lead);line-height:1.6}
/* Small copy is reserved for credentials, form guidance and metadata. */
html body p.type-body.eyebrow[class],html body .eyebrow{font:400 var(--type-eyebrow)/1.5 var(--mono);letter-spacing:.06em;text-transform:uppercase}
html body p.type-body.team-person-credential[class]{font-size:var(--type-small);line-height:var(--leading-note)}
html body p.type-body.service-form-note[class],html body p.type-body.service-sidebar-note[class],
html body p.type-body.appointment-required-note[class],html body p.type-body.appointment-form-note[class],
html body p.type-body.home-blog-note[class]{font-size:var(--type-note);line-height:var(--leading-note)}
html body p.type-body.home-blog-category[class]{font:400 var(--type-eyebrow)/1.5 var(--mono);letter-spacing:.04em;text-transform:uppercase}
html body main .type-compact-title[class]{font-size:var(--type-compact-title);line-height:var(--leading-heading);letter-spacing:-.02em}
html body main .type-support-title[class]{font-size:var(--type-support-title);line-height:var(--leading-heading);letter-spacing:-.02em}
/* The home claim accompanies the seal; it keeps its own compact display role. */
html body.home-page .hero .type-h1[class]{font-size:clamp(2.25rem,3.6vw,3.5rem);line-height:1.15;letter-spacing:-.025em}
html body .workshop-modalities .type-h3[class],html body .workshop-formats .type-h3[class]{font-family:var(--display);font-size:var(--type-h3);line-height:var(--leading-heading);text-transform:none;letter-spacing:-.02em}
html body .footer .footer-title[class]{font:400 var(--type-support-title)/1.25 var(--display);letter-spacing:-.02em;margin:0 0 16px}
html body .footer-links a{font-size:var(--type-small);line-height:1.5}
html body .header nav{font-size:var(--type-small);line-height:1.5}
html body .workshop-back,html body .service-back,html body .team-breadcrumb,html body .appointment-breadcrumb{font:400 var(--type-note)/1.5 var(--mono)}
html body .appointment-field,html body .service-form label{font-size:var(--type-label);line-height:1.5}
html body .appointment-field input,html body .appointment-field textarea,html body .service-form input:not([type=checkbox]):not([type=hidden]),html body .service-form textarea{font:400 var(--type-small)/1.5 var(--body)}
html body .appointment-consent,html body .service-form .form-consent{font-size:var(--type-note);line-height:var(--leading-note)}
html body strong{font-weight:600}
@media(max-width:800px){
 :root{--type-h1:clamp(2.5rem,7vw,3rem);--type-h2:clamp(2rem,5.5vw,2.25rem);--type-h3:clamp(1.5rem,4vw,1.625rem);--type-h4:1.25rem;--type-compact-title:1.75rem;--type-lead:1.25rem}
 html body.home-page .hero .type-h1[class]{font-size:2.25rem}
}
/* Long introductory copy retains a comfortable line length. */
html body .workshop-intro p.type-body[class]{max-width:70ch;margin-inline:auto}
html body .service-copy p.type-body[class],html body .service-privacy p.type-body[class]{max-width:70ch}
html body .header #main-nav{font-size:var(--type-small);line-height:1.5}
@media(min-width:801px) and (max-width:1050px){
 html body .header #main-nav{font-size:var(--type-note);gap:16px}
 html body .header .brand img{width:105px}
}

/* Existing numbered privacy sections are headings, not running paragraphs. */
html body .service-privacy .type-h2[class]{margin:40px 0 20px}
@media(max-width:800px){html body .intro-copy .type-h2 span{white-space:normal}}
