/* ==========================================================================
   Portfolio — hero fullscreen + layout editoriale
   ========================================================================== */

:root {
  --white: #ffffff;
  --black: #0e1118;
  --bg: #fafbfc;
  --surface: #ffffff;
  --surface-alt: #f3f5f8;
  --text: #141820;
  --text-muted: #5c6578;
  --line: #e4e8ef;
  --gray-100: #eef0f3;
  --gray-200: #d8dde5;
  --gray-300: #c4cad4;
  --footer-bg: #e2e6ed;
  --font:
    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --container: min(1140px, 92vw);
  --header-h: 72px;
  --section-pad: clamp(5rem, 10vw, 7rem);
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
  --bp-desktop: 1024px;
  --bp-tablet: 768px;
  --bp-phone: 480px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--text);
  text-underline-offset: 3px;
  transition: color 0.2s;
}

a:hover {
  color: var(--text-muted);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s,
    background 0.2s;
}

.btn--primary {
  background: var(--text);
  color: var(--white);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(20, 24, 32, 0.2);
  background: var(--black);
  color: var(--white);
}

.btn--outline {
  background: var(--white);
  color: var(--text);
  border-color: var(--line);
}

.btn--outline:hover {
  border-color: var(--text);
  color: var(--text);
  background: var(--gray-100);
}

.btn--light {
  background: var(--white);
  color: var(--text);
}

.btn--light:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: var(--text);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition:
    background 0.3s,
    backdrop-filter 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}

.site-header:not(.is-over-hero) {
  background: rgb(238, 240, 243);
  backdrop-filter: blur(12px);
}

.site-header:not(.is-over-hero) .site-header__brand,
.site-header:not(.is-over-hero) .site-nav a {
  color: #000000;
}

.site-header:not(.is-over-hero) .site-header__tagline {
  color: rgba(0, 0, 0, 0.7);
}

.site-header:not(.is-over-hero) .site-header__toggle span {
  background: #000000;
}

.site-header.is-scrolled:not(.is-over-hero) {
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(20, 24, 32, 0.06);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__brand {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

.site-header.is-over-hero .site-header__brand,
.site-header.is-over-hero .site-nav a {
  color: var(--white);
}

.site-header.is-over-hero .site-header__tagline {
  color: rgba(255, 255, 255, 0.75);
}

.site-header.is-over-hero .site-header__toggle span {
  background: var(--white);
}

.site-header__name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-header__tagline {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  transition: color 0.3s;
}

.site-nav__list {
  display: flex;
  list-style: none;
  gap: 2.25rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition:
    color 0.2s,
    opacity 0.2s;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

.site-header.is-over-hero .site-nav a:hover,
.site-header.is-over-hero .site-nav a.is-active {
  color: var(--white);
  opacity: 1;
}

.site-header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.site-header__toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition:
    transform 0.25s,
    opacity 0.25s,
    background 0.3s;
}

.site-header__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header__toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.site-header__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero fullscreen */
.hero--fullscreen {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: calc(var(--header-h) + 2rem) 5rem;
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/profile-1.jpeg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(15, 22, 38, 0.38) 0%,
      rgba(15, 22, 38, 0.12) 22%,
      transparent 42%
    ),
    radial-gradient(
      ellipse 95% 85% at 50% 40%,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(15, 22, 38, 0.28) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(15, 22, 38, 0.18) 45%,
      rgba(15, 22, 38, 0.42) 100%
    );
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
  margin-inline: auto;
  color: var(--white);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
}

.hero__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero__text {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 2.75rem;
}

.hero__metrics {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  width: 100%;
  max-width: 560px;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__metrics li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.hero__metrics-value {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
}

.hero__metrics-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  z-index: 2;
  animation: hero-scroll 2s ease infinite;
  transition: background 0.2s;
}

.hero__scroll:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

@keyframes hero-scroll {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* Sections */
.section {
  padding-block: var(--section-pad);
  background: var(--surface);
}

.section--alt {
  background: var(--surface-alt);
}

.section-head {
  margin-bottom: 3.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.section-head__title {
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.section-head__lead {
  max-width: 36rem;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* About */
.about-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
  margin-inline: auto;
  text-align: center;
}

.about-layout__text {
  max-width: 640px;
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

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

.about-marquee {
  width: 100vw;
  overflow: hidden;
  position: relative;
  background: transparent;
  padding: 0;
}

.about-marquee__track {
  display: flex;
  gap: 0.9rem;
  width: max-content;
  padding: 1rem 0;
  animation: marquee 42s linear infinite;
  transform: translateX(0);
}

.about-marquee__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(20, 24, 32, 0.09);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 3px rgba(20, 24, 32, 0.06);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
  cursor: default;
}

.about-marquee__item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(20, 24, 32, 0.1);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Entry list — Projects, Teaching, Awards */
.entry-list {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  width: 100%;
}

.entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(20, 24, 32, 0.05);
  transition:
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.section--alt .entry {
  background: var(--surface);
}

.entry:hover {
  box-shadow: 0 12px 32px rgba(20, 24, 32, 0.1);
}

.entry--reverse .entry__media {
  order: 2;
}
.entry--reverse .entry__body {
  order: 1;
}

.entry__media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #e8ebf0;
}

.entry__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.entry:hover .entry__media img {
  transform: scale(1.04);
}

.entry__media--video {
  min-height: 280px;
}

.entry__media--video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.entry__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  gap: 0.25rem;
}

.entry__title {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  color: var(--text);
  width: 100%;
}

.entry__content {
  width: 100%;
}

.entry__content p {
  color: var(--text-muted);
  font-size: clamp(0.92rem, 1.8vw, 0.98rem);
  margin-bottom: 0.7rem;
  line-height: 1.65;
}

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

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
  justify-content: flex-start;
  width: 100%;
}

.tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  border-radius: 3px;
  background: var(--gray-100);
  color: var(--text-muted);
  border: 1px solid var(--line);
  letter-spacing: 0.02em;
}

