/* ================================================================
   ZOOGA — Component & layout styles
   ================================================================ */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ── NAV ─────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 16px; left: 50%;
  transform: translateX(-50%) translateY(-14px);
  z-index: 100;
  display: flex; align-items: center; gap: 28px;
  padding: 10px 22px;
  background: rgba(10,10,10,.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--z-line-2);
  border-radius: 999px;
  width: min(calc(100vw - 32px), 940px);
  opacity: 0; pointer-events: none;
  transition: opacity 320ms var(--z-ease), transform 320ms var(--z-ease);
}
.nav.is-visible {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__brand {
  display: flex; align-items: center;
  text-decoration: none;
  line-height: 0;
}
.nav__brand img { display: block; height: 34px; width: auto; }
.nav__brand span { display: none; }
.nav__links { display: flex; gap: 26px; flex: 1; justify-content: flex-end; }
.nav__link {
  font-family: var(--z-font-display); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--z-paper); text-decoration: none;
  transition: color 200ms var(--z-ease);
  white-space: nowrap;
}
.nav__link:hover { color: var(--z-orange); }

.nav__burger { display: none; }
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger {
    display: inline-grid; place-items: center;
    width: 40px; height: 40px; border-radius: 999px;
    border: 1px solid var(--z-line-2); background: transparent;
    color: var(--z-title); cursor: pointer;
    margin-left: auto;
    transition: all 200ms var(--z-ease);
  }
}

/* Mobile overlay menu — hidden by default on desktop */
.nav__overlay { display: none; }
@media (max-width: 768px) { .nav__overlay { display: flex; } }

/* ── Shared btn ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px;
  font-family: var(--z-font-display); font-weight: 600;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: all 220ms var(--z-ease);
}
.btn--primary { background: var(--z-orange); color: var(--z-ink); }
.btn--primary:hover { background: var(--z-orange-600); transform: translateY(-1px); box-shadow: var(--z-glow-soft); }
.btn--ghost { background: transparent; color: var(--z-title); border-color: var(--z-line-2); }
.btn--ghost:hover { border-color: var(--z-orange); color: var(--z-orange); }
.btn--lg { padding: 18px 28px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Section wrapper ─────────────────────────────────────────── */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--z-gutter); }
.section { padding: var(--z-sp-10) 0; position: relative; }
.section--sm { padding: var(--z-sp-9) 0; }

.sec-head {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end;
  margin-bottom: var(--z-sp-8); padding-bottom: var(--z-sp-5);
  border-bottom: 1px solid var(--z-border);
}
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--z-font-display); font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--z-orange);
  margin-bottom: 20px;
}
.sec-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--z-orange);
}
.sec-title {
  font-family: var(--z-font-display); font-weight: 800;
  font-size: clamp(40px, 5.4vw, 76px); line-height: .95;
  color: var(--z-title); letter-spacing: -.035em; margin: 0;
}
.sec-title em { font-style: normal; color: var(--z-orange); }
.sec-head__meta {
  font-family: var(--z-font-display); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--z-text-dim);
  text-align: right;
  padding-bottom: 8px;
}
@media (max-width: 700px) {
  .sec-head { grid-template-columns: 1fr; }
  .sec-head__meta { text-align: left; }
}


/* ================================================================
   HERO — Racing variant
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  display: flex; flex-direction: column;
  padding-top: 48px;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 70%, rgba(10,10,10,.75) 92%, var(--z-ink) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  flex: 1;
  max-width: 1240px; width: 100%;
  margin: 0 auto; padding: var(--z-sp-7) var(--z-gutter) var(--z-sp-9);
  display: flex; flex-direction: column; justify-content: flex-start;
}

.hero__hud {
  position: absolute; right: var(--z-gutter); top: 64px; z-index: 3;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  width: 300px;
}
.hero__hud-tile {
  padding: 12px 14px; background: rgba(0,0,0,.72);
  border: 1px solid rgba(255,134,0,.4); border-radius: 10px;
  font-family: var(--z-font-display); backdrop-filter: blur(10px);
}
.hero__hud-tile small {
  font-size: 9px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--z-orange); display:block; margin-bottom: 4px;
}
.hero__hud-tile strong {
  font-size: 20px; color: var(--z-title); font-weight: 700;
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
@media (max-width: 900px) { .hero__hud { display: none; } }

.hero__logo {
  display: block;
  height: clamp(64px, 6.5vw, 84px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 0 150px;
  align-self: flex-start;
  flex-shrink: 0;
  filter: drop-shadow(0 0 40px rgba(255,134,0,.35));
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,134,0,.35);
  backdrop-filter: blur(8px);
  font-family: var(--z-font-display); font-size: 10px;
  font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--z-orange);
  width: fit-content;
}
.hero__eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--z-orange);
  box-shadow: 0 0 8px var(--z-orange);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

.hero__lights {
  display: inline-flex; gap: 10px; padding: 10px 14px;
  background: #000; border: 1px solid var(--z-line-2);
  border-radius: 6px;
  margin-bottom: 28px;
  width: fit-content;
}
.hero__lights span {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff6a6a, #c40000 60%, #5a0000);
  box-shadow: 0 0 12px rgba(255,40,40,.7), inset 0 0 6px rgba(255,255,255,.3);
  opacity: 0;
  animation: lightOn .4s var(--z-ease) forwards;
}
.hero__lights span:nth-child(1) { animation-delay: .3s; }
.hero__lights span:nth-child(2) { animation-delay: .5s; }
.hero__lights span:nth-child(3) { animation-delay: .7s; }
.hero__lights span:nth-child(4) { animation-delay: .9s; }
.hero__lights span:nth-child(5) { animation-delay: 1.1s; }
@keyframes lightOn { to { opacity: 1; } }

.hero__claim {
  font-family: var(--z-font-display);
  font-weight: 800;
  font-size: clamp(64px, 11.5vw, 172px);
  line-height: .86;
  color: var(--z-title);
  margin: 0 0 24px;
  text-transform: uppercase;
}
.hero__claim em {
  font-style: normal; color: var(--z-orange);
  text-shadow: 0 0 60px rgba(255,134,0,.5);
}
.hero__sub {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--z-chalk); max-width: 58ch;
  margin: 0 0 36px;
  line-height: 1.45;
}
.hero__sub strong { color: var(--z-title); font-weight: 600; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero__foot {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: auto;
}
.hero__stat small {
  font-family: var(--z-font-display); font-size: 10px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--z-text-muted); display: block; margin-bottom: 6px;
}
.hero__stat strong {
  font-family: var(--z-font-display); font-weight: 700;
  font-size: 28px; color: var(--z-title);
  letter-spacing: .05em; font-variant-numeric: tabular-nums;
  display: block;
}
.hero__stat strong em { font-style: normal; color: var(--z-orange); }
@media (max-width: 700px) {
  .hero__foot { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero__stat strong { font-size: 22px; }
}

.hero__checker {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  height: 10px;
  background: conic-gradient(#fff 0 25%, #000 0 50%, #fff 0 75%, #000 0) 0 0/16px 16px;
  opacity: .85;
}

.hero__scroll {
  position: absolute; bottom: 32px; right: var(--z-gutter); z-index: 3;
  font-family: var(--z-font-display); font-size: 10px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--z-text-muted);
  writing-mode: vertical-rl; transform: rotate(180deg);
  display: flex; align-items: center; gap: 10px;
}
.hero__scroll::after {
  content: ''; width: 1px; height: 36px; background: var(--z-orange);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}
@media (max-width: 900px) { .hero__scroll { display: none; } }


/* ================================================================
   UNCONVENTIONAL VC (Chi siamo)
   ================================================================ */
