@font-face {
  font-family: "Helvetica Neue BEL";
  src: url("../fonts/HelveticaNeue-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue BEL";
  src: url("../fonts/HelveticaNeue-Roman.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Neue BEL";
  src: url("../fonts/HelveticaNeue-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Monument Extended BEL";
  src: url("../fonts/MonumentExtended-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Monument Extended BEL";
  src: url("../fonts/MonumentExtended-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@view-transition {
  navigation: auto;
}

:root {
  --blue: #064b6c;
  --blue-dark: #003e5f;
  --text: #064b6c;
  --white: #ffffff;
  --light: #f7f9fa;
  --muted: #c5c5c5;
  --agency: #ef8014;
  --construction: #b64b16;
  --green: #a6ff52;
  --content: min(1100px, calc(100vw - 40px));
  --header-height: 104px;
  font-family: "Helvetica Neue BEL", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Helvetica Neue BEL", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.35;
}

body.menu-open {
  overflow: hidden;
  /* compensa lo spazio che l'header lascia nel flusso diventando fixed */
  padding-top: var(--header-height);
}

/* Bloccando lo scroll il body diventa contenitore di scorrimento e lo sticky
   dell'header non si aggancia piu' al viewport: scrollati in basso, aprendo
   il menu l'header spariva. Da fixed resta in sovraimpressione. */
body.menu-open .site-header {
  position: fixed;
  left: 0;
  right: 0;
}

@supports not (scrollbar-gutter: stable) {
  body.menu-open {
    padding-right: var(--scrollbar-compensation, 0px);
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--white);
  color: var(--blue);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 130;
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  align-items: center;
  height: var(--header-height);
  padding: 12px 38px;
  background: var(--blue);
  color: var(--white);
  view-transition-name: bel-header;
}

.brand img {
  width: 160px;
  height: auto;
}

.site-clock {
  margin: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand-dots {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-dots span {
  width: 7px;
  height: 7px;
  display: block;
}

.brand-dots span:nth-child(1) {
  background: #d81752;
}

.brand-dots span:nth-child(2) {
  background: #00a3dd;
}

.brand-dots span:nth-child(3) {
  background: #e2801f;
}

.brand-dots span:nth-child(4) {
  background: #80ad40;
}

.brand-dots span:nth-child(5) {
  background: #ffce00;
}

.menu-toggle,
.menu-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  gap: 5px;
  padding: 9px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: currentColor;
}

.site-menu {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 120;
  width: min(520px, 100vw);
  padding: calc(var(--header-height) + clamp(28px, 4vw, 48px)) clamp(28px, 5vw, 58px) clamp(36px, 6vw, 78px);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: #c9c9c9;
  color: var(--white);
  transform: translateX(100%);
  transition: transform 420ms cubic-bezier(.22, .61, .36, 1);
  box-shadow: -30px 0 80px rgba(0, 0, 0, .12);
}

.site-menu.is-open {
  transform: translateX(0);
}

.site-menu nav {
  margin-top: clamp(36px, 4vh, 56px);
  display: grid;
  gap: 8px;
}

.site-menu nav a {
  width: fit-content;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 200;
  line-height: 1.08;
}

.site-menu nav a.is-active {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.menu-close {
  position: absolute;
  top: calc(var(--header-height) + 26px);
  right: 52px;
  width: 54px;
  height: 54px;
}

.menu-close span {
  position: absolute;
  left: 6px;
  right: 6px;
  top: 26px;
  height: 2px;
  background: currentColor;
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.menu-logo {
  width: 210px;
  height: auto;
  margin-top: auto;
  margin-left: auto;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  background: rgba(0, 0, 0, .08);
}

body.menu-open .menu-backdrop {
  display: block;
}

.hero {
  position: relative;
  min-height: clamp(330px, 43vw, 520px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--blue);
}

.hero-home {
  min-height: clamp(360px, 45vw, 560px);
}

.hero-home img {
  transform: scale(1.035);
  transform-origin: center;
  animation: heroImageSettle 1800ms cubic-bezier(.22, .61, .36, 1) 120ms forwards;
}

.hero-slim {
  min-height: clamp(260px, 32vw, 390px);
}

/* Contatti: il crop tiene dentro l'insegna BEL alle spalle del team. */
body[data-page="contatti"] .hero img {
  object-position: 50% 26%;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after,
.hero-tint::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .08);
}

.hero-home::after {
  animation: heroVeilIn 1500ms ease-out forwards;
}

.hero-tint::after {
  background: rgba(239, 128, 20, .48);
  mix-blend-mode: multiply;
}

.theme-agency .hero-tint::after {
  background: rgba(239, 128, 20, .4);
}

.theme-construction .hero-tint::after {
  background: rgba(182, 75, 22, .5);
}

.hero h1,
.method-hero h2 {
  position: relative;
  z-index: 1;
  width: min(100%, 1280px);
  margin: 0;
  padding-inline: clamp(28px, 6vw, 96px);
  color: var(--white);
  text-align: center;
  text-transform: uppercase;
  font-family: "Monument Extended BEL", "Helvetica Neue BEL", Arial, sans-serif;
  font-size: clamp(44px, 7vw, 104px);
  font-weight: 300;
  line-height: .92;
  letter-spacing: 0;
}

.hero-home h1 {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(7px);
  animation: heroTitleIn 1150ms cubic-bezier(.22, .61, .36, 1) 360ms forwards;
}

.hero-slim h1,
.method-hero h2 {
  font-size: clamp(38px, 6.2vw, 82px);
}

body[data-page="construction"] .hero h1 {
  width: min(100%, 1120px);
  padding-inline: clamp(26px, 5vw, 72px);
  font-size: clamp(28px, 5.8vw, 82px);
  line-height: .94;
}

.section {
  width: var(--content);
  margin-inline: auto;
  padding: clamp(54px, 7vw, 96px) 0;
}

@supports (content-visibility: auto) {
  .section,
  .split-photo,
  .columns-three,
  .agency-grid,
  .project-section,
  .statement-band,
  .method-hero,
  .contact-section,
  .site-footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 720px;
  }
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity 900ms cubic-bezier(.22, .61, .36, 1),
    transform 900ms cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

body.reveal-initializing .reveal,
body.reveal-initializing .reveal * {
  transition: none !important;
}

.image-pair > img,
.image-pair > .photo-slider,
.metric,
.use-grid article {
  transition:
    opacity 780ms cubic-bezier(.22, .61, .36, 1),
    transform 780ms cubic-bezier(.22, .61, .36, 1);
}

.reveal:not(.is-visible) .image-pair > img,
.reveal:not(.is-visible) .image-pair > .photo-slider,
.reveal:not(.is-visible) .metric,
.reveal:not(.is-visible) .use-grid article {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}

.reveal.is-visible .image-pair > img:nth-child(2),
.reveal.is-visible .image-pair > .photo-slider:nth-child(2),
.reveal.is-visible .metric:nth-child(2),
.reveal.is-visible .use-grid article:nth-child(2) {
  transition-delay: 120ms;
}

.reveal.is-visible .metric:nth-child(3) {
  transition-delay: 220ms;
}

.intro-section {
  text-align: center;
}

.intro-section.compact {
  padding-block: clamp(36px, 5vw, 64px);
}

.narrow {
  max-width: 850px;
  margin-inline: auto;
}

.wide-text {
  max-width: 1030px;
}

.use-section p,
.contact-details {
  margin: 0;
  font-size: clamp(25px, 3vw, 40px);
  font-weight: 300;
  line-height: 1.18;
}

.intro-section h2,
.intro-section .lead {
  margin: 0;
  font-size: clamp(24px, 2.7vw, 34px);
  font-weight: 400;
  line-height: 1.16;
}

.theme-agency .intro-section h2,
.theme-agency .intro-section .lead {
  color: var(--agency);
}

.theme-construction .intro-section h2,
.theme-construction .intro-section .lead,
.theme-construction .metrics-section,
.theme-construction .section-kicker {
  color: var(--construction);
}

.image-pair {
  width: 100%;
  margin: clamp(46px, 6vw, 72px) auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 46px);
}

.image-pair img {
  width: 100%;
  aspect-ratio: 1.68 / 1;
  object-fit: cover;
}

/* Carosello foto: le immagini sono affiancate in un nastro che scorre, non
   sovrapposte in dissolvenza. Cosi' non esiste un istante in cui nessuna e'
   opaca, che era la causa del lampo bianco a ogni cambio.
   L'ultimo fotogramma del nastro ripete il primo: a fine ciclo il ritorno a
   zero cade su un'immagine identica ed e' invisibile. */
.photo-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1.68 / 1;
  overflow: hidden;
  background: var(--light);
}

.slider-track {
  display: flex;
  height: 100%;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(.65, 0, .35, 1);
  will-change: transform;
}

.slider-track img {
  flex: none;
  height: 100%;
  object-fit: cover;
}

.photo-slider-3 .slider-track {
  width: 400%;
  animation-name: slider-run-3;
  animation-duration: 12s;
}

.photo-slider-3 .slider-track img {
  width: 25%;
}

.photo-slider-2 .slider-track {
  width: 300%;
  animation-name: slider-run-2;
  animation-duration: 8s;
}

.photo-slider-2 .slider-track img {
  width: 33.3333%;
}

.photo-slider-6 .slider-track {
  width: 700%;
  animation-name: slider-run-6;
  animation-duration: 24s;
}

.photo-slider-6 .slider-track img {
  width: 14.2857%;
}

/* La seconda foto della coppia parte a meta' passo: le due scorrono a turno,
   mai insieme. Ritardo negativo, altrimenti resterebbe ferma all'inizio. */
.image-pair .photo-slider:nth-child(2) .slider-track {
  animation-delay: -2s;
}

/* Le percentuali valgono per tutti: 80% di sosta e 20% di scorrimento.
   Sulle durate qui sopra fa un cambio ogni 4 secondi. */
@keyframes slider-run-3 {
  0%, 26.7% { transform: translate3d(0, 0, 0); }
  33.3%, 60% { transform: translate3d(-25%, 0, 0); }
  66.7%, 93.3% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(-75%, 0, 0); }
}

@keyframes slider-run-6 {
  0%, 13.3% { transform: translate3d(0, 0, 0); }
  16.7%, 30% { transform: translate3d(-14.2857%, 0, 0); }
  33.3%, 46.7% { transform: translate3d(-28.5714%, 0, 0); }
  50%, 63.3% { transform: translate3d(-42.8571%, 0, 0); }
  66.7%, 80% { transform: translate3d(-57.1429%, 0, 0); }
  83.3%, 96.7% { transform: translate3d(-71.4286%, 0, 0); }
  100% { transform: translate3d(-85.7143%, 0, 0); }
}

@keyframes slider-run-2 {
  0%, 40% { transform: translate3d(0, 0, 0); }
  50%, 90% { transform: translate3d(-33.3333%, 0, 0); }
  100% { transform: translate3d(-66.6666%, 0, 0); }
}

body[data-page="agency"] .intro-section {
  width: 100%;
  padding-bottom: clamp(76px, 8vw, 130px);
}

body[data-page="agency"] .intro-section .narrow {
  width: min(1320px, calc(100vw - 72px));
  max-width: 1320px;
}

body[data-page="agency"] .intro-section .lead {
  max-width: 1120px;
  margin-inline: auto;
}

body[data-page="agency"] .image-pair {
  width: min(1460px, calc(100vw - 72px));
  margin-top: clamp(54px, 5vw, 78px);
  margin-bottom: clamp(74px, 6.8vw, 112px);
  gap: clamp(32px, 3.2vw, 60px);
}

body[data-page="agency"] .image-pair img {
  aspect-ratio: 1.75 / 1;
}

.metrics-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 72px);
  text-align: center;
  padding-top: 24px;
}

.metric strong {
  display: block;
  padding-bottom: 14px;
  border-bottom: 1px solid currentColor;
  font-size: clamp(56px, 8vw, 90px);
  font-weight: 100;
  line-height: .78;
}

.metric strong span {
  display: block;
  font-size: .84em;
}

.metric p {
  margin: 14px 0 0;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.25;
}

.image-band {
  padding-top: 18px;
}

.image-band img {
  width: 100%;
  aspect-ratio: 3.15 / 1;
  object-fit: cover;
}

.use-section {
  text-align: center;
}

.use-section p {
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.2;
}

.use-grid {
  margin: 56px auto 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  justify-content: center;
  gap: clamp(44px, 8vw, 110px);
}

.use-grid article,
.icon-grid span {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.use-grid h3,
.icon-grid span {
  margin: 0;
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 400;
}

.use-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 1.15;
}

body[data-page="home"] .intro-section .narrow {
  max-width: 980px;
}

body[data-page="home"] .metrics-section {
  width: min(960px, var(--content));
  grid-template-columns: repeat(3, minmax(0, 270px));
  justify-content: center;
  gap: clamp(34px, 4.6vw, 60px);
}

body[data-page="home"] .metric strong {
  font-family: "Monument Extended BEL", "Helvetica Neue BEL", Arial, sans-serif;
  font-size: clamp(50px, 7vw, 76px);
  font-weight: 300;
  line-height: .9;
}

body[data-page="home"] .metric p {
  font-weight: 400;
}

@media (min-width: 901px) {
  body[data-page="home"] .metric p {
    white-space: nowrap;
  }
}

body[data-page="home"] .image-band {
  padding-bottom: clamp(22px, 2.8vw, 34px);
}

body[data-page="home"] .use-section {
  padding-top: clamp(14px, 2vw, 26px);
}

body[data-page="home"] .use-section > .narrow {
  max-width: 780px;
}

body[data-page="home"] .use-section > .narrow p {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
}

body[data-page="home"] .use-grid article {
  gap: 8px;
}

body[data-page="home"] .use-grid h3 {
  margin-bottom: -3px;
}

body[data-page="home"] .use-grid p {
  max-width: 190px;
  font-size: clamp(13px, .95vw, 14.5px);
  font-weight: 400;
  line-height: 1.12;
}

.icon-symbol {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.split-photo {
  display: grid;
  grid-template-rows: auto auto;
}

.split-photo img {
  width: 100%;
  height: clamp(260px, 31vw, 420px);
  object-fit: cover;
}

/* la stessa fascia usata da sola, senza la banda di testo sopra */
.split-photo-solo {
  grid-template-rows: auto;
}

.split-photo div {
  padding: 28px 20px 34px;
  background: var(--blue);
  color: var(--white);
  text-align: center;
}

.split-photo h2,
.split-photo p {
  max-width: 760px;
  margin-inline: auto;
}

.split-photo h2 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 22px;
}

.split-photo p {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.22;
}

.columns-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  align-items: stretch;
  color: var(--text);
}

.columns-three article + article {
  border-left: 1px solid currentColor;
  padding-left: 36px;
}

.columns-three h2 {
  margin: 0;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1.05;
}

.columns-three h2 + p {
  margin-top: 0;
}

.columns-three p,
.columns-three li {
  font-size: 20px;
  line-height: 1.15;
}

.columns-three ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.columns-three li + li {
  margin-top: 18px;
}

.columns-three li {
  position: relative;
  padding-left: 18px;
}

.columns-three li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
  line-height: 1.15;
}

