:root {
  --black: #060605;
  --ink: #0b0b0a;
  --panel: rgba(18, 18, 17, 0.72);
  --panel-2: rgba(24, 24, 23, 0.82);
  --ivory: #f5f2eb;
  --muted: #a6a097;
  --sand: #dfcca7;
  --copper: #c2a382;
  --copper-hover: #ead3b7;
  --line: rgba(245, 242, 235, 0.09);
  --soft-line: rgba(245, 242, 235, 0.05);
  --shadow: 0 32px 96px rgba(0, 0, 0, 0.54);
  --serif: "Cormorant Garamond", "Libre Baskerville", Georgia, serif;
  --sans: "Inter", "Manrope", Arial, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ivory);
  background:
    radial-gradient(circle at 18% 6%, rgba(223, 204, 167, .06), transparent 32rem),
    linear-gradient(180deg, #060605 0%, #090908 30%, #0f0e0d 100%);
  font-family: var(--sans);
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

/* Dynamic glowing background orbs */
body::after {
  content: "";
  position: fixed;
  inset: -60%;
  pointer-events: none;
  z-index: -1;
  background: 
    radial-gradient(circle at 30% 35%, rgba(223, 204, 167, 0.04) 0%, transparent 22%),
    radial-gradient(circle at 75% 65%, rgba(194, 163, 130, 0.035) 0%, transparent 25%),
    radial-gradient(circle at 50% 15%, rgba(223, 204, 167, 0.02) 0%, transparent 18%);
  filter: blur(50px);
  animation: floatOrbs 30s infinite ease-in-out;
  will-change: transform;
  transform: translateZ(0);
}

@keyframes floatOrbs {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  33% {
    transform: translate(3%, 8%) rotate(120deg) scale(1.05);
  }
  66% {
    transform: translate(-3%, 4%) rotate(240deg) scale(0.95);
  }
  100% {
    transform: translate(0, 0) rotate(360deg) scale(1);
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  transform: translate3d(0, 0, 0);
}

.home-page::before {
  opacity: .045;
}

a,
button,
.btn,
.visual-select-card,
.artist-card {
  -webkit-tap-highlight-color: transparent;
}

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

/* Custom Cursor Styles */
@media (pointer: fine) {
  .custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--sand);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, background-color 0.3s ease;
  }

  .custom-cursor-ring {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(223, 204, 167, 0.34);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease, 
                background-color 0.3s ease;
  }

  .custom-cursor-hover .custom-cursor-dot {
    background-color: #000;
    transform: translate(-50%, -50%) scale(1.5);
  }

  .custom-cursor-hover .custom-cursor-ring {
    width: 48px;
    height: 48px;
    border-color: var(--sand);
    background-color: rgba(223, 204, 167, 0.95);
    mix-blend-mode: difference;
  }
}


img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(6, 6, 5, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease;
  padding: 8px 0;
}

.site-header.header-hidden {
  transform: translateY(-110%);
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(9, 9, 8, 0.88);
}

.home-page .site-header {
  position: sticky;
  left: 0;
  right: 0;
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.home-page .site-header.is-scrolled {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 1061px) {
  .site-header.is-scrolled {
    top: 16px;
    width: min(1080px, calc(100% - 32px));
    margin: 0 auto;
    border: 1px solid rgba(223, 204, 167, 0.16);
    border-radius: 999px;
    background: rgba(18, 18, 17, 0.78);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
  }

  .site-header.is-scrolled .nav {
    min-height: 60px;
    padding: 0 24px;
    width: 100%;
  }
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 170px;
}

.brand img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.36));
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: .9;
}

.brand > span {
  display: block;
}

.brand > span > span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(244,240,232,.78);
  font-size: 13px;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 1px;
  background: var(--sand);
  transition: right .25s ease;
}

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

.nav-links a:hover::after,
.nav-links a.is-active::after {
  right: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ivory);
  background: transparent;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle span::before {
  transform: translateY(-6px);
}

.menu-toggle span::after {
  transform: translateY(5px);
}

.menu-toggle.is-open span {
  background: transparent;
}

.menu-toggle.is-open span::before {
  background: var(--ivory);
  transform: rotate(45deg);
}

.menu-toggle.is-open span::after {
  background: var(--ivory);
  transform: rotate(-45deg);
}

/* Visual tactile active feedback for mobile touch screens */
a.is-touched,
button.is-touched,
.filter-btn.is-touched,
.work-card.is-touched,
.artist-card.is-touched,
a:active,
button:active,
.filter-btn:active,
.work-card:active,
.artist-card:active {
  transform: scale(0.97) !important;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ivory);
  background: rgba(245, 242, 235, .03);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: var(--transition-smooth);
}

.btn:hover {
  transform: translateY(-3px);
  border-color: rgba(223, 204, 167, 0.45);
  background: rgba(223, 204, 167, 0.08);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  color: #060605;
  border-color: var(--sand);
  background: var(--sand);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(223, 204, 167, 0.16);
}

.btn-primary:hover {
  color: #060605;
  background: var(--copper-hover);
  border-color: var(--copper-hover);
  box-shadow: 0 12px 28px rgba(223, 204, 167, 0.3);
}

.btn span, 
.btn-primary span {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover span,
.btn-primary:hover span {
  transform: translateX(4px);
}

.btn-icon {
  width: 46px;
  padding: 0;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--sand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.label::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
}

.section,
.hero,
.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: 54px;
  padding: 54px 0 42px;
}

.hero-opening {
  grid-template-columns: 1fr;
  min-height: 100vh;
  padding-top: 0;
  padding-bottom: 0;
}