/* Contact + Footer — area bassa chiara */
.section--contact {
  background: var(--surface-alt);
  color: var(--text);
  border-top: 1px solid var(--line);
}

.section--contact .section-head {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  max-width: 640px;
  margin-inline: auto;
  padding-top: 0.5rem;
}

.contact-layout__text {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.contact-layout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* Footer */
.site-footer {
  position: relative;
  background: var(--footer-bg);
  color: var(--text-muted);
  padding: 3rem 0 1.75rem;
  border-top: 2px solid var(--gray-200);
  box-shadow: 0 -12px 32px rgba(20, 24, 32, 0.06);
}

.site-footer::before {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(120px, 20vw);
  height: 3px;
  background: var(--text);
  border-radius: 0 0 3px 3px;
  opacity: 0.15;
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-200);
}

.site-footer__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.site-footer__tagline {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.site-footer__social {
  display: flex;
  gap: 0.6rem;
}

.site-footer__social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(20, 24, 32, 0.06);
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.site-footer__social a:hover {
  border-color: var(--text);
  background: var(--white);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(20, 24, 32, 0.1);
  transform: translateY(-2px);
}

.site-footer__copy {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-top: 0;
  border-top: none;
  opacity: 0.85;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(20, 24, 32, 0.22);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s,
    background 0.2s;
  z-index: 900;
  box-shadow: 0 2px 12px rgba(20, 24, 32, 0.08);
}

.back-to-top:hover {
  background: rgba(20, 24, 32, 0.06);
  color: var(--text);
  border-color: rgba(20, 24, 32, 0.35);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  animation: back-to-top-hint 2s ease infinite;
}

@keyframes back-to-top-hint {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* ==========================================================================
   Responsive — Desktop · Tablet · Smartphone
   ========================================================================== */

/* Tablet landscape / piccoli laptop (≤1024px) */
@media (max-width: 1024px) {
  :root {
    --container: min(960px, 92vw);
    --section-pad: clamp(4rem, 8vw, 5.5rem);
  }

  .site-nav__list {
    gap: 1.35rem;
  }

  .site-nav a {
    font-size: 0.84rem;
  }

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

  .entry--reverse .entry__media,
  .entry--reverse .entry__body {
    order: unset;
  }

  .entry__media {
    min-height: 260px;
  }

  .entry__media img,
  .entry__media--video {
    min-height: 260px;
  }

  .entry__body {
    align-items: center;
    text-align: center;
  }

  .tags {
    justify-content: center;
  }
}

/* Desktop large (≥1025px) — layout orizzontale alternato */
@media (min-width: 1025px) {
  .entry-list {
    gap: 2.25rem;
  }

  .entry__media {
    min-height: 300px;
  }

  .entry__media img,
  .entry__media--video {
    min-height: 300px;
  }
}

/* Tablet portrait (≤768px) — menu mobile */
@media (max-width: 768px) {
  :root {
    --container: min(720px, 90vw);
    --header-h: 68px;
  }

  .site-header__toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    box-shadow: 0 12px 32px rgba(20, 24, 32, 0.12);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.3s var(--ease),
      opacity 0.3s,
      visibility 0.3s;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .site-header.is-over-hero .site-nav {
    background: var(--white);
  }

  .site-header.is-over-hero .site-nav a {
    color: var(--text-muted);
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0.35rem;
    align-items: stretch;
  }

  .site-nav a {
    display: block;
    padding: 0.65rem 0.5rem;
    font-size: 0.95rem;
    text-align: center;
  }

  .section-head {
    margin-bottom: 2.5rem;
  }

  .entry-list {
    gap: 1.25rem;
  }

  .entry__media {
    min-height: 220px;
  }

  .entry__media img,
  .entry__media--video {
    min-height: 220px;
  }

  .entry__body {
    padding: 1.5rem 1.25rem;
  }

  /* Hero: immagine a tutta larghezza (3:2), altezza non forzata a 100vh */
  .hero--fullscreen {
    min-height: auto;
    min-height: unset;
    display: block;
    padding: 0 0 2rem;
  }

  .hero__bg {
    position: relative;
    inset: unset;
    width: 100%;
    aspect-ratio: 3 / 2;
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .hero__overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    background: linear-gradient(
      to bottom,
      rgba(15, 22, 38, 0.35) 0%,
      rgba(15, 22, 38, 0.08) 35%,
      rgba(15, 22, 38, 0.45) 100%
    );
  }

  .hero__inner {
    position: relative;
    padding: 2rem 0 0;
  }

  .hero__content {
    color: var(--text);
    text-shadow: none;
  }

  .hero__label {
    color: var(--text-muted);
  }

  .hero__text {
    color: var(--text-muted);
  }

  .hero__metrics {
    border-top-color: var(--line);
  }

  .hero__metrics-value {
    color: var(--text);
  }

  .hero__metrics-label {
    color: var(--text-muted);
  }

  .hero__actions .btn--outline-light {
    color: var(--text);
    border-color: var(--line);
  }

  .hero__actions .btn--outline-light:hover {
    background: var(--gray-100);
    border-color: var(--text);
    color: var(--text);
  }

  .hero__scroll {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin: 1.25rem auto 0;
    border-color: var(--line);
    color: var(--text);
    animation: hero-scroll-mobile 2s ease infinite;
  }

  .hero__scroll:hover {
    background: var(--gray-100);
    color: var(--text);
  }

  .hero__metrics {
    gap: 1.25rem 1.75rem;
  }
}

@keyframes hero-scroll-mobile {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* Smartphone (≤480px) */
@media (max-width: 480px) {
  :root {
    --container: 92vw;
    --section-pad: 3.5rem 0;
  }

  .site-header__name {
    font-size: 0.95rem;
  }

  .site-header__tagline {
    font-size: 0.58rem;
  }

  .section-head__title {
    font-size: 1.85rem;
  }

  .section-head__lead {
    font-size: 0.98rem;
  }

  .entry {
    border-radius: 8px;
  }

  .entry__media {
    min-height: 200px;
  }

  .entry__media img,
  .entry__media--video {
    min-height: 200px;
  }

  .entry__body {
    padding: 1.25rem 1rem;
  }

  .tag {
    font-size: 0.65rem;
  }

  .hero__title {
    font-size: 2.1rem;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__actions .btn--light {
    background: var(--gray-100);
  }

  .hero__metrics {
    flex-direction: row;
    gap: 0.5rem;
    padding-top: 1.5rem;
    max-width: 380px;
    margin-inline: auto;
  }

  .hero__metrics li {
    flex: 1;
    aspect-ratio: 1;
    border: 2px solid rgba(238, 240, 243, 0.9);
    border-radius: 6px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .contact-layout__actions {
    flex-direction: column;
    width: 100%;
  }

  .contact-layout__actions .btn {
    width: 100%;
  }

  .site-footer__top {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .site-footer__social {
    justify-content: center;
  }
}