.columns-three li strong {
  font-weight: 600;
}

.icon-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 24px;
}

.icon-grid span {
  font-size: 18px;
  line-height: 1.05;
}

.theme-agency {
  --accent: var(--agency);
}

.theme-construction {
  --accent: var(--construction);
}

.agency-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(430px, 39vw, 585px);
  align-items: stretch;
}

.agency-grid img,
.agency-grid article {
  min-height: 0;
  height: 100%;
}

.agency-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.accent-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(28px, 4.2vw, 54px);
  background: var(--accent);
  color: var(--white);
}

.accent-panel h2 {
  margin: 0 0 8px;
  text-transform: uppercase;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.08;
}

.accent-panel p {
  margin: 0 0 18px;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.18;
}

.accent-panel p:last-child {
  margin-bottom: 0;
}

.project-section {
  width: var(--content);
  margin: clamp(34px, 5vw, 70px) auto;
  overflow: hidden;
  background: var(--muted);
}

body[data-page="portfolio"] .project-section {
  width: 100%;
  margin: 0;
}

.logo-gallery {
  padding: clamp(34px, 4.8vw, 58px) 20px;
  border-block: 1px solid rgba(6, 75, 108, .16);
  background: var(--white);
}

.logo-gallery-inner {
  width: var(--content);
  margin-inline: auto;
}

