@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --blue: #102650;
  --red: #d83b43;
  --silver: #caced0;
  --silver-light: #e8e9e7;
  --white: #ffffff;
  --identity-blue: #122145;
  --identity-red: #c82542;
  --identity-silver: #8c9092;
  --identity-white: #ffffff;
  --header-silver: #b3b7ba;
  --paper: #f4f2ec;
  --ink: #11171e;
  --rule: rgba(17, 23, 30, 0.24);
  --page: clamp(1rem, 4vw, 4.75rem);
  --global-band: 4.5rem;
  --section-band: 3rem;
  --principle-band: 3rem;
  --compact-title-size: clamp(1.15rem, 1.08rem + 0.2vw, 1.3rem);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--global-band) + var(--section-band) + var(--principle-band) + 1rem);
  overflow-anchor: none;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(1rem, 0.94rem + 0.18vw, 1.15rem);
  line-height: 1.55;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.visually-hidden {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.6rem 0.8rem;
  background: var(--paper);
  transform: translateY(-180%);
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  height: var(--global-band);
  grid-template-columns: minmax(15rem, 1fr) auto 3.5rem;
  grid-template-areas: "identity navigation language";
  align-items: center;
  border-bottom: 0;
  background: var(--header-silver);
  color: var(--identity-blue);
}

.identity {
  grid-area: identity;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-start;
  padding: 0.7rem clamp(1rem, 2.2vw, 2rem);
}

.identity img {
  width: min(100%, 34rem);
  height: auto;
  max-height: 2rem;
}

.global-nav {
  grid-area: navigation;
  display: grid;
  align-self: center;
  grid-template-columns: repeat(4, minmax(5.75rem, 7.5rem));
  gap: 0.5rem;
  justify-content: end;
  padding: 0.75rem 0.85rem;
}