.hero-centered {
  width: 100%;
  max-width: none;
  place-items: center;
  padding: clamp(42px, 6vh, 80px) 24px 28px;
  background:
    radial-gradient(circle at 50% 44%, rgba(244, 240, 232, .035), transparent 27rem),
    linear-gradient(180deg, #030302 0%, #050505 56%, #020202 100%);
}

.hero-center {
  width: min(760px, 100%);
  min-height: calc(100vh - 90px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 48px;
}

.hero-mark {
  width: clamp(146px, 15vw, 198px);
  height: clamp(146px, 15vw, 198px);
  margin-bottom: clamp(58px, 8vh, 92px);
  opacity: .82;
  filter: drop-shadow(0 20px 48px rgba(0,0,0,.42));
}

.hero h1,
.page-hero h1,
.section-title h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: .9;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  margin-top: 22px;
  font-size: clamp(68px, 10vw, 150px);
}

.hero-opening h1 {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgba(244, 240, 232, .86);
  font-size: clamp(56px, 5.8vw, 80px);
  line-height: .94;
  text-shadow: 0 0 20px rgba(244, 240, 232, .08);
}

.hero-opening h1 span {
  display: block;
}

.hero-opening h1 em {
  display: block;
  color: rgba(168, 162, 154, .74);
  font-style: italic;
  font-weight: 400;
}

.hero-est {
  color: rgba(168, 162, 154, .74);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .42em;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 900px;
  margin-top: 22px;
  font-size: clamp(58px, 9vw, 132px);
}

.hero p,
.page-hero p,
.section-title p {
  color: rgba(244, 240, 232, .74);
  max-width: 680px;
  font-size: clamp(17px, 1.7vw, 22px);
}

.hero-opening p {
  display: none;
}

.hero-ctas,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-ctas-centered {
  justify-content: center;
  gap: 16px;
  margin-top: 62px;
}

.hero-ctas-centered .btn {
  min-width: 258px;
  min-height: 52px;
  border-radius: 0;
  padding: 16px 26px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .34em;
  text-transform: uppercase;
}

.hero-ctas-centered .btn:not(.btn-primary) {
  border-color: rgba(244, 240, 232, .22);
  background: rgba(255, 255, 255, .01);
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  margin-top: clamp(64px, 9vh, 90px);
  color: rgba(168, 162, 154, .6);
}

.scroll-cue span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .42em;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 1px;
  height: 52px;
  background: rgba(244, 240, 232, .16);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 660px;
  margin-top: 54px;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero-opening .hero-meta {
  display: none;
}

.hero-meta div {
  min-height: 106px;
  padding: 22px;
  background: rgba(20, 20, 20, .74);
}

.hero-meta span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-meta strong {
  display: block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.hero-visual,
.editorial-visual {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(216,199,176,.12), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.05), transparent),
    #10100f;
  box-shadow: var(--shadow);
}

.hero-visual img,
.editorial-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual:has(img)::before,
.editorial-visual:has(img)::before {
  display: none;
}

.opening-visual {
  width: min(100%, 670px);
  min-height: min(800px, calc(100vh - 164px));
  justify-self: end;
  align-self: end;
  background:
    linear-gradient(102deg, rgba(255, 255, 255, .035), transparent 32%),
    repeating-linear-gradient(102deg, rgba(244, 240, 232, .05) 0 1px, transparent 1px 28px),
    linear-gradient(180deg, #252420, #121211 58%, #080808);
}

.opening-visual::before {
  background:
    radial-gradient(circle at 50% 44%, transparent 0 160px, rgba(244,240,232,.18) 161px 162px, transparent 163px 100%),
    radial-gradient(circle at 50% 44%, transparent 0 90px, rgba(244,240,232,.14) 91px 92px, transparent 93px 100%);
  opacity: .62;
}

.opening-visual::after {
  background: linear-gradient(180deg, transparent 48%, rgba(5,5,5,.72));
}

.hero-visual::before,
.hero-visual::after,
.editorial-visual::before,
.editorial-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-visual::before {
  background:
    radial-gradient(circle at 50% 40%, transparent 0 56px, rgba(244,240,232,.22) 57px 58px, transparent 59px 100%),
    repeating-linear-gradient(102deg, transparent 0 22px, rgba(244,240,232,.06) 23px 24px);
  opacity: .6;
}

.hero-visual::after {
  background: linear-gradient(180deg, transparent 50%, rgba(5,5,5,.72));
}

.visual-logo {
  position: absolute;
  top: 34px;
  right: 34px;
  width: min(190px, 38%);
  opacity: .9;
  z-index: 1;
}

.opening-visual .visual-logo {
  top: 44px;
  right: 48px;
  width: min(210px, 36%);
  z-index: 3;
}

.line-art {
  position: absolute;
  inset: 13% 7% 13% 9%;
  z-index: 1;
  color: var(--ivory);
  opacity: .9;
}

.opening-visual .line-art {
  inset: 17% 8% 16% 8%;
  width: 84%;
  height: 68%;
  opacity: .86;
}

.visual-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  color: rgba(244,240,232,.72);
  font-size: 13px;
}

.opening-visual .visual-caption {
  left: 36px;
  right: 36px;
  bottom: 34px;
  align-items: end;
}

.visual-caption strong {
  display: block;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
}

.opening-visual .visual-caption strong {
  font-size: 38px;
}

.section {
  padding: 90px 0;
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(280px, .58fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

.section-title h2 {
  margin-top: 15px;
  font-size: clamp(46px, 7vw, 92px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(300px, 1fr);
  gap: 52px;
  align-items: center;
}

.lead {
  color: rgba(244,240,232,.76);
  font-size: clamp(18px, 2.1vw, 25px);
}

.rule-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.rule-list li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  color: rgba(244,240,232,.78);
}

.rule-list strong {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  position: relative;
  min-height: 270px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(245, 242, 235, 0.05) 0%, rgba(20, 20, 19, 0.6) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(223, 204, 167, 0.38);
  background: linear-gradient(145deg, rgba(223, 204, 167, 0.1) 0%, rgba(26, 26, 25, 0.85) 100%);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45), 0 0 24px rgba(223, 204, 167, 0.06);
}

.card .number {
  color: rgba(216,199,176,.62);
  font-family: var(--serif);
  font-size: 58px;
  line-height: .8;
}

.card h3 {
  margin: 62px 0 10px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  line-height: .98;
}

.card p,
.artist-card p,
.work-card p,
.info-block p {
  color: rgba(244,240,232,.68);
  margin: 0;
}

.ornament {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.ornament::before,
.ornament::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-top: 1px solid rgba(244,240,232,.36);
  transform: rotate(45deg);
}

.ornament::after {
  transform: rotate(-45deg);
}

.portfolio-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.filter-btn {
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(245, 242, 235, 0.72);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: var(--transition-fast);
}

.filter-btn.is-active,
.filter-btn:hover {
  color: #060605;
  border-color: var(--sand);
  background: var(--sand);
  box-shadow: 0 4px 12px rgba(223, 204, 167, 0.18);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.work-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 12px;
  background: #111;
  cursor: zoom-in;
  isolation: isolate;
  transition: var(--transition-smooth);
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 62% 26%, rgba(223, 204, 167, .12), transparent 34%),
    linear-gradient(135deg, rgba(194, 163, 130, .12), transparent 42%),
    #121211;
  transition: var(--transition-smooth);
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 40%, rgba(5,5,5,.92)),
    repeating-linear-gradient(118deg, transparent 0 24px, rgba(245, 242, 235, .04) 25px 26px);
  transition: var(--transition-smooth);
}