.logo-gallery h2 {
  margin: 0 0 clamp(22px, 3vw, 32px);
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(12px, 1.15vw, 14px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .18em;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(142px, 176px));
  justify-content: center;
  gap: clamp(10px, 1.5vw, 16px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.logo-grid li {
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid rgba(6, 75, 108, .24);
  background: var(--light);
}

.logo-grid img {
  width: 76%;
  height: 66%;
  object-fit: contain;
  /* Desaturati, non ricolorati: ricolorare un marchio altrui va contro le
     linee guida di brand, toglierne il colore no. */
  filter: grayscale(1);
  opacity: .82;
}

@media (max-width: 520px) {
  .logo-gallery {
    padding-inline: 14px;
  }

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

.project-section h2 {
  margin: 0;
  padding: clamp(16px, 2.2vw, 24px) clamp(22px, 4vw, 48px) clamp(18px, 2.4vw, 26px);
  background: var(--blue);
  color: var(--white);
  text-align: center;
  text-transform: uppercase;
  font-family: "Monument Extended BEL", "Helvetica Neue BEL", Arial, sans-serif;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 300;
  line-height: 1;
}

.project-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 40%);
  align-items: stretch;
  min-height: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .55);
}

.project-row.reverse {
  grid-template-columns: minmax(320px, 40%) minmax(0, 1fr);
}

