/* GMT Capital: gestore istituzionale. Pagina bianca, inchiostro nero, il monogramma come unica grafica. */
@font-face { font-family: 'Archivo'; src: url('fonts/Archivo.ttf') format('truetype'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --paper: #ffffff;
  --ground: #f5f5f3;
  --ink: #0d0d0e;
  --ink-2: #5d5d60;
  --ink-3: #6f6f73;
  --night: #0d0d0e;
  --night-2: #1b1b1d;
  --on-night: #f2f2f0;
  --on-night-2: #a3a3a6;
  --rule: #e2e2df;
  --rule-night: #2c2c2f;
  --gold: #a8874a;
  --open: #2f9e6a;
  --text: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --t-hero: clamp(1.85rem, 1.2rem + 3.9vw, 4.75rem);
  --t-h2: clamp(2rem, 1.3rem + 2.2vw, 3.5rem);
  --t-statement: clamp(1.6rem, 1.1rem + 1.7vw, 2.75rem);
  --t-lead: clamp(1.125rem, 1.04rem + 0.35vw, 1.375rem);
  --t-small: 0.875rem;
  --m: max(20px, 4.5vw);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; font-stretch: 100%; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }

.h2 { font-size: var(--t-h2); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.note { font-size: var(--t-small); color: var(--ink-3); }
.note--dark { color: var(--on-night-2); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px;
  border: 1px solid var(--ink); border-radius: 0; font-size: 0.9375rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn .ic { transition: transform 0.4s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--paper); color: var(--ink); }
.btn--light { background: var(--on-night); color: var(--ink); border-color: var(--on-night); }
.btn--light:hover { background: transparent; color: var(--on-night); }
.btn--small { min-height: 42px; padding: 0 18px; font-size: var(--t-small); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.link { font-weight: 600; text-decoration: none; padding: 6px 0; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 1px no-repeat; transition: background-size 0.4s var(--ease); }
.link:hover { background-image: linear-gradient(var(--gold), var(--gold)); background-size: 100% 2px; }

/* =========================================================================
   TESTATA
   ========================================================================= */
.top {
  position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 28px;
  min-height: 72px; padding: 0 var(--m); background: var(--paper); border-bottom: 1px solid var(--rule);
}
.top__back { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 7px; border: 1px solid var(--rule); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; transition: border-color 0.3s; }
.top__back:hover { border-color: var(--ink); }
.top__back .ic { width: 14px; height: 14px; }
.top__brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.top__mark { width: 16px; height: 27px; fill: var(--ink); }
.top__word { width: 132px; height: 12px; fill: var(--ink); }
.top__nav { justify-self: end; display: flex; gap: 30px; font-size: 0.9375rem; font-weight: 500; }
.top__nav a { text-decoration: none; padding: 24px 0; box-shadow: inset 0 -2px 0 transparent; transition: box-shadow 0.3s; }
.top__nav a:hover { box-shadow: inset 0 -2px 0 var(--gold); }

/* =========================================================================
   APERTURA
   ========================================================================= */
.hero { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; align-items: center; min-height: calc(100svh - 72px - 64px); padding: 64px var(--m) 72px; }
.hero__text { display: grid; gap: 26px; align-content: center; }
.hero__title { font-size: var(--t-hero); font-weight: 500; line-height: 1.04; letter-spacing: -0.035em; }
.hero__title span { display: block; white-space: nowrap; }
.hero__lead { max-width: 40ch; font-size: var(--t-lead); color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 6px; }
.hero__art { position: relative; aspect-ratio: 484 / 800; max-height: 68svh; justify-self: center; height: 68svh; max-width: 100%; cursor: crosshair; touch-action: pan-y; }
.hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--ink); }
.hero__lines { position: absolute; inset: -6% -18%; width: 136%; height: 112%;
  /* il campo di linee sfuma nel bianco: niente riquadro */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent), linear-gradient(transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent), linear-gradient(transparent, #000 7%, #000 93%, transparent); mask-composite: intersect; }
.js .hero__fallback { visibility: hidden; }

/* barra dei mercati */
.bar { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: stretch; background: var(--night); color: var(--on-night); }
.bar__gmt { display: grid; align-content: center; padding: 14px var(--m); border-right: 1px solid var(--rule-night); }
.bar__gmt span { font-size: 0.75rem; letter-spacing: 0.12em; color: var(--on-night-2); }
.bar__gmt b { font-weight: 400; font-size: 1.375rem; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.bar__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bar__item { display: grid; gap: 2px; padding: 14px 22px; border-right: 1px solid var(--rule-night); }
.bar__item:last-child { border-right: 0; }
.bar__city { font-size: var(--t-small); font-weight: 600; }
.bar__row { display: flex; align-items: baseline; gap: 10px; font-size: 0.8125rem; color: var(--on-night-2); }
.bar__row b { font-weight: 400; font-size: 1.0625rem; color: var(--on-night); font-variant-numeric: tabular-nums; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--on-night-2); flex: none; translate: 0 -1px; }
.is-open .dot { background: var(--open); }

/* =========================================================================
   SEZIONI
   ========================================================================= */
.who, .approach, .markets { padding: clamp(96px, 11vw, 160px) var(--m) 0; }
.who__statement { max-width: 30ch; font-size: var(--t-statement); font-weight: 400; line-height: 1.3; letter-spacing: -0.02em; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: clamp(56px, 6vw, 88px); }
.pillar { display: grid; gap: 14px; align-content: start; padding-top: 22px; border-top: 1px solid var(--ink); }
.pillar h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; }
.pillar p { color: var(--ink-2); max-width: 34ch; }
.who > .note { margin-top: 28px; }

.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head p { color: var(--ink-2); max-width: 42ch; }

/* righe dell'approccio: al passaggio la riga diventa nera e si apre */
.steps { border-top: 1px solid var(--ink); }
.step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 40px; align-items: center; padding: 30px 20px; margin: 0 -20px; border-bottom: 1px solid var(--rule); outline: none; transition: background-color 0.35s, color 0.35s; }
.step__name { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem); font-weight: 500; letter-spacing: -0.03em; }
.step p { max-width: 52ch; color: var(--ink-2); transform: translateX(-8px); transition: transform 0.5s var(--ease), color 0.35s; }
.step:hover, .step:focus-visible { background: var(--night); color: var(--on-night); }
.step:hover p, .step:focus-visible p { transform: none; color: var(--on-night); }