.work-card svg {
  position: absolute;
  inset: 10% 8% auto;
  width: 84%;
  height: 58%;
  color: rgba(245, 242, 235, .82);
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.42));
  transition: var(--transition-smooth);
}

.work-card figcaption {
  display: none !important;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(223, 204, 167, 0.38);
  box-shadow: 0 24px 50px rgba(0,0,0,0.5), 0 0 20px rgba(223, 204, 167, 0.05);
}

.work-card:hover::after {
  background:
    linear-gradient(180deg, transparent 25%, rgba(5,5,5,.96)),
    repeating-linear-gradient(118deg, transparent 0 24px, rgba(245, 242, 235, .04) 25px 26px);
}

.work-card:hover figcaption {
  transform: translateY(0);
}

.work-card figcaption p {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(245, 242, 235, 0.72);
  transition: opacity 0.35s ease, max-height 0.4s ease, margin-top 0.4s ease;
}

.work-card:hover figcaption p {
  opacity: 1;
  max-height: 80px;
  margin-top: 6px;
}

.work-card span {
  color: var(--sand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.work-card h3 {
  margin: 7px 0 4px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
}

.work-card.is-hidden {
  display: none;
}

.method {
  counter-reset: step;
  display: grid;
  border-top: 1px solid var(--line);
}

.method-item {
  counter-increment: step;
  display: grid;
  grid-template-columns: 140px minmax(0, .5fr) minmax(0, .7fr);
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.method-item::before {
  content: "0" counter(step);
  color: rgba(216,199,176,.74);
  font-family: var(--serif);
  font-size: 44px;
}

.method-item h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.method-item p {
  margin: 0;
  color: rgba(244,240,232,.68);
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.artist-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(18, 18, 17, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.artist-portrait {
  min-height: 300px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(244,240,232,.2), transparent 18%),
    linear-gradient(135deg, rgba(216,199,176,.11), transparent 42%),
    #111;
}

.artist-portrait::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 22%;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(244,240,232,.28);
  border-radius: 50%;
  transform: translateX(-50%);
}

.artist-portrait::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: -22px;
  height: 168px;
  border: 1px solid rgba(244,240,232,.18);
  border-radius: 80px 80px 0 0;
  background: rgba(5,5,5,.38);
}

.artist-card .body {
  padding: 22px;
}

.artist-card h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: rgba(245, 242, 235, 0.02);
  transition: var(--transition-fast);
}

.tag:hover {
  color: var(--ivory);
  border-color: rgba(223, 204, 167, 0.35);
  background: rgba(223, 204, 167, 0.05);
}

/* --- Artist List Layout (Horizontal Editorial) --- */
.artist-list-layout {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.artist-list-layout .artist-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: center;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245, 242, 235, 0.08);
  border-radius: 0;
  padding-bottom: 50px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: none !important;
}

.artist-list-layout .artist-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.artist-list-layout .artist-portrait {
  height: 420px;
  min-height: auto;
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(245, 242, 235, 0.1);
  overflow: hidden;
}

.artist-list-layout .artist-card .body {
  padding: 0;
}

.artist-list-layout .artist-card h3 {
  font-size: 38px;
  margin-bottom: 4px;
}

.artist-list-layout .artist-role {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
  font-weight: 600;
}

.artist-list-layout .artist-card p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
  opacity: 0.8;
}

.artist-list-layout .artist-ideal {
  font-size: 14px;
  opacity: 0.9;
  border-left: 2px solid var(--copper);
  padding-left: 14px;
  margin: 20px 0;
}

.artist-list-layout .tags {
  margin-top: 24px;
}

.artist-list-layout .cta-row {
  margin-top: 30px;
}

/* Responsiveness for Artist List Layout */
@media (max-width: 860px) {
  .artist-list-layout .artist-card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 40px;
  }
  
  .artist-list-layout .artist-portrait {
    height: 360px;
  }
}

.studio-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  min-height: 560px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.studio-band .copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(590px, calc(100% - 32px));
  margin-left: max(16px, calc((100vw - 1180px) / 2));
  padding: 64px 0;
}

.studio-band h2 {
  margin: 12px 0 18px;
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 88px);
  font-weight: 500;
  line-height: .94;
}

.editorial-visual {
  min-height: 560px;
  border-top: 0;
  border-bottom: 0;
  border-right: 0;
  box-shadow: none;
}

.editorial-visual::before {
  background:
    linear-gradient(90deg, rgba(5,5,5,.3), transparent 24%),
    repeating-linear-gradient(0deg, transparent 0 36px, rgba(244,240,232,.04) 37px 38px);
}

.editorial-visual .line-art {
  inset: 8%;
}

.faq-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  transition: var(--transition-smooth);
}

.faq-item:hover {
  background: rgba(223, 204, 167, 0.015);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 26px 0;
  border: 0;
  color: var(--ivory);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-question:hover {
  color: var(--sand);
}

.faq-question span {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
}

.faq-question i {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  transition: var(--transition-fast);
}

.faq-question:hover i {
  border-color: var(--sand);
  background: rgba(223, 204, 167, 0.08);
  box-shadow: 0 0 10px rgba(223, 204, 167, 0.15);
}

.faq-question i::before,
.faq-question i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 8px;
  right: 8px;
  height: 1px;
  background: currentColor;
}

