/* Gerarchia della landing e viste dedicate nello stesso documento. */
:root {
  --landing-heading: clamp(42px, 4.4vw, 58px);
  --landing-subheading: 23px;
  --landing-body: 18px;
  --landing-lead: 22px;
  --landing-caption: 15px;
  --landing-space: 88px;
  --landing-gutter: 64px;
}
.page-view[hidden] { display: none !important; }
html { scroll-padding-top: 88px; }
html.js-page-navigation { scroll-behavior: auto; }
.section-shell { width: min(1200px, calc(100% - 96px)); }
.header-inner { width: min(1280px, calc(100% - 80px)); height: 88px; }
.brand-logo { width: 180px; height: 60px; }
.site-header nav { gap: 27px; }
.site-header nav a { font-size: 15px; white-space: nowrap; }
.site-header nav a[aria-current="page"] { color: #73551f; text-decoration: underline; text-underline-offset: 7px; }
#page-home { --muted: #52616a; }
#page-home h2.display-heading { font-size: var(--landing-heading); line-height: 1.08; letter-spacing: -.035em; font-weight: 400; }
.section-label, #page-home .section-index { font-family: var(--body); font-size: 14px; font-weight: 600; line-height: 1.5; letter-spacing: .07em; text-transform: uppercase; }
.section-label { color: var(--gold-dark); margin-bottom: 26px; }
#page-home .section-lead { font-size: var(--landing-lead); line-height: 1.6; letter-spacing: -.015em; color: var(--ink); }
#page-home .text-link { font-size: 16px; font-weight: 600; min-height: 44px; margin-top: 14px; }
#page-home .button { font-size: 16px; min-height: 56px; }
#page-home .button:disabled { cursor: default; }
.landing-section, #esempio, #incontro { scroll-margin-top: 0; }
#approccio, #progetto-storia { scroll-margin-top: 20px; }

/* Apertura: una promessa principale e due accessi allineati. */
#page-home .hero { grid-template-columns: 1.06fr 1fr; gap: 24px; min-height: 660px; padding-block: 68px 76px; }
#page-home .hero-copy { padding: 0; }
#page-home .hero-eyebrow { font-size: 14px; line-height: 1.6; letter-spacing: .055em; margin-bottom: 26px; }
#page-home .hero h1 { font-size: clamp(52px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -.045em; margin: 0; }
#page-home .hero h1 em { font-size: .78em; line-height: 1.13; margin-top: .18em; }
#page-home .hero-description { font-size: 19px; line-height: 1.75; max-width: 490px; margin-top: 27px; }
#page-home .hero-actions { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 27px; margin-top: 30px; }
#page-home .hero-method-link { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; font-size: 16px; font-weight: 500; text-decoration: underline; text-underline-offset: 6px; }
#page-home .hero-method-link span { font-size: 20px; }
#page-home .hero-figure { margin-top: 0; }
#page-home .archive-art { height: 470px; }

/* Progetto: il bisogno, poi origine e stato del prototipo. */
.project-overview { padding-block: var(--landing-space); border-top: 1px solid var(--line); }
.project-overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--landing-gutter); align-items: start; }
.project-overview-grid h2 { max-width: 17ch; }
.project-overview-copy { padding-top: 3px; }
.project-overview-copy > p + p { margin-top: 22px; }
.project-overview-copy > p:not(.section-lead), .project-origin p { font-size: var(--landing-body); line-height: 1.8; color: var(--muted); }
.project-overview-copy .project-principle { border-left: 2px solid var(--gold); padding-left: 20px; color: var(--ink); line-height: 1.7; }
.project-principle strong { font-weight: 600; }
.project-origin { display: grid; grid-template-columns: 1fr 1fr; gap: var(--landing-gutter); margin-top: 56px; padding-top: 38px; border-top: 1px solid var(--line); }
.project-origin h3 { max-width: 24ch; font-size: var(--landing-subheading); font-weight: 600; line-height: 1.4; letter-spacing: -.02em; margin-bottom: 14px; }
.project-origin > div:first-child > p { max-width: 34ch; }
.project-origin-copy > p + p { margin-top: 18px; }

