html {
  scroll-behavior: auto !important;
}
:root {
  --line-width: 1px;
  --line-base-color: rgba(45, 45, 45, 0.549);
  --line-highlight-color: rgb(112, 112, 112);
  --line-shadow-color: hsla(0, 0%, 80%, 0.6);
  --line-pulse-color: hsla(0, 0%, 100%, 0.8);
}

/* ===== RESET E BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
a {
  font-family: "Figtree", Arial, Helvetica, sans-serif;
  margin: 0px;
  line-height: 100%;
}

b,
strong {
  font-weight: 900;
}

ul,
li,
ol {
  list-style: none;
  margin: 0px;
  margin-bottom: 0px;
  padding: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
.line-text {
  z-index: 2;
}

body {
  background: transparent;
  overflow-x: hidden;
}

main {
  overflow: hidden;
}

/* ===== UTILITY CLASSES ===== */
.btn-primary,
.btn-secondary {
  padding: 14px 35px;
  border: 1px solid white;
  color: white;
  text-decoration: none;
  font-family: "Figtree", Arial, Helvetica, sans-serif;
  font-size: 21px;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --fill-size: 0px;
  letter-spacing: 1px;
  font-weight: 500;
}

.btn-primary::before,
.btn-secondary::before {
  content: "";
  position: absolute;
  top: var(--mouse-y);
  left: var(--mouse-x);
  width: var(--fill-size);
  height: var(--fill-size);
  border-radius: 50%;
  background: white;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}

.disabled {
  pointer-events: none;
  opacity: 0.2 !important;
}

[data-copy] {
  cursor: pointer;
}

.copy-feedback {
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 8px;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--line-pulse-color);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.is-copied .copy-feedback {
  opacity: 1;
  transform: translateY(0);
}

.no-scroll {
  overflow: hidden;
}

.swiper {
  margin: 0px !important;
}

.reveal {
  overflow: hidden;
  display: inline-block;
  padding-right: 20px;
}

.reveal.is-block {
  display: block;
  padding: 0.12em;
  margin: -0.12em;
}

.reveal__inner {
  display: block;
  will-change: transform, opacity;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--line-base-color) 5%,
    var(--line-base-color) 95%,
    transparent 100%
  );
}

::-webkit-scrollbar-thumb {
  background: white;
  filter: drop-shadow(0 0 6px var(--line-shadow-color))
    drop-shadow(0 0 12px rgba(100, 200, 255, 0.3));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ffffff5b;
}

/* ===== BACKGROUND GRADIENT ===== */
#bg-gradient {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

@supports (height: 100lvh) {
  #bg-gradient {
    height: 100lvh;
  }
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

/* ===== HEADER ===== */
header.line-container {
  height: 80px;
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

header .menu-toggle {
  position: absolute;
  text-align: 0px;
  top: 50%;
  right: -21px;
  transform: translateY(-50%);
}

header .menu.line-container nav::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 130vw;
  height: 100%;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: -1;
  left: -30vw;
}

header .line-container.menu {
  max-width: 100%;
  position: relative;
  height: 100%;
  width: 140%;
  margin: 0px;
  z-index: -1;
}

header .line-container.menu nav {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  left: 0px;
  top: 0px;
  transform: translate(0px, 0px);
}

header .menu {
  max-width: 1320px;
  margin: 0 auto;
  height: 100%;
}

header .logo {
  position: absolute;
  left: -35%;
  z-index: 2000;
  top: 50%;
  transform: translateY(-50%);
}

header .logo a {
  font-family: "Figtree", Arial, Helvetica, sans-serif;
  font-size: 35px;
  letter-spacing: -3px;
  font-weight: 700;
  text-decoration: none;
  color: white;
}

header ul {
  display: flex;
  gap: 20px;
  justify-content: start;
  align-items: center;
  height: 100%;
}

header ul li a {
  font-family: "Figtree", Arial, Helvetica, sans-serif;
  font-size: 21px;
  font-weight: 200;
  text-decoration: none;
  color: white;
}

header .mail {
  font-size: 70px;
  font-weight: 600;
  letter-spacing: -3.5px;
  color: white;
  text-decoration: none;
  line-height: 100%;
}

/* ===== MOBILE MENU ===== */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu.is-open {
  pointer-events: auto;
}