.project-row.reverse article {
  order: 2;
}

.project-row article {
  align-self: center;
  padding: clamp(30px, 4.4vw, 56px);
  color: var(--white);
}

.project-row h3 {
  margin: 0;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1.1;
}

.project-row p {
  margin: 4px 0 0;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.22;
}

.project-row img {
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
}

/* Quadrata e a tutta altezza di riga: l'aspect-ratio detta l'altezza minima
   della riga, lo stretch la fa crescere se la colonna di testo e' piu' alta. */
/* Testo su 2/3, immagine su 1/3. */
body[data-page="portfolio"] .project-row {
  grid-template-columns: 2fr 1fr;
}

body[data-page="portfolio"] .project-row.reverse {
  grid-template-columns: 1fr 2fr;
}

body[data-page="portfolio"] .project-row > img,
body[data-page="portfolio"] .project-row > .photo-slider {
  align-self: stretch;
  height: 100%;
  aspect-ratio: 1;
  /* Oltre i 640px il quadrato chiederebbe piu' risoluzione di quanta ne
     abbiano i file (1920px sul lato lungo) e verrebbe sgranato: il tetto
     all'altezza lo fa tornare rettangolare da solo, senza scalini. */
  max-height: 640px;
}

/* Mosaico fotografico: righe giustificate, foto attaccate, didascalia
   opzionale in hover. Dentro una riga flex-grow e flex-basis sono entrambi
   proporzionali al rapporto d'aspetto: le foto scalano dello stesso fattore e
   l'altezza di riga viene identica per tutte, come nel collage di riferimento.
   Usato dai ritratti dello staff e dalla galleria di Forte dei Marmi. */