.who { background: var(--z-ink); position: relative; padding-bottom: 64px; }

.who__intro {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 80px; align-items: start;
  margin-bottom: 80px;
}
.who__intro-left .tag-col {
  font-family: var(--z-font-display); font-size: 14px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--z-orange); margin-bottom: 24px;
}
.who__intro-left h3 {
  font-family: var(--z-font-display); font-weight: 700;
  font-size: 28px; color: var(--z-title);
  letter-spacing: -.02em; line-height: 1.15; margin: 0;
}
.who__intro-right p {
  font-size: 18px; line-height: 1.7; color: var(--z-chalk);
  margin: 0 0 22px;
}
.who__intro-right p:last-child { margin-bottom: 0; }
.who__intro-right p strong { color: var(--z-title); font-weight: 600; }
.who__intro-right p em { font-style: normal; color: var(--z-orange); font-weight: 500; }
@media (max-width: 900px) { .who__intro { grid-template-columns: 1fr; gap: 40px; } }

.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.pillar {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--z-surface);
  border: 1px solid var(--z-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 300ms var(--z-ease);
}
.pillar:hover {
  border-color: var(--z-orange);
  transform: translateY(-4px);
  box-shadow: var(--z-glow-soft);
}
.pillar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--z-orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 400ms var(--z-ease-out);
}
.pillar:hover::before,
.pillar:focus-visible::before { transform: scaleX(1); }
.pillar:focus-visible { border-color: var(--z-orange); transform: translateY(-4px); box-shadow: var(--z-glow-soft); }
.pillar__num {
  font-family: var(--z-font-display); font-weight: 800;
  font-size: 48px; color: var(--z-orange);
  letter-spacing: -.02em; line-height: 1;
}
.pillar__name {
  font-family: var(--z-font-display); font-weight: 700;
  font-size: 22px; color: var(--z-title);
  margin: 20px 0 10px;
  letter-spacing: -.01em;
}
.pillar__desc {
  color: var(--z-text-muted); font-size: 14px; line-height: 1.6;
  margin: 0;
}
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* Manifesto strip */
.manifesto {
  margin-top: 80px;
  padding: 77px 56px;
  background:
    linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.5) 60%, rgba(10,10,10,.2) 100%),
    url('../assets/imagery/manifesto-box.webp') center 60%/cover;
  border: 1px solid var(--z-border);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}
.manifesto__eyebrow {
  font-family: var(--z-font-display); font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--z-orange); margin-bottom: 20px;
}
.manifesto__quote {
  font-family: var(--z-font-display); font-weight: 700;
  font-size: clamp(28px, 3.6vw, 48px); line-height: 1.1;
  color: var(--z-title); letter-spacing: -.02em;
  max-width: 22ch; margin: 0;
}
.manifesto__quote em { font-style: normal; color: var(--z-orange); }
.manifesto__attr {
  margin-top: 28px;
  font-family: var(--z-font-display); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--z-text-muted);
}
@media (max-width: 700px) { .manifesto { padding: 40px 28px; } }

.manifesto--pitch {
  padding-top: 77px;
  padding-bottom: 77px;
  background:
    linear-gradient(90deg, rgba(10,10,10,.95) 0%, rgba(10,10,10,.7) 40%, rgba(10,10,10,.1) 100%),
    url('../assets/imagery/manifesto-pitch.webp') center 50%/cover;
  margin-top: 64px;
}


/* ================================================================
   PARTNERS
   ================================================================ */
.partners { background: var(--z-ink-2); border-top: 1px solid var(--z-border); border-bottom: 1px solid var(--z-border); }

.partners__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--z-border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--z-ink);
}
.partner-cell {
  position: relative;
  padding: 40px 32px;
  min-height: 180px;
  display: flex; flex-direction: column; justify-content: space-between;
  border-right: 1px solid var(--z-border);
  border-bottom: 1px solid var(--z-border);
  transition: all 300ms var(--z-ease);
  cursor: pointer;
  text-decoration: none;
}
.partner-cell:nth-child(3n) { border-right: 0; }
.partner-cell:nth-last-child(-n+3) { border-bottom: 0; }
.partners__solo {
  display: flex;
  justify-content: flex-start;
  margin-top: -1px;
}
.partners__solo .partner-cell + .partner-cell { border-left: 0; }
.partners__solo .partner-cell {
  width: calc(100% / 3);
  border: 1px solid var(--z-border);
  border-radius: 0 0 20px 20px;
  border-bottom: 1px solid var(--z-border);
  background: var(--z-ink);
}
.partners__solo .partner-cell__logo img {
  filter: none;
  opacity: 1;
}
.partner-cell:hover { background: var(--z-surface); }
.partner-cell:hover .partner-cell__name { color: var(--z-orange); }