.global-nav a,
.global-nav span,
.language {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 0.65rem;
  border: 0;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.global-nav .nav-actions { background: var(--identity-white); color: var(--identity-blue); }
.global-nav .nav-thoughts { background: var(--identity-silver); color: var(--identity-blue); }
.global-nav .nav-manifesto { background: var(--identity-red); color: var(--identity-white); }
.global-nav .nav-about { background: var(--identity-blue); color: var(--identity-white); }
.global-nav span { opacity: 0.68; }
.global-nav a[aria-current="page"] { box-shadow: inset 0 -0.28rem 0 currentColor; }
.global-nav a:hover { filter: brightness(0.94); }

.language {
  grid-area: language;
  align-self: center;
  height: 2.75rem;
  padding: 0;
  border-left: 0;
  background: var(--identity-blue);
  color: var(--identity-white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.74rem;
}

.language:hover { filter: brightness(0.92); }

.menu-toggle {
  grid-area: toggle;
  display: none;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: var(--identity-blue);
  color: var(--identity-white);
  cursor: pointer;
}

.menu-toggle:hover { filter: brightness(0.92); }

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
  display: block;
  inline-size: 1.15rem;
  block-size: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle-icon { position: relative; }
.menu-toggle-icon::before { position: absolute; inset-block-start: -0.36rem; inset-inline-start: 0; }
.menu-toggle-icon::after { position: absolute; inset-block-start: 0.36rem; inset-inline-start: 0; }

.menu-toggle[aria-expanded="true"] .menu-toggle-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before { transform: translateY(0.36rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after { transform: translateY(-0.36rem) rotate(-45deg); }








































.stack-sentinel,
.stack-reserve {
  display: block;
  width: 0;
  height: 0;
  pointer-events: none;
}

.stack-reserve { width: 100%; }

.stack-title {
  display: grid;
  grid-template-columns: minmax(4rem, 0.24fr) minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: end;
  padding: clamp(2rem, 5vw, 5rem) var(--page);
  border-bottom: 1px solid var(--rule);
}

.has-stack-enhancement .stack-title {
  position: sticky;
  overflow: clip;
  will-change: height, min-height;
}

.stack-heading-compact { display: none; }

.has-stack-enhancement .stack-title.is-stack-runtime .stack-heading-compact {
  display: block;
}

.has-stack-enhancement .stack-title.is-stack-runtime > h1,
.has-stack-enhancement .stack-title.is-stack-runtime > h2,
.has-stack-enhancement .stack-title.is-stack-runtime > .eyebrow,
.has-stack-enhancement .stack-title.is-stack-runtime > .action-project-title-meta {
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.section-title {
  z-index: 40;
  top: var(--global-band);
  display: flex;
  align-items: flex-end;
}

.section-title-manifesto {
  background: var(--identity-red);
  color: var(--identity-white);
}

.section-title-about {
  background: var(--identity-blue);
  color: var(--identity-white);
}

.stack-title .eyebrow {
  margin: 0;
  font-size: 0.72rem;
}

.stack-title h1,
.stack-title h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  line-height: 0.96;
}

.has-stack-enhancement .stack-title h1,
.has-stack-enhancement .stack-title h2 {
  will-change: font-size, line-height;
}

.section-title h1 { font-size: clamp(4rem, 9vw, 10rem); }

.section-title.is-compact {
  min-height: var(--section-band);
  align-items: center;
  padding: 0 var(--page);
}

.section-title.is-compact h1 {
  font-size: var(--compact-title-size);
  line-height: 1;
}

.manifesto-overview {
  padding: clamp(3rem, 8vw, 8rem) var(--page);
  border-bottom: 1px solid var(--rule);
}

.principle-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 8vw, 9rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.principle-index li > a,
.principle-index li > span {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}

.principle-index li:nth-last-child(-n/**/+2) > a,
.principle-index li:nth-last-child(-n/**/+2) > span { border-bottom: 0; }
.principle-index li > span { color: #69717a; }
.principle-index span > span,
.principle-index a > span { color: #737c84; font-size: 0.72rem; font-variant-numeric: tabular-nums; }
.principle-index a:hover { color: var(--red); }

.principle { position: relative; }

.principle-title {
  background: var(--white);
  color: var(--blue);
}

.has-stack-enhancement .principle-title {
  z-index: 35;
  top: calc(var(--global-band) + var(--section-band));
}

.principle-title h2 {
  max-width: 17ch;
  font-size: clamp(3rem, 7vw, 8rem);
}

.principle-title .eyebrow { align-self: end; color: var(--red); }

.principle-title.is-compact {
  min-height: var(--principle-band);
  grid-template-columns: 3.25rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0 var(--page);
}

.principle-title.is-compact h2 {
  max-width: none;
  font-size: var(--compact-title-size);
  line-height: 1;
}

.principle-title.is-compact .eyebrow { font-size: 0.66rem; }

.principle-content {
  width: min(100%, calc(40rem + var(--page) + var(--page)));
  margin-inline: auto;
  padding: clamp(4rem, 9vw, 9rem) var(--page) clamp(7rem, 14vw, 14rem);
}

.principle-content p { margin: 0 0 1.5em; }

.principle-content blockquote {
  margin: 2.5rem 0 0;
  color: var(--red);
}

.principle-content blockquote p { margin: 0; }

.about-page { background: var(--silver); }
.about-page .global-nav a[aria-current="page"] { color: var(--identity-white); }

.about-overview {
  min-height: 70vh;
  padding: clamp(3.5rem, 8vw, 8rem) var(--page) clamp(5rem, 11vw, 11rem);
  background: var(--silver);
}

.about-intro-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  margin-bottom: clamp(3.5rem, 7vw, 7rem);
}

.about-intro-logo {
  width: clamp(12rem, 24vw, 26rem);
  justify-self: center;
}

.about-introduction {
  max-width: 48rem;
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(1rem, 0.94rem + 0.22vw, 1.2rem);
  font-weight: 400;
  line-height: 1.55;
}

.about-gateways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.about-gateway {
  display: block;
  min-height: 0;
  padding: clamp(1.25rem, 2.5vw, 2.5rem);
  border-right: 1px solid var(--rule);
  color: var(--blue);
  text-decoration: none;
}

.about-gateway:last-child { border-right: 0; }
.about-gateway[href]:hover { background: var(--blue); color: var(--white); }

.gateway-label {
  font-size: 0.72rem;
  text-transform: uppercase;
}

.about-gateway h2 {
  margin: clamp(1.75rem, 3vw, 3.25rem) 0 0.75rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 4.3vw, 5rem);
  font-weight: 500;
  line-height: 0.96;
}

.about-gateway p { margin: 0; max-width: 36rem; }

.article-title {
  background: var(--silver);
  color: var(--blue);
}

.has-stack-enhancement .article-title {
  z-index: 35;
  top: calc(var(--global-band) + var(--section-band));
}

.article-title h2 {
  max-width: 18ch;
  font-size: clamp(3.5rem, 8vw, 9rem);
}

.article-title.is-compact {
  min-height: var(--principle-band);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 0 var(--page);
}

.article-title.is-compact h2 {
  max-width: none;
  font-size: var(--compact-title-size);
  line-height: 1;
}

.article-meta {
  padding: 1.25rem var(--page);
  border-bottom: 1px solid var(--rule);
  background: var(--silver);
  color: var(--blue);
}

.article-meta p { max-width: 40rem; margin-inline: auto; }

.article-reader {
  padding: clamp(4rem, 9vw, 9rem) var(--page) clamp(7rem, 14vw, 14rem);
  background: var(--silver);
}

.article-body,
.article-notes {
  max-width: 40rem;
  margin-inline: auto;
}

.article-body p { margin: 0 0 1.5em; }

.article-body ul {
  margin: 2.5rem 0 3.5rem;
  padding-left: 1.2em;
}

.article-body li { margin-bottom: 1.2em; padding-left: 0.4em; }

.article-body sup {
  font-size: 0.68em;
  line-height: 0;
}

.article-body sup a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.article-notes {
  margin-top: clamp(6rem, 12vw, 12rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--blue);
}

.article-notes > h2 {
  margin: 0 0 3rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 1;
}

.note {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  font-size: clamp(0.9375rem, 0.9rem + 0.12vw, 1rem);
  line-height: 1.55;
}

.note:first-child { border-top: 0; }
.note p { margin: 0; }
.note-number { color: var(--blue); font-variant-numeric: tabular-nums; }

.thoughts-page { background: var(--identity-silver); color: var(--identity-blue); }
.thoughts-page .global-nav a[aria-current="page"] { color: var(--identity-blue); }

.section-title-thoughts,
.thought-article-title {
  background: var(--identity-silver);
  color: var(--identity-blue);
}

.thought-index {
  padding: 0 var(--page) clamp(7rem, 12vw, 12rem);
  background: var(--identity-silver);
}

.thought-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 0;
  background: transparent;
}

.thought-card {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  min-height: clamp(7.5rem, 10vw, 10.5rem);
  padding: clamp(0.75rem, 1.5vw, 1.5rem);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--identity-silver);
  color: var(--identity-blue);
  text-decoration: none;
}

.thought-card:hover,
.thought-card:focus-visible { background: var(--silver-light); }

.thought-card h2 {
  max-width: none;
  margin: 0;
  overflow-wrap: anywhere;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 1.875vw, 2.15rem);
  font-weight: 500;
  line-height: 1.05;
}

.thought-card p {
  max-width: 40rem;
  margin: 0.55rem 0 0;
  font-size: clamp(0.72rem, 0.75vw, 0.82rem);
  line-height: 1.25;
}

@media (min-width: 700px) {
  .thought-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1050px) {
  .thought-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1500px) {
  .thought-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.has-stack-enhancement .thought-article-title {
  z-index: 35;
  top: calc(var(--global-band) + var(--section-band));
}

.thought-article-title h2 {
  max-width: 18ch;
  font-size: clamp(3.5rem, 8vw, 9rem);
}

.thought-article-title.is-compact {
  min-height: var(--principle-band);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 0 var(--page);
}

.thought-article-title.is-compact h2 {
  max-width: none;
  font-size: var(--compact-title-size);
  line-height: 1;
}

.thought-byline {
  padding: 1.25rem var(--page);
  border-bottom: 1px solid var(--rule);
  background: var(--identity-silver);
  color: var(--identity-blue);
}

.thought-byline p { max-width: 40rem; margin-inline: auto; }

.thought-lead {
  display: grid;
  grid-template-columns: minmax(13rem, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
  margin: 0;
  padding: clamp(3rem, 8vw, 8rem) var(--page);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.thought-lead img {
  width: min(100%, 30rem);
  max-height: 75vh;
  justify-self: end;
  object-fit: contain;
}

.thought-lead figcaption {
  max-width: 36rem;
  padding-bottom: 0.25rem;
  font-size: 0.82rem;
}

.thought-reader {
  padding: clamp(4rem, 9vw, 9rem) var(--page) clamp(7rem, 14vw, 14rem);
  background: var(--white);
  color: var(--identity-blue);
}

.thought-body,
.thought-notes,
.thought-back {
  max-width: 40rem;
  margin-inline: auto;
}

.thought-body p { margin: 0 0 1.5em; }

.thought-subheading {
  margin: clamp(4.5rem, 9vw, 8rem) 0 2rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 3.6vw, 3.5rem);
  font-weight: 500;
  line-height: 1.04;
}

.thought-notes {
  margin-top: clamp(6rem, 12vw, 12rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--blue);
}

.thought-notes > h2 {
  margin: 0 0 3rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 1;
}

.thought-notes-list p {
  margin: 0;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  font-size: clamp(0.9375rem, 0.9rem + 0.12vw, 1rem);
  line-height: 1.55;
}

.thought-notes-list p:first-child { border-top: 0; }

.thought-back {
  margin-top: clamp(5rem, 10vw, 9rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

.thought-back a { text-decoration: none; }
.thought-back a:hover { color: var(--red); }

.actions-page { background: var(--white); }
.actions-page .global-nav a[aria-current="page"] { color: var(--identity-blue); }
.section-title-actions,
.action-project-title {
  background: var(--identity-white);
  color: var(--identity-blue);
}

.action-index {
  padding: 0 var(--page) clamp(7rem, 12vw, 12rem);
  background: var(--white);
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 0;
  background: transparent;
}

.action-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  min-height: 0;
  padding: clamp(0.75rem, 1.5vw, 1.5rem);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--white);
  color: var(--blue);
  text-decoration: none;
}

a.action-card:hover,
a.action-card:focus-visible { background: var(--silver-light); }

.action-card-media {
  display: flex;
  aspect-ratio: 3 / 2;
  min-height: 0;
  align-items: center;
  justify-content: center;
  margin: 0 0 clamp(0.85rem, 1.6vw, 1.4rem);
  overflow: hidden;
  background: var(--white);
}

.action-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.action-card#generazioni .action-card-media img { object-fit: contain; }

.action-card-copy h2 {
  max-width: none;
  margin: 0;
  overflow-wrap: anywhere;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 1.875vw, 2.15rem);
  font-weight: 500;
  line-height: 1.05;
}

.action-card-copy p {
  max-width: 40rem;
  margin: 0.55rem 0 0;
  font-size: clamp(0.72rem, 0.75vw, 0.82rem);
  line-height: 1.25;
}

@media (min-width: 700px) {
  .action-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1050px) {
  .action-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1500px) {
  .action-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.unicasa-context {
  display: grid;
  grid-template-columns: minmax(12rem, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(2rem, 7vw, 8rem);
  padding: clamp(4rem, 9vw, 9rem) 0;
  border-bottom: 1px solid var(--rule);
  color: var(--blue);
}

.unicasa-context-heading h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 500;
  line-height: 0.96;
}

.unicasa-context-heading p { margin: 1rem 0 0; }
.unicasa-context-body { max-width: 52rem; }
.unicasa-context-body > p { margin: 0 0 2rem; }

.unicasa-context summary,
.action-participant-details summary {
  cursor: pointer;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.unicasa-context-more { padding-top: 2rem; }
.unicasa-context-more p { margin: 0 0 1.5em; }

.unicasa-projects {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.unicasa-projects li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--rule);
}

.has-stack-enhancement .action-project-title {
  z-index: 35;
  top: calc(var(--global-band) + var(--section-band));
}

.action-project-title h2 {
  max-width: 18ch;
  font-size: clamp(3.5rem, 8vw, 9rem);
}

.action-project-title {
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.34fr);
}

.action-project-title-meta {
  align-self: end;
  padding-bottom: 0.15rem;
}

.has-stack-enhancement .action-project-title-meta {
  will-change: opacity, transform;
}

.action-project-title.is-compact .action-project-title-meta { display: none; }

.action-project-title-meta p { margin: 0; }
.action-project-title-meta p + p { margin-top: 0.45rem; }

.action-project-title.is-compact {
  min-height: var(--principle-band);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 0 var(--page);
}

.action-project-title.is-compact h2 {
  max-width: none;
  font-size: var(--compact-title-size);
  line-height: 1;
}

/* Action readers release all opening bands before full-screen scrollytelling. */
.action-project-page .site-header {
  position: relative;
  top: auto;
}

.action-project-page .section-title-actions,
.action-project-page .action-project-title {
  position: relative;
  top: auto;
}

.action-project-page .section-title-actions {
  min-height: var(--section-band);
  align-items: center;
  padding: 0 var(--page);
}

.action-project-page .section-title-actions h1 {
  font-size: var(--compact-title-size);
  line-height: 1;
}

.action-project-intro {
  display: grid;
  grid-template-columns: minmax(13rem, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(2rem, 7vw, 8rem);
  padding: clamp(4rem, 9vw, 9rem) var(--page);
  border-bottom: 1px solid var(--rule);
}

.action-project-heading h3 {
  margin: 0 0 2rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4.5vw, 4.8rem);
  font-weight: 500;
  line-height: 1;
}

.action-project-heading h4,
.action-project-body h4 {
  margin: 0 0 1.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
}

.action-subsection-meta,
.action-model-meta {
  line-height: 1.45;
}

.action-project-heading p,
.action-source-line {
  font-size: 0.82rem;
}

.action-project-cover {
  display: flex;
  width: 100%;
  height: 100svh;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: var(--white);
}

.action-project-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.action-project-intro-text {
  display: block;
}

.action-project-intro-text .action-project-body {
  margin-inline: auto;
}

.action-project-body {
  max-width: 40rem;
  margin-left: auto;
}

.action-project-body p { margin: 0 0 1.5em; }
.action-source-line { margin-top: 3rem !important; }

.action-project-meta {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(13rem, 0.34fr);
  gap: clamp(2rem, 7vw, 8rem);
  padding: clamp(3rem, 7vw, 7rem) var(--page);
  border-bottom: 1px solid var(--rule);
  background: var(--silver-light);
}

.action-project-meta dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 5vw, 5rem);
  margin: 0;
}