.team-section {
  width: min(1240px, var(--content));
  text-align: center;
}

.team-mosaic .mosaic-row {
  --riga: clamp(190px, 25vw, 330px);
}

.team-section h2 {
  margin: 0 0 clamp(24px, 3vw, 36px);
  text-transform: uppercase;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .06em;
}

.mosaic-row {
  display: flex;
  height: var(--riga, clamp(150px, 19vw, 250px));
}

.mosaic-item {
  position: relative;
  /* base zero: le larghezze restano nel rapporto dei tagli e la riga si
     riempie sempre, senza vuoti fra una foto e l'altra */
  flex: var(--ar) 1 0;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--light);
  text-align: left;
}

.ar-wide { --ar: 1.495; }
.ar-square { --ar: 1; }
.ar-tall-8 { --ar: .8; }
.ar-tall { --ar: .751; }
.ar-narrow { --ar: .669; }
.ar-125 { --ar: 1.25; }
.ar-43 { --ar: 1.333; }

.mosaic-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ultima fascia: soggetti alti nell'inquadratura, centrando si perdono le
   teste. Il taglio parte dall'alto. */
.team-mosaic .mosaic-row:last-child img {
  object-position: center top;
}

.mosaic-item figcaption {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 18px 16px;
  /* velo, non coperchio: il ritratto resta leggibile sotto */
  background: rgba(6, 75, 108, .88);
  color: var(--white);
  text-align: center;
  line-height: 1.25;
}

.mosaic-item figcaption strong {
  display: block;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
}

.mosaic-item figcaption span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: .02em;
  opacity: .85;
}

/* Col mouse la didascalia entra scorrendo da destra, con la stessa curva e
   la stessa durata del nastro dei caroselli; su touch resta sempre visibile. */
.mosaic-item figcaption {
  transform: translate3d(100%, 0, 0);
  transition: transform 700ms cubic-bezier(.65, 0, .35, 1);
}

/* al tocco, e per l'anteprima automatica su touch */
.mosaic-item.is-open figcaption {
  transform: translate3d(0, 0, 0);
}

@media (hover: hover) {
  .mosaic-item:hover figcaption,
  .mosaic-item:focus-within figcaption {
    transform: translate3d(0, 0, 0);
  }
}

/* Sotto i 720px le righe da 3-4 sono illeggibili: le foto passano a una
   griglia unica da due colonne, con crop uniforme. */
@media (max-width: 720px) {
  .photo-mosaic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mosaic-row {
    display: contents;
    height: auto;
  }

  .mosaic-item {
    aspect-ratio: 4 / 5;
  }

  /* nella cella stretta il testo del pannello va rimpicciolito */
  .mosaic-item figcaption {
    padding: 14px 10px;
  }

  .mosaic-item figcaption strong {
    font-size: 11px;
  }

  .mosaic-item figcaption span {
    margin-top: 1px;
    font-size: 9px;
    line-height: 1.2;
  }
}

.construction-metrics {
  width: min(920px, var(--content));
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  align-items: start;
  gap: clamp(24px, 3vw, 34px) clamp(42px, 6vw, 78px);
  padding-top: 24px;
}

.section-kicker {
  grid-column: 1 / -1;
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
}

body[data-page="construction"] .metric strong {
  font-family: "Monument Extended BEL", "Helvetica Neue BEL", Arial, sans-serif;
  font-size: clamp(50px, 7vw, 76px);
  font-weight: 300;
  line-height: .9;
}

body[data-page="construction"] .metric p {
  font-weight: 400;
}

.statement-band {
  padding: 20px;
  background: var(--construction);
  color: var(--white);
  text-align: center;
}

.statement-band p {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
}

.method-hero {
  min-height: clamp(320px, 35vw, 470px);
}

body[data-page="construction"] .method-hero h2 {
  font-size: clamp(24px, 3.3vw, 44px);
  line-height: 1.04;
}

.contact-section {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 8vw, 120px);
  align-items: start;
}

.contact-details {
  text-align: left;
  font-style: normal;
}

.contact-details address {
  font-style: normal;
  margin-bottom: 72px;
}

.contact-form {
  display: grid;
  gap: 34px;
}

.contact-form label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  font-size: 26px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--blue);
  border-radius: 0;
  padding: 0 0 8px;
  color: var(--text);
  background: transparent;
  outline: 0;
  resize: vertical;
}

.contact-form textarea {
  min-height: 4.2em;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-width: 2px;
}

.contact-form .privacy-field {
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  line-height: 1.35;
}

.contact-form .privacy-field input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  border: 1px solid var(--blue);
  border-radius: 0;
  accent-color: var(--blue);
  resize: none;
}