.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu__panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100dvh;
  transform: translateX(100%);
  will-change: transform;
}

.mobile-menu__content {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  padding-top: calc(24px + env(safe-area-inset-top));
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.mobile-menu__top {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 80px;
}

.mobile-menu .logo {
  left: -35%;
}

.menu-close {
  grid-column: 3;
  justify-self: end;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
}

.mobile-menu__nav {
  margin-top: 48px;
}

.mobile-menu__nav ul {
  display: grid;
  gap: 18px;
  transform: translateX(-21px);
}

.mobile-menu__meta {
  display: grid;
  gap: 14px;
  left: -22.5%;
  position: absolute;

  top: 85svh;
}

.mobile-menu__meta .social {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.menu-toggle svg {
  width: 40px;
  height: auto;
  transform: translateX(-7px);
}

.menu-close svg {
  width: 40px;
  height: auto;
  transform: translateX(14px) translateY(0px);
}

/* ===== TYPOGRAPHY ===== */
#pageTitle,
.menu h2 {
  color: #f0f0f0;
  font-family: Figtree;
  font-size: 13vw;
  font-weight: 600;
  letter-spacing: -13px;
}

h3,
h1 {
  color: #fff;
  font-family: Figtree;
  font-size: 21px;
  font-weight: 300;
  line-height: 140%;
}

.menu h2 {
  transform: translateX(21px);
}

/* ===== LINE CONTAINER BASE ===== */
.line-container {
  height: 250vh;
  max-width: 70vw;
  width: 100%;
  margin: 0 auto 0 25%;
  position: relative;
}

.line-container::before,
.line-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: var(--line-width);
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--line-base-color) 5%,
    var(--line-base-color) 95%,
    transparent 100%
  );
  box-shadow: 0 0 4px var(--line-base-color),
    inset 0 0 2px rgba(255, 255, 255, 0.1);
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 1;
}

.line-container::before {
  left: 0;
}

.line-container::after {
  right: 0;
}

/* ===== LINE CONTAINER VARIANTS ===== */
.line-container.text {
  position: absolute;
  top: 60vh;
  height: fit-content;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.line-container.text::before,
.line-container.text::after {
  content: "";
  position: absolute;
  width: 200vw;
  height: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--line-base-color) 5%,
    var(--line-base-color) 95%,
    transparent 100%
  );
  box-shadow: 0 0 4px var(--line-base-color),
    inset 0 0 2px rgba(255, 255, 255, 0.1);
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 1;
  left: -50%;
}

.line-container.text::before {
  top: 0;
}

.line-container.text::after {
  top: 100%;
}

.line-container.text h1 {
  transform: translateX(-89px);
}

.line-container.text h3 {
  transform: translateX(21px) translateY(-45px);
}

.line-container.menu {
  position: absolute;
  top: auto;
  bottom: 0;
  height: fit-content;
  display: flex;
  justify-content: end;
  align-items: center;
  z-index: 1000;
}
.line-container.menu.project-menu::after {
  top: calc(100% - 1px);
}
.line-container.menu nav {
  position: absolute;
  left: -25%;
  top: 50%;
  transform: translate(0%, -50%);
}

.line-container.menu nav li a {
  font-size: 21px;
  font-weight: 300;
  color: white;
  text-decoration: none;
  opacity: 0.7;
  transition: all 0.2s ease;
}
.line-container.menu nav li a:hover {
  opacity: 1;
}

header .line-container.menu nav li a {
  opacity: 1;
}
.home .line-container.menu nav ul {
  gap: 14px;
  display: flex;
  flex-direction: column;
}

.line-container.header::before,
.line-container.header::after {
  content: "";
  position: absolute;
  width: 200vw;
  height: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--line-base-color) 5%,
    var(--line-base-color) 95%,
    transparent 100%
  );
  box-shadow: 0 0 4px var(--line-base-color),
    inset 0 0 2px rgba(255, 255, 255, 0.1);
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 10;
  left: -50%;
}

.line-container.header::before {
  top: 0;
}

.line-container.header::after {
  top: 80px;
}

/* ===== CONTENT PARAGRAPHS ===== */
.content-paragraph {
  z-index: 100;
}

.content-paragraph:nth-of-type(1) {
  position: absolute;
  top: calc(80px + 21px);
  width: 35%;
  left: -21px;
}

