/* CSS Variables mimicking the real target site */
:root {
  --bg: #F0F2F5;
  /* Very light cool grey */
  --text-main: #6c6c6c;
  /* Soft charcoal */
  --text-light: #939393;
  --font-base: "Hanken Grotesk", sans-serif;
}

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

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-base);
  font-size: 11px;
  /* The original text is very small and delicate */
  line-height: 1.35;
  padding: 20px;
  /* Changed to 20px to strictly match the left/right 20px asterisks */
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow-x: hidden;
}

strong {
  font-weight: 600;
}

/* Utlity Classes */
.mt-2 {
  margin-top: 15px;
}

.mt-3 {
  margin-top: 25px;
}

.mt-4 {
  margin-top: 40px;
}

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

/* Top Logo */
.top-logo {
  position: fixed;
  top: 30px;
  right: 30px;
  width: 30px;
  height: auto;
  z-index: 1000;
  mix-blend-mode: difference;
  display: block;
}

.top-logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: invert(1);
}

/* Crosshairs Decor */
#crosshairs-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.crosshair {
  position: absolute;
  color: #a0a0a0;
  font-size: 20px;
  letter-spacing: 0.1em;
  font-weight: 200;
  font-family: var(--font-base);
  line-height: 1;
  /* To prevent huge bounding boxes */
  pointer-events: none;
}

/* Audio Controls */
.audio-control-wrapper {
  position: absolute;
  top: 20px;
  left: 75vw;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1000;
}

.audio-toggle-icon {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-light);
  transition: opacity 0.2s, color 0.2s;
  padding: 0;
}

.audio-toggle-icon:hover {
  opacity: 0.7;
}



/* Massive Abstract Logo Background */
.massive-logo {
  position: absolute;
  top: 480px;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.massive-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Top Columns Layout */
.top-grid {
  display: flex;
  width: 100%;
  z-index: 10;
  position: relative;
}

.bio-col {
  width: 35%;
  padding-right: 20px;
}

.services-col {
  width: 15%;
  padding-right: 20px;
}

.works-col {
  width: 50%;
}

.col {
  display: flex;
  flex-direction: column;
}

.bio-col p {
  max-width: 330px;
  font-size: 16px;
}

.contact-links {
  opacity: 0.4;
}

.link-item {
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
  /* Nessuna rotazione applicata (no transform) */
}

/* Lists */
.services-col,
.works-col {
  font-weight: 500;
  font-size: 13px;
}

.cross-bullet {
  display: inline-block;
  margin-left: -12px;
  width: 12px;
  color: #a0a0a0;
  font-weight: bold;
  font-size: 14px;
}

.work-link {
  color: var(--text-main);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 2px;
  transition: opacity 0.2s ease;
}

.work-link:hover {
  text-decoration: underline;
  opacity: 0.7;
}

.collabs-list {
  color: var(--text-light);
  font-style: italic;
  padding-left: 12px;
}

/* Top Right Image */
.img-top-col {
  align-items: flex-end;
}

.top-image-wrapper {
  background-color: #d8d6cc;
  width: 100%;
  aspect-ratio: 0.7;
  /* Portrait */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.placeholder-text {
  color: rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 10px;
}

.image-caption {
  font-size: 9px;
  color: var(--text-light);
}

/* Bottom Section */
.bottom-section {
  margin-top: 60rem;
}

.bottom-section+.bottom-section {
  margin-top: 60px;
}

.project-header {
  display: grid;
  grid-template-columns: 2fr 4.5fr 1.5fr;
  gap: 20px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: normal;
  color: var(--text-main);
  text-transform: uppercase;
  background-color: rgba(240, 242, 245, 0.85);
  backdrop-filter: blur(2px);
  padding: 5px;
  border-radius: 4px;
}

.project-header .ph-col:last-child {
  text-align: right;
}

/* Ensure any remaining links in the first column don't have underlines */
.project-header .ph-col:first-child a {
  text-decoration: none !important;
  color: inherit;
}

.bottom-layout {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 20px;
  align-items: center;
}

.bottom-layout.reverse {
  grid-template-columns: 1fr 45%;
}

.project-image-large {
  width: 100%;
}

.bleed-right {
  margin-right: -20px;
  width: calc(100% + 20px) !important;
}

.project-image-large img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.project-image-full {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.project-image-full img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.project-image-contained-full {
  width: 100%;
}

.project-image-contained-full img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.quote-col {
  align-self: center;
  text-align: center;
}

.quote-text {
  font-family: var(--font-base);
  font-size: 12px;
  color: #b0adab;
  font-style: normal;
  line-height: 1.5;
  font-weight: normal;
  /* Testo dritto, nessuna rotazione */
  background-color: rgba(240, 242, 245, 0.85);
  backdrop-filter: blur(2px);
  padding: 5px;
  border-radius: 4px;
  display: inline-block;
}

/* Footer */
.site-footer {
  margin-top: 100px;
  padding: 15px 20px;
  font-size: 13px;
  color: var(--text-main);
  background-color: rgba(240, 242, 245, 0.85);
  backdrop-filter: blur(2px);
  border-radius: 4px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.footer-content a {
  color: var(--text-main);
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

.footer-right {
  text-align: right;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .bottom-layout {
    grid-template-columns: 1fr;
  }

  .project-image-large {
    grid-column: 1;
  }
}

@media (max-width: 600px) {
  .top-grid {
    grid-template-columns: 1fr;
  }

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

/* Consistent background mask for floating texts and numbers */
.text-mask {
  background-color: rgba(240, 242, 245, 0.85);
  backdrop-filter: blur(2px);
  padding: 5px 10px;
  border-radius: 4px;
  display: inline-block;
}