.faq-question i::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-question i::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-item.is-open .faq-question i {
  border-color: var(--sand);
  color: var(--sand);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  max-width: 760px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(340px, 1fr);
  gap: 20px;
}

.info-block,
.form-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20,20,20,.74);
}

.info-block h3,
.form-panel h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
}

.hours {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--soft-line);
  color: rgba(244,240,232,.72);
}

.map {
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(1) invert(.9) contrast(.86);
}

.page-hero {
  padding: 86px 0 54px;
}

.page-kicker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 44px;
  border: 1px solid var(--line);
  background: var(--line);
}

.page-kicker div {
  padding: 22px;
  background: rgba(20,20,20,.74);
}

.page-kicker strong {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
}

.page-kicker span {
  color: var(--muted);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-list .card {
  min-height: 220px;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: rgba(244,240,232,.78);
  background: rgba(244,240,232,.035);
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
  position: relative;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--sand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ivory);
  background: rgba(18, 18, 17, 0.45);
  padding: 13px 16px;
  outline: none;
  font-size: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--sand);
  background: rgba(24, 24, 23, 0.85);
  box-shadow: 0 0 16px rgba(223, 204, 167, 0.08);
}

.legal-copy {
  max-width: 820px;
}

.legal-copy h2 {
  margin: 34px 0 8px;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
}

.legal-copy p,
.legal-copy li {
  color: rgba(244,240,232,.72);
}

.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  background: #050505;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 34px;
  display: grid;
  grid-template-columns: 1fr .7fr .7fr;
  gap: 34px;
}

.footer-inner h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 45px;
  font-weight: 500;
  line-height: .95;
}

.footer-inner p,
.footer-inner a {
  color: rgba(244,240,232,.7);
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--soft-line);
  color: rgba(244,240,232,.48);
  font-size: 13px;
}

.mobile-cta {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(5,5,5,.86);
  backdrop-filter: blur(18px);
}

.lightbox.is-open {
  display: grid;
}

.lightbox-content {
  width: min(920px, 100%);
  min-height: min(720px, 82vh);
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}

.lightbox-content .work-card {
  min-height: min(720px, 82vh);
  border: 0;
  border-radius: 0;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ivory);
  background: rgba(5,5,5,.54);
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  will-change: auto;
}