.content-paragraph:nth-of-type(2) {
  position: absolute;
  top: 100vh;
  width: 70%;
  right: -21px;
}

.content-paragraph:nth-of-type(2) h3 {
  font-size: 85px;
  text-align: end;
  font-weight: 300;
  line-height: 100%;
}

.content-paragraph:nth-of-type(3) {
  position: absolute;
  top: 180vh;
  width: 35%;
  left: -21px;
}

/* ===== HOME INTRO: le linee si disegnano ===== */
/* default 1 = nessun effetto. il transform-origin decide la direzione di entrata */
/* ===== LINE EFFECTS ===== */
.line-pulse-auto {
  position: absolute;
  width: var(--line-width);
  height: 60px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--line-pulse-color) 30%,
    var(--line-pulse-color) 70%,
    transparent 100%
  );
  filter: drop-shadow(0 0 6px var(--line-shadow-color))
    drop-shadow(0 0 12px rgba(100, 200, 255, 0.3));
  pointer-events: none;
  z-index: 3;
  border-radius: 1px;
  opacity: 0;
}

.line-pulse-auto.left {
  left: 0;
}

.line-pulse-auto.right {
  right: 0;
}

.line-pulse-auto.horizontal.right,
.line-pulse-auto.horizontal.left {
  height: 2px;
  top: -1px;
  filter: drop-shadow(0 0 6px var(--line-shadow-color))
    drop-shadow(0 0 12px rgba(100, 200, 255, 0.3));
  pointer-events: none;
  z-index: 3;
  border-radius: 1px;
  opacity: 0;
  position: absolute;
  background: none !important;
  --mix: 0;
  --latch-solid: 14%;
  --latch-fade: 42%;
  --grad-start: 100%;
  --grad-end: 100%;
}

.line-pulse-auto.horizontal.right::before,
.line-pulse-auto.horizontal.right::after,
.line-pulse-auto.horizontal.left::before,
.line-pulse-auto.horizontal.left::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  transition: opacity 0.18s linear;
}

.line-pulse-auto.horizontal.right::before {
  background: linear-gradient(
    to right,
    var(--line-pulse-color) 0%,
    var(--line-pulse-color) var(--latch-solid),
    transparent var(--latch-fade),
    transparent 100%
  );
  opacity: calc(1 - var(--mix));
}

.line-pulse-auto.horizontal.right::after {
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--line-pulse-color) var(--grad-start, 100%),
    var(--line-pulse-color) var(--grad-end, 100%),
    transparent 100%
  );
  opacity: var(--mix);
}

.line-pulse-auto.horizontal.left::before {
  background: linear-gradient(
    to left,
    var(--line-pulse-color) 0%,
    var(--line-pulse-color) var(--latch-solid),
    transparent var(--latch-fade),
    transparent 100%
  );
  opacity: calc(1 - var(--mix));
}

.line-pulse-auto.horizontal.left::after {
  background: linear-gradient(
    to left,
    transparent 0%,
    var(--line-pulse-color) var(--grad-start, 100%),
    var(--line-pulse-color) var(--grad-end, 100%),
    transparent 100%
  );
  opacity: var(--mix);
}

.line-pulse-auto.horizontal.growing {
  --mix: 0;
}

.line-pulse-auto.horizontal.spark {
  filter: drop-shadow(0 0 6px var(--line-shadow-color))
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.28));
}

/* ===== LINE TEXT ===== */
.line-text {
  position: absolute;
  font-family: "Arial", sans-serif;
  font-size: 14px;
  font-weight: 400;
  pointer-events: none;
  z-index: 2;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.line-text.left {
  left: 0px;
  transform: translateX(-50%);
}

.line-text.right {
  right: -5px;
  transform: translateX(50%);
}

.line-text .letter {
  display: block;
  opacity: 1;
  color: var(--line-base-color);
  transition: all 0.2s ease;
  margin: 2px 0;
  text-align: center;
  width: 100%;
  line-height: 1.2;
}

.line-text .letter.illuminated {
  color: var(--line-pulse-color);
  transform: scale(1);
}

.text-horizontal .line-text {
  flex-direction: row;
  top: -10px;
  gap: 5px;
}
.text-horizontal .line-text.top {
  top: -10px;
}
.text-horizontal .line-text.bottom {
  bottom: 0px;
  top: auto;
  transform: translateY(60%) !important;
}

.text-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

#someWorksTitle {
  margin: 14px 0px 14px 0px;
}

