.interventions-page {
  --iv-ink: #06182d;
  --iv-ink-soft: #2d4058;
  --iv-muted: #667385;
  --iv-navy: #061a2e;
  --iv-navy-2: #09213a;
  --iv-paper: #eef6f5;
  --iv-paper-warm: #f5f1e8;
  --iv-card: #faf7ef;
  --iv-gold: #b58b50;
  --iv-gold-soft: #d8c3a0;
  --iv-line: rgba(6, 24, 45, 0.15);
  --iv-gold-line: rgba(181, 139, 80, 0.42);
  --iv-shadow: rgba(6, 24, 45, 0.18);
  --iv-shadow-strong: rgba(6, 24, 45, 0.28);
  min-height: 100vh;
  color: var(--iv-ink);
  background: var(--iv-paper);
  font-family: "Manrope", system-ui, sans-serif;
}

.interventions-page *,
.interventions-page *::before,
.interventions-page *::after {
  box-sizing: border-box;
}

.interventions-main {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - var(--nav-h, 6rem));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(239, 247, 247, 0.82) 34%, rgba(232, 243, 244, 0.96) 100%),
    repeating-linear-gradient(0deg, rgba(6, 24, 45, 0.018) 0 1px, transparent 1px 7px),
    var(--iv-paper);
}

.interventions-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.48;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.15) 42%, rgba(205, 226, 230, 0.48) 100%),
    linear-gradient(255deg, transparent 0%, rgba(255, 255, 255, 0.56) 38%, transparent 64%);
}

.interventions-main > * {
  position: relative;
  z-index: 1;
}

.iv-hero,
.interventions-experience {
  width: min(1110px, calc(100% - 2rem));
  margin-inline: auto;
}

.iv-hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  padding: clamp(1.35rem, 2.25vw, 2rem) 0 clamp(1.65rem, 2.3vw, 2.1rem);
}

.iv-hero__copy {
  position: relative;
  max-width: none;
}

.iv-hero h1 {
  margin: 0;
  color: var(--iv-ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(2.6rem, 4vw, 3.55rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
  white-space: nowrap;
}

.iv-title-rule,
.iv-small-rule,
.interventions-year-rule {
  display: block;
  width: 3.75rem;
  height: 2px;
  margin: 1.25rem 0 1.25rem;
  background: var(--iv-gold);
}

.iv-hero__subtitle {
  max-width: 46rem;
  margin: 0;
  color: var(--iv-ink);
  font-size: clamp(1.05rem, 1.45vw, 1.34rem);
  font-weight: 700;
  line-height: 1.48;
  letter-spacing: 0;
}

.interventions-experience {
  padding: 0 0 clamp(1rem, 1.8vw, 1.6rem);
}

.interventions-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(17.5rem, 0.7fr) minmax(0, 1.35fr);
  gap: 1.6rem;
  align-items: stretch;
  width: min(1035px, calc(100% - 1rem));
  margin: 0 auto;
  padding: 0.85rem 0.95rem 0.85rem 1.35rem;
  border: 1px solid rgba(122, 108, 84, 0.28);
  border-radius: 0.75rem;
  color: var(--iv-ink);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.72), rgba(250, 247, 239, 0.94)),
    var(--iv-card);
  box-shadow: 0 1.2rem 2.3rem var(--iv-shadow-strong);
}

.interventions-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1rem 0.55rem 0.7rem 0;
}

