/* Home highlights, contact, and staff content management. */
.landing-hero {
  height: min(720px, calc(100svh - 76px));
  min-height: 470px;
  overflow: hidden;
  display: block;
}
.hero-slider, .hero-slide { position: relative; width: 100%; height: 100%; }
.hero-slide[hidden] { display: none !important; }
.landing-hero .landing-hero-inner {
  width: 100%; max-width: 1180px; height: 100%;
  margin: auto; padding: 25px 26px 62px;
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(24px, 4vw, 58px); align-items: center;
}
.hero-copy, .hero-visual { min-width: 0; }
.hero-copy .eyebrow { display: block; color: #c3b4ff; font-size: 10px; letter-spacing: 1px; }
.landing-hero .hero-copy h1 {
  max-width: 650px; margin: 14px 0 12px;
  color: white; font: 800 clamp(38px, 4.7vw, 59px)/1.04 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -2px; overflow-wrap: break-word;
}
.landing-hero .hero-copy p {
  max-width: 520px; margin: 0 0 20px; color: #f1edff;
  font-size: clamp(12px, 1.2vw, 15px); line-height: 1.62;
  overflow-wrap: break-word;
}
.hero-copy .landing-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-copy .landing-actions .btn { min-height: 42px; }
.hero-visual {
  height: min(100%, 400px); min-height: 0;
  display: grid; place-items: center; position: relative; overflow: hidden;
  border-radius: 22px;
}
.hero-slide-media {
  display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  min-width: 0; object-fit: cover; object-position: center 42%;
  border: 5px solid rgba(255,255,255,.78); border-radius: 22px;
  box-shadow: 0 25px 65px rgba(29,20,71,.32);
}
.hero-visual:has(video) { background: #271f55; }
.hero-art-card {
  width: min(88%, 370px); padding: 22px; background: #fff; border-radius: 21px;
  box-shadow: 0 26px 65px #1a123d66; transform: rotate(3deg); color: #262443;
}
.hero-art-2 { transform: rotate(-3deg); }
.hero-art-top { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.hero-art-top .brand-mark { width: 25px; height: 25px; border-radius: 7px; }
.hero-level { margin-left: auto; color: #81799b; font-size: 9px; }
.hero-art-progress { height: 6px; margin: 17px 0; background: #edeaf6; border-radius: 9px; }
.hero-art-progress i { display: block; width: 62%; height: 100%; background: #8067ec; border-radius: inherit; }
.hero-art-question { font: 700 16px/1.35 'Plus Jakarta Sans', sans-serif; margin-bottom: 12px; }
.hero-art-answer { padding: 9px; margin-top: 7px; border: 1px solid #e8e5f1; border-radius: 9px; color: #8f89a0; font-size: 10px; }
.hero-art-answer.selected { color: #6049c6; background: #f3efff; border-color: #9079ec; }
.hero-art-answer b { float: right; }
.hero-float-chip { position: absolute; z-index: 2; padding: 10px 13px; border-radius: 11px; background: #fff; color: #4b3a83; font-size: 10px; font-weight: 800; }
.hero-chip-xp { top: 8%; right: 2%; } .hero-chip-badge { bottom: 9%; left: 1%; }
.hero-controls {
  position: absolute; bottom: 48px; left: max(26px, calc((100vw - 1128px)/2)); z-index: 3;
  display: flex; align-items: center; gap: 11px; color: #fff; font-size: 10px;
}
.hero-controls > button { width: 30px; height: 30px; border: 1px solid #ffffff88; border-radius: 50%; background: #ffffff21; color: #fff; }
.hero-controls > button:hover { background: #fff; color: #634cc9; }
.hero-dots { display: flex; align-items: center; gap: 6px; }
.hero-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 9px; background: #ffffff8c; }
.hero-dots button[aria-current="true"] { width: 20px; background: white; }
.hero-controls [data-hero-count] { min-width: 41px; letter-spacing: .5px; }

.auth-art > div { margin: auto 0; position: relative; z-index: 1; }
.auth-art > span:last-child { position: relative; z-index: 1; }
.contact-shell { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: stretch; }

.hero-admin-note { padding: 13px 16px; margin-bottom: 18px; color: #55469c; background: #f1edff; border-radius: 12px; font-size: 12px; }
.hero-admin-list, .contact-inbox { display: grid; gap: 16px; }
.hero-admin-card { display: grid; grid-template-columns: 230px minmax(0,1fr); overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.hero-admin-preview { position: relative; min-height: 190px; display: grid; place-items: center; background: linear-gradient(135deg,#48398f,#9c7bea); }
.hero-admin-preview img, .hero-admin-preview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-admin-preview > .brand-mark { width: 52px; height: 52px; font-size: 27px; }
.hero-position { position: absolute; top: 11px; left: 11px; z-index: 1; padding: 6px 8px; border-radius: 7px; background: #211747c4; color: white; font-size: 9px; font-weight: 800; }
.hero-admin-copy { min-width: 0; padding: 19px 23px; }
.hero-admin-meta { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; }
.hero-admin-copy h2 { margin: 12px 0 6px; font: 750 18px 'Plus Jakarta Sans',sans-serif; }
.hero-admin-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.hero-admin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.hero-admin-actions form { margin: 0; }
.pill.good { color: #247b55; background: #e8f7ed; } .pill.neutral { color: #6c687d; background: #f0eef5; } .pill.warning { color: #936415; background: #fff3d4; }
.hero-admin-actions .btn-danger { color: #ac463e !important; background: #fff1ef; border: 1px solid #f1cac6; }
.form-section-title { margin: 0 0 15px; font: 750 17px 'Plus Jakarta Sans',sans-serif; }
.hero-edit-form > .form-section-title:not(:first-of-type) { margin-top: 28px; }
.field-span-two { grid-column: 1/-1; }
.hero-media-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 17px; }
.hero-current-media { grid-column: 1/-1; display: flex; align-items: center; gap: 12px; padding: 9px; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); font-size: 11px; }
.hero-current-media img, .hero-current-media video { width: 155px; height: 85px; object-fit: cover; border-radius: 8px; }
.admin-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; color: var(--muted); font-size: 12px; }
.admin-toolbar select, .inbox-foot select { min-width: 150px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #fff; }
.inbox-card { padding: 20px 22px; }
.inbox-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.inbox-head h2 { margin: 9px 0 5px; font: 750 17px 'Plus Jakarta Sans',sans-serif; }
.inbox-head p, .inbox-head time { color: var(--muted); font-size: 11px; }
.inbox-head p { margin: 0; } .inbox-head a { color: var(--violet); }
.inbox-message { margin: 17px 0; padding: 14px 0; border-block: 1px solid var(--line); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.inbox-foot, .inbox-foot form { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.inbox-foot { justify-content: space-between; color: var(--muted); font-size: 11px; }
.inbox-foot form { margin: 0; }

@media (max-width: 760px) {
  .public-content > .auth-shell { display: flex; flex-direction: column; min-height: calc(100svh - 64px) !important; }
  .auth-shell .auth-art { display: flex; min-height: 185px; padding: 22px 24px; justify-content: center; }
  .auth-shell .auth-art h2 { font-size: 27px; line-height: 1.12; margin: 0 0 8px; }
  .auth-shell .auth-art p { font-size: 11px; line-height: 1.5; margin: 0; }
  .auth-shell .auth-art > span:last-child { display: none; }
  .auth-art-mark { margin-bottom: 8px; width: 34px; height: 34px; font-size: 19px; }
  .auth-shell .auth-form-wrap { display: grid; place-items: start center; flex: 1; min-height: 0; padding: 20px 14px 34px; background: #f7f5ff; }
  .auth-shell .auth-form { width: min(100%,420px); padding: 23px 20px; background: white; border: 1px solid #eeeaf8; border-radius: 17px; box-shadow: 0 15px 40px #28205212; }
  .contact-shell { grid-template-columns: 1fr; }
  .landing-hero { height: calc(100svh - 64px); min-height: 0; max-height: none; }
  .landing-hero .landing-hero-inner {
    padding: 12px 17px 47px;
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: auto clamp(118px,23svh,200px);
    align-content: center;
    gap: clamp(12px,3svh,23px);
  }
  .hero-copy { align-self: auto; }
  .hero-copy .eyebrow { font-size: 9px; }
  .landing-hero .hero-copy h1 { margin: 7px 0; font-size: clamp(25px,7.8vw,39px); line-height: 1.03; letter-spacing: -1.1px; }
  .landing-hero .hero-copy p { display: block; margin-bottom: 9px; overflow: visible; font-size: clamp(10px,1.85svh,12px); line-height: 1.38; -webkit-line-clamp: unset; }
  .hero-copy .landing-actions { flex-wrap: wrap; gap: 7px; }
  .hero-copy .landing-actions .btn { min-height: 36px; padding: 8px 10px; font-size: 11px; white-space: nowrap; }
  .hero-visual { width: 100%; height: 100%; border-radius: 12px; }
  .hero-slide-media { border-width: 3px; border-radius: 12px; object-position: center 26%; }
  .hero-controls { bottom: 60px; left: 17px; }
  .landing-stats { position: relative; z-index: 3; }
  .hero-admin-card { grid-template-columns: 1fr; }
  .hero-admin-preview { min-height: 150px; max-height: 200px; }
  .hero-admin-copy { padding: 17px; }
  .hero-media-grid { grid-template-columns: 1fr; }
  .hero-current-media { grid-column: 1; }
  .inbox-head { display: block; }
  .inbox-head time { display: block; margin-top: 10px; }
}
@media (min-width: 560px) and (max-width: 760px) {
  .landing-hero .landing-hero-inner {
    grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr);
    grid-template-rows: minmax(0,1fr);
    align-content: center;
    gap: 18px;
    padding: 18px 20px 67px;
  }
  .hero-visual { height: min(100%,340px); }
  .landing-hero .hero-copy h1 { font-size: clamp(29px,5vw,37px); }
  .landing-hero .hero-copy p { font-size: 11px; }
  .hero-copy .landing-actions .btn { font-size: 10px; }
  .hero-controls { bottom: 43px; left: 20px; }
}