.partner-cell--logo {
  align-items: center; justify-content: center;
  padding: 26px 20px;
}
.partner-cell__logo {
  width: 100%;
  height: 86px;
  min-width: 0; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: transform 300ms var(--z-ease), filter 300ms var(--z-ease);
}
.partner-cell__logo img {
  width: 100%;
  height: 100%;
  max-width: 204px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .82;
  transition: opacity 280ms var(--z-ease), filter 280ms var(--z-ease), transform 280ms var(--z-ease);
}
.partner-cell__logo--xl { height: 103px; }
.partner-cell__logo--xxl { height: 124px; }
.partner-cell--logo:hover .partner-cell__logo img {
  opacity: 1;
  transform: scale(1.05);
}
.partner-cell__tag {
  font-family: var(--z-font-display); font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--z-text-dim);
}
.partner-cell__name {
  font-family: var(--z-font-display); font-weight: 700;
  font-size: 22px; color: var(--z-title);
  letter-spacing: -.015em; margin: 12px 0 0;
  transition: color 200ms var(--z-ease);
}
.partner-cell__role {
  margin-top: 12px;
  color: var(--z-text-muted); font-size: 13px; line-height: 1.5;
}
.partner-cell__arrow {
  position: absolute; top: 20px; right: 20px;
  width: 28px; height: 28px; border-radius: 999px;
  border: 1px solid var(--z-line-2);
  display: grid; place-items: center;
  color: var(--z-text-dim);
  transition: all 200ms var(--z-ease);
}
.partner-cell:hover .partner-cell__arrow {
  border-color: var(--z-orange); color: var(--z-orange);
  transform: rotate(-45deg);
}
.partner-cell__arrow svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }

@media (max-width: 900px) {
  .partners__grid { grid-template-columns: repeat(2, 1fr); }
  .partners__solo .partner-cell { width: 50%; }
  .partner-cell { border-right: 1px solid var(--z-border) !important; border-bottom: 1px solid var(--z-border) !important; }
  .partner-cell:nth-child(2n) { border-right: 0 !important; }
  .partner-cell:nth-last-child(-n+2) { border-bottom: 0 !important; }
  .partner-cell__logo { height: 67px; }
  .partner-cell__logo--xl { height: 80px; }
  .partner-cell__logo--xxl { height: 97px; }
}

.partners__lede {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px;
  margin-bottom: 56px; align-items: start;
}
.partners__lede h4 {
  font-family: var(--z-font-display); font-weight: 600;
  font-size: 14px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--z-orange); margin: 0 0 12px; white-space: nowrap;
}
.partners__lede p {
  font-size: 18px; line-height: 1.6; color: var(--z-chalk); margin: 0;
}
@media (max-width: 900px) { .partners__lede { grid-template-columns: 1fr; gap: 24px; } }


/* ================================================================
   PORTFOLIO
   ================================================================ */
.portfolio { background: var(--z-ink); padding-top: 64px; }

/* ── Portfolio horizontal rail ───────────────────────────────── */
.port-rail-wrap {
  position: relative;
  margin: 0 calc(var(--z-gutter) * -1);
  padding: 0 var(--z-gutter);
}
.port-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 300px;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 0 28px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.port-rail::-webkit-scrollbar { display: none; }

.port-item {
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--z-border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--z-surface);
  cursor: pointer;
  transition: all 240ms var(--z-ease);
}
.port-item:hover {
  border-color: var(--z-orange);
  transform: translateY(-3px);
  box-shadow: var(--z-glow-soft);
}
.port-item__photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: #111;
}
.port-item__photo--ph {
  background: linear-gradient(135deg, rgba(255,134,0,.14), rgba(255,134,0,.02) 60%), #141414;
  display: grid; place-items: center;
  color: var(--z-orange);
  font-family: var(--z-font-display); font-weight: 800;
  font-size: 64px; letter-spacing: -.04em;
}
.port-item__photo--tba {
  background: linear-gradient(135deg, rgba(255,134,0,.14), rgba(255,134,0,.02) 60%), #141414;
  display: grid; place-items: center;
}
.tba-inner {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--z-orange); padding: 0 16px; text-align: center;
}
.tba-inner svg { width: 32px; height: 32px; }
.tba-inner > span {
  font-family: var(--z-font-display); font-weight: 800;
  font-size: 13px; letter-spacing: .04em; line-height: 1.3;
  text-transform: uppercase;
}
.tba-inner--lg svg { width: 48px; height: 48px; }
.tba-inner--lg > span { font-size: 18px; }
.port-item__logo {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.95);
  display: grid; place-items: center; padding: 6px;
}
.port-item__logo img { width: 100%; height: 100%; object-fit: contain; }
.port-item__logo--text {
  font-family: var(--z-font-display); font-weight: 800;
  font-size: 18px; color: #0a0a0a; letter-spacing: -.02em;
  padding: 0;
}
.port-item__footer {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 32px 18px 16px;
  background: linear-gradient(0deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.55) 60%, transparent 100%);
  display: flex; justify-content: space-between; align-items: end; gap: 10px;
}
.port-item__name {
  font-family: var(--z-font-display); font-weight: 700;
  font-size: 18px; color: var(--z-title);
  letter-spacing: -.01em; margin: 0;
}
.port-item__plus {
  width: 30px; height: 30px; border-radius: 999px;
  background: var(--z-orange); color: var(--z-ink);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform 200ms var(--z-ease);
}
.port-item:hover .port-item__plus { transform: scale(1.1) rotate(90deg); }
.port-item__plus svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; }