@media (max-width: 1060px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    padding: 110px 24px 80px;
    background: rgba(5,5,5,.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 45;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 10px 0;
    border-bottom: none;
    font-family: var(--serif);
    font-size: 28px;
    color: rgba(244,240,232,.65);
    width: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    transition-delay: calc(var(--i) * 0.05s);
  }

  .nav-links.is-open a {
    opacity: 1;
    transform: translateY(0);
  }

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

  .nav-links::after {
    content: "Lentate sul Seveso • Stain Lab";
    display: block;
    margin-top: 36px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: .25em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 0.4s;
  }

  .nav-links.is-open::after {
    opacity: 0.35;
    transform: translateY(0);
  }

  .brand,
  .nav-actions {
    position: relative;
    z-index: 50;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .hero,
  .studio-band,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-title {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }

  .hero-centered {
    min-height: 100vh;
    place-items: center;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-opening {
    padding-top: clamp(34px, 5vh, 64px);
  }

  .hero-visual {
    min-height: 520px;
  }

  .grid-4,
  .grid-3,
  .artist-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-band .copy {
    margin: 0 auto;
  }

  .editorial-visual {
    border-top: 1px solid var(--line);
  }

  .method-item {
    grid-template-columns: 86px 1fr;
  }

  .method-item p {
    grid-column: 2;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 64px;
  }

  .nav {
    min-height: 72px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 21px;
  }

  .nav-links {
    inset: 0 0 0 0;
    max-height: none;
    padding-top: 100px;
  }

  .section {
    padding: 44px 0;
  }

  .hero {
    min-height: auto;
    gap: 30px;
  }

  .hero-centered {
    min-height: calc(100dvh - 72px) !important;
    padding: 40px 16px 48px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero-center {
    min-height: calc(100dvh - 160px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(34px, 8.5vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.02em;
  }

  .hero-opening h1 {
    font-size: clamp(30px, 7.5vw, 40px);
    line-height: 1.05;
  }

  .hero-mark {
    width: clamp(100px, 28vw, 130px);
    height: clamp(100px, 28vw, 130px);
    margin-bottom: 32px;
  }

  .hero-est {
    font-size: 10px;
    letter-spacing: .32em;
  }

  .hero-ctas-centered {
    width: min(100%, 330px);
    margin-top: 32px;
  }

  .hero-ctas-centered .btn {
    width: 100%;
    min-width: 0;
    letter-spacing: .24em;
  }

  .scroll-cue {
    margin-top: 20px !important;
  }

  .scroll-cue i {
    display: none !important;
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
    margin-top: 10px;
  }

  .section-title p {
    font-size: 16px;
    margin-top: 0;
  }

  .hero-meta,
  .page-kicker,
  .grid-4,
  .grid-3,
  .artist-grid,
  .portfolio-grid,
  .service-list,
  .checklist,
  .booking-form {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 340px;
  }

  .editorial-visual {
    min-height: 320px;
  }

  .visual-caption {
    display: block;
  }

  .card {
    min-height: auto;
    padding: 20px;
  }

  .card h3 {
    font-size: 24px;
    margin-top: 34px;
  }

  .work-card {
    min-height: 320px;
  }

  .method-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .method-item p {
    grid-column: auto;
  }

  .contact-panel {
    gap: 14px;
  }

  .info-block,
  .form-panel {
    padding: 22px;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }

  .footer-inner > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .mobile-cta {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 12px;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 5px 5px calc(5px + env(safe-area-inset-bottom));
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(5,5,5,.84);
    backdrop-filter: blur(18px);
  }

  .mobile-cta a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 38px;
    border-radius: 999px;
    color: var(--ivory);
    background: rgba(244,240,232,.06);
    font-size: 12px;
  }

  .mobile-cta a:first-child {
    color: #080807;
    background: var(--sand);
  }

  .section-title {
    gap: 8px;
    margin-bottom: 20px;
  }

  .section-title h2 {
    margin-top: 8px;
    font-size: clamp(32px, 7vw, 48px);
  }

  .page-hero {
    padding: 44px 0 24px;
  }

  .page-hero h1 {
    margin-top: 10px;
  }

  .faq-answer p {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .method-item h3,
  .artist-card h3,
  .artist-list-layout .artist-card h3,
  .info-block h3,
  .form-panel h2 {
    font-size: 24px;
  }

  .rule-list strong,
  .faq-question span {
    font-size: 20px;
  }

  .footer-inner h2 {
    font-size: 32px;
  }

  .artist-portrait {
    min-height: 320px;
  }

  .artist-portrait-photo img {
    min-height: 320px;
  }

  .artist-list-layout .artist-portrait {
    height: 320px;
  }

  .map,
  .map iframe {
    min-height: 280px;
  }

  .studio-band .copy {
    padding: 36px 0;
  }

  .studio-band h2 {
    margin: 8px 0 12px;
    font-size: clamp(32px, 7vw, 48px);
    line-height: 1.05;
  }

  /* --- Mobile Visual UX Refinements --- */
  /* Focus font-size zoom prevention on iOS */
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }

  /* Hardware-accelerated overlays for fluid transitions */
  .nav-links {
    will-change: transform, opacity;
  }

  /* Active tactile button presses */
  .btn:active,
  .visual-select-card:active {
    transform: scale(0.98);
  }

  .mobile-cta a:active {
    transform: scale(0.97);
    background: rgba(244, 240, 232, 0.12);
  }

  .mobile-cta a:first-child:active {
    background: #cbb48b;
  }
}

/* Stain Lab homepage revision */
.home-page .site-header {
  position: sticky;
  left: auto;
  right: auto;
  transform: none;
  opacity: 1;
  pointer-events: auto;
  border-color: var(--line);
  background: rgba(5, 5, 5, .92);
}

.home-page .site-header.is-scrolled {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.values-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  min-height: 310px;
  border-top: 1px solid rgba(244, 240, 232, .14);
  border-bottom: 1px solid rgba(244, 240, 232, .14);
  background: rgba(244, 240, 232, .08);
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 310px;
  padding: 56px 26px;
  text-align: center;
  background: #050504;
}

.sun-mark {
  width: 26px;
  height: 26px;
  margin-bottom: 28px;
  background-image: url('../img/stain-lab-logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: .92;
}

.value-item h2 {
  margin: 0 0 20px;
  color: rgba(244, 240, 232, .82);
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 500;
  letter-spacing: .34em;
  line-height: 1.15;
  text-transform: uppercase;
}

.value-item p {
  max-width: 340px;
  margin: 0;
  color: rgba(168, 162, 154, .9);
  font-size: 16px;
  line-height: 1.65;
}

.home-portfolio .portfolio-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 360px);
  gap: 14px;
  overflow-x: auto;
  padding: 0 0 18px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--sand) rgba(244, 240, 232, .08);
}

.home-portfolio .work-card {
  min-height: 430px;
  scroll-snap-align: start;
  cursor: pointer;
}

.home-portfolio .work-card:hover {
  transform: translateY(-5px);
  border-color: rgba(216,199,176,.42);
}

.instagram-section {
  padding-top: 58px;
}

.instagram-embed {
  min-height: 760px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #202020;
}

.instagram-embed iframe {
  width: 100%;
  height: 760px;
  border: 0;
  background: #202020;
}

@media (max-width: 1060px) {
  .values-band {
    grid-template-columns: 1fr;
  }

  .value-item {
    min-height: 250px;
  }
}

@media (max-width: 720px) {
  .home-page .site-header {
    position: sticky;
  }

  .values-band {
    min-height: auto;
  }

  .value-item {
    min-height: auto;
    padding: 28px 20px;
  }

  .value-item h2 {
    font-size: 20px;
    letter-spacing: .22em;
    margin-bottom: 12px;
  }

  .value-item p {
    font-size: 15px;
  }

  .home-portfolio .work-card {
    min-height: 330px;
  }

  .instagram-embed,
  .instagram-embed iframe {
    min-height: 480px;
    height: 480px;
  }
}


.artist-card[data-card-link] {
  cursor: pointer;
}

.artist-card[data-card-link]:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 4px;
}

.artist-card[data-card-link]:hover {
  transform: translateY(-8px);
  border-color: rgba(223, 204, 167, 0.38);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 24px rgba(223, 204, 167, 0.06);
}

.artist-card .artist-role {
  margin: -2px 0 12px;
  color: var(--sand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.artist-profile-layout {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.artist-profile-visual {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(20,20,20,.72);
}

.artist-profile-visual .artist-portrait {
  min-height: 520px;
}

.artist-profile-hero .cta-row {
  margin-top: 28px;
}

@media (max-width: 900px) {
  .artist-profile-layout {
    grid-template-columns: 1fr;
  }
}


.work-card-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: grayscale(0.25) saturate(.88) contrast(1.04);
  transition: var(--transition-smooth);
}

.work-card-photo:hover img {
  transform: scale(1.06);
  filter: grayscale(0) saturate(1.05) contrast(1.06);
}

.work-card-photo::before {
  background: transparent;
}

.work-card-photo::after {
  background: none !important;
  transition: var(--transition-smooth);
}

.work-card-photo:hover::after {
  background: none !important;
}

.artist-profile-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: var(--transition-smooth);
}


.artist-portrait-photo {
  background: #111;
}

.artist-portrait-photo::before,
.artist-portrait-photo::after {
  display: none;
}

.artist-portrait-photo img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.08);
  transition: var(--transition-smooth);
}

.artist-card:hover .artist-portrait-photo img {
  transform: scale(1.06);
  filter: grayscale(0.1) contrast(1.04);
}


