main { padding-top: var(--nav-h); }
.ph { padding: 64px var(--margin); position: relative; overflow: hidden; }
.ph__cad { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ph__cad img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0.5; }
.ph__in {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: end;
}
.ph__h1 {
  grid-column: 1 / span 6;
  font-family: var(--sans);
  font-size: var(--t-display);
  line-height: 0.96;
  font-weight: 720;
  letter-spacing: -0.045em;
}
.ph__lede {
  grid-column: 8 / span 5;
  font-family: var(--sans);
  font-size: var(--t-lede-apertura);
  line-height: 1.45;
  font-weight: 400;
}

.pbt { padding: 32px var(--margin) 96px; }
.pbt__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 48px;
}
.tb--5 { grid-column: span 5; }
.tb--7 { grid-column: span 7; }
.tb { display: flex; }
.tb__a { position: relative; display: flex; flex-direction: column; width: 100%; }
.tb__a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.tb__media {
  position: relative; display: block; height: 460px; overflow: hidden;
  background: var(--paper-2);
}
.tb__media picture, .tb__media img { display: block; width: 100%; height: 100%; }
.tb__media img { object-fit: cover; transition: transform 0.4s var(--ease-out); }

.tb__cart {
  flex: 1;
  display: grid;
  grid-template-columns: 88.4px minmax(0, 1fr) 56px;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line-strong);
  border-top: 0;
}
.tb__n {
  grid-column: 1; grid-row: 1 / span 2;
  padding: 16px;
  border-right: 1px solid var(--line-strong);
  color: var(--accent-text);
}
.tb__t {
  grid-column: 2; grid-row: 1;
  padding: 14px 20px;
  font-family: var(--sans);
  font-size: var(--t-blocco);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.tb__x {
  grid-column: 2; grid-row: 2;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--line-strong);
  font-size: var(--t-corrente);
  line-height: 1.65;
}
.tb__go {
  grid-column: 3; grid-row: 1 / span 2;
  display: flex; align-items: center; justify-content: center;
  border-left: 1px solid var(--line-strong);
}
.tb--solo .tb__media { height: auto; min-height: 460px; flex: 1 1 auto; }
.tb--solo .tb__media picture, .tb--solo .tb__media img { position: absolute; inset: 0; }
.tb--solo .tb__cart { flex: none; }
.tb__go svg { transition: transform 0.4s var(--ease-out); }

.tb--aero .tb__a {
  background-color: var(--blue-deep);
  background-image:
    repeating-linear-gradient(to right, rgba(135, 142, 150, 0.2) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(to bottom, rgba(135, 142, 150, 0.2) 0 1px, transparent 1px 24px);
  color: var(--paper);
}
.tb--aero .tb__a::before {
  content: ""; position: absolute; inset: 8px; z-index: 2; pointer-events: none;
  background:
    linear-gradient(var(--accent), var(--accent)) left top / 18px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) left top / 2px 18px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right top / 18px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right top / 2px 18px no-repeat,
    linear-gradient(var(--accent), var(--accent)) left bottom / 18px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) left bottom / 2px 18px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right bottom / 18px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right bottom / 2px 18px no-repeat;
}
.tb--aero .tb__media { background: transparent; display: flex; align-items: center; justify-content: center; }
.tb--aero .aereo { display: block; width: min(490px, calc(100% - 48px)); }
.tb--aero .aereo svg { display: block; width: 100%; height: auto; }
.tb--aero .aereo path { fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.tb--aero .aereo .draw { stroke: var(--paper); stroke-dasharray: 1; stroke-dashoffset: 1; }
.tb--aero .aereo .dash { stroke: var(--accent); stroke-dasharray: 5 6; }
.tb--aero .tb__a.is-in .aereo .draw { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease-out); }
.tb--aero .tb__cart, .tb--aero .tb__n, .tb--aero .tb__x, .tb--aero .tb__go { border-color: rgba(135, 142, 150, 0.5); }
.tb--aero .tb__cart { background: var(--blue-deep); margin: 0; }
.tb--aero .tb__n { color: var(--accent-text-invert); }
.tb--aero .tb__t { color: #fff; }
.tb--aero .tb__x { color: var(--muted-invert); }

@media (hover: hover) and (pointer: fine) {
  .tb__a:hover .tb__media img { transform: scale(1.03); }
  .tb__a:hover .tb__go svg { transform: translateX(4px); }
}

.js .tb__media { clip-path: inset(0 0 100% 0); }
.js .tb__a.is-in .tb__media { clip-path: inset(0); transition: clip-path 0.6s var(--ease-wipe); }

@media (max-width: 1023px) {
  .tb__t { font-size: 28px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .tb--5 .tb__cart { grid-template-columns: minmax(0, 1fr) 56px; grid-template-rows: auto auto 1fr; }
  .tb--5 .tb__n { grid-column: 1; grid-row: 1; border-right: 0; border-bottom: 1px solid var(--line-strong); padding: 12px 20px; }
  .tb--5 .tb__t { grid-column: 1; grid-row: 2; }
  .tb--5 .tb__x { grid-column: 1; grid-row: 3; }
  .tb--5 .tb__go { grid-column: 2; grid-row: 1 / span 3; }
}
@media (max-width: 767px) {
  .ph { padding: 40px var(--margin) 32px; }
  .ph__in { display: block; }
  .ph__lede { margin-top: 20px; }
  .pbt { padding-top: 24px; padding-bottom: 72px; }
  .pbt__list { display: flex; flex-direction: column; row-gap: 24px; }
  .tb__media { height: 220px; }
  .tb--solo .tb__media { height: auto; min-height: 220px; }
  .tb--aero .tb__media { height: 130px; }
  .tb--aero .aereo { width: min(330px, calc(100% - 20px)); }
  .tb__cart { display: flex; flex-wrap: wrap; }
  .tb__n { order: 1; flex: 1 1 auto; border-right: 0; border-bottom: 1px solid var(--line-strong); padding: 12px 16px; }
  .tb__go { order: 2; flex: 0 0 56px; border-left: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); padding: 8px 0; }
  .tb__t { order: 3; flex: 1 1 100%; font-size: var(--t-blocco); padding: 14px 16px; }
  .tb__x { order: 4; flex: 1 1 100%; padding: 12px 16px 16px; }
  .tb--aero .tb__cart { border-color: rgba(135, 142, 150, 0.5); }
}
@media (prefers-reduced-motion: reduce) {
  .js .tb__media { clip-path: none; transition: none; }
  .js .tb__a.is-in .tb__media { transition: none; }
  .tb--aero .aereo .draw { stroke-dashoffset: 0; transition: none; }
  .tb--aero .tb__a.is-in .aereo .draw { transition: none; }
  .tb__media img, .tb__go svg { transition: none; }
  .tb__a:hover .tb__media img, .tb__a:hover .tb__go svg { transform: none; }
}