/* Rail nav buttons */
.port-rail-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px; border-radius: 999px;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--z-line-2);
  color: var(--z-title);
  display: grid; place-items: center;
  cursor: pointer;
  transition: all 200ms var(--z-ease);
}
.port-rail-nav:hover { border-color: var(--z-orange); color: var(--z-orange); }
.port-rail-nav:disabled { opacity: .3; cursor: not-allowed; }
.port-rail-nav svg { width: 18px; height: 18px; }
.port-rail-nav--prev { left: 0; }
.port-rail-nav--next { right: 0; }

/* Pit-lane meter */
.port-rail-meter {
  display: flex; align-items: center; gap: 16px;
  margin-top: 16px; padding: 0 4px;
}
.port-rail-meter__segs {
  flex: 1; display: flex; gap: 5px; align-items: center;
}
.port-rail-meter__seg {
  flex: 1; height: 8px;
  border: 1px solid var(--z-line-2); border-radius: 3px;
  background: transparent; cursor: pointer;
  transition: all 180ms var(--z-ease); transform-origin: center;
  padding: 0;
}
.port-rail-meter__seg:hover {
  border-color: var(--z-orange);
  background: rgba(255,134,0,.18);
}
.port-rail-meter__seg.is-active {
  background: var(--z-orange); border-color: var(--z-orange);
  box-shadow: 0 0 14px rgba(255,134,0,.55);
  transform: scaleY(1.4);
}
.port-rail-meter__count {
  font-family: var(--z-font-display); font-size: 13px; font-weight: 700;
  letter-spacing: .1em; font-variant-numeric: tabular-nums;
  color: var(--z-text-muted); white-space: nowrap; flex-shrink: 0;
}
.port-rail-meter__count span { color: var(--z-orange); }

@media (max-width: 700px) {
  .port-rail { grid-auto-columns: 240px; }
  .port-rail-nav { display: none; }
}

/* ── Portfolio modal ─────────────────────────────────────────── */
.port-modal {
  position: fixed; inset: 0; z-index: 300;
  display: none;
  padding: 24px;
}
.port-modal.is-on { display: grid; place-items: center; }
.port-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(12px);
  cursor: pointer;
}
.port-modal__frame-wrap {
  position: relative;
  width: min(1100px, 100%);
}
.port-modal__frame {
  position: relative;
  width: 100%;
  max-height: calc(100vh - 48px);
  background: #0a0a0a;
  border: 1px solid var(--z-border);
  border-radius: 22px;
  overflow: hidden;
  animation: pmIn 220ms cubic-bezier(.22,1,.36,1);
}
@keyframes pmIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

.port-modal__close {
  position: absolute; top: -60px; right: 20px; z-index: 10;
  width: 40px; height: 40px; border-radius: 999px;
  background: transparent; border: 1px solid var(--z-line-2);
  color: var(--z-title); cursor: pointer;
  display: grid; place-items: center;
  transition: all 180ms var(--z-ease);
}
.port-modal__close:hover { border-color: var(--z-orange); color: var(--z-orange); transform: rotate(90deg); }
.port-modal__close svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

.port-modal__nav {
  position: absolute;
  top: auto; bottom: 20px; transform: none;
  z-index: 10;
  width: 44px; height: 44px; border-radius: 999px;
  background: transparent; border: 1px solid var(--z-line-2);
  color: var(--z-title); cursor: pointer;
  display: grid; place-items: center;
  transition: all 180ms var(--z-ease);
}
.port-modal__nav:hover { border-color: var(--z-orange); color: var(--z-orange); }
.port-modal__nav svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.port-modal__nav--prev { left: 20px; }
.port-modal__nav--next { right: 20px; }
@media (min-width: 1250px) {
  .port-modal__nav { top: 50%; bottom: auto; transform: translateY(-50%); }
  .port-modal__nav--prev { left: -56px; }
  .port-modal__nav--next { right: -56px; }
  .port-modal__close { right: -56px; }
}

.port-modal__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  aspect-ratio: 2 / 1;
  max-height: calc(100vh - 48px);
}
.port-modal__photo {
  aspect-ratio: 1 / 1;
  background: #141414;
  background-size: cover; background-position: center;
  position: relative;
  border-right: 1px solid var(--z-border);
}
.port-modal__photo.ph {
  display: grid; place-items: center;
  font-family: var(--z-font-display); font-weight: 800;
  color: var(--z-orange); font-size: 120px; letter-spacing: -.04em;
  background: linear-gradient(135deg, rgba(255,134,0,.14), rgba(255,134,0,.02) 70%), #141414;
}
.port-modal__photo.tba {
  background: linear-gradient(135deg, rgba(255,134,0,.14), rgba(255,134,0,.02) 70%), #141414;
  display: grid; place-items: center;
}
.port-modal__content {
  padding: 20px 40px 24px 32px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
}
.port-modal__logo {
  height: 40px;
  display: flex; align-items: center;
  margin-bottom: 6px;
}
.port-modal__logo img { height: 100%; width: auto; max-width: 180px; object-fit: contain; }
.port-modal__logo-text {
  font-family: var(--z-font-display); font-weight: 800;
  font-size: 28px; color: var(--z-title); letter-spacing: -.03em;
  display: flex; align-items: center;
}
.port-modal__logo--text {
  font-family: var(--z-font-display); font-weight: 800;
  font-size: 32px; color: var(--z-title); letter-spacing: -.03em;
}
.port-modal__headline {
  font-family: var(--z-font-display); font-weight: 700;
  font-size: 24px; color: var(--z-orange);
  letter-spacing: -.01em; line-height: 1.2; margin: 0;
}
.port-modal__desc {
  color: var(--z-chalk); font-size: 15px; line-height: 1.6;
}
.port-modal__desc p { margin: 0 0 12px; }
.port-modal__desc p:last-child { margin-bottom: 0; }