.portfolio-carousel-shell {
  position: relative;
  display: grid;
  align-items: center;
}

.home-portfolio .portfolio-carousel-shell .portfolio-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 360px);
  gap: 14px;
  overflow-x: auto;
  padding: 0 0 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home-portfolio .portfolio-carousel-shell .portfolio-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(244, 240, 232, .24);
  border-radius: 50%;
  color: var(--ivory);
  background: rgba(5, 5, 5, .78);
  box-shadow: 0 16px 38px rgba(0,0,0,.34);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.carousel-arrow:hover {
  border-color: var(--sand);
  background: rgba(216,199,176,.16);
  transform: translateY(-50%) scale(1.04);
}

.carousel-arrow.is-touched,
.carousel-arrow:active {
  transform: translateY(-50%) scale(0.97) !important;
}

.carousel-arrow::after {
  content: "";
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: -10px;
  right: -10px;
}

.carousel-arrow-left {
  left: -24px;
}

.carousel-arrow-right {
  right: -24px;
}

@media (max-width: 720px) {
  .home-portfolio .portfolio-carousel-shell .portfolio-carousel {
    grid-auto-columns: minmax(260px, 85vw);
    padding-inline: 16px;
  }

  .carousel-arrow {
    display: none;
  }
}

/* --- Creative Labs Page (Light Mode Rupture) --- */
.labs-page {
  background: #e3d4b6 !important;
  color: #000000;
  font-family: var(--sans);
}

.labs-page::after {
  display: none; /* Disattiva gli orbs scuri di sfondo */
}

.labs-page h1,
.labs-page h2,
.labs-page h3,
.labs-page h4 {
  color: #000000;
  font-family: var(--serif);
}

.labs-page p {
  color: #111111;
}

.labs-page .page-hero {
  padding: 96px 0 34px;
}

.labs-page .label {
  color: #000000;
  font-weight: 700;
  letter-spacing: .2em;
}

.labs-page .label::before {
  background: currentColor;
}

/* --- Hero Asimmetrico (Editorial Overlap) --- */
.labs-page .hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 0 90px;
}

.labs-page .hero-split-image {
  position: relative;
  width: 94%;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 3 / 4;
  border: 14px solid #fff;
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0,0,0,0.03);
  transition: var(--transition-smooth);
}

.labs-page .hero-split-image.has-gallery {
  overflow: hidden;
  padding: 0;
}

.labs-page .hero-gallery-container {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  height: 100%;
}

.labs-page .hero-gallery-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  height: 100%;
}

.labs-page .hero-gallery-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.labs-page .hero-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.labs-page .hero-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid #000000;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 20;
  pointer-events: auto;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.labs-page .hero-gallery-arrow:hover {
  background: #000000;
  color: #ffffff;
}

.labs-page .hero-gallery-arrow.is-touched,
.labs-page .hero-gallery-arrow:active {
  transform: translateY(-50%) scale(0.95) !important;
}

.labs-page .hero-gallery-arrow::after {
  content: "";
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: -10px;
  right: -10px;
}

.labs-page .hero-gallery-arrow-prev {
  left: 16px;
}

.labs-page .hero-gallery-arrow-next {
  right: 16px;
}

.labs-page .hero-split-text h1 {
  font-size: clamp(48px, 6vw, 76px);
  line-height: .92;
  margin: 12px 0 24px;
}

.labs-page .hero-split-text .lead-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: #000000;
  line-height: 1.3;
  margin-bottom: 24px;
}

@media (min-width: 901px) {
  .labs-page .hero-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 64px;
  }
  .labs-page .hero-split-image {
    transform: rotate(-2.5deg) translate3d(20px, 0, 0);
  }
  .labs-page .hero-split-text {
    z-index: 2;
    padding-left: 20px;
  }
}

/* --- Bacheca 3D (Minimalist Notice Board) --- */
.labs-board-section {
  padding: 100px 0;
  background: #e3d4b6;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.labs-board-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

@media (min-width: 981px) {
  .labs-board-container {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
  }
}

/* visual board - Clean background board */
.labs-board-visual {
  position: relative;
  background-color: #e8e5dd;
  border: 4px solid #000000;
  border-radius: 4px;
  padding: 48px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Pinned flyer paper */
.labs-board-paper {
  position: relative;
  background: #ffffff;
  padding: 16px;
  border: 1px solid #000000;
  box-shadow: 
    0 1px 3px rgba(0,0,0,0.1),
    2px 14px 28px rgba(0, 0, 0, 0.12);
  transform: rotate(-1.5deg);
  transition: var(--transition-smooth);
  width: 100%;
  max-width: 440px;
}

.labs-board-paper:hover {
  transform: scale(1.02) rotate(-0.5deg);
  box-shadow: 
    0 1px 3px rgba(0,0,0,0.1),
    4px 20px 40px rgba(0, 0, 0, 0.18);
}

.labs-board-flyer {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

/* 3D Pushpins */
.pushpin {
  position: absolute;
  width: 18px;
  height: 18px;
  background: radial-gradient(circle at 35% 35%, #444444 0%, #000000 80%, #000000 100%);
  border-radius: 50%;
  z-index: 10;
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.25),
    inset -1px -1px 4px rgba(0, 0, 0, 0.6);
}

/* Light highlight on pushpin */
.pushpin::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

/* Metal needle projecting shadow */
.pushpin::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 8px;
  width: 2px;
  height: 12px;
  background: #666;
  transform: rotate(22deg);
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}

/* Pin positions */
.pin-flyer {
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
}

.pin-note {
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
}

/* Sticky notes */
.labs-board-notes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 581px) and (max-width: 980px) {
  .labs-board-notes {
    grid-template-columns: 1fr 1fr;
  }
}

.labs-board-note {
  position: relative;
  background: #ffffff;
  border: 1px solid #000000;
  padding: 30px 24px;
  box-shadow: 
    0 2px 4px rgba(0,0,0,0.04),
    3px 12px 24px rgba(0,0,0,0.08);
  transition: var(--transition-smooth);
}

.labs-board-note:nth-child(odd) {
  transform: rotate(1.8deg);
}

.labs-board-note:nth-child(even) {
  transform: rotate(-2.2deg);
}

.labs-board-note:hover {
  transform: translateY(-5px) scale(1.02) rotate(0deg) !important;
  box-shadow: 
    0 4px 8px rgba(0,0,0,0.06),
    6px 20px 36px rgba(0,0,0,0.14);
  z-index: 5;
}

.labs-board-note h4 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 23px;
  color: #000000;
  font-weight: 600;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
  padding-bottom: 6px;
}