.interventions-eyebrow {
  margin: 0 0 0.9rem;
  color: var(--iv-gold);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.interventions-copy h2 {
  max-width: 19rem;
  margin: 0;
  color: var(--iv-ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1.75rem, 2.7vw, 2.8rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: balance;
}

.interventions-year-rule {
  width: 3.2rem;
  margin: 0.7rem 0 0.75rem;
}

.interventions-year {
  margin: 0 0 0.9rem;
  color: var(--iv-gold);
  font-size: clamp(1.4rem, 2.2vw, 2.05rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.interventions-copy h3 {
  max-width: 18rem;
  margin: 0 0 0.72rem;
  color: var(--iv-ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.interventions-place {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.9rem;
  color: var(--iv-ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.interventions-place[hidden] {
  display: none !important;
}

.interventions-place svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.interventions-copy p[data-intervention-text] {
  max-width: 20rem;
  margin: 0;
  color: var(--iv-ink-soft);
  font-size: 0.82rem;
  line-height: 1.56;
  font-weight: 500;
  letter-spacing: 0;
}

.interventions-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.9rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--iv-gold-line);
}

.interventions-count {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  color: var(--iv-ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.interventions-count svg {
  width: 1.55rem;
  height: 1.55rem;
  color: var(--iv-gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.iv-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding: 0.8rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.18rem;
  color: #ffffff;
  background: var(--iv-navy);
  box-shadow: 0 0.6rem 1.1rem rgba(6, 24, 45, 0.16);
  font-size: 0.73rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.iv-button svg,
.iv-story-cta__button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.iv-button:hover,
.iv-button:focus-visible,
.iv-story-cta__button:hover,
.iv-story-cta__button:focus-visible {
  outline: none;
  background: #0b2745;
  transform: translateY(-2px);
  box-shadow: 0 0.8rem 1.4rem rgba(6, 24, 45, 0.22);
}

.interventions-viewer {
  position: relative;
  min-width: 0;
  display: grid;
  align-items: stretch;
  gap: 0.5rem;
}

.interventions-frame {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 0;
  aspect-ratio: 3 / 2;
  margin: 0;
  border-radius: 0.28rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(6, 24, 45, 0.05)),
    #ddd8cf;
}

.interventions-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 24, 45, 0.08), rgba(6, 24, 45, 0.18)),
    rgba(6, 24, 45, 0.08);
}

.interventions-frame__backdrop {
  position: absolute;
  inset: -1.5rem;
  z-index: 0;
  width: calc(100% + 3rem);
  height: calc(100% + 3rem);
  display: block;
  object-fit: cover;
  object-position: center;
  filter: blur(18px) saturate(0.82) brightness(0.82);
  transform: scale(1.08);
  opacity: 0.78;
  transition: opacity 180ms ease;
}

.interventions-frame img[data-intervention-image] {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0.5rem 1.1rem rgba(6, 24, 45, 0.18));
  transition: opacity 180ms ease;
}

.interventions-photo-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(6, 24, 45, 0.28);
  box-shadow: 0 0.55rem 1.1rem rgba(6, 24, 45, 0.14);
  backdrop-filter: blur(10px);
  opacity: 0.72;
  transform: translateY(-50%);
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
}

.interventions-photo-arrow--prev {
  left: 0.85rem;
}

.interventions-photo-arrow--next {
  right: 0.85rem;
}

.interventions-photo-arrow svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.interventions-photo-arrow:hover,
.interventions-photo-arrow:focus-visible {
  outline: none;
  color: #ffffff;
  background: rgba(6, 24, 45, 0.52);
  opacity: 1;
  transform: translateY(-50%) scale(1.04);
}

.interventions-photo-arrow[hidden],
.interventions-photo-lines[hidden] {
  display: none !important;
}

.interventions-photo-lines {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  min-height: 0.7rem;
}

.interventions-photo-line {
  width: clamp(2.2rem, 5.4vw, 4rem);
  height: 2px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(6, 24, 45, 0.18);
  cursor: pointer;
  transition: background 160ms ease, width 160ms ease;
}

.interventions-photo-line.is-active {
  width: clamp(2.8rem, 6.4vw, 4.7rem);
  background: var(--iv-gold);
}

.interventions-photo-line:hover,
.interventions-photo-line:focus-visible {
  outline: none;
  background: rgba(181, 139, 80, 0.62);
}

.interventions-timeline {
  width: min(1110px, 100%);
  margin: 0.45rem auto 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
}

.interventions-years {
  min-width: 0;
  display: flex;
  align-items: end;
  gap: 0.52rem;
  padding: 1.35rem 0.2rem 0.6rem;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  scroll-padding-inline: 2rem;
}

.interventions-years::-webkit-scrollbar {
  display: none;
}

.interventions-arrow {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--iv-navy);
  box-shadow: 0 0.8rem 1.4rem rgba(6, 24, 45, 0.2);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.interventions-arrow svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.interventions-arrow:hover,
.interventions-arrow:focus-visible {
  outline: none;
  background: #0b2745;
  transform: translateY(-2px);
}

.iv-year-card {
  --iv-card-lift: 0rem;
  position: relative;
  flex: 0 0 4.85rem;
  min-height: 7.9rem;
  display: grid;
  grid-template-rows: auto auto minmax(1.8rem, auto) auto auto auto;
  justify-items: center;
  gap: 0.26rem;
  padding: 0.66rem 0.42rem 0.5rem;
  border: 1px solid rgba(6, 24, 45, 0.13);
  border-radius: 0.38rem;
  color: var(--iv-ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(244, 240, 231, 0.94)),
    var(--iv-card);
  box-shadow: 0 0.55rem 1.05rem rgba(6, 24, 45, 0.1);
  cursor: pointer;
  opacity: 0.82;
  scroll-snap-align: center;
  transform: translateY(var(--iv-card-lift));
  transition: flex-basis 210ms ease, min-height 210ms ease, transform 210ms ease, box-shadow 210ms ease, border-color 210ms ease, opacity 210ms ease;
}

.iv-year-card:hover,
.iv-year-card:focus-visible {
  outline: none;
  transform: translateY(calc(var(--iv-card-lift) - 0.18rem));
  border-color: rgba(181, 139, 80, 0.5);
  box-shadow: 0 0.95rem 1.7rem rgba(6, 24, 45, 0.18);
}

.iv-year-card.is-near-3 {
  --iv-card-lift: -0.12rem;
  flex-basis: 5.3rem;
  min-height: 8.45rem;
  opacity: 0.9;
}

.iv-year-card.is-near-2 {
  --iv-card-lift: -0.28rem;
  flex-basis: 6rem;
  min-height: 9.35rem;
  opacity: 0.96;
  box-shadow: 0 0.7rem 1.25rem rgba(6, 24, 45, 0.12);
}

.iv-year-card.is-near-1 {
  --iv-card-lift: -0.5rem;
  flex-basis: 7rem;
  min-height: 10.45rem;
  opacity: 1;
  box-shadow: 0 0.85rem 1.55rem rgba(6, 24, 45, 0.15);
}

.iv-year-card.is-active {
  --iv-card-lift: -0.95rem;
  flex-basis: 9.85rem;
  min-height: 12.1rem;
  z-index: 2;
  border-color: rgba(181, 139, 80, 0.45);
  opacity: 1;
  box-shadow: 0 1rem 2rem rgba(6, 24, 45, 0.2);
}

.iv-year-card__year {
  color: var(--iv-ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  transition: color 210ms ease, font-size 210ms ease;
}

.iv-year-card.is-near-3 .iv-year-card__year {
  font-size: 1.18rem;
}

.iv-year-card.is-near-2 .iv-year-card__year {
  font-size: 1.32rem;
}

.iv-year-card.is-near-1 .iv-year-card__year {
  font-size: 1.48rem;
}

.iv-year-card.is-active .iv-year-card__year {
  color: var(--iv-gold);
  font-size: 1.82rem;
}

.iv-year-card__rule {
  width: 1.2rem;
  height: 1px;
  background: var(--iv-gold);
}

.iv-year-card__brand {
  width: 100%;
  color: var(--iv-ink-soft);
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: balance;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: font-size 210ms ease, color 210ms ease;
}

.iv-year-card.is-near-2 .iv-year-card__brand,
.iv-year-card.is-near-1 .iv-year-card__brand,
.iv-year-card.is-active .iv-year-card__brand {
  color: var(--iv-ink);
  font-size: 0.62rem;
}

.iv-year-card__count {
  min-height: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.16rem;
  color: var(--iv-ink-soft);
  font-size: 0.54rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: font-size 210ms ease;
}

.iv-year-card__count strong {
  color: var(--iv-ink);
  font-size: inherit;
  line-height: 1;
  transition: font-size 210ms ease;
}

.iv-year-card.is-near-2 .iv-year-card__count,
.iv-year-card.is-near-1 .iv-year-card__count,
.iv-year-card.is-active .iv-year-card__count {
  font-size: 0.6rem;
}

.iv-year-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1.45 / 1;
  margin-top: 0.25rem;
  border-radius: 0.2rem;
  object-fit: cover;
  background: #d8d2c4;
  transition: aspect-ratio 210ms ease;
}

.iv-year-card.is-active .iv-year-card__image {
  aspect-ratio: 1.8 / 1;
}

.iv-story-cta {
  position: relative;
  overflow: hidden;
  color: #eef6f5;
  background:
    linear-gradient(120deg, rgba(12, 44, 74, 0.38), rgba(2, 13, 25, 0.18)),
    var(--iv-navy);
}

.iv-story-cta::before,
.iv-story-cta::after {
  content: "";
  position: absolute;
  width: 15rem;
  height: 9rem;
  pointer-events: none;
  opacity: 0.16;
  border: 1px solid var(--iv-gold);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.iv-story-cta::before {
  left: -4rem;
  bottom: -4.2rem;
}

.iv-story-cta::after {
  right: -5rem;
  top: -3.6rem;
}

.iv-story-cta__inner {
  position: relative;
  z-index: 1;
  width: min(1110px, calc(100% - 2rem));
  min-height: 7rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  padding: 1.8rem 0;
}

.iv-story-cta p {
  flex: 1 1 auto;
  margin: 0;
  color: rgba(238, 246, 245, 0.86);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.26;
  letter-spacing: 0;
}

.iv-story-cta p em {
  color: var(--iv-gold);
  font-style: italic;
}

.iv-story-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 3.25rem;
  padding: 0.9rem 1.45rem;
  border: 1px solid rgba(238, 246, 245, 0.55);
  border-radius: 0.12rem;
  color: #eef6f5;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

@media (max-width: 1120px) {
  .interventions-card {
    width: min(930px, calc(100% - 1rem));
    grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.1fr);
  }

  .iv-year-card {
    flex-basis: 5.55rem;
  }
}

@media (max-width: 920px) {
  .iv-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding: 1.55rem 0 1.55rem;
  }

  .iv-hero h1 {
    font-size: clamp(2rem, 6vw, 3.1rem);
  }

  .interventions-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 0.9rem;
  }

  .interventions-copy {
    padding: 0.8rem 0.4rem 0.35rem;
  }

  .interventions-copy h3,
  .interventions-copy p[data-intervention-text] {
    max-width: none;
  }

}

@media (max-width: 680px) {
  .iv-hero,
  .interventions-experience {
    width: min(100% - 1.25rem, 35rem);
  }

  .iv-hero {
    padding: 1.35rem 0 1.35rem;
  }

  .iv-hero h1 {
    font-size: clamp(1.15rem, 5.5vw, 2.35rem);
  }

  .interventions-card {
    width: 100%;
    border-radius: 0.55rem;
  }

  .interventions-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .iv-button,
  .iv-story-cta__button {
    width: 100%;
  }

  .interventions-photo-arrow {
    width: 2.15rem;
    height: 2.15rem;
  }

  .interventions-timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
  }

  .interventions-arrow {
    display: none;
  }

  .interventions-years {
    padding-top: 1.1rem;
  }

  .iv-year-card {
    flex-basis: 5.45rem;
  }

  .iv-year-card.is-active {
    flex-basis: 8rem;
  }

  .iv-story-cta__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .iv-story-cta p {
    font-size: 1.15rem;
  }
}

@media (max-width: 420px) {
  .iv-hero h1 {
    font-size: clamp(1.05rem, 5.2vw, 1.55rem);
  }

  .interventions-copy h3 {
    font-size: 1rem;
  }
}
