/* Vista Fragile e Ipovisione */

.ipo-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.pagehead__title { max-width: 7.9em; text-wrap: wrap; }
.pagehead__body { color: var(--ink); }
.pagehead__body + .pagehead__body { margin-top: 0; }
.pagehead__link { display: block; max-width: 290px; margin-top: 26px; color: var(--navy-ink); }

/* Article pointers: the guide draws each one as a full-width bordered box, icon, title, call to action. */
.ipo-note { max-width: var(--maxw); margin: 0 auto; padding: 40px var(--gutter) 0; }
.ipo-note .readmore-inline--boxed {
  display: grid;
  grid-template-columns: 40px minmax(0, 330px) auto;
  gap: 12px 44px;
  align-items: center;
  margin: 0;
  padding: 36px clamp(22px, 3vw, 34px);
  border-color: var(--border-mid);
  border-radius: 16px;
  background: #fff;
}
.ipo-note--tinted .readmore-inline--boxed { background: #F1F4F8; }
.ipo-note .readmore-inline--boxed .readmore-inline__icon { display: block; width: 36px; height: 36px; }
.ipo-note .readmore-inline__text, .ipo-note .readmore-inline__cta { font-style: normal; }
.ipo-note .readmore-inline__text { font-size: 15px; line-height: 1.45; }
.ipo-note .readmore-inline__text span { display: none; }
.ipo-note .readmore-inline__cta { margin-left: clamp(0px, 8vw, 110px); }
.ipo-note .readmore-inline__cta::after { content: ' →'; }

/* Technology tiles: bare photos, the icon beside title and line. */
.ipo-tech .section__lead { color: var(--ink); font-size: 16px; }
.ipo-tech .section__lead strong { font-weight: 700; }
.ipo-tiles .tile { background: none; border: 0; padding: 0; }
.ipo-tiles .tile__photo { aspect-ratio: 6 / 5; border-radius: 12px; margin-bottom: 18px; }
.ipo-tiles__row { display: flex; gap: 14px; align-items: flex-start; padding: 0 22px; }
.ipo-tiles .tile__icon { flex: none; margin: 0; width: 36px; height: 36px; }
.ipo-tiles .tile__title { display: block; font-size: 16px; margin-bottom: 6px; }
.ipo-tiles .tile__desc { display: block; margin: 0; color: var(--ink); }

.ipo-partner { display: flex; flex-direction: column; align-items: center; width: auto; margin-top: 90px; gap: 14px; }
.ipo-partner .icon { width: min(350px, 80vw); height: auto; aspect-ratio: 900 / 96; object-fit: cover; }
.ipo-partner .partner-mark__label { color: var(--ink); white-space: nowrap; }

/* Tinted band behind Vista Fragile and the aid tabs, then again behind the path. */
.ipo-surface { background: #F1F4F8; margin-top: 50px; padding-bottom: 80px; }
.ipo-surface--path { padding-bottom: 70px; margin-top: 44px; }
.ipo-surface .section { padding-top: 80px; }
.ipo-surface--path .section { padding-top: 20px; }
.ipo-subtitle { margin-top: 22px; max-width: 440px; font-size: clamp(21px, 2vw, 25px); line-height: 1.2; font-weight: 700; letter-spacing: -.015em; }
.ipo-surface .section__lead--flush { color: var(--ink); font-size: 16px; }
.ipo-surface .ipo-subtitle + .section__lead--flush { margin-top: 44px; }
.ipo-photo { position: relative; padding: 0; overflow: hidden; border-radius: 12px; }
.ipo-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ipo-photo--menu { height: auto; aspect-ratio: 413 / 363; }
.ipo-photo--menu > img { object-position: 78% 50%; }
.ipo-photo--square { height: auto; aspect-ratio: 1; }

/* Aid tabs: radios keep the switch working without script. */
.ipo-tabs { position: relative; margin-top: 70px; padding: 0 24px 22px; background: #FAFAFB; }
.ipo-tabs__radio { position: absolute; opacity: 0; pointer-events: none; }
.ipo-tabs__bar { display: grid; grid-template-columns: repeat(3, 1fr); background: #F3F3F5; }
.ipo-tabs__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 12px;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.ipo-tabs__icon { flex: none; width: 20px; height: 20px; opacity: .7; }
#ipo-aids-0:checked ~ .ipo-tabs__bar .ipo-tabs__tab:nth-child(1),
#ipo-aids-1:checked ~ .ipo-tabs__bar .ipo-tabs__tab:nth-child(2),
#ipo-aids-2:checked ~ .ipo-tabs__bar .ipo-tabs__tab:nth-child(3) { color: var(--brand); border-bottom-color: var(--brand); background: #fff; }
#ipo-aids-0:focus-visible ~ .ipo-tabs__bar .ipo-tabs__tab:nth-child(1),
#ipo-aids-1:focus-visible ~ .ipo-tabs__bar .ipo-tabs__tab:nth-child(2),
#ipo-aids-2:focus-visible ~ .ipo-tabs__bar .ipo-tabs__tab:nth-child(3) { outline: 2px solid var(--brand); outline-offset: -2px; }

.ipo-tabs__panels { padding: 16px 0 0; }
.ipo-tabs__panel { display: none; position: relative; }
#ipo-aids-0:checked ~ .ipo-tabs__panels .ipo-tabs__panel:nth-child(1),
#ipo-aids-1:checked ~ .ipo-tabs__panels .ipo-tabs__panel:nth-child(2),
#ipo-aids-2:checked ~ .ipo-tabs__panels .ipo-tabs__panel:nth-child(3) { display: block; }

.ipo-tabs__next {
  position: absolute;
  right: -6px;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(20, 20, 60, .14);
  cursor: pointer;
}
.ipo-tabs__next::before { content: ''; width: 9px; height: 9px; border: solid var(--ink); border-width: 2px 2px 0 0; rotate: 45deg; margin-left: -4px; }

.ipo-tabs__dots { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.ipo-tabs__dot { width: 7px; height: 7px; border-radius: 50%; background: #D3D3DA; cursor: pointer; }
#ipo-aids-0:checked ~ .ipo-tabs__dots .ipo-tabs__dot:nth-child(1),
#ipo-aids-1:checked ~ .ipo-tabs__dots .ipo-tabs__dot:nth-child(2),
#ipo-aids-2:checked ~ .ipo-tabs__dots .ipo-tabs__dot:nth-child(3) { background: var(--brand); }

/* Aid cards: bordered plate, photo framed on the left. */
.ipo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 20px; padding-right: 30px; }
.ipo-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 26px;
  align-items: center;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--border-mid);
  border-radius: 12px;
}
.ipo-card__media { position: relative; align-self: stretch; min-height: 170px; border-radius: 8px; overflow: hidden; background-color: var(--placeholder); }
.ipo-card__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ipo-card__body { padding: 14px 14px 14px 0; }
.ipo-card__title { font-size: 19px; font-weight: 800; letter-spacing: -.015em; }
.ipo-card__claim { margin-top: 10px; font-size: 14.5px; line-height: 1.35; font-weight: 700; }
.ipo-card__desc { margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.ipo-card__cta { display: inline-block; margin-top: 18px; font-size: 14.5px; }

.ipo-digital { padding-top: 110px; }
.ipo-digital__group { margin: 40px 0 12px 58px; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.ipo-digital__group:first-child { margin-top: 0; }
.ipo-card--wide { grid-template-columns: 40% 1fr; gap: clamp(30px, 10vw, 100px); padding: 10px 20px; border-radius: 16px; }
.ipo-card--wide .ipo-card__media { aspect-ratio: 330 / 240; min-height: 0; border-radius: 12px; }
.ipo-card--wide .ipo-card__desc { max-width: 290px; }

/* Ipovisione: full-bleed photograph, copy on a warm wash over its right side. */
.ipo-band { position: relative; display: flex; justify-content: flex-end; min-height: min(57vw, 780px); margin-top: 0; color: #fff; }
.ipo-band__media { position: absolute; inset: 0; background: var(--placeholder); }
.ipo-band__media > img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.ipo-band__panel {
  position: relative;
  width: 43.5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) 48px 34px;
  background: rgba(70, 48, 34, .55);
}
.ipo-band__title { font-size: clamp(38px, 4.2vw, 56px); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; }
.ipo-band__sub { margin-top: 26px; max-width: 300px; font-size: clamp(21px, 2.1vw, 28px); font-weight: 700; line-height: 1.12; letter-spacing: -.015em; }
.ipo-band__sub + .ipo-band__body { margin-top: 50px; }
.ipo-band__body { margin-top: 16px; max-width: 420px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .92); }
.ipo-band__callout {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin-top: 34px;
  padding: 12px 18px;
  background: #fff;
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}
.ipo-band__icon { flex: none; width: 24px; height: 24px; }

/* Path steps: three white plates, icon on top, numbered heading. */
.ipo-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 16px; max-width: 700px; margin: 60px auto 0; list-style: none; }
.ipo-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  align-content: start;
  padding: 26px 20px 18px;
  background: #fff;
  border-radius: 12px;
}
.ipo-step__icon { grid-column: 1 / -1; justify-self: center; width: 44px; height: 44px; margin-bottom: 6px; }
.ipo-step .step-row__num { width: 24px; height: 24px; font-size: 13px; align-self: center; }
.ipo-step__title { font-size: 15px; font-weight: 800; line-height: 1.2; }
.ipo-step__desc { grid-column: 2; font-size: 13px; line-height: 1.5; color: var(--ink); }

.ipo-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 50px; margin-top: 44px; list-style: none; }
.ipo-checks li { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.ipo-checks__icon { flex: none; width: 22px; height: 22px; }

@media (max-width: 900px) {
  .ipo-band { flex-direction: column; min-height: 0; }
  .ipo-band__media { position: relative; aspect-ratio: 4 / 3; }
  .ipo-band__panel { width: 100%; padding: 44px var(--gutter); background: #4A3526; }
}

@media (max-width: 700px) {
  .ipo-note .readmore-inline--boxed { grid-template-columns: 36px 1fr; padding: 22px 20px; }
  .ipo-note .readmore-inline__cta { grid-column: 2; margin-left: 0; }
  .ipo-tabs { padding: 0 12px 18px; }
  .ipo-tabs__tab { flex-direction: column; gap: 6px; font-size: 12.5px; text-align: center; }
  .ipo-cards { padding-right: 0; }
  .ipo-tabs__next { display: none; }
  .ipo-card, .ipo-card--wide { grid-template-columns: 1fr; gap: 0; }
  .ipo-card__media { aspect-ratio: 4 / 3; }
  .ipo-card__body { padding: 20px 12px 12px; }
  .ipo-digital__group { margin-left: 0; }
  .ipo-tiles__row { padding: 0; }
}

.ipo-tiles__photo--low img { object-position: 50% 80%; }

/* Tabs show the still life whole; the hint sits clear of the product. */
.ipo-tabs .offer__face:not(.offer__face--use) > img { object-fit: contain; padding: 8px; background: #fff; }
.ipo-tabs .offer__hint { top: auto; bottom: 8px; left: 8px; padding: 4px 10px; font-size: 11px; }

.ipo-group { margin: 60px 0 22px 18px; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.ipo-group .group-head__icon { width: 30px; height: 30px; }
.ipo-cards--list { padding-right: 0; }
.ipo-cards--list .ipo-card__media { min-height: 0; aspect-ratio: 1; }
@media (max-width: 700px) { .ipo-group { margin-left: 0; } }
.ipo-cards--list .ipo-card__media { align-self: start; width: 100%; }