/* mercati: elenco e mappa a puntini */
.globe { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: center; }
.cities { border-top: 1px solid var(--ink); }
.city { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 16px 12px; margin: 0 -12px; border-bottom: 1px solid var(--rule); outline: none; transition: background-color 0.3s; }
.city:hover, .city.is-on, .city:focus-visible { background: var(--ground); }
.city__name { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.city__time { font-size: 1.25rem; font-variant-numeric: tabular-nums; text-align: right; }
.city__ex { font-size: var(--t-small); color: var(--ink-3); }
.city__state { display: inline-flex; align-items: center; gap: 8px; justify-self: end; font-size: var(--t-small); color: var(--ink-2); }
.city .dot { background: var(--ink-3); }
.map { position: relative; aspect-ratio: 120 / 52; }
.map__dots { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__pins { position: absolute; inset: 0; }
.pin { position: absolute; translate: -50% -50%; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--ink); transition: transform 0.4s var(--ease), background-color 0.3s; }
.pin.is-open { background: var(--open); box-shadow: 0 0 0 1px var(--open); }
.pin.is-on { transform: scale(1.45); }
.pin__label { position: absolute; left: 50%; bottom: calc(100% + 10px); translate: -50% 0; padding: 6px 10px; background: var(--ink); color: var(--paper); font-size: 0.8125rem; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity 0.3s, transform 0.4s var(--ease); pointer-events: none; }
.pin.is-on .pin__label { opacity: 1; transform: none; }
.pin--below .pin__label { bottom: auto; top: calc(100% + 10px); }
.markets > .note { margin-top: 24px; }

/* investitori */
.investors { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 80px; margin-top: clamp(96px, 11vw, 160px); padding: clamp(72px, 8vw, 120px) var(--m); background: var(--night); color: var(--on-night); }
.investors__copy { display: grid; gap: 18px; align-content: start; }
.investors__copy p:not(.note) { max-width: 36ch; color: var(--on-night-2); font-size: var(--t-lead); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.field { display: grid; gap: 8px; font-size: var(--t-small); color: var(--on-night-2); }
.field i { font-style: normal; opacity: 0.75; }
.field input, .field select { width: 100%; min-height: 48px; padding: 8px 0; border: 0; border-bottom: 1px solid #4a4a4e; border-radius: 0; background: transparent; color: var(--on-night); font-size: 1.0625rem; caret-color: var(--on-night); transition: border-color 0.3s; }
.field select { appearance: none; padding-right: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23f2f2f0' stroke-width='1.6'/%3E%3C/svg%3E") right 0 center / 18px no-repeat; cursor: pointer; }
.field select option { background: var(--night-2); color: var(--on-night); }
.field input:hover, .field select:hover { border-color: #8a8a8e; }
.field input:focus, .field select:focus { outline: none; border-color: var(--on-night); }
.field input[aria-invalid='true'] { border-color: #e2715c; }
.check { grid-column: 1 / -1; display: flex; gap: 14px; align-items: flex-start; font-size: 0.9375rem; color: var(--on-night-2); cursor: pointer; }
.check input { appearance: none; flex: none; width: 20px; height: 20px; margin: 2px 0 0; border: 1px solid #6a6a6e; background: transparent; cursor: pointer; }
.check input:checked { border-color: var(--on-night); background: var(--on-night) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%230d0d0e' stroke-width='2'/%3E%3C/svg%3E") center / 16px no-repeat; }
.check input[aria-invalid='true'] { border-color: #e2715c; }
.form__err { grid-column: 1 / -1; color: #e2715c; }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form__ok { grid-column: 1 / -1; color: var(--on-night); }

/* piede */
.foot { padding: 64px var(--m) 40px; }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--rule); }
.foot__brand { display: inline-flex; align-items: center; gap: 18px; text-decoration: none; }
.foot__mark { width: 34px; height: 56px; fill: var(--ink); }
.foot__lock { display: grid; gap: 8px; }
.foot__word { width: 230px; height: 20px; fill: var(--ink); }
.foot__tag { width: 140px; height: 10px; fill: var(--ink-2); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-weight: 500; }
.foot__nav a { text-decoration: none; }
.foot__nav a:hover { text-decoration: underline; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; padding-top: 24px; font-size: var(--t-small); color: var(--ink-3); }
.foot__base p:first-child { max-width: 70ch; }
.foot__base a { color: var(--ink); }




/* =========================================================================
   TABLET E TELEFONO
   ========================================================================= */
@media (max-width: 1080px) {
  .top { grid-template-columns: auto auto 1fr; }
  .top__nav { display: none; }
  .top .btn--small { justify-self: end; }
  .bar { grid-template-columns: 1fr; }
  .bar__gmt { grid-template-columns: auto auto; justify-content: start; gap: 12px; align-items: baseline; border-right: 0; border-bottom: 1px solid var(--rule-night); }
  .bar__list { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .globe { grid-template-columns: 1fr; }
  .investors { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .top { gap: 12px; }
  .top__word { width: 104px; height: 10px; }
  .hero { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding-top: 40px; }
  .hero__art { order: -1; width: calc(100% + 2 * var(--m)); max-width: none; height: 280px; margin: 0 calc(-1 * var(--m)); aspect-ratio: auto; max-height: none; justify-self: stretch; }
  .hero__lines { inset: 0; width: 100%; height: 100%; }
  .hero__fallback { left: 50%; width: auto; translate: -50% 0; }
  .bar__list { grid-template-columns: 1fr; overflow: visible; }
  .bar__item { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px var(--m); border-right: 0; border-top: 1px solid var(--rule-night); }
  .bar__row span:last-child { white-space: nowrap; }
  .pillars { grid-template-columns: 1fr; gap: 32px; }
  .h2 { font-size: 1.625rem; }
  :root { --t-statement: 1.375rem; }
  .sec-head { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; padding: 22px 16px; margin: 0 -16px; }
  .step p { opacity: 1; transform: none; }
  .form { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}