.port-modal__specs {
  margin: 4px 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px;
  padding-top: 18px; border-top: 1px solid var(--z-border);
}
.port-modal__specs > div { display: flex; flex-direction: column; gap: 4px; }
.port-modal__specs dt {
  font-family: var(--z-font-display); font-size: 11px;
  font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--z-orange); margin: 0;
}
.port-modal__specs dd {
  color: var(--z-chalk); font-size: 14px; margin: 0;
}

.port-modal__links {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 4px;
  padding-top: 14px; border-top: 1px solid var(--z-border);
}
.port-modal__links a {
  color: var(--z-orange); text-decoration: none;
  font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 160ms var(--z-ease);
  width: fit-content;
}
.port-modal__links a:hover { color: var(--z-orange-400); text-decoration: underline; }

@media (max-width: 900px) {
  .port-modal { padding: 0; }
  .port-modal.is-on { display: block; }
  .port-modal__frame-wrap { width: 100%; }
  /* dvh esclude la barra browser/sistema — 100vh come fallback per browser vecchi */
  .port-modal__frame { border-radius: 0; height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; overflow-x: hidden; }
  .port-modal__inner { display: flex; flex-direction: column; height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; overflow: hidden; width: 100%; }
  .port-modal__photo { height: 250px; aspect-ratio: unset; flex-shrink: 0; border-right: 0; border-bottom: 1px solid var(--z-border); width: 100%; background-position: top center; }
  /* padding-bottom tiene conto della home bar (safe-area-inset-bottom) */
  .port-modal__content { padding: 28px 24px calc(40px + env(safe-area-inset-bottom, 0px)); flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; width: 100%; box-sizing: border-box; }
  /* Frecce nascoste su mobile: si naviga con swipe orizzontale */
  .port-modal__nav { display: none; }
  .port-modal__close { position: fixed; top: 16px; right: 16px; z-index: 310; background: var(--z-orange); border-color: var(--z-orange); color: var(--z-ink); }
}
@media (max-width: 520px) {
  .port-modal__specs { grid-template-columns: 1fr; }
}


/* ================================================================
   PITCH / Mettiti in gioco
   ================================================================ */
.pitch {
  background:
    radial-gradient(70% 80% at 80% 30%, rgba(255,134,0,.18), transparent 60%),
    radial-gradient(60% 60% at 10% 80%, rgba(0,60,144,.14), transparent 60%),
    var(--z-ink);
  border-top: 1px solid var(--z-border);
}

.pitch__inner {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.1fr); gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .pitch__inner { grid-template-columns: 1fr; gap: 48px; } }

.pitch__intro h3 {
  font-family: var(--z-font-display); font-weight: 600;
  font-size: 20px; color: var(--z-title);
  letter-spacing: -.01em; line-height: 1.45; margin: 0 0 20px;
}
.pitch__intro p {
  font-size: 15px; line-height: 1.7; color: var(--z-text-muted);
  margin: 0 0 20px;
}

.pitch__kpis {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  margin-top: 36px;
}
.pitch__kpi {
  padding: 22px 20px 22px 2px; border-radius: 16px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--z-border);
  border-left: 3px solid var(--z-orange);
}
.pitch__kpi small {
  font-family: var(--z-font-display); font-size: 10px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--z-text-dim); display: block; margin-bottom: 8px;
}
.pitch__kpi strong {
  font-family: var(--z-font-display); font-weight: 700;
  font-size: 28px; color: var(--z-title);
  letter-spacing: -.02em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pitch__kpi strong em { font-style: normal; color: var(--z-orange); }
.pitch__kpi dt { padding-left: 18px; }
.pitch__kpi dd { margin-inline-start: 20px; }
.pitch__kpi span {
  display: block; color: var(--z-text-muted); font-size: 12px; margin-top: 8px;
}

/* Form card */
.form-card {
  padding: 40px;
  background: var(--z-surface);
  border: 1px solid var(--z-border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--z-orange), var(--z-orange-400));
}
.form-card__head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 20px; margin-bottom: 24px;
  border-bottom: 1px solid var(--z-border);
}
.form-card__head h4 {
  font-family: var(--z-font-display); font-weight: 700;
  font-size: 20px; color: var(--z-title);
  letter-spacing: -.01em; margin: 0;
}
.form-card__head span {
  font-family: var(--z-font-display); font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--z-orange);
}
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: span 2; }
.form-field label {
  font-family: var(--z-font-display); font-size: 10px;
  font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--z-text-muted);
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%; background: #000; color: var(--z-title);
  border: 1px solid var(--z-line-2); border-radius: 12px;
  padding: 13px 15px; font-family: var(--z-font-body); font-size: 15px;
  outline: none; transition: all 200ms var(--z-ease);
  font-weight: 400; box-sizing: border-box;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--z-orange); box-shadow: 0 0 0 3px rgba(255,134,0,.18);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--z-text-dim); }
.form-field textarea { resize: vertical; min-height: 100px; font-family: var(--z-font-body); }
.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--z-text-muted); cursor: pointer;
  grid-column: span 2;
  user-select: none; line-height: 1.5;
}
.form-check input {
  appearance: none; width: 18px; height: 18px; border-radius: 5px;
  border: 1.5px solid var(--z-line-2); background: #000; cursor: pointer;
  position: relative; flex-shrink: 0; margin-top: 2px;
}
.form-check input:checked { background: var(--z-orange); border-color: var(--z-orange); }
.form-check input:checked::after {
  content: ''; position: absolute; left: 4px; top: 1px;
  width: 5px; height: 10px;
  border: solid var(--z-ink); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-check input:focus-visible {
  outline: 2px solid var(--z-orange);
  outline-offset: 2px;
}
.form-check a { color: var(--z-orange); text-decoration: none; border-bottom: 1px solid currentColor; }
.form-field.is-error input,
.form-field.is-error textarea,
.form-field.is-error select {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229,62,62,.15);
}
.form-field__error {
  font-size: 12px; color: #e53e3e; margin-top: 2px;
}
.form-check.is-error input[type="checkbox"] { border-color: #e53e3e; }
.form-check__error {
  font-size: 12px; color: #e53e3e; margin-top: 4px;
  grid-column: span 2; display: none;
}
.form-check.is-error + .form-check__error { display: block; }

.form-submit {
  grid-column: span 2;
  display: flex; justify-content: flex-end; align-items: center;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--z-border);
  flex-wrap: wrap; gap: 16px;
}
.form-submit small {
  font-family: var(--z-font-display); font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--z-text-dim);
}

