/* Kraken Chronicles 888 — responsive transparent artwork.
   The banner is an illustration, not a cropped background image. */
.kc-main:has(.kc-hero) {
  overflow-x: clip;
}
.kc-hero {
  position: relative;
  isolation: isolate;
  margin: 0 0 32px;
  padding: 0 0 32px;
  border-bottom: 1px solid rgba(95, 129, 150, .22);
  background:
    radial-gradient(ellipse 55% 50% at 50% 19%, rgba(0, 92, 157, .16), transparent 79%),
    linear-gradient(180deg, #060a0e 0%, var(--bg, #0c0d0e) 70%);
}
.kc-hero > .kc-hero-visual {
  display: block;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 2048px;
  aspect-ratio: 2048 / 682;
  margin: 0 auto 4px !important;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.kc-hero-visual > img.kc-hero-banner {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto !important;
  max-width: none;
  aspect-ratio: 2048 / 682;
  margin: 0 !important;
  padding: 0;
  object-fit: contain !important;
  object-position: center center;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none;
  background: transparent !important;
}
.kc-hero > :not(.kc-hero-visual) {
  box-sizing: border-box;
  width: min(1272px, calc(100% - 2 * var(--home-gutter, 24px)));
  max-width: 1272px;
  margin-left: auto;
  margin-right: auto;
}
.kc-hero-kicker {
  color: #cfa36a;
  font-size: 11px;
  letter-spacing: .20em;
}
.kc-hero h1 {
  max-width: 28ch;
  margin-top: 12px;
  color: #f4f0e9;
  font-size: clamp(27px, 3.1vw, 43px);
  line-height: 1.17;
  letter-spacing: -.025em;
  overflow-wrap: normal;
}
.kc-hero-lead {
  max-width: 70ch;
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.7;
}
.kc-hero-actions {
  gap: 10px;
  margin-top: 22px;
}
.kc-hero-actions .kc-btn {
  min-height: 43px;
}
.kc-hero-actions .kc-btn.is-primary {
  border-color: #b47b35;
  color: #15100b;
  background: linear-gradient(180deg, #f8c777, #d49b4b);
  box-shadow: 0 2px 17px rgba(222, 133, 37, .14);
}
.kc-hero-actions .kc-btn.is-primary:hover {
  border-color: #f2c77e;
  background: linear-gradient(180deg, #ffd89b, #e3a455);
}
@media (max-width: 760px) {
  .kc-hero {
    margin-bottom: 24px;
    padding-bottom: 24px;
  }
  .kc-hero > .kc-hero-visual {
    aspect-ratio: 1648 / 638;
    margin-bottom: 12px !important;
  }
  .kc-hero-visual > img.kc-hero-banner {
    aspect-ratio: 1648 / 638;
  }
  .kc-hero > :not(.kc-hero-visual) {
    width: calc(100% - 2 * var(--home-gutter, 16px));
  }
  .kc-hero h1 {
    margin-top: 10px;
    font-size: clamp(25px, 5.7vw, 36px);
  }
  .kc-hero-lead {
    margin-top: 12px;
    font-size: 13px;
  }
  .kc-hero-actions {
    margin-top: 18px;
    gap: 8px;
  }
  .kc-hero-actions .kc-btn {
    flex: 1 1 160px;
    min-width: 0;
  }
}
@media (max-width: 420px) {
  .kc-hero > .kc-hero-visual {
    margin-bottom: 10px !important;
  }
  .kc-hero-kicker {
    font-size: 10px;
    letter-spacing: .13em;
  }
  .kc-hero h1 {
    font-size: clamp(24px, 6.7vw, 29px);
  }
  .kc-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kc-hero-actions .kc-btn {
    width: 100%;
    min-height: 44px;
    white-space: normal;
    text-align: center;
  }
}
@media (max-width: 340px) {
  .kc-hero-actions {
    grid-template-columns: 1fr;
  }
}


/* 2026-10-10: final asset-safe desktop/mobile adjustments */
.kc-hero > .kc-hero-visual {
  height: auto;
  overflow: visible;
}
.kc-hero-visual > img.kc-hero-banner {
  display: block;
  height: auto !important;
  max-height: none;
  object-fit: contain !important;
  background: transparent !important;
}
.kc-hero > :not(.kc-hero-visual) {
  margin-inline: auto !important;
}
@media (max-width: 760px) {
  .kc-hero > .kc-hero-visual,
  .kc-hero-visual > img.kc-hero-banner { aspect-ratio: 1648 / 638; }
}
