/* Klik: real encounters, clear typography, a red frame that opens onto the work. */
:root { --signature-ease: cubic-bezier(.16,1,.3,1); }
::selection { background: #f8c4c7; color: #171820; }
.button { border-radius: 2px; }
.button:not(.small) > .arrow { padding-left: 15px; border-left: 1px solid currentColor; }
.button:focus-visible, .text-link:focus-visible { outline-offset: 5px; }
.section-head h2 { line-height: 1.13; }
.section-head .lead { max-width: 48ch; line-height: 1.8; }

/* Neighbouring editorial sections share one vertical gap, not two.
   Keep inset space at background changes and below sticky section navigation.
   Scope this to the shared page layout; the custom market layout retains
   its own spacing and background treatments. */
main > .section:not(:is(.soft,.blue,.dark,.jump-section)) + .section:not(:is(.soft,.blue,.dark,.jump-section)),
:is(main,.exhibitions-refined) > .section.soft:not(.jump-section) + .section.soft:not(.jump-section) {
  padding-block-start: 0;
}
.section-sm > .wrap > .actions:only-child { margin-top: 0; }
.section .legal { padding-bottom: 0; }

/* A clear title on the actual TIF31 film, with an open frame at the edge. */
.hero-copy h1 { font-size: clamp(3.6rem,6.5vw,6.35rem); line-height: 1.065; }
.hero-copy h1 .hero-title-main { display: block; color: #fff; }
.hero-copy h1 .hero-title-secondary { margin-top: 24px; }
.home-hero:after {
  background: linear-gradient(90deg,#101218f5 0%,#101218d9 43%,#10121859 75%,#10121826),
    linear-gradient(0deg,#101218b3,transparent 55%);
}
.hero-stage:after {
  content: ''; position: absolute; right: 0; top: 68px; bottom: 116px;
  width: clamp(110px,16vw,240px); border-top: 3px solid var(--brand-red);
  border-right: 1px solid #ffffff66; border-bottom: 3px solid var(--brand-red);
  pointer-events: none; transform-origin: top right;
}
.hero-copy { position: relative; z-index: 1; }
.hero-aside { z-index: 1; }
.hero-motion .play-link { font-size: .9375rem; }
.hero-motion .play-disc { border-color: #ffffff80; background: #17182066; }
.next-event-inner { padding-block: 30px; }
.next-event h2 { font-weight: 650; }
.next-event .next-date { font-size: 1rem; font-variant-numeric: tabular-nums; }
.next-event .next-date span { font-size: .875rem; }

/* Established credentials read as an editorial index, without animated counters. */
.credential-grid { padding-block: 36px; }
.credential { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.credential b { display: block; font-size: clamp(2rem,3.1vw,3rem); line-height: 1; letter-spacing: -.045em; color: var(--ink); }
.credential span { font-size: .875rem; line-height: 1.6; max-width: 24ch; }
.credential .credential-name { color: var(--ink); font-weight: 600; max-width: 29ch; margin: 0; }
.credential .credential-detail { margin-top: auto; padding-top: 2px; }
.credential:after {
  content: ''; display: block; width: 32px; height: 2px; margin-top: 5px;
  background: var(--brand-red); transform-origin: left;
}
.credential:focus-visible { outline-offset: 6px; }

/* Relevant archive photography gives the existing services a tangible presence. */
.home-services .services-grid { gap: 44px; }
.home-services .service-tile-visual {
  display: block; padding: 0 0 30px; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; background: transparent; box-shadow: none; transform: none;
}
.service-photo { position: relative; margin: 0 0 30px; overflow: hidden; background: var(--ink); border-radius: 3px; }
.service-photo > img { width: 100%; display: block; aspect-ratio: 1.65; object-fit: cover; }
.service-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 38px 22px 18px;
  background: linear-gradient(transparent,#101218e8); color: #fff;
  font-size: .8125rem; line-height: 1.6; pointer-events: none;
}
.service-detail { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 20px; }
.service-detail .number { padding-top: 7px; font-variant-numeric: tabular-nums; }
.service-detail h3 { font-size: clamp(1.5rem,2.1vw,2rem); line-height: 1.25; font-weight: 550; }
.service-detail p { max-width: 52ch; font-size: 1rem; line-height: 1.8; }
.service-detail .text-link { color: var(--red); }
.home-services .service-tile-visual:focus-within { border-bottom-color: var(--red); }

/* One supporting photograph and three clear steps for the market-entry invitation. */
.market-access .market-feature { grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(36px,5vw,76px); }
.market-feature-copy { min-width: 0; }
.market-feature-image { margin: 0; min-width: 0; }
.market-feature-image>img { display: block; width: 100%; aspect-ratio: 1.25; height: auto; object-fit: cover; border-radius: 3px; }
.market-feature-image figcaption { padding-top: 14px; font-size: .875rem; line-height: 1.6; color: #c2c7d4; }
.market-access .market-feature-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; margin-top: 52px; padding-top: 0; }
.market-access .market-feature-list .list-item { display: block; padding: 24px 0 0; border-top: 1px solid #ffffff38; }
.market-access .market-feature-list .number { display: block; margin-bottom: 14px; }
.market-access .market-feature-list .list-item p { font-size: 1rem; line-height: 1.8; margin-top: 12px; }

/* The supplied history and business photographs frame the company introduction. */
.about-intro .page-hero-grid figure { min-height: 0; aspect-ratio: 1.73; align-self: center; }
.about-role-layout { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: clamp(490px,43vw,640px); }
.about-role-photo { position: absolute; inset: 0; margin: 0; }
.about-role-photo>img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 45% center; }
.about-role-copy { position: relative; grid-column: 2; margin-block: 38px; padding: clamp(30px,3.3vw,50px); background: #171820f7; border-top: 3px solid var(--brand-red); color: #fff; }
.about-role-copy .eyebrow { color: var(--red-on-dark); }
.about-role-copy h2 { font-size: clamp(2rem,3.1vw,3.15rem); line-height: 1.16; }
.about-role-copy .lead { color: #e0e2e9; font-size: 1rem; line-height: 1.85; margin-top: 24px; }

/* Human voices use a considered editorial contrast to the business typography. */
.voice-track { box-shadow: 0 18px 44px #17182005; }
.voice-slide blockquote {
  font-family: Georgia, 'Times New Roman', serif; font-weight: 400;
  font-size: clamp(1.9rem,2.65vw,2.9rem); line-height: 1.42; letter-spacing: -.025em;
  max-width: 36ch;
}
.voice-slide figcaption img { border-radius: 50%; border-color: #fff1f1; }
.voice-slide .quote-mark { opacity: .7; }
.voice-dot[aria-pressed=true] { border-color: #e3a6aa; background: #fff; }

/* Framing carries into editorial content, while preserving the page layouts. */
.page-hero-grid figure:before { border-width: 2px; }
.page-hero-grid figcaption { font-size: .875rem; box-shadow: none; }
.news-card { padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.news-card:focus-within { border-color: var(--red); }
.news-image { overflow: hidden; }
.news-image-italy>img, .media-open[data-media="italian-flag"]>img { object-position: 50% 54%; }
.news-card .text-link { color: var(--red); }
.gallery-preview .media-caption { padding-top: 16px; }
.gallery-preview .media-caption strong { font-size: .9375rem; }
.gallery-preview { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; }
.gallery-preview .media-tile:nth-child(2) { margin-top: 0; }
.gallery-preview .media-open { aspect-ratio: 1.5; }
.gallery-preview .media-open>img,
.gallery-preview .media-tile:first-child .media-open>img { height: 100%; aspect-ratio: auto; }
.network-group { border-top-color: var(--line); }
.network-group h3 { line-height: 1.4; }

/* The closing invitation is part of the identity, rather than a large colour slab. */
.cta-section { background: var(--ink); color: #fff; padding-block: 94px; border: 0; }
.cta-section:before { width: 5px; height: 100%; background: var(--brand-red); }
.cta-section:after {
  content: ''; position: absolute; right: 26px; top: 26px; width: 54px; height: 54px;
  border-top: 2px solid var(--brand-red); border-right: 2px solid var(--brand-red);
  pointer-events: none; transform-origin: top right;
}
.cta-inner { position: relative; gap: 60px; }
.cta-inner h2 { max-width: 22ch; font-weight: 500; line-height: 1.13; }
.cta-inner p { color: #d5d7df; font-size: 1rem; max-width: 58ch; }
.cta-inner .button.light { flex-shrink: 0; color: var(--ink); background: #fff; border-color: #fff; }
.cta-inner .button.light:hover { color: var(--red); }
.cta-section :focus-visible { outline-color: #fff; }
.site-footer { padding-top: 70px; }
.footer-wordmark-container { container-type: inline-size; width: 100%; min-width: 0; }
.footer-wordmark {
  color: #363840; -webkit-text-stroke: 1px #7b7d88;
  font-size: clamp(1rem,9vw,9.5rem); font-weight: 550; letter-spacing: -.06em; line-height: 1.12;
  max-width: 100%; white-space: normal; overflow: visible; margin-bottom: 0;
  padding: 32px 3px 10px;
  text-align: center;
}
@supports (font-size: 1cqw) { .footer-wordmark { font-size: 11.7cqw; } }
@supports (-webkit-text-stroke: 1px white) { .footer-wordmark { color: transparent; } }
.footer-links a { text-underline-offset: 5px; }
.footer-links a:hover, .footer-links a:focus-visible { color: #fff; text-decoration: underline; text-decoration-color: var(--red-on-dark); }

/* A clearly visible reading bar travels left to right along the top edge. */
.reading-progress {
  position: fixed; z-index: 40; left: 0; right: 0; top: 0; height: 6px;
  background: #d9dce2; box-shadow: 0 1px 0 #ffffffb3, 0 2px 5px #17182018;
  pointer-events: none; user-select: none;
}
.reading-progress[hidden] { display: none; }
.reading-progress-fill {
  position: absolute; inset: 0; background: var(--brand-red);
  transform: scaleX(var(--reading-progress,0)); transform-origin: left;
}
.reading-progress-head {
  position: absolute; top: 0; left: 0; width: 16px; height: 100%;
  border: 1px solid #fff; border-radius: 3px; background: var(--brand-red);
  box-shadow: 1px 0 5px #17182026;
  transform: translate3d(var(--reading-offset,0px),0,0);
}
.menu-open .reading-progress, .viewer-open .reading-progress { visibility: hidden; }

/* Verified company profiles, always within reach in a compact branded dock. */
.social-dock {
  position: fixed; right: max(4px,env(safe-area-inset-right,0px)); top: 50%;
  z-index: 25; transform: translateY(-50%); display: flex; flex-direction: column;
  gap: 3px; padding: 3px; border: 1px solid #dedfe4; border-top: 2px solid var(--brand-red);
  border-radius: 10px; background: #fffffff5; backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px #17182012;
}
.social-link {
  display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px;
  color: var(--ink); border-radius: 6px; text-decoration: none; touch-action: manipulation;
}
.social-link svg { display: block; width: 20px; height: 20px; fill: currentColor; }
.social-link:hover, .social-link:focus-visible { color: var(--red); background: #fff0f1; }
.social-link:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.social-link:active { background: #fbdcdf; }
.menu-open .social-dock, .viewer-open .social-dock { visibility: hidden; }

/* Short, one-time marks; all copy and imagery remain visible without animation. */
@media (prefers-reduced-motion:no-preference) {
  @keyframes klik-frame-open { from { opacity: .2; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0); } }
  .hero-stage:after { animation: klik-frame-open 900ms var(--signature-ease) 180ms backwards; }
  .page-hero-grid figure.motion-arrived:before,
  .cta-section:has(.motion-arrived):after { animation: klik-frame-open 700ms var(--signature-ease) backwards; }
  .credential.motion-arrived:after { animation: klik-rule-draw 600ms var(--signature-ease) var(--motion-delay,0ms) backwards; }

  .reading-progress-fill, .reading-progress-head { transition: transform 160ms cubic-bezier(.2,.7,.2,1); }
  @keyframes klik-rail-in { from { opacity: 0; } to { opacity: 1; } }
  .reading-progress { animation: klik-rail-in 240ms ease-out; }
  .social-link { transition: color 180ms ease, background-color 180ms ease; }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .service-photo > img { transition: transform 750ms var(--signature-ease); }
  .service-tile-visual:focus-within .service-photo > img,
  .service-tile-visual:hover .service-photo > img { transform: scale(1.025); }
  .news-image img { transition: transform 750ms var(--signature-ease); }
  .news-card:hover .news-image img, .news-card:focus-within .news-image img { transform: scale(1.025); }
}

@media (max-width:1100px) {
  html { scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom,0px)); }
  .social-dock {
    top: auto; right: auto; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom,0px));
    transform: translateX(-50%); flex-direction: row; gap: 6px; padding: 6px 8px;
  }
  .site-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom,0px)); }
  .hero-stage:after { width: 90px; top: 52px; bottom: 128px; }
  .home-services .services-grid { gap: 30px; }
  .service-detail { grid-template-columns: 24px minmax(0,1fr); gap: 15px; }
  .voice-slide blockquote { font-size: 2rem; }
  .cta-inner { gap: 35px; }
}
@media (max-width:900px) {
  .market-access .market-feature { grid-template-columns: 1fr; gap: 32px; }
  .market-feature-image>img { aspect-ratio: 1.6; object-position: center 48%; }
  .market-access .market-feature-list { gap: 24px; margin-top: 36px; }
  .about-role-layout { display: flex; flex-direction: column; min-height: 0; }
  .about-role-photo { position: static; width: 100%; }
  .about-role-photo>img { height: auto; aspect-ratio: 1.85; }
  .about-role-copy { margin: 0; padding: 32px; }
  .hero-stage:after { display: none; }
  .hero-copy h1 { font-size: clamp(3.7rem,8vw,5.5rem); }
  .credential b { font-size: 2.15rem; }
}
@media (max-width:720px) {
  .market-access .market-feature-list { grid-template-columns: 1fr; gap: 25px; }
  .market-access .market-feature-list .list-item { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 18px; }
  .market-access .market-feature-list .number { margin: 4px 0 0; }
  .about-role-copy { padding: 30px 24px; }
  .about-role-copy h2 { font-size: 2rem; }
  .gallery-preview { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery-preview .media-tile:first-child { grid-column: 1/-1; }
  .gallery-preview .media-tile:first-child .media-open { aspect-ratio: 1.6; }
  .hero-copy h1 { font-size: clamp(2.8rem,10.1vw,4.5rem); line-height: 1.1; }
  .hero-copy h1 .hero-title-secondary { margin-top: 19px; }
  .home-hero:after { background: linear-gradient(90deg,#101218f0,#101218bd),linear-gradient(0deg,#101218c7,transparent 70%); }
  .hero-motion .play-link { font-size: .875rem; }
  .next-event-inner { padding-block: 24px; }
  .next-event .next-date { font-size: .875rem; }
  .next-event .next-date span { font-size: .8125rem; }
  .next-event .text-link { font-size: .875rem; }
  .credential-grid { padding-block: 10px; }
  .credential { gap: 10px; }
  .credential b { font-size: 2rem; }
  .credential span { font-size: .875rem; }
  .credential:after { margin-top: 3px; }
  .home-services .services-grid { gap: 36px; }
  .service-photo { margin-bottom: 24px; }
  .service-photo > img { aspect-ratio: 1.5; }
  .service-photo figcaption { padding-inline: 16px; }
  .service-detail h3 { font-size: 1.55rem; }
  .voice-slide blockquote { font-size: clamp(1.6rem,5.5vw,2rem); line-height: 1.5; }
  .cta-section { padding-block: 65px; }
  .cta-section:after { right: 18px; top: 18px; width: 30px; height: 30px; }
  .cta-inner h2 { font-size: clamp(2.1rem,7.5vw,3rem); }
  .cta-inner p { font-size: 1rem; }
  .cta-inner .button.light { margin-top: 30px; }
  .site-footer { padding-top: 56px; }
  .footer-wordmark { padding-block: 23px 8px; }
}
@media (max-width:380px) {
  .hero-copy h1 { font-size: 2.6rem; }
  .credential b { font-size: 1.8rem; }
  .service-detail { grid-template-columns: 22px minmax(0,1fr); gap: 10px; }
}
@media (prefers-reduced-motion:reduce) {
  .hero-stage:after, .page-hero-grid figure:before, .credential:after, .cta-section:after { animation: none!important; }
  .reading-progress, .reading-progress-fill, .reading-progress-head, .social-link { animation: none!important; transition: none!important; }
}
@media print {
  .reading-progress, .social-dock { display: none!important; }
  .hero-stage:after, .credential:after { display: none; }
  .home-hero .hero-title-main { color: #171820; }
  .service-photo figcaption { position: static; background: none; color: #171820; padding: 10px 0; }
  .service-photo { background: none; break-inside: avoid; }
  .voice-slide blockquote { font-size: 1.25rem; }
}

/* Cooperation describes how the network works, without a partner directory. */
.network-group p { font-size: 1rem; line-height: 1.8; color: var(--muted); margin-top: 20px; max-width: 56ch; }

/* A compact language selector keeps all four editions within easy reach. */
.language-menu { position: relative; flex-shrink: 0; }
.language-menu summary { list-style: none; display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 58px; min-height: 44px; cursor: pointer; color: var(--red); font-size: .875rem; font-weight: 750; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.language-menu[open] summary { background: var(--soft); }
.language-options { position: absolute; z-index: 35; right: 0; top: calc(100% + 12px); width: 190px; padding: 8px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand-red); box-shadow: 0 18px 45px #1718201a; }
.language-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 10px 13px; font-size: 1rem; }
.language-link small { font-size: .8125rem; color: var(--muted); }
.language-link:hover, .language-link.current { background: var(--soft); color: var(--red); }
.language-link.current { font-weight: 700; }
:is(html[lang=it],html[lang=sr-Latn]) .desktop-nav { gap: 16px; }
@media (min-width:1025px) and (max-width:1250px) {
  :is(html[lang=it],html[lang=sr-Latn]) .header-cta { display: none; }
}
@media (prefers-reduced-motion:no-preference) {
  .language-menu summary svg { transition: transform 180ms ease; }
  .language-menu[open] summary svg { transform: rotate(180deg); }
}
@media print { .language-menu { display: none; } }