.form-success {
  padding: 40px 20px;
  text-align: center;
}
.form-success h4 {
  font-family: var(--z-font-display); font-weight: 700;
  font-size: 28px; color: var(--z-orange);
  letter-spacing: -.02em; margin: 16px 0 10px;
}
.form-success p { color: var(--z-chalk); font-size: 16px; line-height: 1.5; }
.form-success__icon {
  width: 64px; height: 64px; border-radius: 999px;
  background: rgba(255,134,0,.14);
  border: 2px solid var(--z-orange);
  display: inline-grid; place-items: center;
  color: var(--z-orange);
}
.form-success__icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2.5; }

@media (max-width: 560px) {
  .form-card { padding: 28px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full, .form-check, .form-submit { grid-column: auto; }
  .pitch__kpis { grid-template-columns: 1fr; }
}


/* ================================================================
   COOKIE BANNER
   ================================================================ */
.cookie-banner[hidden] { display: none; }
.cookie-banner {
  position: fixed; bottom: 24px; left: 24px; z-index: 500;
  background: var(--z-surface);
  border: 1px solid var(--z-border);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  max-width: 320px; width: calc(100vw - 48px);
}
.cookie-banner__text {
  margin: 0;
  font-size: 13px; line-height: 1.6; color: var(--z-muted);
}
.cookie-banner__link { color: var(--z-orange); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; }
.cookie-banner__btn {
  flex: 1; padding: 9px 16px; border-radius: 6px; cursor: pointer;
  font-size: 13px; font-weight: 600; font-family: var(--z-font-body);
  transition: color .2s, border-color .2s, opacity .2s;
}
.cookie-banner__btn--ghost {
  background: transparent; border: 1px solid var(--z-border); color: var(--z-muted);
}
.cookie-banner__btn--ghost:hover { color: var(--z-title); border-color: var(--z-title); }
.cookie-banner__btn--primary {
  background: var(--z-orange); border: 1px solid var(--z-orange); color: var(--z-ink);
}
.cookie-banner__btn--primary:hover { opacity: .85; }

/* ================================================================
   FOOTER
   ================================================================ */
.foot {
  background: #050505;
  border-top: 1px solid var(--z-border);
  padding: 80px 0 32px;
  position: relative;
}
.foot__checker {
  position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: conic-gradient(#fff 0 25%, #000 0 50%, #fff 0 75%, #000 0) 0 0/10px 10px;
  opacity: .4;
}
.foot__claim {
  display: flex; justify-content: space-between; align-items: center; gap: 40px;
  padding-bottom: 48px; margin-bottom: 48px;
  border-bottom: 1px solid var(--z-border);
}
.foot__claim-logo {
  height: clamp(64px, 9vw, 112px); width: auto; display: block;
}
.foot__claim h2 {
  font-family: var(--z-font-display); font-weight: 800;
  font-size: 32px; line-height: 1.1;
  color: var(--z-title); letter-spacing: -.035em; margin: 0;
  text-align: right;
}
.foot__claim h2 em { font-style: normal; color: var(--z-orange); }
@media (max-width: 700px) { .foot__claim { flex-direction: column; align-items: flex-start; gap: 24px; } }

.foot__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.foot__brand img {
  height: 36px; width: auto; margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.foot__brand p {
  font-size: 14px; color: var(--z-text-muted); line-height: 1.6;
  max-width: 36ch; margin: 0 0 20px;
}
.foot__brand .legal {
  font-size: 12px; color: var(--z-text-dim); line-height: 1.7;
  font-style: normal;
}
.foot__col h4 {
  font-family: var(--z-font-display); font-size: 11px;
  font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--z-orange); margin: 0 0 16px;
}
.foot__col a {
  display: block; color: var(--z-chalk); text-decoration: none;
  font-size: 14px; padding: 5px 0;
  transition: color 200ms var(--z-ease);
}
.foot__col a:hover { color: var(--z-orange); }
.foot__col a .arr {
  display: inline-block; transform: translateX(0); opacity: 0;
  transition: all 200ms var(--z-ease);
}
.foot__col a:hover .arr { transform: translateX(4px); opacity: 1; }

.foot__bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--z-border);
  flex-wrap: wrap; gap: 16px;
  font-family: var(--z-font-display); font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--z-text-dim);
}
.foot__bot .socials { display: flex; gap: 10px; }
.foot__bot .socials a {
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--z-line-2);
  display: grid; place-items: center;
  color: var(--z-text-muted); text-decoration: none;
  transition: all 200ms var(--z-ease);
}
.foot__bot .socials a:hover {
  border-color: var(--z-orange); color: var(--z-orange);
  transform: translateY(-1px);
}
.foot__bot .socials svg { width: 14px; height: 14px; fill: currentColor; }

/* ================================================================
   MOBILE OVERHAUL — standardized breakpoints
   ≥ 1081px  desktop (default styles above)
   ≤ 1080px  tablet / small laptop
   ≤  768px  tablet portrait / large phone
   ≤  480px  phone
   ================================================================ */

/* --- Tablet / small laptop ------------------------------------ */
@media (max-width: 1080px) {
  :root {
    --z-gutter: 28px;
    --z-sp-10: 96px;
    --z-sp-9: 72px;
    --z-sp-8: 56px;
    --z-sp-7: 44px;
  }
  .hero__foot { gap: 18px; }
}