.text-icon svg {
  width: 105px;
  height: auto;
}

/* ===== PULSE MERGE BURST ===== */
.pulse-merge-burst {
  position: absolute;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 4;
}

.pulse-merge-burst::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    color-mix(
        in oklab,
        var(--burst-color-a, rgb(255, 255, 255)) 50%,
        var(--burst-color-b, rgb(255, 255, 255)) 50%
      )
      0%,
    rgba(255, 255, 255, 0.9) 12%,
    color-mix(
        in oklab,
        var(--burst-color-a, rgb(255, 255, 255)) 50%,
        var(--burst-color-b, rgb(255, 255, 255)) 50%
      )
      35%,
    transparent 70%
  );
  filter: blur(5px)
    drop-shadow(
      0 0 6px
        color-mix(
          in oklab,
          var(--burst-color-a, rgb(255, 255, 255)) 50%,
          var(--burst-color-b, rgb(255, 255, 255)) 50%
        )
    )
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.35));
}

.pulse-merge-burst::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid
    color-mix(
      in oklab,
      var(--burst-color-a, rgb(255, 255, 255)) 50%,
      var(--burst-color-b, rgb(255, 255, 255)) 50%
    );
  opacity: 0.85;
  filter: blur(5px);
}

/* ===== INTERSECTION DOT ===== */
.intersection-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: red;
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

/* ===== CATEGORIES ===== */
.categories .category-tag {
  border-radius: 50px;
  background-color: #fff;
  padding: 7px 35px;
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 100%;
}

/* ===== PROJECT STYLES ===== */
.project .line-container {
  padding-top: 140px;
  padding-bottom: 140px;
  height: auto;
}

.project .line-container::before,
.project .line-container::after {
  z-index: -1;
}

.project .project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project .project-header .categories {
  transform: translateX(28px);
  display: flex;
  gap: 21px;
  z-index: 2;
  flex-wrap: wrap;
}

.project h1 {
  font-size: 6vw;
  transform: translateX(-28px);
  letter-spacing: -7px;
}

.project p {
  font-size: 21px;
  color: white;
  font-weight: 300;
  line-height: 160%;
  letter-spacing: 1px;
}

.project .main-text {
  transform: translateX(-19px);
  max-width: 60%;
  margin-bottom: 70px;
  margin-top: 14px;
}

.project img {
  position: relative;
  height: auto;
  object-fit: cover;
  z-index: 2;
}

.project .main-image {
  transform: translateX(calc(-46% + 28px));
  max-width: 50%;
}

.project .secondary-image {
  max-width: 40%;
  aspect-ratio: 1 / 1;
  margin-left: 100%;
  transform: translateX(calc(-100% + 28px));
}

.project .gallery-text {
  display: flex;
  justify-content: space-between;
  margin-top: 105px;
  position: relative;
}

.project .project-gallery {
  position: relative;
  width: 47.5%;
  height: 650px;
  overflow: hidden;
  transform: translateX(-28px);
}

.project .project-gallery .swiper-slide {
  width: 100%;
  height: 100%;
}

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

.project .swiper-button-prev,
.project .swiper-button-next {
  color: white;
  width: 50px;
  height: 50px;
}

.project .swiper-button-prev:after,
.project .swiper-button-next:after {
  font-size: 24px;
}

.project .project-content {
  transform: translateY(-21%);
}

.project-content .text-btn {
  width: calc(40% - 17px);
  display: flex;
  flex-direction: column;
  gap: 35px;
}
.project-links {
  display: flex;
  gap: 21px;
}
/* ===== PROJECT DETAIL ===== */
.project-detail .line-container.menu {
  justify-content: end;
  align-items: center;
  height: auto;
  padding: 70px 0px;
}

.project-detail .line-container.menu nav ul h3 {
  margin-bottom: 0px;
  opacity: 0.7;
  transition: all 0.3s ease;
}
.project-detail .line-container.menu nav ul h3:hover {
  opacity: 1;
}
.project-detail .line-container.menu .text-icon {
  position: absolute;
  left: -25%;
  top: 50%;
  transform: translate(0%, -50%);
}

.project-detail .line-container.text::after {
  top: calc(100% - 1px);
}

