.desk-nav a, .desk-nav a:hover, .desk-nav a.active { color: #8d1c2b !important; }
.mobile-nav a { color: #8d1c2b !important; }

@media (max-width: 899px) {
  .hero-frame {
    height: var(--hero-lock, 560px) !important;
    max-height: var(--hero-lock, 560px) !important;
    min-height: 0 !important;
  }
  .hero-photo {
    height: var(--hero-lock, 560px) !important;
    max-height: var(--hero-lock, 560px) !important;
    transform: none !important;
    scale: 1 !important;
  }
}

.grad-band {
  position: relative;
  margin: 36px 0 0;
  min-height: 560px;
  height: min(78vh, 720px);
  overflow: hidden;
  background: #f6f3ee;
}
.grad-band img {
  position: absolute;
  top: 0;
  right: 0;
  width: 88%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 28%;
  transform: scale(0.86);
  transform-origin: right center;
}
.grad-band figcaption {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: auto;
  top: 50%;
  bottom: auto;
  width: min(250px, 58%);
  transform: translateY(-50%);
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: rgba(246, 243, 238, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
}
.grad-band .script-line {
  margin: 0 0 8px;
  font-size: clamp(32px, 8vw, 48px);
}
.grad-band figcaption p:last-child {
  color: #1c1614;
  font-size: 13px;
  line-height: 1.45;
}
.compare { touch-action: pan-y; }
.handle { touch-action: none; }

.io-member {
  padding: 48px 0 56px;
  background: #f6f3ee;
  text-align: center;
}
.io-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}
.io-logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.io-link {
  display: inline-block;
  transition: opacity 0.2s;
}
.io-link:hover {
  opacity: 0.85;
}
.io-link img {
  width: 70px;
  height: auto;
  display: block;
}
.io-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #1c1614;
  max-width: 420px;
}
.gosc-badge {
  width: 70px;
  height: auto;
  display: block;
}

@media (min-width: 900px) {
  .io-inner {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 32px;
    max-width: 800px;
  }
  .io-logos {
    display: contents;
  }
  .io-link img,
  .gosc-badge {
    width: 80px;
  }
  .io-text {
    max-width: 420px;
    text-align: left;
    order: 0;
  }
  .grad-band {
    min-height: 0 !important;
    height: auto !important;
    padding: 40px 0 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: visible;
    position: relative;
  }
  .grad-band figcaption {
    display: contents !important;
  }
  .grad-band .script-line {
    order: -1;
    position: relative;
    z-index: 2;
    margin: 0 0 18px;
    font-size: 68px;
    color: #8d1c2b;
  }
  .grad-band img:not(.fan) {
    order: 0;
    position: relative !important;
    width: 504px !important;
    height: 624px !important;
    object-fit: cover !important;
    object-position: 50% 20% !important;
    transform: none !important;
    border-radius: 16px;
    z-index: 2;
  }
  .grad-band .fan {
    position: absolute !important;
    top: 50% !important;
    width: 340px !important;
    height: 480px !important;
    object-fit: cover !important;
    border-radius: 12px;
    z-index: 1;
    pointer-events: none;
  }
  .grad-band .fan.left {
    left: calc(50% - 430px) !important;
    right: auto !important;
    object-position: 70% 30% !important;
    transform: translateY(-42%) rotate(-8deg) !important;
    transform-origin: center center;
  }
  .grad-band .fan.right {
    right: calc(50% - 430px) !important;
    left: auto !important;
    object-position: 30% 30% !important;
    transform: translateY(-42%) rotate(8deg) !important;
    transform-origin: center center;
  }
  .grad-band::before,
  .grad-band::after {
    content: "" !important;
    display: none !important;
  }
  .grad-band figcaption p:last-child {
    order: 1;
    position: absolute;
    z-index: 3;
    bottom: 64px;
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    max-width: 80%;
    margin: 0;
    padding: 16px 18px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    color: #1c1614;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
}
@media (max-width: 899px) {
  .grad-band {
    height: 540px !important;
    min-height: 0 !important;
  }
  .grad-band img:not(.fan) {
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 38% 20% !important;
    transform: none !important;
  }
  .grad-band .fan { display: none !important; }
  .grad-band::before {
    content: "" !important;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, #f6f3ee 0%, #f6f3ee 24%, rgba(246, 243, 238, 0.92) 36%, rgba(246, 243, 238, 0) 52%) !important;
  }
  .grad-band figcaption {
    left: 16px !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 42% !important;
    max-width: 170px !important;
    height: 100% !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .grad-band .script-line {
    font-size: 30px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
  .grad-band figcaption p:last-child { font-size: 13.5px !important; line-height: 1.4 !important; }
}