.contact-form .privacy-field input[type="checkbox"]:focus {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.text-button {
  justify-self: start;
  border: 1px solid var(--blue);
  border-radius: 0;
  padding: 12px 22px;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
}

.text-button:hover,
.text-button:focus-visible {
  background: var(--blue-dark);
}

.text-button:disabled {
  cursor: wait;
  opacity: .62;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-size: 16px;
}

.site-footer {
  background: var(--blue);
  color: var(--white);
  view-transition-name: bel-footer;
}

.footer-inner {
  width: min(1220px, calc(100vw - 56px));
  margin-inline: auto;
  min-height: 270px;
  padding: 42px 0 48px;
  display: grid;
  grid-template-columns: 1.15fr .8fr .8fr .8fr;
  align-items: end;
  gap: 42px;
}

.footer-logo {
  width: 170px;
  height: auto;
  margin-bottom: 30px;
}

.site-footer p,
.site-footer a {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
}

.site-footer nav {
  display: grid;
  gap: 3px;
}

.footer-legal {
  display: grid;
  justify-items: end;
  gap: 70px;
  text-align: left;
}

@keyframes heroTitleIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    filter: blur(7px);
  }

  60% {
    opacity: 1;
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes heroImageSettle {
  from {
    transform: scale(1.035);
  }

  to {
    transform: scale(1);
  }
}

@keyframes heroVeilIn {
  from {
    background: rgba(0, 0, 0, .16);
  }

  to {
    background: rgba(0, 0, 0, .05);
  }
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 460ms;
  animation-timing-function: cubic-bezier(.22, .61, .36, 1);
  mix-blend-mode: normal;
}

::view-transition-old(root) {
  animation-name: pageOut;
}

::view-transition-new(root) {
  animation-name: pageIn;
}

::view-transition-group(bel-header),
::view-transition-group(bel-footer) {
  animation-duration: 520ms;
  animation-timing-function: cubic-bezier(.22, .61, .36, 1);
}

@keyframes pageOut {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  to {
    opacity: 0;
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 84px;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    padding-inline: 22px;
  }

  .brand img {
    width: 118px;
  }

  .site-clock {
    font-size: 12px;
  }

  .header-actions {
    gap: 16px;
  }

  .brand-dots {
    gap: 6px;
  }

  .columns-three,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .columns-three article + article {
    border-left: 0;
    border-top: 1px solid currentColor;
    padding-left: 0;
    padding-top: 28px;
  }

  .agency-grid,
  .project-row,
  .project-row.reverse,
  .construction-metrics,
  .metrics-section,
  /* la regola per pagina batte in specificita' quella generica qui sopra:
     senza queste due il portfolio restava a due colonne anche da telefono */
  body[data-page="portfolio"] .project-row,
  body[data-page="portfolio"] .project-row.reverse {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .metrics-section {
    width: var(--content);
    grid-template-columns: 1fr;
    gap: 34px;
  }

  body[data-page="home"] .metric {
    width: min(240px, 100%);
    margin-inline: auto;
  }

  body[data-page="construction"] .construction-metrics {
    width: var(--content);
    grid-template-columns: 1fr;
    gap: 34px;
  }

  body[data-page="construction"] .construction-metrics .metric {
    width: min(340px, 100%);
    margin-inline: auto;
  }

  body[data-page="construction"] .construction-metrics .section-kicker {
    max-width: 420px;
    justify-self: center;
  }

  body[data-page="agency"] .intro-section .narrow,
  body[data-page="agency"] .image-pair {
    width: var(--content);
  }

  body[data-page="agency"] .intro-section {
    padding-bottom: clamp(60px, 10vw, 96px);
  }

  .agency-grid {
    grid-auto-rows: auto;
  }

  .agency-grid img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .agency-grid article {
    height: auto;
    min-height: auto;
    overflow: visible;
  }

  body[data-page="agency"] .agency-grid > article:first-of-type {
    order: 1;
  }

  body[data-page="agency"] .agency-grid > img:first-of-type {
    order: 2;
  }

  body[data-page="agency"] .agency-grid > article:last-of-type {
    order: 3;
  }

  body[data-page="agency"] .agency-grid > img:last-of-type {
    order: 4;
  }

  .project-row.reverse article {
    order: 0;
  }

  /* su mobile la riga e' a colonna singola: il quadrato a tutta larghezza
     sarebbe troppo alto, si resta sul 16/9 */
  body[data-page="portfolio"] .project-row > img,
  body[data-page="portfolio"] .project-row > .photo-slider {
    aspect-ratio: 16 / 9;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .footer-legal {
    justify-items: start;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  :root {
    /* stesso rientro laterale del footer, che qui vale 16px per lato */
    --content: min(100vw - 32px, 520px);
    --header-height: 76px;
  }

  .site-header {
    padding-inline: 16px;
  }

  .site-clock {
    position: absolute;
    left: 50vw;
    top: 50%;
    width: min(34vw, 150px);
    max-width: 150px;
    transform: translate(-50%, -50%);
    line-height: 1.15;
    pointer-events: none;
  }

  .brand img {
    width: 96px;
  }

  @media (max-width: 360px) {
    .brand img {
      width: 84px;
    }
  }

  .header-actions .brand-dots {
    display: none;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .hero,
  .hero-home,
  .hero-slim {
    min-height: 310px;
  }

  .hero h1,
  .method-hero h2 {
    padding-inline: 30px;
    font-size: clamp(32px, 10vw, 54px);
    line-height: .95;
  }

  .theme-construction .hero h1,
  .theme-construction .method-hero h2 {
    font-size: clamp(24px, 7.2vw, 38px);
  }

  .image-pair {
    grid-template-columns: 1fr;
  }

  /* stessa proporzione del carosello qui sopra: a colonna singola il 3.15
     lasciava una striscia bassa e tagliava troppo ai lati */
  .image-band img {
    aspect-ratio: 1.68 / 1;
  }

  body[data-page="agency"] .image-pair {
    margin-bottom: clamp(54px, 14vw, 74px);
  }

  .intro-section h2,
  .intro-section .lead,
  .contact-details {
    font-size: clamp(23px, 7vw, 32px);
  }

  .use-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="group"] .icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 14px;
  }

  .site-menu {
    width: 100vw;
  }

  .site-menu nav {
    margin-top: 84px;
  }

  .site-menu nav a {
    font-size: clamp(42px, 14vw, 68px);
  }

  .menu-close {
    top: calc(var(--header-height) + 20px);
    right: 28px;
  }

  .menu-logo {
    width: 170px;
  }

  .contact-form label {
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 22px;
  }

  .contact-details address {
    margin-bottom: 34px;
  }

  .footer-inner {
    width: min(100vw - 32px, 520px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: auto;
    align-items: start;
    gap: 30px 24px;
  }

  .footer-inner > div:first-child,
  .footer-legal {
    display: contents;
  }

  .footer-logo {
    grid-column: 1;
    grid-row: 1;
    width: 140px;
    margin-bottom: 0;
  }

  .footer-inner > div:first-child p {
    grid-column: 1;
    grid-row: 2;
  }

  .footer-inner > div:nth-child(2) {
    grid-column: 2;
    grid-row: 2;
  }

  .site-footer nav {
    grid-column: 1;
    grid-row: 3;
  }

  .footer-legal .brand-dots {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    margin-top: 4px;
  }

  .footer-legal p {
    grid-column: 2;
    grid-row: 3;
  }

  .site-footer p,
  .site-footer a {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .slider-track {
    transform: none !important;
  }

  .hero-home h1,
  .hero-home img,
  .reveal,
  .reveal:not(.is-visible) .image-pair > img,
  .reveal:not(.is-visible) .image-pair > .photo-slider,
  .reveal:not(.is-visible) .metric,
  .reveal:not(.is-visible) .use-grid article {
    opacity: 1;
    transform: none;
    filter: none;
  }

  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-group(bel-header),
  ::view-transition-group(bel-footer) {
    animation: none;
  }
}

/* ============ Articoli (blog) ============ */

/* --- Elenco articoli: riusa .project-section / .project-row --- */
body[data-page="articoli"] .project-section {
  width: 100%;
  margin: 0;
}

/* L'elenco si compone durante lo scroll: testo e immagini entrano dal lato
   naturale della griglia, una riga alla volta. */
.article-feed > h2.reveal {
  transform: translate3d(0, 24px, 0);
}

.article-feed > h2.reveal.is-visible {
  transform: translate3d(0, 0, 0);
}

.article-feed .project-row {
  overflow: hidden;
}

.article-feed .project-row .article-card {
  transition:
    opacity 760ms cubic-bezier(.22, .61, .36, 1) 70ms,
    transform 920ms cubic-bezier(.22, .61, .36, 1) 70ms;
}

.article-feed .project-row .article-card > * {
  transition:
    opacity 680ms cubic-bezier(.22, .61, .36, 1),
    transform 760ms cubic-bezier(.22, .61, .36, 1);
}

.article-feed .project-row .article-cover {
  clip-path: inset(0);
  transition: clip-path 1100ms cubic-bezier(.22, .61, .36, 1) 110ms;
}

.article-feed .project-row .article-cover img {
  transform: scale(1);
  transition: transform 1500ms cubic-bezier(.22, .61, .36, 1) 110ms;
}

.article-feed .project-row.reveal:not(.is-visible) .article-card {
  opacity: 0;
  transform: translate3d(-28px, 0, 0);
}

.article-feed .project-row.reverse.reveal:not(.is-visible) .article-card {
  transform: translate3d(28px, 0, 0);
}

.article-feed .project-row.reveal:not(.is-visible) .article-card > * {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
}

.article-feed .project-row.reveal.is-visible .article-card > :nth-child(1) {
  transition-delay: 150ms;
}

.article-feed .project-row.reveal.is-visible .article-card > :nth-child(2) {
  transition-delay: 220ms;
}

.article-feed .project-row.reveal.is-visible .article-card > :nth-child(3) {
  transition-delay: 290ms;
}

.article-feed .project-row.reveal.is-visible .article-card > :nth-child(4) {
  transition-delay: 360ms;
}

.article-feed .project-row.reveal:not(.is-visible) .article-cover {
  clip-path: inset(0 100% 0 0);
}

.article-feed .project-row.reverse.reveal:not(.is-visible) .article-cover {
  clip-path: inset(0 0 0 100%);
}

.article-feed .project-row.reveal:not(.is-visible) .article-cover img {
  transform: scale(1.055);
}

@media (hover: hover) and (pointer: fine) {
  .article-feed .article-cover:hover img {
    transform: scale(1.018);
  }
}

.article-kicker {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 500;
  opacity: .9;
}

.article-card h3 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.08;
}

.article-card h3 a {
  color: inherit;
}

.article-card p {
  margin: 12px 0 0;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.32;
}

.article-more {
  display: inline-block;
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 13px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

a.article-cover {
  display: block;
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

/* --- Pagina singolo articolo --- */
.article-hero {
  position: relative;
  min-height: clamp(320px, 44vw, 520px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--blue);
}

.article-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 30, 44, .8) 0%, rgba(4, 30, 44, .34) 46%, rgba(4, 30, 44, .06) 100%);
}

.article-hero-inner {
  position: relative;
  z-index: 1;
  width: var(--content);
  margin-inline: auto;
  padding-block: clamp(30px, 5vw, 62px);
  color: var(--white);
}

.article-hero-inner .article-kicker {
  opacity: 1;
}

.article-hero-inner h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(30px, 4.4vw, 58px);
  font-weight: 300;
  line-height: 1.05;
}

.article-body {
  /* il rientro laterale lo detta --content, lo stesso del resto del sito */
  width: min(720px, var(--content));
  margin: clamp(40px, 6vw, 74px) auto clamp(56px, 8vw, 96px);
}

.article-lead {
  margin: 0 0 30px;
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 400;
  line-height: 1.34;
}

.article-body > p {
  margin: 0 0 22px;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.62;
}

.article-body h2 {
  margin: clamp(38px, 5vw, 56px) 0 14px;
  text-transform: uppercase;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  line-height: 1.12;
}

.article-figure {
  margin: clamp(32px, 5vw, 52px) 0;
}

.article-figure.wide {
  width: var(--content);
  margin-left: 50%;
  transform: translateX(-50%);
}

.article-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-figure figcaption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: #5f7078;
}

.article-quote {
  margin: clamp(34px, 5vw, 50px) 0;
  padding-left: 26px;
  border-left: 3px solid var(--blue);
}

.article-quote p {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 300;
  line-height: 1.26;
}

.article-footer {
  margin-top: clamp(44px, 6vw, 68px);
  padding-top: 24px;
  border-top: 1px solid var(--muted);
}

.article-back {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 14px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.article-related {
  width: min(1100px, var(--content));
  margin: 0 auto clamp(56px, 8vw, 100px);
}

.article-related h2 {
  margin: 0 0 26px;
  text-transform: uppercase;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
}

.article-related-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-related-grid .article-kicker {
  margin: 14px 0 0;
  color: var(--blue);
}

.article-related-grid h3 {
  margin: 6px 0 0;
  text-transform: uppercase;
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 400;
  line-height: 1.14;
}

@media (max-width: 900px) {
  a.article-cover {
    height: auto;
  }
}

@media (max-width: 640px) {
  .article-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-feed .project-row.reveal:not(.is-visible) .article-card,
  .article-feed .project-row.reverse.reveal:not(.is-visible) .article-card,
  .article-feed .project-row.reveal:not(.is-visible) .article-card > *,
  .article-feed .project-row.reveal:not(.is-visible) .article-cover,
  .article-feed .project-row.reverse.reveal:not(.is-visible) .article-cover,
  .article-feed .project-row.reveal:not(.is-visible) .article-cover img {
    opacity: 1;
    transform: none;
    clip-path: inset(0);
  }
}

.legal-hero {
  width: var(--content);
  margin-inline: auto;
  padding-block: clamp(46px, 7vw, 86px) 0;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 58px);
  font-weight: 300;
  line-height: 1.05;
}

.legal-page .article-body ul {
  margin: 0 0 22px;
  padding-left: 20px;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.62;
}

.legal-page .article-body li {
  margin-bottom: 8px;
}

.legal-page .article-body strong {
  font-weight: 500;
}

.legal-page .article-body a {
  border-bottom: 1px solid currentColor;
}