.labs-board-note p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #111111;
}

/* --- Sezione Carosello --- */
.labs-carousel-section {
  padding: 100px 0;
}

.labs-carousel-wrapper {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  border: 1px solid #000000;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.05);
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.labs-carousel-container {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.labs-carousel-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  background: #ffffff;
}

@media (min-width: 721px) {
  .labs-carousel-slide {
    grid-template-columns: 50% 50%;
  }
}

.labs-carousel-image {
  height: 480px;
  overflow: hidden;
  position: relative;
}

.labs-carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.labs-carousel-info {
  padding: 40px 80px 40px 40px;
}

.labs-carousel-info span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #000000;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

.labs-carousel-info h3 {
  font-family: var(--serif);
  font-size: 34px;
  margin: 0 0 16px;
  line-height: 1.15;
  color: #000000;
}

.labs-carousel-info p {
  font-size: 15px;
  line-height: 1.6;
  color: #111111;
  margin: 0 0 28px;
}

.labs-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid #000000;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 20;
  pointer-events: auto;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: var(--transition-fast);
}

.labs-carousel-arrow:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  transform: translateY(-50%) scale(1.05);
}

.labs-carousel-arrow.is-touched,
.labs-carousel-arrow:active {
  transform: translateY(-50%) scale(0.95) !important;
}

.labs-carousel-arrow::after {
  content: "";
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: -10px;
  right: -10px;
}

.labs-carousel-arrow-prev {
  left: 20px;
}

.labs-carousel-arrow-next {
  right: 20px;
}

/* Indicatore scorrimento caroselli */
.labs-page .carousel-hint {
  text-align: center;
  font-size: 11px;
  color: #666666;
  margin-top: 16px;
  font-family: var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
}

.labs-page .hero-split-image-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.labs-page .hero-split-image-col .carousel-hint {
  margin-top: 24px;
}

/* Modifiche ai pulsanti per la labs-page */
.labs-page .btn {
  border-color: #000000;
  color: #000000;
  background: transparent;
}