/* --- Tablet portrait / large phone ---------------------------- */
@media (max-width: 768px) {
  :root {
    --z-gutter: 20px;
    --z-sp-10: 72px;
    --z-sp-9: 56px;
    --z-sp-8: 44px;
    --z-sp-7: 32px;
  }

  /* NAV */
  .nav { padding: 14px 20px; }
  .nav__brand img { height: 26px; }

  /* NAV overlay (full-screen) */
  .nav__overlay {
    position: fixed; inset: 0; z-index: 200;
    background: var(--z-ink);
    display: flex; flex-direction: column;
    padding: 88px 28px 28px;
    transform: translateY(-100%);
    transition: transform 320ms cubic-bezier(.22,1,.36,1);
    pointer-events: none;
  }
  .nav__overlay.is-open {
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav__overlay__close {
    position: absolute; top: 16px; right: 20px;
    display: inline-grid; place-items: center;
    width: 40px; height: 40px; border-radius: 999px;
    background: transparent; border: 1px solid var(--z-border);
    color: var(--z-chalk); cursor: pointer;
    transition: background 200ms var(--z-ease), border-color 200ms var(--z-ease), color 200ms var(--z-ease);
  }
  .nav__overlay__close:hover {
    background: var(--z-orange); border-color: var(--z-orange); color: var(--z-ink);
  }

  .nav__overlay::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--z-orange), var(--z-orange-400));
  }
  .nav__overlay__links {
    display: flex; flex-direction: column;
    border-top: 1px solid var(--z-border);
  }
  .nav__overlay__link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 0;
    border-bottom: 1px solid var(--z-border);
    text-decoration: none;
    font-family: var(--z-font-display); font-weight: 700;
    font-size: 28px; color: var(--z-title);
    letter-spacing: -.01em;
    transition: color 180ms var(--z-ease);
  }
  .nav__overlay__link:hover,
  .nav__overlay__link:active { color: var(--z-orange); }
  .nav__overlay__link .num {
    font-size: 10px; font-weight: 600; letter-spacing: .18em;
    color: var(--z-text-dim);
    font-variant-numeric: tabular-nums;
  }
  .nav__overlay__foot {
    margin-top: auto; padding-top: 24px;
    display: flex; flex-direction: column; gap: 16px;
  }
  .nav__overlay__foot a {
    color: var(--z-text-muted); text-decoration: none;
    font-size: 14px;
  }
  .nav__overlay__foot a strong { color: var(--z-orange); font-weight: 500; }
  .nav__burger.is-active {
    background: var(--z-orange); color: var(--z-ink); border-color: var(--z-orange);
    z-index: 210; position: relative;
  }
  body.menu-open { overflow: hidden; }

  /* HERO */
  .hero { padding-top: 32px; min-height: 100vh; }
  .hero__inner { padding-top: 52px; padding-bottom: 32px; }
  .hero__bg img { object-position: center 18%; }
  .hero__claim { font-size: clamp(56px, 15vw, 92px); letter-spacing: -.05em; margin-bottom: 18px; }
  .hero__sub { font-size: 17px; margin-bottom: 28px; }
  .hero__logo { height: clamp(68px, 17vw, 94px); margin-bottom: 28px; }
  .hero__eyebrow { font-size: 9px; letter-spacing: .18em; padding: 7px 12px; margin-bottom: 22px; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 10px; margin-top: auto; margin-bottom: 16px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__cta .btn--ghost,
  .hero__cta .btn--primary { display: none; }
  .hero__foot {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 0;
  }
  .hero__stat small { font-size: 8px; }
  .hero__stat strong { font-size: 20px; }
  .hero__scroll { display: none; }

  /* SECTION HEADERS */
  .sec-head { margin-bottom: 40px; padding-bottom: 24px; gap: 14px; }
  .sec-eyebrow { font-size: 10px; margin-bottom: 14px; }
  .sec-title { font-size: clamp(36px, 9vw, 56px); letter-spacing: -.025em; }
  .sec-head__meta { font-size: 10px; letter-spacing: .14em; }

  /* UNCONVENTIONAL */
  .who__intro { grid-template-columns: 1fr; gap: 20px; }
  .who__intro h3 { font-size: 22px; line-height: 1.35; }
  .who__intro p { font-size: 15px; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pillar { padding: 24px 20px; }
  .pillar__num { font-size: 36px; }
  .pillar__name { font-size: 16px; }
  .pillar__desc { font-size: 13px; }
  .manifesto { padding: 40px 24px; }
  .manifesto__quote { font-size: clamp(30px, 7vw, 44px); }

  /* PORTFOLIO */
  .port-rail { grid-auto-columns: calc(100vw - 96px); gap: 14px; padding-bottom: 20px; }
  .port-item__name { font-size: 18px; }
  .port-item__logo { width: 38px; height: 38px; border-radius: 10px; top: 12px; left: 12px; }
  .port-item__photo--ph { font-size: 48px; }
  .port-rail-nav {
    display: grid;
    width: 40px; height: 40px;
  }
  .port-rail-nav svg { width: 16px; height: 16px; }

  /* PARTNER */
  .partners__lede h4 { white-space: normal; font-size: 12px; }
  .partners__lede p { font-size: 15px; }
  .partner-cell { padding: 28px 20px; min-height: 140px; }

  /* PITCH */
  .pitch__inner { grid-template-columns: 1fr; gap: 36px; }
  .pitch__intro h3 { font-size: 18px; }
  .pitch__kpis { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
  .pitch__kpi { padding: 18px 16px; }
  .pitch__kpi strong { font-size: 26px; }
  .form-card { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .form-field--full { grid-column: auto; }
  .form-check { grid-column: auto; }
  .form-submit { flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .form-submit .btn { width: 100%; justify-content: center; }

  /* FOOTER */
  .foot__claim h2 { font-size: clamp(31px, 8.4vw, 50px); text-align: left; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__bot {
    flex-direction: column; align-items: flex-start; gap: 12px;
    font-size: 12px;
  }
}

/* --- Phone ---------------------------------------------------- */
@media (max-width: 480px) {
  :root {
    --z-gutter: 16px;
    --z-sp-10: 56px;
    --z-sp-9: 40px;
    --z-sp-8: 32px;
  }

  .hero__claim { font-size: clamp(48px, 16vw, 72px); }
  .hero__foot { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero__stat { padding: 10px 8px; }
  .hero__stat strong { font-size: 17px; }
  .hero__stat small { font-size: 7px; letter-spacing: .1em; }
  .hero__stat strong { white-space: nowrap; }

  .pillars { grid-template-columns: 1fr; }
  .port-rail { grid-auto-columns: calc(100vw - 72px); }
  .partner-cell { padding: 22px 16px; min-height: 120px; }
  .partner-cell__logo { height: 48px; }
  .partner-cell__logo--xl { height: 58px; }
  .partner-cell__logo--xxl { height: 69px; }

  .foot__grid { grid-template-columns: 1fr; gap: 28px; }
  .foot__brand { grid-column: auto; }

  .nav__overlay__link { font-size: 24px; padding: 18px 0; }
}


/* ================================================================
   ACCESSIBILITÀ
   ================================================================ */

/* ── Skip link ───────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--z-orange);
  color: var(--z-ink);
  font-family: var(--z-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  transition: top 200ms var(--z-ease);
}
.skip-link:focus {
  top: 0;
}

/* ── Privacy modal ───────────────────────────────────────────── */
.priv-modal {
  position: fixed; inset: 0; z-index: 300;
  display: none; padding: 24px;
  place-items: center;
}
.priv-modal.is-on { display: grid; }
.priv-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(4px);
}
.priv-modal__frame-wrap {
  position: relative; z-index: 1;
  width: 100%; max-width: 760px;
}
.priv-modal__close {
  position: absolute; top: -52px; right: 0; z-index: 10;
  width: 40px; height: 40px; border-radius: 999px;
  background: transparent; border: 1px solid var(--z-border);
  color: var(--z-text-muted); cursor: pointer;
  display: grid; place-items: center;
  transition: all 180ms var(--z-ease);
}
.priv-modal__close:hover { border-color: var(--z-orange); color: var(--z-orange); transform: rotate(90deg); }
.priv-modal__close svg { width: 16px; height: 16px; }
.priv-modal__frame {
  background: var(--z-ink-2);
  border: 1px solid var(--z-border);
  border-radius: 20px;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  animation: pmIn 260ms var(--z-ease) both;
}
.priv-modal__header {
  padding: 40px 48px 32px;
  border-bottom: 1px solid var(--z-border);
}
.priv-modal__eyebrow {
  font-family: var(--z-font-display); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--z-orange); margin-bottom: 10px;
}
.priv-modal__title {
  font-family: var(--z-font-display); font-weight: 800;
  font-size: 32px; color: var(--z-title); letter-spacing: -.02em;
  margin-bottom: 8px;
}
.priv-modal__sub {
  font-size: 13px; color: var(--z-text-dim);
}
.priv-modal__body {
  padding: 0 48px 48px;
}
.priv-sec {
  padding-top: 32px;
  border-bottom: 1px solid var(--z-border);
  padding-bottom: 32px;
}
.priv-sec--last { border-bottom: 0; }
.priv-sec h3 {
  font-family: var(--z-font-display); font-weight: 700;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--z-orange); margin-bottom: 16px;
}
.priv-sec p, .priv-sec li {
  font-size: 14px; color: var(--z-text-muted); line-height: 1.7;
}
.priv-sec p + p { margin-top: 10px; }
.priv-sec ul { padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.priv-sec a { color: var(--z-orange); text-decoration: underline; text-underline-offset: 3px; }
.priv-table { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--z-border); border-radius: 10px; overflow: hidden; margin-top: 4px; }
.priv-table__row { display: grid; grid-template-columns: 1fr 2fr 2fr 2fr; gap: 0; }
.priv-table__row--head { background: rgba(255,255,255,.04); }
.priv-table__row--head span { font-family: var(--z-font-display); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--z-text-dim); }
.priv-table__row + .priv-table__row { border-top: 1px solid var(--z-border); }
.priv-table__row span { padding: 12px 14px; font-size: 13px; color: var(--z-text-muted); line-height: 1.5; }
.priv-table__row span + span { border-left: 1px solid var(--z-border); }
.priv-sec:has(.priv-table__row:only-child .priv-table__row) .priv-table__row { grid-template-columns: 1fr 2fr; }
/* 2-col table (conservazione) */
.priv-table:has(.priv-table__row:first-child span:nth-child(2):last-child) .priv-table__row { grid-template-columns: 1fr 2fr; }

@media (max-width: 600px) {
  .priv-modal__header { padding: 28px 24px 20px; }
  .priv-modal__body { padding: 0 24px 36px; }
  .priv-modal__title { font-size: 24px; }
  .priv-table__row { grid-template-columns: 1fr; }
  .priv-table__row span + span { border-left: 0; border-top: 1px solid var(--z-border); }
}

/* ── Screen-reader only ─────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Focus visible ───────────────────────────────────────────── */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--z-orange);
  outline-offset: 3px;
  border-radius: 3px;
}
/* Elementi con border-radius pronunciato */
.btn:focus-visible,
.nav__link:focus-visible,
.nav__burger:focus-visible,
.port-rail-nav:focus-visible,
.port-modal__close:focus-visible,
.port-modal__nav:focus-visible,
.partner-cell:focus-visible {
  outline-offset: 4px;
  border-radius: 999px;
}
/* Input e select */
.form-field input:focus-visible,
.form-field textarea:focus-visible,
.form-field select:focus-visible {
  outline: none; /* gestito già da box-shadow nel componente */
}
/* Assicura che il focus-shadow rimanga visibile */
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--z-orange);
  box-shadow: 0 0 0 3px rgba(255,134,0,.35);
}
/* Link footer e overlay */
.foot__col a:focus-visible,
.nav__overlay__link:focus-visible {
  outline-offset: 6px;
  border-radius: 2px;
}
/* Social e brand */
.foot__bot .socials a:focus-visible,
.nav__brand:focus-visible {
  outline-offset: 5px;
  border-radius: 999px;
}

/* ── Prefers reduced motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