.action-project-meta dl > div {
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
}

.action-project-meta dt { margin-bottom: 0.5rem; font-size: 0.72rem; }
.action-project-meta dd { margin: 0; }
.action-participant-details { align-self: start; }

.action-participants {
  columns: 2;
  column-gap: 2rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
}

.action-participants li { break-inside: avoid; margin-bottom: 0.45rem; }

.action-scrolly {
  --action-stage-height: 100svh;
  position: relative;
  background: var(--white);
}

.action-scrolly-stage { display: none; }

.action-scrolly-fallback {
  margin: 0 0 2rem;
}

.action-scrolly-fallback img {
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.action-scrolly-fallback figcaption {
  margin-top: 0.55rem;
  font-size: 0.68rem;
}

.action-scrolly-opening-fallback {
  display: flex;
  width: 100%;
  height: 100svh;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.action-scrolly-opening-fallback img {
  width: 100%;
  height: 100%;
  max-height: none;
}

.action-scrolly-narrative {
  padding: clamp(4rem, 9vw, 9rem) var(--page) clamp(7rem, 14vw, 14rem);
}

.action-scrolly-step {
  padding: clamp(3rem, 8vw, 8rem) 0;
  border-top: 1px solid var(--rule);
}

.action-scrolly-step:first-child { border-top: 0; padding-top: 0; }

.action-scrolly-panel {
  max-width: 40rem;
  margin-inline: auto;
}

.action-scrolly-panel p { margin: 0 0 1.5em; }
.action-scrolly-panel p:last-child { margin-bottom: 0; }

.has-scrolly-enhancement .action-scrolly-stage {
  position: sticky;
  z-index: 1;
  top: 0;
  display: block;
  width: 100vw;
  height: var(--action-stage-height);
  overflow: hidden;
  background: var(--white);
}

.has-scrolly-enhancement .action-scrolly-frame {
  position: absolute;
  inset: 0;
  margin: 0;
  background: var(--white);
  opacity: 0;
  transition: opacity 420ms ease;
}

.has-scrolly-enhancement .action-scrolly-frame.is-active {
  z-index: 1;
  opacity: 1;
}

.has-scrolly-enhancement .action-scrolly-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.has-scrolly-enhancement .action-scrolly-narrative {
  position: relative;
  z-index: 2;
  margin-top: calc(0px - var(--action-stage-height));
  padding: 0;
}

.has-scrolly-enhancement .action-scrolly-narrative::after {
  display: block;
  height: var(--action-stage-height);
  content: "";
  pointer-events: none;
}

.has-scrolly-enhancement .action-scrolly-step {
  position: relative;
  display: block;
  height: 50svh;
  min-height: 0;
  padding: 0;
  border: 0;
}

.has-scrolly-enhancement .action-scrolly-step-text {
  height: calc(100svh + var(--action-panel-height, 0px));
}

.has-scrolly-enhancement .action-scrolly-fallback,
.has-scrolly-enhancement .action-scrolly-opening-fallback { display: none; }

.has-scrolly-enhancement .action-scrolly-panel {
  position: absolute;
  top: 100svh;
  left: 50%;
  width: min(40rem, calc(100% - 2rem));
  max-width: none;
  margin: 0;
  padding: 1.1rem 1.35rem;
  transform: translateX(-50%);
  border: 0;
  background: rgba(202, 206, 208, 0.94);
  color: var(--blue);
}

.has-scrolly-enhancement .action-scrolly-step-empty {
  pointer-events: none;
}

.has-scrolly-enhancement .action-scrolly-invisible-trigger {
  position: absolute;
  top: 100svh;
  left: 50%;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.action-back {
  padding: clamp(3rem, 7vw, 7rem) var(--page);
  border-top: 1px solid var(--rule);
  background: var(--white);
}

.action-back a { text-decoration: none; }
.action-back a:hover { color: var(--red); }

.identity-reader {
  background: var(--silver);
}

.identity-text {
  padding: clamp(4rem, 9vw, 9rem) var(--page);
}

.identity-text + .identity-plate { margin-top: 0; }

.identity-plate {
  margin: 0;
  padding: 0 var(--page);
  background: var(--silver);
}

.identity-plate img {
  width: min(100%, 96rem);
  margin-inline: auto;
}

.identity-reader > .thought-back {
  margin-top: 0;
  padding: clamp(4rem, 9vw, 9rem) var(--page);
  border-top: 1px solid var(--rule);
}

.afterword-page .thought-article-title,
.afterword-page .thought-byline {
  border-color: rgba(255, 255, 255, 0.22);
  background: var(--blue);
  color: var(--white);
}

.afterword-reader {
  padding: clamp(4rem, 9vw, 9rem) var(--page) clamp(7rem, 14vw, 14rem);
  background: var(--blue);
  color: var(--white);
}

.afterword-epigraph,
.afterword-introduction,
.afterword-section,
.afterword-date,
.afterword-reader .thought-back {
  max-width: 50rem;
  margin-left: auto;
}

.afterword-epigraph {
  margin-top: 0;
  margin-bottom: clamp(5rem, 10vw, 9rem);
  padding: 0;
  border: 0;
  color: var(--silver);
  font-size: 0.82rem;
  font-style: normal;
}

.afterword-epigraph p,
.afterword-introduction p,
.afterword-section p { margin: 0 0 1.5em; }

.afterword-introduction {
  margin-bottom: clamp(6rem, 12vw, 12rem);
}

.afterword-section {
  padding-top: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.afterword-section + .afterword-section {
  margin-top: clamp(5rem, 10vw, 9rem);
}

.afterword-section h2 {
  margin: 0 0 clamp(3rem, 7vw, 6rem);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1.04;
}

.afterword-date {
  margin-top: clamp(6rem, 12vw, 12rem);
  color: var(--silver);
  font-size: 0.82rem;
}

.afterword-reader .thought-back {
  border-color: rgba(255, 255, 255, 0.26);
}

.afterword-reader .thought-back a:hover { color: var(--silver); }

.domande-title,
.question-title {
  background: var(--silver);
  color: var(--blue);
}

.has-stack-enhancement .domande-title,
.has-stack-enhancement .question-title {
  z-index: 35;
  top: calc(var(--global-band) + var(--section-band));
}

.domande-title h2,
.question-title h2 {
  max-width: 18ch;
  font-size: clamp(3.5rem, 8vw, 9rem);
}

.domande-title.is-compact,
.question-title.is-compact {
  min-height: var(--principle-band);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 0 var(--page);
}

.domande-title.is-compact h2,
.question-title.is-compact h2 {
  max-width: none;
  font-size: var(--compact-title-size);
  line-height: 1;
}

.question-index {
  padding: clamp(2rem, 5vw, 4.5rem) var(--page);
  border-bottom: 1px solid var(--rule);
  background: var(--silver);
}

.question-index ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.question-index a,
.question-index span {
  display: block;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--blue);
  text-decoration: none;
}

.question-index li:not(:nth-child(4n + 1)) a,
.question-index li:not(:nth-child(4n + 1)) span { padding-left: 1rem; }
.question-index span { color: rgba(16, 38, 80, 0.5); }
.question-index a:hover { color: var(--red); }

.question-content {
  padding: clamp(4rem, 9vw, 9rem) var(--page) clamp(7rem, 14vw, 14rem);
  background: var(--silver);
}

.sardinia-layout {
  display: grid;
  grid-template-columns: minmax(10rem, 0.62fr) minmax(19rem, 1.15fr) minmax(10rem, 0.62fr);
  gap: clamp(1.5rem, 3vw, 4rem);
  align-items: start;
  padding-bottom: clamp(7rem, 15vw, 15rem);
}

.map-project-list {
  margin: 0;
  padding: 0;
  color: var(--blue);
  font-size: clamp(0.72rem, 0.68rem + 0.12vw, 0.84rem);
  line-height: 1.3;
  list-style: none;
}

.project-entry { margin-bottom: 1.2rem; }
.project-entry strong { display: block; font-weight: 700; }
.project-entry span { display: block; }

.map-figure { margin: 0; }
.map-canvas { position: relative; }
.map-canvas img { width: 100%; }
.cagliari-figure img { mix-blend-mode: multiply; }

.map-marker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  color: var(--white);
  font-size: clamp(0.56rem, 0.5rem + 0.16vw, 0.72rem);
  font-weight: 750;
  line-height: 1.05;
  transform: translate(-50%, -50%);
  text-align: center;
  white-space: nowrap;
}

.map-marker::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  background: var(--red);
  content: "";
  transform: translate(-50%, -50%);
}

.marker-stack {
  padding-left: 1rem;
  color: var(--white);
  line-height: 1.2;
  text-align: left;
  transform: translate(0, -50%);
}

.marker-stack::before { left: 0.25rem; top: 0.35rem; }

.cagliari-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 0.48fr) minmax(0, 1.52fr);
  gap: clamp(2rem, 6vw, 8rem);
  align-items: start;
  padding-bottom: clamp(7rem, 15vw, 15rem);
}