.labs-page .btn:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.labs-page .btn-primary {
  color: #ffffff;
  border-color: #000000;
  background: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.labs-page .btn-primary:hover {
  color: #000000;
  background: transparent;
  border-color: #000000;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Regola specifica per l'header per farlo staccare meglio dallo sfondo chiaro */
.labs-page .site-header {
  background: rgba(6, 6, 5, 0.98);
  border-bottom: 1px solid rgba(244, 240, 232, 0.08);
}

/* Responsività bacheca e altri dettagli */
@media (max-width: 900px) {
  .labs-carousel-image {
    height: 320px;
  }
  
  .labs-carousel-info {
    padding: 30px 70px 30px 30px;
  }
}

@media (max-width: 767px) {
  .labs-board-visual {
    padding: 24px 16px;
    border-width: 10px;
  }
  .labs-board-paper {
    padding: 10px;
  }
}

/* --- Creative Labs Page (Cream Header & Footer Redesign) --- */
.labs-page .site-header {
  background: #e3d4b6 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: none !important;
}

.labs-page .site-header.is-scrolled {
  top: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  background: #e3d4b6 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

.labs-page .site-header .nav {
  min-height: 82px !important;
  padding: 0 !important;
  width: min(1180px, calc(100% - 32px)) !important;
}

.labs-page .site-header.is-scrolled .nav {
  min-height: 82px !important;
  padding: 0 !important;
  width: min(1180px, calc(100% - 32px)) !important;
}

/* Colori testi e link dell'header in nero */
.labs-page .site-header .brand,
.labs-page .site-header .brand span,
.labs-page .site-header .nav-links a {
  color: #000000 !important;
}


.labs-page .site-header .nav-links a::after {
  background: #000000 !important;
}

.labs-page .site-header .nav-links a:hover,
.labs-page .site-header .nav-links a.is-active {
  color: #000000 !important;
  opacity: 0.7;
}

/* Menu Toggle mobile in nero */
.labs-page .menu-toggle {
  color: #000000 !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
}

.labs-page .menu-toggle.is-open span::before,
.labs-page .menu-toggle.is-open span::after {
  background: #000000 !important;
}

/* Mobile nav-links overlay in crema */
@media (max-width: 1060px) {
  .labs-page .nav-links {
    background: #e3d4b6 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  }
  .labs-page .nav-links a {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #000000 !important;
  }
}

/* --- Creative Labs Page Site Footer in Crema/Nero --- */
.labs-page .site-footer {
  background: #e3d4b6 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: #000000 !important;
  padding: 80px 0 40px !important;
}

.labs-page .site-footer h2,
.labs-page .site-footer p,
.labs-page .site-footer a,
.labs-page .site-footer span {
  color: #000000 !important;
}

.labs-page .site-footer a:hover {
  opacity: 0.7;
}

.labs-page .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.labs-page .footer-bottom span {
  color: rgba(0, 0, 0, 0.5) !important;
}

/* Mobile CTA panel in crema/nero */
@media (max-width: 900px) {
  .labs-page .mobile-cta {
    background: rgba(227, 212, 182, 0.9) !important;
    border: 1px solid #000000 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
  }
  .labs-page .mobile-cta a {
    color: #000000 !important;
    background: rgba(0, 0, 0, 0.05) !important;
  }
  .labs-page .mobile-cta a:first-child {
    color: #ffffff !important;
    background: #000000 !important;
  }
}

@media (max-width: 720px) {
  .labs-page .page-hero {
    padding: 44px 0 20px !important;
  }

  .labs-page .hero-split {
    gap: 20px;
    padding: 30px 0 44px;
  }

  .labs-page .hero-split-text h1 {
    font-size: clamp(32px, 8vw, 44px);
    margin: 8px 0 12px;
  }

  .labs-page .hero-split-text .lead-quote {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 16px;
  }

  .labs-carousel-info span {
    margin-bottom: 6px;
  }

  .labs-carousel-info h3 {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .labs-carousel-info p {
    margin-bottom: 20px;
  }
}

/* --- Custom Cursor overrides for Labs Page --- */
@media (pointer: fine) {
  .labs-page .custom-cursor-dot {
    background-color: #000000;
  }
  .labs-page .custom-cursor-ring {
    border-color: rgba(0, 0, 0, 0.28);
  }
  .labs-page.custom-cursor-hover .custom-cursor-dot {
    background-color: #000000;
  }
  .labs-page.custom-cursor-hover .custom-cursor-ring {
    border-color: #000000;
    background-color: rgba(0, 0, 0, 0.12);
    mix-blend-mode: normal;
  }
}

/* --- Mobile Scroll-Lock & Touch Optimizations --- */
body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* Force header to position: fixed when body is scroll-locked so it doesn't jump out of view */
body.no-scroll .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 90;
}

a, button, .btn {
  touch-action: manipulation;
}

/* Tactile active touch feedback for mobile links, buttons, and cards */
.btn:active,
.btn-primary:active,
.work-card:active,
.artist-card:active,
.mobile-cta a:active {
  transform: scale(0.97);
  transition: transform 0.1s ease;
}

/* Custom scrollbar for mobile navigation overlay */
.nav-links::-webkit-scrollbar {
  width: 3px;
}
.nav-links::-webkit-scrollbar-track {
  background: transparent;
}
.nav-links::-webkit-scrollbar-thumb {
  background: var(--sand);
  border-radius: 99px;
}

/* Disable heavy GPU-taxing background effects (animated blurred orbs and masked grids) on mobile & tablets for silky-smooth scrolling */
@media (max-width: 1060px) {
  body::before,
  body::after {
    display: none !important;
  }
}

/* --- Additional Mobile Optimization Enhancements --- */

/* Horizontal scrolling for portfolio filters on mobile viewports */
@media (max-width: 720px) {
  .portfolio-controls {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x proximity;
    gap: 8px !important;
    padding: 6px 16px 14px !important;
    margin: 0 -16px 18px !important; /* Bleeds filters edge-to-edge for premium app look */
    scrollbar-width: none !important;
  }
  
  .portfolio-controls::-webkit-scrollbar {
    display: none !important;
  }
  
  .filter-btn {
    flex-shrink: 0 !important;
    scroll-snap-align: start;
    min-height: 44px !important; /* Easier touch target */
    padding: 8px 18px !important;
    font-size: 13px !important;
  }
}

/* Ensure mobile menu toggle has an optimal touch target */
@media (max-width: 1060px) {
  .menu-toggle {
    width: 48px !important;
    height: 48px !important;
  }
}

/* Adjustments for Creative Labs Page mobile menu overlay style */
@media (max-width: 1060px) {
  .labs-page .nav-links {
    background: rgba(227, 212, 182, 0.96) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: none !important;
  }
  
  .labs-page .nav-links a {
    border-bottom: none !important;
    color: #000000 !important;
  }
  
  .labs-page .nav-links::after {
    color: rgba(0, 0, 0, 0.4) !important;
  }
}

/* Force work-card captions to remain visible on mobile/touch viewports since hover is not native */
@media (max-width: 720px) {
  .work-card figcaption {
    transform: none !important;
  }
  .work-card figcaption p {
    opacity: 0.85 !important;
    max-height: 60px !important;
    margin-top: 4px !important;
    font-size: 12px !important;
  }
}

/* --- Sezione Laboratori Creativi in Home Page --- */
.home-labs-band {
  width: min(1180px, calc(100% - 32px));
  margin: 64px auto;
  background: #e3d4b6;
  border-radius: 24px;
  color: #060605;
  padding: 64px;
  overflow: hidden;
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.4);
}

.home-labs-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: 64px;
}

.home-labs-content .label {
  color: rgba(6, 6, 5, 0.6);
}

.home-labs-content .label::before {
  background: rgba(6, 6, 5, 0.3);
}

.home-labs-content h2 {
  color: #060605;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.05;
  margin: 16px 0 24px;
}

.home-labs-content p {
  color: rgba(6, 6, 5, 0.8);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 580px;
}

.home-labs-band .btn {
  border-color: #000000;
  color: #000000;
  background: transparent;
}

.home-labs-band .btn:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.home-labs-band .btn-primary {
  color: #ffffff;
  border-color: #000000;
  background: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.home-labs-band .btn-primary:hover {
  color: #000000;
  background: transparent;
  border-color: #000000;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.home-labs-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-labs-visual .labs-board-paper {
  max-width: 320px;
}

@media (max-width: 900px) {
  .home-labs-band {
    padding: 48px 24px;
    margin: 40px auto;
  }
  
  .home-labs-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .home-labs-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .home-labs-content .cta-row {
    justify-content: center;
  }
  
  .home-labs-visual .labs-board-paper {
    max-width: 280px;
  }
}

/* Custom hero with background image for identita.html */
.page-hero.hero-with-bg {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 130px 0 64px !important;
  background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.8)), url('../img/studio-interno.jpg');
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  border-bottom: none !important;
  position: relative;
  margin-top: -98px !important;
  padding-top: calc(98px + 120px) !important;
}

.hero-bg-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

@media (max-width: 720px) {
  .page-hero.hero-with-bg {
    margin-top: -80px !important;
    padding-top: calc(80px + 60px) !important;
    padding-bottom: 36px !important;
    background-position: center 30%;
  }

  .labs-carousel-slide {
    align-content: start !important;
    align-items: start !important;
  }

  .labs-carousel-image {
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
    overflow: hidden;
  }

  .labs-carousel-info {
    padding: 30px 24px !important;
  }
}