.project-detail .line-container.text h3 {
  transform: translate(0, 0);
}

.project-detail .line-container.menu nav {
  position: relative;
  top: initial;
  left: initial;
  transform: translate(28px, 0);
  display: flex;
  width: auto;
  align-items: end;
  justify-content: end;
}

.project-detail .text-icon a {
  text-decoration: none;
}

.project-detail .line-container.menu h2 {
  font-size: 140px;
  transform: translateX(0);
  letter-spacing: -7px;
}

.project-detail .line-container.menu svg {
  transform: translateX(50%) scaleX(-1);
}

/* ===== FOOTER ===== */
footer .line-container {
  padding-top: 300px;
  height: auto;
  padding-bottom: 21px;
}

footer .footer-header .mail,
footer a {
  font-size: 70px;
  font-weight: 600;
  letter-spacing: -3.5px;
  color: white;
  text-decoration: none;
  line-height: 100%;
}

footer .mail {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  text-decoration: none;
}

footer .mail::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 0;
  height: 4px;
  background: currentColor;
  transition: width 0.4s ease;
}

footer .mail:hover::after {
  width: 100%;
}

footer .footer-header {
  height: 70px;
}

footer .policy a,
footer .copyright {
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 300;
  color: #9f9f9f;
  margin: 0;
  line-height: 100%;
}
footer .copyright {
  line-height: 140%;
}
footer .copyright br {
  display: none;
}

footer .social a {
  font-size: 21px;
  letter-spacing: 1px;
  opacity: 0.7;
  transition: all 0.3s ease;
}
footer .social a:hover {
  opacity: 1;
}
footer .footer-header .mail,
footer .copyright {
  position: absolute;
  left: -25%;
  top: 50%;
  transform: translate(0%, -50%);
}

footer .footer-legal {
  margin-top: 70px;
}

footer .footer-header,
footer .footer-legal {
  display: flex;
  align-items: center;
  justify-content: end;
  position: relative;
  z-index: 2;
}

footer .footer-header .social,
footer .policy {
  transform: translateX(28px);
}

footer .footer-header .social ul,
footer .policy ul {
  display: flex;
  gap: 35px;
}

footer .social path {
  fill: white;
}

/* ===== MOBILE RESPONSIVE ===== */