/* Metodo: fasi in sequenza e esempio con un titolo subordinato. */
.method-section { background: var(--paper-light); border-top: 1px solid var(--line); }
.method-overview { padding-block: var(--landing-space) 62px; }
.method-heading { display: grid; grid-template-columns: 1fr 1fr; gap: var(--landing-gutter); align-items: end; }
.method-heading h2 { max-width: 18ch; }
.method-heading .section-lead { max-width: 37ch; margin: 0; padding-bottom: 3px; }
.method-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; list-style: none; margin: 44px 0 0; padding: 0; }
.method-flow > li { border-top: 1px solid #c6c7ba; padding-top: 20px; min-width: 0; }
.method-number { display: block; color: var(--gold-dark); font-size: 18px; line-height: 1.5; margin-bottom: 15px; font-weight: 500; }
.method-flow h3 { font-size: 21px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; margin-bottom: 12px; }
.method-flow p { font-size: var(--landing-body); line-height: 1.75; color: var(--muted); }
.method-review { display: block; border-top: 1px solid var(--line); margin-top: 42px; padding-top: 25px; }
.method-review h3 { font-size: 18px; font-weight: 600; line-height: 1.6; }
.method-review p { font-size: 17px; line-height: 1.8; color: var(--muted); }
#page-home .story-section > .section-space { padding-block: 70px; }
#page-home .story-section .section-index { padding-top: 0; border: 0; margin-bottom: 24px; }
#page-home .story-section .illustration-tag { font-size: 14px !important; font-weight: 400; letter-spacing: 0; text-transform: none; }
#page-home .story-heading { display: grid; grid-template-columns: 1fr 1fr; gap: var(--landing-gutter); align-items: center; margin-bottom: 38px; }
#page-home .story-heading h3 { font-size: clamp(34px, 3.2vw, 44px); font-family: var(--display); font-weight: 400; line-height: 1.12; letter-spacing: -.025em; }
#page-home .story-heading > p { font-size: 18px; line-height: 1.8; max-width: none; padding: 0; }
#page-home .story-layout.is-interactive { grid-template-columns: .75fr 1.25fr; gap: 52px; }
#page-home .story-step { padding-block: 23px; }
#page-home .story-step strong { font-size: 19px; font-weight: 600; line-height: 1.4; }
#page-home .story-step > span > span { font-size: 16px; line-height: 1.65; }
#page-home .story-step .step-number { font-size: 15px; }
#page-home .story-panel { min-height: 490px; }
#page-home .story-panel h4 { font-family: var(--display); font-size: 32px; font-weight: 400; line-height: 1.12; letter-spacing: -.02em; margin: 13px 0 0; }
#page-home .scene-explanation, #page-home .example-check { font-size: 16px; line-height: 1.7; }
#page-home .example-check strong { font-size: 15px; }
#page-home .document-fragment > p:not(.fragment-heading) { font-size: 23px; }
#page-home .story-note { font-size: var(--landing-caption); line-height: 1.8; max-width: 80ch; margin-top: 27px; }

.case-reference { background: #dfce9d7d; color: inherit; padding: 1px 3px; }

/* Contatto: titolo di sezione e intestazione del modulo distinti. */
#page-home .conversation-section > .section-space { padding-block: var(--landing-space); }
#page-home .conversation-section .section-index { padding-top: 0; border: 0; margin-bottom: 32px; color: #52614e; }
#page-home .conversation-grid { grid-template-columns: 1fr 1.04fr; gap: 64px; }
#page-home .conversation-copy h2 { max-width: 17ch; margin-bottom: 25px; }
#page-home .conversation-copy > p:not(.meeting-scope):not(.meeting-label) { max-width: 41ch; font-size: var(--landing-body); line-height: 1.8; }
#page-home .meeting-label { display: flex; align-items: start; gap: 16px; max-width: 410px; margin: 25px 0; }
#page-home .meeting-label strong { flex-shrink: 0; font-size: 20px; line-height: 1.6; font-weight: 600; color: #43553c; }
#page-home .meeting-label > span { border-left: 1px solid #aebda4; padding-left: 16px; font-size: 16px; line-height: 1.8; color: #52634f; }
#page-home .meeting-agenda { max-width: 420px; margin-block: 25px; }
#page-home .meeting-agenda li { font-size: 17px; padding-block: 13px; }
#page-home .meeting-agenda li > span { font-size: 15px; }
#page-home .conversation-copy > .meeting-scope { font-size: var(--landing-caption); line-height: 1.8; max-width: 44ch; letter-spacing: 0; }
#page-home .contact-panel { padding: 32px; box-shadow: none; }
#page-home .contact-panel-top h3 { font-family: var(--body); font-size: 23px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
#page-home .contact-panel > p { font-size: 17px; line-height: 1.75; max-width: none; margin-bottom: 25px; }
#page-home .form-field label, #page-home .privacy-check { font-size: 16px; }
#page-home .field-hint, #page-home .contact-footnote, #page-home .preview-notice { font-size: 15px; line-height: 1.75; }
#page-home .form-status { font-size: 16px; line-height: 1.75; }

/* Per chi e Contesto. */
.page-heading { padding-block: 54px 45px; }
.back-home { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; text-decoration: underline; text-underline-offset: 5px; margin-bottom: 35px; }
.page-heading h1 { font-family: var(--display); font-size: clamp(48px, 6vw, 72px); font-weight: 400; line-height: 1.08; letter-spacing: -.04em; margin: 0 0 26px; max-width: 900px; }
.page-heading > p { max-width: 760px; font-size: 20px; line-height: 1.8; color: #52616a; margin: 0; }
.page-view > .section-space { padding-block: 64px; }
.reading-column { max-width: 820px; padding-block: 10px 54px; }
.reading-column h2 { font-family: var(--display); font-size: 35px; font-weight: 400; line-height: 1.2; margin: 26px 0 18px; }
.reading-column p, .reading-column li { font-size: 18px; line-height: 1.85; }
.page-end { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px; padding-block: 50px 70px; border-top: 1px solid #d8d4c9; }
.page-end a { display: inline-flex; gap: 18px; align-items: center; font-size: 16px; line-height: 1.8; text-decoration: underline; text-underline-offset: 5px; min-height: 44px; }
.context-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 70px; padding-bottom: 70px; }
.context-article { min-width: 0; }
.context-article > h2 { font-family: var(--display); font-size: 36px; font-weight: 400; line-height: 1.2; margin-bottom: 30px; }
.context-article p { font-size: 18px; line-height: 1.85; margin: 0 0 22px; }
.context-article h3 { font-size: 19px; font-weight: 600; line-height: 1.6; margin: 30px 0 12px; }
.context-article .source-note { font-size: 15px; line-height: 1.85; color: #52616a; }
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; margin-bottom: 54px; }
.audience-grid article { border-top: 2px solid #9b7635; padding-top: 24px; min-width: 0; }
.audience-grid h2 { font-family: var(--display); font-size: 34px; line-height: 1.2; font-weight: 400; margin-bottom: 20px; }
.audience-grid h3 { font-size: 18px; font-weight: 600; line-height: 1.6; margin-block: 25px 12px; }
.audience-grid p { font-size: 18px; line-height: 1.8; }
.audience-conversation .button { font-size: 16px; margin-top: 18px; }

@media (max-width: 1100px) {
  :root { --landing-gutter: 40px; --landing-space: 72px; }
  .section-shell { width: calc(100% - 64px); }
  .header-inner { width: calc(100% - 56px); }
  .site-header nav { gap: 20px; }
  .site-header nav .header-contact { padding-inline: 16px; gap: 20px; }
  #page-home .hero { padding-block: 54px 64px; min-height: 620px; }
  #page-home .hero-description { font-size: 18px; }
  #page-home .archive-art { height: 410px; }
  #page-home .hero-actions { gap: 12px 22px; }
  #page-home .hero-actions .button { padding-inline: 18px 13px; gap: 16px; }
  #page-home .conversation-grid, #page-home .story-layout.is-interactive { gap: 36px; }
  .method-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .method-flow h3 { font-size: 20px; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 76px; }
  .header-inner { position: relative; height: 76px; }
  .brand-logo { width: 165px; height: 55px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; font-size: 16px; min-height: 44px; background: transparent; border: 0; color: var(--navy); padding: 10px 0 10px 15px; }
  .menu-icon { display: block; width: 19px; height: 13px; position: relative; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--navy); }
  .menu-icon::after { content: ''; position: absolute; inset: 5px 0 auto; border-top: 1px solid var(--navy); }
  .site-header nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px; background: var(--paper); box-shadow: 0 12px 18px #152f4012; border: 1px solid #d8d4c9; }
  .site-header nav a { display: block; padding: 15px 4px; font-size: 16px; }
  html.js-navigation .site-header nav:not(.is-open) { display: none; }
  .site-header nav.is-open { display: flex; }
  html:not(.js-navigation) .site-header { position: static; }
  html:not(.js-navigation) .header-inner { height: auto; flex-wrap: wrap; }
  html:not(.js-navigation) .site-header nav { position: static; display: flex; flex-basis: 100%; box-shadow: none; }
  html:not(.js-navigation) .menu-toggle { display: none; }
  .context-grid { gap: 35px; }
  .audience-grid { grid-template-columns: 1fr; gap: 30px; }
  .method-flow { grid-template-columns: 1fr; gap: 0; margin-top: 32px; }
  .method-flow > li { display: grid; grid-template-columns: 36px 1fr; gap: 18px; padding-block: 22px; }
  .method-number { margin: 0; }
  .method-flow h3 { font-size: 22px; margin-bottom: 6px; }
  .method-review { margin-top: 10px; }
}
@media (max-width: 760px) {
  :root { --landing-gutter: 28px; --landing-space: 60px; --landing-heading: clamp(38px, 7vw, 48px); --landing-lead: 21px; }
  .section-shell, .header-inner { width: calc(100% - 48px); }
  #page-home .hero { grid-template-columns: 1fr; gap: 30px; padding-block: 46px 52px; min-height: 0; }
  #page-home .hero-copy { max-width: 600px; }
  #page-home .hero h1 { font-size: clamp(45px, 9.5vw, 64px); }
  #page-home .hero-description { max-width: 520px; }
  #page-home .hero-figure { max-width: 450px; width: 100%; margin-inline: auto; }
  #page-home .archive-art { height: 360px; }
  .project-overview-grid, .project-origin, .method-heading { grid-template-columns: 1fr; }
  .project-overview-grid h2, .method-heading h2 { max-width: 20ch; }
  .project-overview-copy { padding: 0; }
  .project-origin { margin-top: 34px; padding-top: 30px; gap: 20px; }
  .project-origin h3 { max-width: 29ch; font-size: 23px; }
  .project-origin > div:first-child > p { max-width: none; }
  .section-label { margin-bottom: 20px; }
  .method-overview { padding-bottom: 42px; }
  .method-heading .section-lead { max-width: none; }
  #page-home .story-section > .section-space { padding-block: 52px; }
  #page-home .story-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
  #page-home .story-heading h3 { font-size: 36px; }
  #page-home .story-layout.is-interactive { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  #page-home .story-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #page-home .story-step { position: relative; display: block; border: 1px solid #acbab04d; padding: 16px; }
  #page-home .story-step .step-number { display: block; margin-bottom: 9px; padding: 0; }
  #page-home .story-step .step-arrow { position: absolute; top: 13px; right: 12px; }
  #page-home .story-step strong { font-size: 17px; }
  #page-home .story-step > span > span { font-size: 15px; }
  #page-home .story-step.is-active { border-color: #e3c791; background: #ffffff08; }
  #page-home .story-panel { min-height: 0; }
  #page-home .conversation-grid { grid-template-columns: 1fr; gap: 34px; }
  #page-home .conversation-copy h2 { max-width: 18ch; }
  #page-home .conversation-copy > p, #page-home .conversation-copy > .meeting-scope, #page-home .meeting-agenda { max-width: none; }
  #page-home .contact-panel { padding: 28px; }
  #page-home .form-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  :root { --landing-heading: 36px; --landing-subheading: 22px; --landing-body: 17px; --landing-lead: 20px; --landing-space: 48px; }
  .section-shell, .header-inner { width: calc(100% - 40px); }
  .header-inner { height: 74px; }
  html { scroll-padding-top: 74px; }
  #page-home .hero { padding-block: 34px 40px; gap: 16px; }
  #page-home .hero-eyebrow { font-size: 14px; letter-spacing: .02em; gap: 8px; margin-bottom: 22px; }
  #page-home .hero h1 { font-size: clamp(44px, 11.5vw, 54px); }
  #page-home .hero-description { font-size: 18px; margin-top: 23px; }
  #page-home .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 26px; }
  #page-home .hero-actions .button { padding: 15px 16px 15px 19px; }
  #page-home .hero-actions .button-arrow { width: 29px; height: 29px; }
  #page-home .archive-art { height: 300px; }
  #page-home .paper-evidence p { font-size: 23px; }
  #page-home .project-overview-grid h2 { max-width: 18ch; }
  .project-overview-grid { gap: 24px; }
  .project-origin h3 { font-size: 22px; }
  .project-overview-copy .project-principle { padding-left: 16px; }
  .method-flow > li { gap: 12px; grid-template-columns: 30px 1fr; }
  .method-flow h3 { font-size: 20px; }
  .method-review p { font-size: 17px; }
  #page-home .story-heading h3 { font-size: 34px; }
  #page-home .story-heading > p { font-size: 17px; }
  #page-home .story-section .section-index { align-items: start; gap: 12px; }
  #page-home .story-step { padding: 14px 12px; }
  #page-home .story-step > span > span { display: none; }
  #page-home .story-stage { padding: 12px; }
  #page-home .example-sheet { padding: 20px 17px; }
  #page-home .story-panel h4 { font-size: 29px; }
  #page-home .document-fragment { padding: 16px 14px; }
  #page-home .document-fragment > p:not(.fragment-heading) { font-size: 21px; }
  #page-home .meeting-label { gap: 13px; }
  #page-home .meeting-label strong { font-size: 18px; }
  #page-home .meeting-label > span { font-size: 16px; padding-left: 13px; }
  #page-home .contact-panel { padding: 24px 20px; }
  #page-home .contact-panel-top h3 { font-size: 22px; }
  #page-home .form-row { grid-template-columns: 1fr; }
  #page-home .contact-submit { gap: 12px; padding-inline: 15px; }
  #page-home .contact-submit .button-arrow { flex-shrink: 0; }
  .page-heading { padding-block: 25px 35px; }
  .back-home { margin-bottom: 25px; }
  .page-heading h1 { font-size: clamp(42px, 11vw, 52px); }
  .page-heading > p { font-size: 18px; }
  .reading-column h2 { font-size: 32px; }
  .reading-column p, .context-article p { font-size: 17px; }
  .context-grid { grid-template-columns: 1fr; gap: 45px; padding-bottom: 45px; }
  .page-end { padding-block: 30px 45px; }
}
@media (min-width: 481px) and (max-width: 700px) { .context-grid { grid-template-columns: 1fr; gap: 45px; } }
@media print {
  .page-view[hidden] { display: none !important; }
  .page-heading { padding: 20px 0; }
  .back-home, .page-end, .hero-method-link { display: none; }
  .project-overview-grid, .project-origin, .method-heading, .method-review, .method-flow, #page-home .story-heading { display: block; }
  #page-home .story-panel { min-height: 0; }
  #page-home .story-panel h4 { font-size: 25px; }
}

.guide-content { max-width: 800px; padding-bottom: 72px; }
.guide-content p { font-size: 18px; line-height: 1.8; color: var(--muted); margin-bottom: 20px; }
.guide-content h2 { font-family: var(--display); font-size: clamp(27px, 3vw, 34px); line-height: 1.2; margin: 44px 0 16px; }
.guide-content .guide-byline { font-size: 15px; margin-bottom: 28px; }
.guide-example { padding: 24px; background: var(--sage-light, #e8ecdf); border-left: 2px solid var(--gold-dark); margin: 28px 0; }
.guide-example strong { color: var(--ink); font-size: 17px; }
.guide-example p { margin: 12px 0 0; }
.guide-content .button { margin-top: 10px; }