.cagliari-project-list { padding-top: clamp(2rem, 8vw, 9rem); }

.cagliari-marker {
  color: var(--blue);
  text-shadow: 0 0 0.3rem var(--silver);
}

.has-domande-enhancement .map-marker {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 260ms ease calc(var(--i) * 35ms), transform 260ms ease calc(var(--i) * 35ms);
}

.has-domande-enhancement .marker-stack { transform: translate(0, -50%) scale(0.8); }

.has-domande-enhancement .map-canvas.is-visible .map-marker {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.has-domande-enhancement .map-canvas.is-visible .marker-stack { transform: translate(0, -50%) scale(1); }

.data-disclosure {
  max-width: 65rem;
  margin-left: auto;
  border-top: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
}

.data-disclosure summary {
  padding: 1rem 0;
  color: var(--blue);
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
}

.data-table-wrap { overflow-x: auto; padding-bottom: 2rem; }

.data-disclosure table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82em;
}

.data-disclosure th,
.data-disclosure td {
  padding: 0.8rem 1rem 0.8rem 0;
  border-top: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.data-disclosure thead th { color: var(--blue); }
.data-disclosure tbody th { width: 48%; font-weight: 650; }

.cosa-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: clamp(7rem, 14vw, 14rem);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.cosa-card {
  display: flex;
  min-height: clamp(18rem, 28vw, 30rem);
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: clamp(1rem, 2.2vw, 2rem);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: var(--blue);
}

.cosa-art {
  display: flex;
  min-height: 11rem;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.cosa-art img { width: 100%; max-height: 18rem; object-fit: contain; }

.cosa-card figcaption { margin-top: 2rem; font-size: 0.78rem; line-height: 1.3; }
.cosa-card figcaption span { display: block; }
.cosa-card .cosa-name { font-weight: 700; }

.timeline-list {
  position: relative;
  max-width: 57rem;
  margin: 0 0 clamp(7rem, 14vw, 14rem) auto;
  padding: 0;
  list-style: none;
}

.timeline-list::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 6rem;
  width: 1px;
  background: var(--blue);
  content: "";
  opacity: 0.28;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 2rem;
  margin-top: calc(0.8rem + var(--gap) * 2.6rem);
  color: var(--blue);
}

.timeline-item:first-child { margin-top: 0; }

.timeline-item::before {
  position: absolute;
  top: 0.65em;
  left: calc(6rem - 0.28rem);
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.timeline-item time { font-weight: 750; font-variant-numeric: tabular-nums; }
.timeline-item span { padding-bottom: 0.7rem; border-bottom: 1px solid var(--rule); font-weight: 600; }

.hours-totals {
  display: grid;
  max-width: 65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 7rem);
  margin: 0 0 clamp(3rem, 7vw, 7rem) auto;
}

.hours-total { display: grid; gap: 0.65rem; color: var(--blue); }
.hours-total strong { font-size: clamp(1.4rem, 2.4vw, 2.5rem); font-variant-numeric: tabular-nums; }
.hours-total span { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; }

.total-ticks {
  width: var(--total-width);
  height: clamp(3.5rem, 8vw, 6.5rem);
  background: repeating-linear-gradient(90deg, var(--blue) 0 2px, transparent 2px 5px);
}

.hours-total-action .total-ticks {
  background: repeating-linear-gradient(90deg, var(--white) 0 2px, transparent 2px 5px);
}

.hours-method {
  max-width: 42rem;
  margin: 0 0 clamp(5rem, 10vw, 10rem) auto;
  color: var(--blue);
  font-weight: 650;
}

.hours-projects {
  display: grid;
  max-width: 70rem;
  gap: 1.15rem;
  margin: 0 0 clamp(7rem, 14vw, 14rem) auto;
}

.hours-row {
  display: grid;
  grid-template-columns: minmax(20rem, 1fr) minmax(13rem, 0.42fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.hours-row h3 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(0.82rem, 0.78rem + 0.18vw, 1rem);
  font-weight: 650;
}

.hours-bars { display: grid; gap: 0.35rem; }

.hours-bar {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  color: var(--blue);
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
}

.hours-bar span { text-align: right; }

.hours-bar i {
  display: block;
  width: var(--value);
  min-width: 0.35rem;
  height: 0.72rem;
  background: repeating-linear-gradient(90deg, var(--blue) 0 2px, transparent 2px 4px);
}

.hours-action i {
  background: repeating-linear-gradient(90deg, var(--white) 0 2px, transparent 2px 4px);
}

.data-disclosure tfoot th,
.data-disclosure tfoot td { border-top: 1px solid var(--blue); font-weight: 700; }

.question-content-chi { padding-inline: 0; }

.question-content-chi > .people-aggregate,
.question-content-chi > .people-legend,
.question-content-chi > .people-projects,
.question-content-chi > .data-disclosure {
  margin-right: var(--page);
  margin-left: var(--page);
}

.people-aggregate {
  display: grid;
  grid-template-columns: minmax(8rem, 0.55fr) minmax(10rem, 0.85fr) minmax(20rem, 2.4fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
  margin-bottom: clamp(5rem, 10vw, 10rem);
}

.people-total {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1.5rem;
}

.people-total p {
  margin: 0;
  color: var(--blue);
  font-weight: 650;
}

.people-total p strong {
  font-size: clamp(1.35rem, 2.5vw, 2.5rem);
  font-variant-numeric: tabular-nums;
}

.people-dots {
  --dot-colour: var(--blue);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.3rem, 0.6vw, 0.55rem);
  align-content: flex-start;
}

.people-dots-artisans { --dot-colour: var(--red); }
.people-dots-students { --dot-colour: var(--white); }

.people-dot {
  display: block;
  width: clamp(0.9rem, 1.6vw, 1.5rem);
  flex: 0 0 clamp(0.9rem, 1.6vw, 1.5rem);
  aspect-ratio: 1;
  border: 1px solid var(--dot-colour);
  border-radius: 50%;
}

.people-dot.is-full { background: var(--dot-colour); }

.people-dot.is-partial {
  background: conic-gradient(var(--dot-colour) 0 var(--part), transparent var(--part) 360deg);
}

.people-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 47rem;
  gap: 1rem;
  margin-bottom: 1.25rem;
  margin-left: auto;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
}

.people-legend span::before {
  display: inline-block;
  width: 0.72rem;
  margin-right: 0.5rem;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: currentColor;
  content: "";
  vertical-align: -0.08rem;
}

.people-legend .legend-artisans { color: var(--red); }
.people-legend .legend-students::before { background: var(--white); }

.people-projects {
  display: grid;
  max-width: 70rem;
  gap: 1.1rem;
  margin-bottom: clamp(7rem, 14vw, 14rem);
  margin-left: auto;
}

.people-project {
  display: grid;
  grid-template-columns: minmax(25rem, 1fr) minmax(14rem, 0.48fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.people-project h3 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(0.82rem, 0.78rem + 0.18vw, 1rem);
  font-weight: 650;
}

.people-measures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.people-measure {
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
}

.people-measure .people-dot {
  width: 0.78rem;
  flex-basis: 0.78rem;
}

.people-value {
  color: var(--blue);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.people-measure-artisans .people-value { color: var(--red); }

.portrait-field {
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  margin-top: clamp(7rem, 14vw, 14rem);
}

.portrait-sheet {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.35rem, 0.75vw, 0.8rem);
  padding-inline: var(--page);
}

.portrait-sheet img {
  width: 100%;
  aspect-ratio: 90.75 / 121;
  background: var(--white);
  object-fit: cover;
}

.question-content-come { padding-inline: 0; }

.question-content-come > .material-aggregate,
.question-content-come > .material-legend,
.question-content-come > .material-projects,
.question-content-come > .data-disclosure {
  margin-right: var(--page);
  margin-left: var(--page);
}

.material-aggregate {
  display: grid;
  grid-template-columns: minmax(20rem, 2fr) repeat(3, minmax(8rem, 1fr));
  gap: clamp(2rem, 4vw, 5rem);
  align-items: end;
  margin-bottom: clamp(5rem, 10vw, 10rem);
}

.material-total {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1.5rem;
}

.material-total p {
  margin: 0;
  color: var(--blue);
  font-weight: 650;
}

.material-total p strong {
  font-size: clamp(1.35rem, 2.5vw, 2.5rem);
  font-variant-numeric: tabular-nums;
}

.material-total-tavole p { color: var(--red); }
.material-total-pallet p { color: #4d5358; }
.material-total-pannelli p { color: var(--white); }

.material-tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem 0.48rem;
  align-content: flex-start;
}

.material-token {
  display: block;
  width: 0.75rem;
  height: 1.6rem;
  flex: 0 0 0.75rem;
  border: 1px solid var(--blue);
  transform: skewX(-26deg);
}

.material-token-tavole { border-color: var(--red); }

.material-token-pallet {
  width: 1.15rem;
  flex-basis: 1.15rem;
  border: 0;
  background: repeating-linear-gradient(105deg, #4d5358 0 2px, transparent 2px 4px);
  transform: none;
}

.material-token-pannelli {
  width: 1.2rem;
  height: 1.4rem;
  flex-basis: 1.2rem;
  border-color: var(--white);
  transform: skewX(-18deg);
}

.material-token.is-partial { clip-path: inset(0 var(--clip) 0 0); }

.material-legend {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 58rem;
  gap: 1rem;
  margin-bottom: 1.25rem;
  margin-left: auto;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
}

.material-legend span::before {
  display: inline-block;
  width: 0.45rem;
  height: 0.9rem;
  margin-right: 0.6rem;
  border: 1px solid currentColor;
  content: "";
  transform: skewX(-26deg);
  vertical-align: -0.2rem;
}

.material-legend .legend-tavole { color: var(--red); }
.material-legend .legend-pallet { color: #4d5358; }
.material-legend .legend-pannelli { color: var(--white); }

.material-projects {
  display: grid;
  max-width: 76rem;
  gap: 1.1rem;
  margin-bottom: clamp(7rem, 14vw, 14rem);
  margin-left: auto;
}

.material-project {
  display: grid;
  grid-template-columns: minmax(30rem, 1fr) minmax(16rem, 0.48fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.material-project h3 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(0.82rem, 0.78rem + 0.18vw, 1rem);
  font-weight: 650;
}

.material-measures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.material-measure {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
}

.material-measure .material-tokens { gap: 0.2rem 0.3rem; }

.material-measure .material-token {
  width: 0.5rem;
  height: 1rem;
  flex-basis: 0.5rem;
}

.material-measure .material-token-pallet {
  width: 0.75rem;
  flex-basis: 0.75rem;
}

.material-measure .material-token-pannelli {
  width: 0.78rem;
  height: 0.9rem;
  flex-basis: 0.78rem;
}

.material-value {
  color: var(--blue);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.material-measure-tavole .material-value { color: var(--red); }
.material-measure-pallet .material-value { color: #4d5358; }
.material-measure-pannelli .material-value { color: var(--white); }

.process-field {
  display: grid;
  gap: clamp(7rem, 14vw, 14rem);
  margin-top: clamp(8rem, 16vw, 16rem);
}

.process-spread {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.8vw, 2rem);
  align-items: start;
  padding-inline: var(--page);
}

.process-photo { margin: 0; }
.process-photo img { width: 100%; }
.process-photo-1 { grid-column: 1 / span 7; }
.process-photo-2 { grid-column: 8 / span 5; margin-top: clamp(3rem, 7vw, 7rem); }
.process-photo-3 { grid-column: 3 / span 5; }
.process-photo-4 { grid-column: 7 / span 6; margin-top: clamp(2rem, 5vw, 5rem); }
.process-photo-5 { grid-column: 1 / span 6; }
.process-photo-6 { grid-column: 7 / span 6; margin-top: clamp(4rem, 9vw, 9rem); }

.has-domande-enhancement [data-reveal-group] .reveal-item {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 280ms ease calc(var(--i) * 28ms), transform 280ms ease calc(var(--i) * 28ms);
}

.has-domande-enhancement [data-reveal-group].is-visible .reveal-item {
  opacity: 1;
  transform: none;
}

.language-route {
  min-height: 100vh;
  background: var(--red);
  color: var(--white);
}

.language-route-content {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--page);
}

.language-route-content img { width: 4rem; }

.language-route-content h1 {
  margin: auto 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(4rem, 12vw, 11rem);
  font-weight: 500;
  line-height: 0.96;
}

.language-route-content nav {
  display: flex;
  gap: 1.5rem;
}

.language-route-content a { text-underline-offset: 0.2em; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem var(--page);
  background: var(--blue);
  color: var(--silver);
  font-size: 0.72rem;
}

.site-footer p { margin: 0; }
.site-footer a { color: var(--white); }

@media (max-width: 900px) {
  
  
  
  

  .sardinia-layout {
    grid-template-columns: minmax(9rem, 0.55fr) minmax(18rem, 1.2fr);
  }

  .map-project-list-right { grid-column: 1 / -1; columns: 2; column-gap: 2rem; }

  .cagliari-layout {
    grid-template-columns: minmax(10rem, 0.55fr) minmax(0, 1.45fr);
    gap: 2rem;
  }

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

@media (max-width: 900px) {
  :root { --global-band: 6.75rem; }

  .site-header {
    grid-template-columns: minmax(0, 1fr) 3rem;
    grid-template-rows: 3.5rem 3.25rem;
    grid-template-areas:
      "identity language"
      "navigation navigation";
    height: auto;
    min-height: var(--global-band);
  }

  .identity { padding: 0.55rem 0.75rem; }

  .identity img {
    width: min(100%, 20.5rem);
    height: auto;
    max-height: 1.6rem;
  }

  .global-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
    justify-content: stretch;
    padding: 0.35rem 0.5rem 0.5rem;
  }

  .global-nav a,
  .global-nav span {
    min-height: 2.4rem;
    padding: 0.35rem 0.2rem;
    font-size: 0.7rem;
    white-space: normal;
  }

  .language {
    min-height: 2.5rem;
    height: 2.5rem;
    margin-right: 0.5rem;
  }

  html.has-mobile-navigation { --global-band: 3.75rem; }

  html.has-mobile-navigation .site-header {
    grid-template-columns: minmax(0, 1fr) 2.75rem 2.75rem;
    grid-template-rows: var(--global-band);
    grid-template-areas: "identity language toggle";
    height: var(--global-band);
    min-height: var(--global-band);
  }

  html.has-mobile-navigation .identity { min-width: 0; }

  html.has-mobile-navigation .identity img {
    width: min(100%, 18rem);
    max-height: 1.5rem;
  }

  html.has-mobile-navigation .language {
    inline-size: 2.75rem;
    min-height: 2.75rem;
    height: 2.75rem;
    margin: 0;
  }

  html.has-mobile-navigation .menu-toggle { display: flex; }

  html.has-mobile-navigation .global-nav {
    position: absolute;
    z-index: 55;
    inset-block-start: 100%;
    inset-inline: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.5rem;
    background: var(--header-silver);
    box-shadow: 0 0.5rem 1.25rem rgba(18, 33, 69, 0.18);
  }

  html.has-mobile-navigation .global-nav[hidden] { display: none; }

  html.has-mobile-navigation .global-nav a,
  html.has-mobile-navigation .global-nav span {
    min-height: 3rem;
    padding: 0.65rem 0.35rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 760px) {
  :root {
    --section-band: 2.2rem;
    --principle-band: 2.4rem;
  }

  
  
  
  
  
  
  
  

  
  

  .stack-title {
    grid-template-columns: 3.25rem minmax(0, 1fr);
    align-items: end;
  }

  .principle-title.is-compact { grid-template-columns: 2.5rem minmax(0, 1fr); }

  .principle-index { grid-template-columns: 1fr; }
  .principle-index li:nth-last-child(2) > a,
  .principle-index li:nth-last-child(2) > span { border-bottom: 1px solid var(--rule); }

  .about-gateways { grid-template-columns: 1fr; }
  .about-gateway { min-height: 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .about-gateway:last-child { border-bottom: 0; }

  .thought-lead {
    grid-template-columns: minmax(9rem, 0.42fr) minmax(0, 0.58fr);
    gap: 1.5rem;
  }

  .unicasa-context,
  .action-project-intro,
  .action-project-meta {
    grid-template-columns: 1fr;
  }

  .action-project-title {
    grid-template-columns: 1fr;
  }

  .action-project-title-meta { margin-top: 2rem; }

  .action-project-meta dl { grid-template-columns: 1fr; }

  .has-scrolly-enhancement .action-scrolly-step {
    padding: 0;
  }

  .has-scrolly-enhancement .action-scrolly-panel {
    width: min(100%, 34rem);
    padding: 1.25rem;
  }

  .about-intro-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-intro-logo {
    width: min(58vw, 16rem);
    justify-self: center;
  }

  .question-index ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .question-index li:not(:nth-child(4n + 1)) a,
  .question-index li:not(:nth-child(4n + 1)) span { padding-left: 0; }
  .question-index li:nth-child(even) a,
  .question-index li:nth-child(even) span { padding-left: 1rem; }

  .sardinia-layout,
  .cagliari-layout { grid-template-columns: 1fr; }
  .map-project-list-left,
  .map-project-list-right,
  .cagliari-project-list { columns: 2; column-gap: 2rem; padding-top: 0; }
  .sardinia-figure { order: -1; max-width: 30rem; margin-inline: auto; }
  .cagliari-figure { order: -1; }

  .cosa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hours-row { grid-template-columns: 1fr; gap: 0.65rem; }
  .hours-row h3 { padding-left: 5.9rem; }
  .people-aggregate { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people-total-students { grid-column: 1 / -1; }
  .people-project { grid-template-columns: 1fr; gap: 0.65rem; }
  .people-project h3 { padding-left: 0; }
  .portrait-sheet { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .material-aggregate { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .material-project { grid-template-columns: 1fr; gap: 0.65rem; }
}

@media (max-width: 430px) {
  
  .section-title h1 { font-size: clamp(3.6rem, 18vw, 6rem); }
  .principle-title h2 { font-size: clamp(2.7rem, 13vw, 4.8rem); }
  .site-footer { flex-direction: column; }
  .about-intro-layout { grid-template-columns: 1fr; }
  .map-project-list-left,
  .map-project-list-right,
  .cagliari-project-list { columns: 1; }
  .question-index ol { grid-template-columns: 1fr; }
  .question-index li:nth-child(even) a,
  .question-index li:nth-child(even) span { padding-left: 0; }

  .thought-card { min-height: 7.5rem; }
  .thought-lead { grid-template-columns: 1fr; }
  .thought-lead img { width: min(100%, 22rem); justify-self: start; }
  .identity-plate { padding-inline: 0; }

  .action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .action-card { min-height: 0; }
  .thought-card h2 { font-size: clamp(1.1rem, 5.25vw, 1.425rem); }
  .action-card-copy h2 { font-size: clamp(1.1rem, 5.25vw, 1.425rem); }
  .action-participants { columns: 1; }

  .cosa-grid { grid-template-columns: 1fr; }
  .cosa-card { min-height: 16rem; }
  .timeline-list::before { left: 4.3rem; }
  .timeline-item { grid-template-columns: 4.3rem minmax(0, 1fr); gap: 1.3rem; }
  .timeline-item::before { left: calc(4.3rem - 0.28rem); }
  .hours-totals { grid-template-columns: 1fr; }
  .hours-row h3 { padding-left: 0; }
  .hours-bar { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .people-aggregate { grid-template-columns: 1fr; }
  .people-total-students { grid-column: auto; }
  .people-legend { grid-template-columns: 1fr; }
  .people-measures { grid-template-columns: 1fr; }
  .portrait-sheet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .material-aggregate { grid-template-columns: 1fr; }
  .material-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .material-measures { grid-template-columns: 1fr; }
  .process-spread { grid-template-columns: 1fr; gap: 1rem; }
  .process-photo-1,
  .process-photo-2,
  .process-photo-3,
  .process-photo-4,
  .process-photo-5,
  .process-photo-6 {
    grid-column: 1;
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .has-domande-enhancement .map-marker { transition: none; }
  .has-domande-enhancement [data-reveal-group] .reveal-item { transition: none; }
  .has-scrolly-enhancement .action-scrolly-frame { transition: none; }
}

@media print {
  .site-header,
  .has-stack-enhancement .stack-title { position: static; }
  .stack-reserve { display: none; }
  .stack-heading-compact { display: none !important; }
  .has-stack-enhancement .stack-title.is-stack-runtime {
    display: grid !important;
    height: auto !important;
    min-height: 0 !important;
    padding: clamp(2rem, 5vw, 5rem) var(--page) !important;
  }
  .has-stack-enhancement .stack-title.is-stack-runtime > h1,
  .has-stack-enhancement .stack-title.is-stack-runtime > h2,
  .has-stack-enhancement .stack-title.is-stack-runtime > .eyebrow,
  .has-stack-enhancement .stack-title.is-stack-runtime > .action-project-title-meta {
    position: static !important;
    width: auto !important;
    max-width: none !important;
    font-size: revert !important;
    line-height: revert !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .article-reader { padding-top: 2rem; }

  .has-scrolly-enhancement .action-scrolly-stage { display: none; }
  .has-scrolly-enhancement .action-scrolly-narrative {
    margin-top: 0;
    padding: 2rem var(--page);
  }
  .has-scrolly-enhancement .action-scrolly-narrative::after { display: none; }
  .has-scrolly-enhancement .action-scrolly-step {
    display: block;
    height: auto;
    min-height: 0;
    padding: 2rem 0;
    border-top: 1px solid var(--rule);
  }
  .has-scrolly-enhancement .action-scrolly-fallback { display: block; }
  .has-scrolly-enhancement .action-scrolly-opening-fallback { display: flex; }
  .has-scrolly-enhancement .action-scrolly-panel {
    position: static;
    width: auto;
    max-width: 52rem;
    margin-left: auto;
    padding: 0;
    transform: none;
    border: 0;
    background: transparent;
  }
  .has-scrolly-enhancement .action-scrolly-invisible-trigger { display: none; }
}

/* Homepage full-screen cover: upper-third composition and one-line section row. */

































/* The homepage language control is pinned to the viewport corner. */








/* Homepage blue-field composition with proportional IBM Plex Sans hierarchy. */




































/* Homepage proportional cover audit: one shared scale controls mark, copy, and entrances. */


























/* Final homepage proportion set: mark, primary statement, body copy, and tile labels share one scale. */













/* Homepage 50/50 cover and site-wide section-order refinement. */























