:root {
  --midnight: #15151b;
  --bronze: #a77745;
  --ivory: #f5f1e9;
  --smoke: #c8c2b8;
}
.hero {
  background: var(--midnight);
  color: var(--ivory);
  position: relative;
}
.hero:after {
  content: "DUBAI · UAE";
  position: absolute;
  right: clamp(24px, 6vw, 96px);
  bottom: 34px;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.55);
}
.hero .intro {
  color: var(--smoke);
}
.hero .primary {
  background: var(--bronze);
}
.hero-mark span {
  -webkit-text-stroke-color: rgba(167, 119, 69, 0.48);
}
.branches {
  background: var(--ivory);
  padding-top: 125px;
}
.branches-heading h2 {
  color: var(--midnight);
}
.cluster {
  height: 860px;
  max-width: 1180px;
}
.holding-node {
  width: 320px;
  height: 320px;
  background: var(--midnight);
  border: 1px solid rgba(167, 119, 69, 0.65);
}
.branch-node {
  width: 190px;
  height: 190px;
  padding: 22px;
  background: #fff;
}
.branch-node img {
  width: 118px;
  height: 96px;
}
.peace-node {
  left: 9%;
  top: 1%;
}
.diplomatic-node {
  right: 9%;
  top: 1%;
  background: #46564c;
}
.cafe-node {
  left: 0;
  top: 40%;
}
.social-node {
  right: 0;
  top: 40%;
  background: #884a35;
}
.tent-node {
  left: 12%;
  bottom: 0;
  background: #af9677;
  color: #fff;
}
.academy-node {
  right: 12%;
  bottom: 0;
  background: #173d53;
  color: #fff;
}
.cluster-line {
  width: 430px !important;
  background: rgba(21, 21, 27, 0.2);
}
.line-one {
  transform: rotate(218deg);
}
.line-two {
  transform: rotate(322deg);
}
.line-three {
  transform: rotate(180deg);
}
.line-four {
  transform: rotate(0deg);
}
.line-five {
  transform: rotate(142deg);
}
.line-six {
  transform: rotate(38deg);
}
.branch-list {
  padding: 130px clamp(24px, 6vw, 96px);
  background: var(--midnight);
  color: var(--ivory);
}
.branch-list-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 58px;
}
.branch-list-heading h2 {
  font-family: Georgia, serif;
  font-size: clamp(3.4rem, 7vw, 7rem);
  font-weight: 400;
  line-height: 0.9;
  margin: 0;
}
.branch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.branch-card {
  min-height: 405px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.branch-card .number {
  color: var(--bronze);
}
.branch-card img {
  width: 150px;
  height: 125px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin: auto 0 14px;
}
.card-monogram {
  font-family: Georgia, serif;
  font-size: 4.5rem;
  color: var(--bronze);
  margin: auto 0 25px;
}
.branch-card h3 {
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 16px;
}
.branch-card > p:last-of-type {
  font-family: Georgia, serif;
  line-height: 1.55;
  color: var(--smoke);
  font-size: 1rem;
  margin: 0;
}
.card-status {
  margin-top: 18px;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
}
.headquarters {
  min-height: 720px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  background: var(--bronze);
  color: #fff;
  align-items: center;
  padding: 90px clamp(24px, 8vw, 130px);
  gap: 8vw;
  overflow: hidden;
}
.hq-index {
  font-family: Georgia, serif;
  font-size: clamp(12rem, 25vw, 28rem);
  line-height: 0.7;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.46);
}
.hq-copy h2 {
  font-family: Georgia, serif;
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 400;
  line-height: 0.9;
  margin: 26px 0;
}
.hq-copy h2 em {
  font-size: 0.45em;
  font-weight: 400;
}
.hq-copy > p:not(.section-label) {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.55;
  max-width: 620px;
}
.hq-copy > span {
  display: block;
  margin-top: 32px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact {
  background: var(--midnight);
}
@media (max-width: 900px) {
  .branch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .headquarters {
    grid-template-columns: 1fr;
  }
  .hq-index {
    display: none;
  }
}
@media (max-width: 760px) {
  .cluster {
    height: auto;
  }
  .branch-node {
    width: 100%;
    height: auto;
  }
  .branch-list {
    padding-top: 90px;
    padding-bottom: 90px;
  }
  .branch-list-heading {
    display: block;
  }
  .branch-list-heading h2 {
    margin-top: 20px;
  }
  .branch-grid {
    grid-template-columns: 1fr;
  }
  .branch-card {
    min-height: 360px;
  }
  .headquarters {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .hq-copy h2 {
    font-size: 3.8rem;
  }
}
/* Home editoriale Artissima */
.hero {
  border-bottom: 1px solid rgba(167, 119, 69, 0.38);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(167, 119, 69, 0.16);
  pointer-events: none;
}
.hero:after {
  content: "VILLA 2 · AL FAHIDI · DUBAI";
  right: clamp(48px, 7vw, 112px);
  bottom: 52px;
}
.branches {
  padding-bottom: 150px;
}
.cluster {
  height: 790px;
  max-width: 1120px;
}
.headquarters {
  min-height: 760px;
  background: linear-gradient(
    135deg,
    #8c5c34 0%,
    var(--bronze) 55%,
    #bd956b 100%
  );
  position: relative;
}
.headquarters:after {
  content: "HEADQUARTERS";
  position: absolute;
  right: 5vw;
  top: 55px;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 760px) {
  .hero:before {
    inset: 14px;
  }
  .hero:after {
    right: 28px;
    bottom: 24px;
    font-size: 0.58rem;
  }
  .cluster {
    height: auto;
  }
  .headquarters {
    min-height: auto;
  }
}

/* Direzione luminosa: istituzionale, culturale, aperta */
.hero {
  min-height: calc(86vh - 94px);
  background: linear-gradient(120deg, #fff 0%, #f7f3eb 72%, #eee5d8 100%);
  color: var(--midnight);
}
.hero:before {
  border-color: rgba(167, 119, 69, 0.28);
}
.hero:after {
  color: rgba(21, 21, 27, 0.55);
}
.hero .intro {
  color: #615b54;
}
.hero .primary {
  background: #46564c;
  color: #fff;
}
.hero-mark span {
  -webkit-text-stroke-color: rgba(167, 119, 69, 0.5);
}
.branches {
  padding-top: 88px;
  padding-bottom: 100px;
  background: #f1eee7;
}
.cluster {
  height: 590px;
  max-width: 900px;
  margin-top: 38px;
}
.holding-node {
  width: 238px;
  height: 238px;
  background: #fff;
  color: var(--midnight);
  border: 1px solid rgba(167, 119, 69, 0.55);
  box-shadow: 0 22px 55px rgba(60, 48, 38, 0.12);
}
.holding-node img {
  width: 152px;
  height: 120px;
  filter: none;
}
.branch-node {
  width: 154px;
  height: 154px;
  padding: 16px;
  box-shadow: 0 12px 32px rgba(60, 48, 38, 0.09);
}
.branch-node img {
  width: 94px;
  height: 75px;
}
.branch-node span {
  font-size: 0.86rem;
}
.branch-node small {
  display: block;
  font-size: 0.55rem;
  line-height: 1.25;
  letter-spacing: 0.06em;
  margin-top: 5px;
  text-transform: uppercase;
}
.cluster-initials {
  font-size: 2.8rem !important;
  margin-bottom: 8px;
}
.peace-node {
  left: 10%;
  top: 0;
}
.diplomatic-node {
  right: 10%;
  top: 0;
}
.cafe-node {
  left: 0;
  top: 38%;
}
.social-node {
  right: 0;
  top: 38%;
}
.tent-node {
  left: 13%;
  bottom: 0;
}
.academy-node {
  right: 13%;
  bottom: 0;
}
.cluster-line {
  width: 340px !important;
  background: rgba(167, 119, 69, 0.38);
}
.contact {
  background: #46564c;
}
.contact-details {
  display: grid;
  gap: 10px;
  margin: 30px 0 34px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-style: normal;
  line-height: 1.55;
}
.contact-details a {
  width: fit-content;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
@media (max-width: 760px) {
  .hero {
    min-height: auto;
  }
  .branches {
    padding-top: 75px;
    padding-bottom: 85px;
  }
  .cluster {
    height: auto;
    margin-top: 36px;
  }
  .holding-node {
    width: 100%;
    height: auto;
  }
  .branch-node {
    width: 100%;
    height: auto;
  }
  .branch-node small {
    font-size: 0.62rem;
  }
  .hero-mark {
    display: none;
  }
}

/* Costellazione compatta: Artissima + 6 realtà */
.branches {
  padding: 70px clamp(24px, 6vw, 96px) 78px;
}
.branches-heading {
  max-width: 1080px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 22px;
}
.branches-heading .section-label {
  grid-column: 1/-1;
  margin: 0;
}
.branches-heading h2 {
  font-size: clamp(2.8rem, 4.7vw, 5rem);
  margin: 4px 0 0;
}
.branches-intro {
  margin: 0;
  max-width: 390px;
  font-size: 1rem;
}
.cluster {
  height: auto;
  max-width: 1080px;
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: 250px repeat(3, 1fr);
  grid-template-rows: 172px 172px;
  gap: 16px;
}
.cluster-line {
  display: none;
}
.cluster-node {
  position: static;
  transform: none;
  width: 100%;
  height: 100%;
  border-radius: 22px;
}
.holding-node {
  grid-column: 1;
  grid-row: 1/3;
  transform: none;
  padding: 18px;
  background: #fff;
}
.holding-node img {
  width: 232px;
  height: 218px;
}
.branch-node {
  min-height: 0;
  padding: 16px;
}
.branch-node:hover {
  transform: translateY(-4px);
}
.branch-node img {
  width: 88px;
  height: 68px;
}
.peace-node img {
  width: 100%;
  height: 150px;
}
.peace-node{padding:10px}
.cafe-node img {
  width: 100%;
  height: 138px;
}
.branch-node span {
  font-size: 0.92rem;
  line-height: 1.15;
}
.peace-node,
.diplomatic-node,
.cafe-node,
.social-node,
.tent-node,
.academy-node {
  inset: auto;
}
@media (max-width: 900px) {
  .branches-heading {
    grid-template-columns: 1fr;
  }
  .branches-heading .section-label {
    grid-column: auto;
  }
  .cluster {
    grid-template-columns: 210px repeat(2, 1fr);
    grid-template-rows: repeat(3, 150px);
  }
  .holding-node {
    grid-row: 1/4;
  }
  .holding-node img {
    width: 200px;
    height: 188px;
  }
  .peace-node img,
  .cafe-node img {
    height: 120px;
  }
}
@media (max-width: 760px) {
  .branches-heading {
    display: block;
  }
  .branches-intro {
    margin-top: 15px;
  }
  .cluster {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }
  .cluster-node {
    min-height: 145px;
  }
  .holding-node {
    grid-column: 1/-1;
    grid-row: auto;
    min-height: 190px;
  }
  .holding-node img {
    width: 200px;
    height: 184px;
  }
  .branch-node {
    width: 100%;
    height: auto;
  }
  .peace-node img,
  .cafe-node img {
    height: 125px;
  }
}