@media screen and (max-width: 1200px) {
  .home .line-container.menu nav li:nth-of-type(odd) {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .home .line-container.menu nav li {
    margin-top: 7px;
  }
  /* Header Mobile */
  .desktop-nav ul {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  header .logo {
    left: -25%;
  }

  header .mail {
    font-size: 24.5px;
    letter-spacing: 0;
  }

  /* Typography Mobile */
  #pageTitle,
  .menu h2 {
    font-size: 70px;
    letter-spacing: -5.5px;
  }
  .line-text.left {
    left: -3px;
  }
  .line-text.right {
    right: -4px;
  }
  h3,
  h1 {
    font-size: 14px;
  }

  .menu h2 {
    font-size: 21px;
    letter-spacing: 0;
    transform: translateX(-7px);
    margin-bottom: 0;
    margin-left: 14px;
  }

  /* Line Container Mobile */
  .line-container.text h3,
  #pageTitle {
    transform: translateX(-21px) translateY(0);
  }

  #pageTitle {
    transform: translateX(-24.5px) translateY(0);
  }
  .text-horizontal .line-text.top {
    top: -5px;
  }
  .home .line-container.text::after {
    top: 100%;
  }
  .home .line-container.menu.text::after {
    top: calc(100% - 1px);
  }
  .home .line-container.text {
    flex-direction: column;
    align-items: start;
    justify-content: center;
    height: fit-content;
  }

  .home .line-container.text.text-horizontal {
    padding: 10px 0px;
  }

  .home .line-container.text-horizontal:last-of-type {
    align-items: end;
  }

  .line-container.menu nav li a {
    font-size: 17px;
  }

  .home .line-container.menu nav li:nth-of-type(odd) {
    display: none;
  }

  .home .line-container.menu nav ul li {
    text-align: center;
  }

  /* Content Paragraphs Mobile */
  .content-paragraph:nth-of-type(1) {
    width: 70%;
    left: -21px;
  }

  .content-paragraph:nth-of-type(2) {
    width: 100%;
    right: -7px;
  }

  .content-paragraph:nth-of-type(2) h3 {
    font-size: 35px;
  }

  .content-paragraph:nth-of-type(3) {
    width: 70%;
  }

  /* Line Effects Mobile */
  .line-text {
    font-size: 9px;
  }

  .text-icon {
    transform: translateX(14px);
  }

  .home .text-icon {
    margin: 42px 0px;
  }

  .text-icon svg {
    width: 20px;
  }
  #someWorksTitle {
    margin-left: 14px;
  }
  /* Categories Mobile */
  .categories .category-tag {
    padding: 7px 14px;
    font-size: 11px;
  }

  /* Project Mobile */
  .project .project-header {
    flex-direction: column;
    transform: translateX(-21px);
    align-items: start;
    gap: 14px;
  }

  .project .project-header .categories {
    gap: 7px;
    transform: translateX(0);
  }

  .project h1 {
    transform: translateX(0);
    font-size: 35px;
    letter-spacing: 0;
    margin-bottom: 7px;
  }

  .project .main-text {
    max-width: 100%;
    margin-bottom: 0;
    margin: 14px 0px 14px 0px;
  }
  .project .line-container img {
    margin: 21px 0px;
  }
  .project p {
    font-size: 14px;
  }

  .project .secondary-image,
  .project .main-image,
  .project .project-gallery,
  .project-content .text-btn {
    margin: 0;
    transform: translateX(0);
    max-width: 100%;
    padding: 0;
  }

  .project .project-gallery,
  .project-content .text-btn {
    width: 100%;
  }
  .project .project-gallery {
    max-height: 500px;
  }
  .project .gallery-text {
    flex-direction: column;
    margin: 0;
  }
  .project .secondary-text {
    margin: 14px 0px;
  }
  .project .project-content,
  .project .main-image {
    transform: translate(-21px, 0);
  }

  /* Project Detail Mobile */
  .project-detail .line-container.menu {
    justify-content: space-between;
  }
  .project-content .text-btn {
    gap: 14px;
  }
  .project-detail .line-container.menu .text-icon {
    position: relative;
    left: 0;
    top: 0;
    transform: translate(-21px, 0);
  }

  .project-detail .line-container.text h3 {
    margin: 0;
  }

  .project-detail .line-container.menu nav {
    transform: translate(7px, 0);
  }

  .project-detail .line-container.menu h2 {
    font-size: 28px;
    letter-spacing: 0;
    margin: 0;
  }

  .project-detail .line-container.menu {
    padding: 35px 0px;
  }

  /* Footer Mobile */
  footer .line-container {
    padding-top: 110px;
  }

  footer .footer-header .mail {
    font-size: 24.5px;
  }

  footer .footer-header a {
    font-size: 14px;
  }

  footer .footer-header .mail,
  footer .copyright {
    position: relative;
    letter-spacing: 0;
    transform: translateX(0);
    left: initial;
    top: initial;
  }

  footer .copyright br {
    display: block;
  }

  footer .footer-header,
  footer .footer-legal {
    flex-direction: column;
    align-items: start;
    left: -25%;
    height: fit-content;
    gap: 14px;
  }

  footer .footer-header .social,
  footer .policy {
    transform: translateX(0);
  }

  footer .footer-header .social ul {
    flex-direction: column;
    gap: 14px;
  }

  footer .footer-legal {
    margin-top: 35px;
  }

  /* Projects List Mobile */
  .projects-list h1 {
    font-size: 35px;
    letter-spacing: 0;
  }
}
/*
 * CSS PATCH — da aggiungere al tuo globals.css (o global.css)
 * Necessario perché .project-menu era position:absolute;bottom:0 dentro main.home.
 * Ora che è in .some-works-section, deve funzionare in normal flow.
 */

/* ── Some Works section (fuori da main.home) ── */

/*
 * Override: il .line-container.menu.project-menu NON deve più
 * essere position:absolute con bottom:0.
 * Era posizionato rispetto a main.home — ora è in flow normale.
 */

/* La linea bottom deve partire dal fondo del container, non dal 100% */

/*
 * NOTA: Se il "some works" appare visivamente troppo in basso o troppo in alto
 * rispetto al laboratorio, gioca su:
 *   .some-works-section { margin-top: -Xpx; }
 * Normalmente non serve perché ScrollTrigger gestisce lo spazio del pin.
 */
