/* Open Design inspired skin for Yuanjing AI Creative Lab */
:root {
  --ink: #17130f;
  --muted: #71695f;
  --line: #24201a;
  --paper: #fff;
  --paper-2: #fff;
  --white: #fff;
  --lime: #c9ff4a;
  --lime-dark: #a9e739;
  --teal: #22b7a8;
  --orange: #ff7b3d;
  --purple: #22b7a8;
  --blue: #1798d1;
  --radius: 8px;
  --shadow: 0 22px 52px rgba(28, 23, 15, .12);
}

* {
  letter-spacing: 0;
}

body {
  color: var(--ink);
  background: #fff;
  font-family: "DM Sans", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.noise {
  opacity: .055;
  mix-blend-mode: multiply;
}

.site-header {
  height: 72px;
  padding-left: max(24px, 3.5vw) !important;
  padding-right: max(24px, 3.5vw) !important;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(36, 32, 26, .16);
  box-shadow: none;
  transition: height .22s ease, background .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  height: 66px;
  background: rgba(255, 255, 255, .96);
  border-bottom-color: rgba(36, 32, 26, .2);
  box-shadow: 0 14px 34px rgba(28, 23, 15, .08);
}

.brand {
  gap: 0;
  flex: 0 0 auto;
}

.site-header .brand-mark {
  width: 172px;
  height: 38px;
  background: url("assets/yuanjing-logo.png") left center / contain no-repeat;
  transform: none;
}

.site-header .brand-mark i,
.app-brand .brand-mark i,
.modal-brand .brand-mark i {
  display: none;
}

.site-header .brand > span:last-child,
.app-brand > span:last-child {
  display: none;
}

.app-brand .brand-mark,
.modal-brand .brand-mark {
  width: 138px;
  height: 32px;
  background: url("assets/yuanjing-logo.png") left center / contain no-repeat #fffaf0;
  border-radius: 6px;
  transform: none !important;
}

.main-nav {
  gap: 2px !important;
  padding: 5px;
  border: 1px solid rgba(36, 32, 26, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 8px 22px rgba(28, 23, 15, .05);
  backdrop-filter: blur(18px);
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #5f574e;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: var(--ink);
}

.main-nav a:hover {
  transform: translateY(-1px);
}

.main-nav a.active:after {
  display: none;
}

.header-actions {
  gap: 10px;
}

.text-button {
  color: var(--ink);
  font-weight: 700;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  transition: background .18s ease;
}

.text-button:hover {
  background: rgba(36, 32, 26, .06);
}

.header-actions .primary-button.compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  box-shadow: none;
}

.menu-button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(36, 32, 26, .16);
  border-radius: 999px;
  background: #fff;
  color: transparent;
  position: relative;
  box-shadow: 0 8px 18px rgba(28, 23, 15, .08);
}

.menu-button:before,
.menu-button:after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, top .2s ease;
}

.menu-button:before {
  top: 16px;
}

.menu-button:after {
  top: 25px;
}

.site-header.nav-open .menu-button:before {
  top: 21px;
  transform: rotate(45deg);
}

.site-header.nav-open .menu-button:after {
  top: 21px;
  transform: rotate(-45deg);
}

.primary-button,
.dark-button,
.light-button,
.outline-button,
.ghost-button,
.generate-button,
.history-btn,
.tool-tabs button,
.work-actions button,
.filter-chip,
.sort-chip {
  border-radius: 8px;
  font-weight: 800;
}

.primary-button {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 8px 0 rgba(36, 32, 26, .12);
}

.primary-button:hover {
  background: #000;
}

.ghost-button,
.outline-button {
  color: var(--ink);
  background: rgba(255, 250, 240, .62);
  border: 1px solid rgba(36, 32, 26, .28);
}

.dark-button {
  background: var(--ink);
  color: var(--white);
}

.light-button {
  color: var(--ink);
  background: var(--lime);
  border: 1px solid rgba(36, 32, 26, .22);
}

.eyebrow {
  color: #51483f;
  letter-spacing: .08em;
}

.eyebrow span {
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(34, 183, 168, .16);
}

.eyebrow.light {
  color: rgba(255, 250, 240, .72);
}

.hero {
  min-height: 810px;
  padding: 150px 5vw 76px;
  grid-template-columns: .9fr 1.1fr;
  background: #fff;
  position: relative;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 102px 3.5vw 34px;
  border: 1px solid rgba(36, 32, 26, .16);
  border-radius: 28px;
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero h1,
.inner-hero h1,
.campus-hero h1,
.contact-hero h1,
.workflow-intro h1,
.explore-hero h1 {
  color: var(--ink);
  letter-spacing: -.05em;
  font-weight: 900;
}

.hero h1 {
  font-size: clamp(34px, 3.2vw, 48px);
}

.hero h1 em,
.inner-hero h1 em,
.workflow-intro h1 em {
  color: var(--ink);
  font-style: normal;
  background: linear-gradient(transparent 66%, rgba(201, 255, 74, .88) 0);
}

.hero-copy > p,
.section-heading p,
.cert-copy > p,
.project-copy > p,
.inner-hero p,
.page-heading p,
.workflow-intro p,
.explore-hero p {
  color: var(--muted);
}

.hero-proof {
  border-top: 1px solid rgba(36, 32, 26, .22);
}

.hero-proof strong {
  color: var(--ink);
}

.preview-window,
.workflow-window {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 14px 14px 0 rgba(36, 32, 26, .12), var(--shadow);
  transform: rotate(-1.4deg);
}

.window-top,
.workflow-window-top {
  background: var(--ink);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 250, 240, .12);
}

.mini-brand i,
.workflow-window-top b i {
  border-color: var(--lime);
}

.preview-body aside,
.workflow-canvas > aside {
  background: #241f18;
}

.side-icon.active,
.workflow-canvas > aside span.active {
  background: var(--lime);
  color: var(--ink);
}

.preview-content,
.workflow-board {
  background:
    linear-gradient(rgba(36, 32, 26, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 32, 26, .04) 1px, transparent 1px),
    var(--paper-2);
  background-size: 24px 24px;
}

.art-frame,
.mini-art,
.community-cover,
.case-cover,
.atmosphere-photo,
.work-cover,
.team-cover,
.generated-art {
  border: 1px solid rgba(36, 32, 26, .2);
  border-radius: 8px;
}

.art-frame {
  background:
    radial-gradient(circle at 72% 24%, #c9ff4a 0 10%, transparent 11%),
    linear-gradient(145deg, #54c8b6 0%, #f5d389 44%, #211b17 100%);
}

.prompt-bar {
  border: 1px solid rgba(36, 32, 26, .18);
  background: #fffdf7;
}

.prompt-bar button,
.generate-button,
.credit-pill button {
  background: var(--lime);
  color: var(--ink);
}

.floating-card {
  background: rgba(255, 250, 240, .94);
  border: 1px solid rgba(36, 32, 26, .2);
  border-radius: 8px;
  box-shadow: 8px 8px 0 rgba(36, 32, 26, .1);
}

.orb {
  display: none;
}

.trust-strip {
  background: var(--ink);
  border-color: var(--ink);
  color: rgba(255, 250, 240, .68);
}

.model-logos b {
  color: var(--white);
  font-weight: 800;
}

.model-logos {
  gap: clamp(26px, 5vw, 92px);
}

.model-logos img {
  display: block;
  width: auto;
  height: 28px;
  max-width: 180px;
  object-fit: contain;
}

.model-logos img[alt="DeepSeek"] {
  height: 24px;
  filter: brightness(0) invert(1);
}

.model-logos img[alt="ComfyUI"] {
  height: 34px;
  max-width: 168px;
}

.section,
.page-section,
.explore-content,
.workflow-stage,
.workflow-notes {
  background: #fff;
}

.capabilities,
.transformation,
.page-section.white,
.inner-hero,
.workflow-page {
  background: #fff;
}

.section h2,
.intro-heading h2,
.page-heading h2,
.cert-copy h2,
.project-copy h2,
.contact-copy h2,
.showcase-heading h2,
.ip-section-head h2 {
  color: var(--ink);
  letter-spacing: -.04em;
  font-weight: 900;
}

.intro-grid article,
.cap-card,
.feature-card,
.split-card,
.metric-row div,
.price-card,
.transform-flow article,
.work-card,
.review-panel,
.invite-explain,
.team-project,
.activity-panel,
.contact-form,
.cooperation-grid article,
.value-grid div,
.resource-grid div,
.workflow-notes div,
.workflow-nodes article,
.work-community-card,
.ip-project-card,
.entry-space,
.creation-form,
.result-area,
.placeholder-panel,
.modal {
  border: 1px solid rgba(36, 32, 26, .22);
  border-radius: 8px;
  box-shadow: none;
}

.intro-mission,
.project-panel,
.split-card,
.contact-hero,
.contact-section,
.campus-hero,
.campus-resources,
.explore-hero,
.ip-incubation {
  background:
    radial-gradient(circle at 92% 12%, rgba(34, 183, 168, .22), transparent 30%),
    var(--ink);
  color: var(--white);
}

.project-panel {
  border: 1px solid rgba(255, 250, 240, .16);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, .06);
}

.project-panel:after {
  display: none;
}

.project-copy h2,
.contact-copy h2,
.ip-section-head h2,
.explore-hero h1,
.contact-hero h1,
.campus-hero h1 {
  color: var(--white);
}

.intro-problem,
.cap-card,
.feature-card,
.transform-flow article,
.work-card,
.review-panel,
.invite-explain,
.team-project,
.activity-panel,
.workflow-nodes article,
.work-community-card {
  background: rgba(255, 250, 240, .9);
}

.intro-problem:after {
  background: var(--teal);
  border-radius: 0;
}

.cap-card {
  min-height: 430px;
}

.cap-index,
.transform-flow article > b,
.cooperation-grid article > b,
.case-grid small {
  color: #138f83;
  font-weight: 900;
}

.cap-icon,
.entry-icon,
.space-icon {
  background: var(--ink);
  color: var(--lime);
  border-radius: 8px;
}

.art-a {
  background:
    radial-gradient(circle at 70% 30%, var(--lime) 0 12%, transparent 13%),
    linear-gradient(145deg, transparent 48%, #1f1a16 49% 68%, transparent 69%),
    linear-gradient(35deg, #f8d88f, #3db8ac);
}

.art-b {
  background:
    linear-gradient(165deg, transparent 45%, #1f1a16 46%),
    radial-gradient(circle at 70% 24%, #c9ff4a 0 10%, transparent 11%),
    linear-gradient(#54c8b6, #ff9b60);
}

.storyboard-mini i {
  background: linear-gradient(150deg, #f9d78f, #35a99e);
}

.storyboard-mini i:nth-child(2) {
  background: linear-gradient(20deg, #ffad70, #5dcbbb);
}

.storyboard-mini i:nth-child(3) {
  background: linear-gradient(140deg, #c9ff4a, #1f1a16);
}

.waveform {
  background: var(--ink);
}

.waveform i {
  background: var(--lime);
}

.project-board,
.lab-board,
.inner-visual,
.certificate-visual,
.campus-hero-image,
.workflow-window {
  border-radius: 14px;
}

.project-board,
.lab-board {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 10px 10px 0 rgba(201, 255, 74, .2);
}

.board-head b,
.popular,
.value-grid span,
.online-popular {
  background: var(--lime);
  color: var(--ink);
}

.offline-space,
.online-space,
.benefit-list div,
.offline-service-grid article,
.student-card-upload,
.result-grid {
  background: rgba(255, 250, 240, .78);
  border: 1px solid rgba(36, 32, 26, .14);
}

.online-space {
  background: rgba(34, 183, 168, .12);
}

.lab-flow,
.visual-flow,
.cert-copy li,
.price-card ul,
.team-project-title,
.review-tags,
.order-line {
  border-color: rgba(36, 32, 26, .18);
}

.result-tags span,
.filter-chip.active,
.sort-chip.active,
.tool-tabs button.active {
  background: var(--ink);
  color: var(--white);
}

.cta-section,
.page-cta {
  background: var(--lime);
  color: var(--ink);
  border-top: 1px solid rgba(36, 32, 26, .18);
}

.cta-section h2,
.page-cta h2 {
  color: var(--ink);
}

.cta-section .light-button,
.page-cta .dark-button {
  background: var(--ink);
  color: var(--white);
}

.inner-page {
  background: #fff;
}

.inner-main {
  background: #fff;
}

.inner-hero {
  border-bottom: 1px solid rgba(36, 32, 26, .2);
}

.inner-visual {
  background:
    linear-gradient(rgba(255, 250, 240, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 240, .06) 1px, transparent 1px),
    var(--ink);
  background-size: 28px 28px;
  border: 1px solid rgba(255, 250, 240, .16);
}

.inner-visual:after {
  background: var(--teal);
}

.metric-row div,
.white .feature-card,
.split-card {
  background: rgba(255, 250, 240, .82);
}

.split-card {
  color: var(--ink);
}

.benefit-list div {
  background: rgba(36, 32, 26, .06);
}

.benefit-list i,
.visual-flow i,
.contact-hero-tag i,
.resource-grid i,
.campus-hero-stats b {
  color: var(--lime);
}

.page-footer {
  background: var(--ink);
  color: rgba(255, 250, 240, .62);
}

.campus-hero-stats div,
.resource-grid div,
.ip-project-card {
  background: rgba(255, 250, 240, .06);
  border-color: rgba(255, 250, 240, .14);
}

.explore-toolbar {
  background: rgba(255, 250, 240, .9);
  border: 1px solid rgba(36, 32, 26, .2);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(28, 23, 15, .08);
}

.filter-chip,
.sort-chip {
  background: rgba(36, 32, 26, .06);
  color: var(--ink);
}

.explore-jump a {
  border-radius: 8px;
}

.explore-jump a.active,
.explore-jump a:first-child.active {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

.ip-section-copy a,
.ip-project-body button {
  background: var(--lime);
  color: var(--ink);
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}

.ip-card-meta span,
.ip-card-meta b {
  border-color: rgba(255, 250, 240, .16);
}

.app-view {
  background: #fff;
}

.app-sidebar {
  background: var(--ink);
  border-right: 1px solid rgba(255, 250, 240, .12);
}

.app-sidebar button:hover,
.app-sidebar button.active {
  background: rgba(255, 250, 240, .12);
}

.app-sidebar button.active span {
  color: var(--lime);
}

.app-header,
.creation-form,
.result-area,
.placeholder-panel,
.work-card,
.review-panel,
.invite-explain,
.team-project,
.activity-panel {
  background: rgba(255, 250, 240, .92);
}

.app-header {
  border-bottom: 1px solid rgba(36, 32, 26, .18);
}

.credit-pill,
.prompt-input,
.model-select-grid button,
.settings-row select,
.auth-modal input,
.offline-modal input,
.offline-modal textarea,
.verification-modal input,
.verification-modal select,
.invite-modal input,
.invite-modal select,
.invite-modal textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #fffdf7;
  border: 1px solid rgba(36, 32, 26, .18);
  border-radius: 8px;
}

.model-select-grid button.active {
  border-color: var(--teal);
  background: rgba(34, 183, 168, .12);
}

.lab-intro .intro-mission {
  background:
    linear-gradient(rgba(23, 19, 15, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 19, 15, .055) 1px, transparent 1px),
    radial-gradient(circle at 84% 10%, rgba(255, 255, 255, .42), transparent 34%),
    var(--lime);
  background-size: 24px 24px, 24px 24px, auto, auto;
  color: var(--ink);
  border-color: rgba(23, 19, 15, .32);
}

.lab-intro .intro-mission small,
.lab-intro .intro-mission p {
  color: #2b271d;
}

.lab-intro .intro-mission h3 {
  color: #111;
  text-shadow: none;
}

.lab-intro .mission-line {
  border-top-color: rgba(23, 19, 15, .24);
}

.lab-intro .mission-line span {
  color: #17130f;
  font-weight: 800;
}

.lab-intro .mission-line i {
  color: #0b7f73;
}

.lab-intro .intro-problem {
  color: var(--ink);
  border-color: rgba(23, 19, 15, .22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .84)),
    url("assets/intro-teaching-sync.webp") center / cover no-repeat;
}

.lab-intro .intro-problem:nth-of-type(3) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .88)),
    url("assets/intro-ability-proof.webp") center / cover no-repeat;
}

.lab-intro .intro-problem:nth-of-type(4) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .66), rgba(255, 255, 255, .86)),
    url("assets/intro-low-cost-collab.webp") center / cover no-repeat;
}

.lab-intro .intro-problem > b {
  color: #5d574d;
  font-weight: 900;
}

.lab-intro .intro-problem h3 {
  color: #111;
}

.lab-intro .intro-problem p {
  color: #4b453d;
}

.lab-intro .intro-problem:after {
  background: var(--teal);
}

.lab-intro .intro-problem:nth-of-type(3):after {
  background: #94c900;
}

.lab-intro .intro-problem:nth-of-type(4):after {
  background: var(--orange);
}

.model-purple,
.model-blue,
.model-orange {
  background: var(--ink);
  color: var(--lime);
}

.creation-form > label span,
.model-select-grid em,
.auth-switch button {
  color: #138f83;
}

.modal-backdrop {
  background: rgba(23, 19, 15, .62);
}

.modal {
  background: var(--paper-2);
  box-shadow: 12px 12px 0 rgba(36, 32, 26, .16), 0 30px 80px rgba(0, 0, 0, .28);
}

.toast,
.page-toast {
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
}

@media (max-width: 1050px) {
  body.nav-menu-open {
    overflow: hidden;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 132px 5vw 64px;
    gap: 34px;
  }

  .hero:before {
    inset: 96px 3vw 26px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: 100%;
    height: 500px;
  }

  .preview-window {
    width: min(100%, 720px);
    left: 0;
    right: 0;
    margin: auto;
  }

  .site-header .main-nav.open,
  .inner-page .main-nav.open {
    display: flex;
    position: absolute;
    left: max(16px, 4vw);
    right: max(16px, 4vw);
    top: calc(100% + 10px);
    max-height: calc(100vh - 100px);
    overflow: auto;
    padding: 10px;
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(36, 32, 26, .18);
    border-radius: 18px;
    flex-direction: column;
    gap: 2px !important;
    box-shadow: 0 24px 60px rgba(28, 23, 15, .14);
    backdrop-filter: blur(22px);
  }

  .site-header .brand-mark {
    width: 150px;
  }

  .site-header .main-nav.open a,
  .inner-page .main-nav.open a {
    min-height: 48px;
    padding: 0 15px;
    border-radius: 12px;
    font-size: 14px;
    justify-content: space-between;
  }

  .site-header .main-nav.open a:after,
  .inner-page .main-nav.open a:after {
    content: "↗";
    display: inline;
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    color: currentColor;
    font-size: 12px;
    opacity: .56;
  }

  .site-header .main-nav.open a.active:after,
  .inner-page .main-nav.open a.active:after {
    display: inline;
  }
}

@media (max-width: 700px) {
  .hero {
    display: block;
    padding: 112px 20px 48px;
  }

  .hero:before {
    inset: 94px 14px 24px;
    border-radius: 18px;
  }

  .hero h1 {
    max-width: 330px;
    font-size: 34px;
    line-height: 1.04;
  }

  .hero-copy > p {
    max-width: 330px;
    font-size: 14px;
    line-height: 1.75;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .large {
    padding: 13px 15px;
    font-size: 13px;
  }

  .hero-proof {
    gap: 18px;
  }

  .hero-proof strong {
    font-size: 15px;
  }

  .hero-visual {
    height: 370px;
    margin-top: 28px;
  }

  .preview-window {
    width: 100%;
    height: 318px;
    top: 0;
    left: 0;
    right: auto;
    margin: 0;
  }

  .site-header .brand-mark {
    width: 132px;
    height: 34px;
  }

  .site-header {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .text-button {
    display: none;
  }

  .header-actions .primary-button.compact {
    min-height: 44px;
    padding: 0 15px;
  }

  .preview-window {
    transform: none;
  }

  .main-nav a {
    border-radius: 8px;
  }
}

/* Reference image homepage layout */
.reference-home {
  --ref-blue: #132b9d;
  --ref-blue-2: #102891;
  --ref-bg: #eef1f6;
  --ref-grid: rgba(24, 43, 78, .095);
  --ref-text: #2e2f36;
  --ref-muted: #566071;
  color: var(--ref-text);
  background: var(--ref-bg);
}

.reference-home .noise {
  display: none;
}

.reference-home .site-header {
  height: 84px;
  padding-left: clamp(22px, 5.2vw, 72px) !important;
  padding-right: clamp(22px, 5.2vw, 72px) !important;
  background: rgba(238, 241, 246, .96);
  border-bottom: 0;
  box-shadow: none;
}

.reference-home .site-header.is-scrolled,
.reference-home .site-header.nav-open {
  height: 72px;
  background: rgba(238, 241, 246, .98);
  box-shadow: 0 10px 28px rgba(26, 44, 88, .08);
}

.reference-home .site-header .brand-mark {
  width: 138px;
  height: 34px;
}

.reference-home .main-nav {
  gap: clamp(24px, 4vw, 58px) !important;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.reference-home .main-nav a {
  min-height: auto;
  padding: 0;
  color: #333a4b;
  background: transparent;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
}

.reference-home .main-nav a:hover,
.reference-home .main-nav a.active {
  color: var(--ref-blue);
  background: transparent;
  transform: none;
}

.reference-home .header-actions .text-button {
  min-height: 28px;
  padding: 0 18px;
  color: #fff;
  background: var(--ref-blue);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
}

.reference-home .header-actions .primary-button.compact {
  display: none;
}

.reference-marketing {
  position: relative;
  overflow: hidden;
  background: var(--ref-bg);
}

.reference-marketing button,
.reference-marketing a {
  font: inherit;
}

.reference-marketing img {
  display: block;
}

.ref-hero {
  position: relative;
  min-height: 760px;
  padding-top: 84px;
  overflow: hidden;
  background: var(--ref-bg);
}

.ref-hero-grid {
  position: absolute;
  inset: 84px 0 -120px;
  background-image:
    linear-gradient(var(--ref-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ref-grid) 1px, transparent 1px);
  background-size: clamp(130px, 14vw, 220px) clamp(130px, 14vw, 220px);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ref-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1460px;
  margin: 0 auto;
  min-height: 675px;
  padding: 112px clamp(28px, 5vw, 80px) 0;
}

.ref-hero-copy {
  position: relative;
  z-index: 2;
  width: min(670px, 54vw);
}

.ref-hero-copy h1 {
  margin: 0;
  color: #343238;
  font-size: clamp(56px, 6.2vw, 108px);
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: 0;
}

.ref-hero-copy p {
  position: absolute;
  top: 380px;
  left: 0;
  width: min(560px, 42vw);
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
  line-height: 1.9;
}

.ref-hero-actions {
  position: absolute;
  top: 515px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.ref-solid-button,
.ref-outline-button,
.ref-space-switch button,
.ref-plan-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 32px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.ref-solid-button {
  color: var(--ref-blue);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .7);
}

.ref-outline-button {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .7);
}

.ref-solid-button:hover,
.ref-outline-button:hover,
.ref-space-switch button:hover,
.ref-plan-actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(13, 29, 105, .16);
}

.ref-solid-button span,
.ref-outline-button span {
  margin-left: 18px;
}

.ref-hero:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 360px;
  background: var(--ref-blue);
  border-top-right-radius: 54px;
  z-index: 0;
}

.ref-hero-object {
  position: absolute;
  z-index: 3;
  right: clamp(-54px, -2.5vw, -24px);
  top: 28px;
  width: min(690px, 50vw);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 24px 36px rgba(18, 44, 157, .18));
}

.ref-blue-panel {
  position: relative;
  z-index: 2;
  max-width: 100%;
  background: var(--ref-blue);
  color: #fff;
}

.ref-overview {
  margin-top: -2px;
  padding: 0 clamp(28px, 8.6vw, 150px) 132px;
  border-bottom-left-radius: 54px;
  border-bottom-right-radius: 54px;
}

.ref-model-logos {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 0 104px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}

.ref-model-logos img {
  width: 100%;
  max-width: 128px;
  max-height: 36px;
  object-fit: contain;
  justify-self: center;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.ref-model-logos img[alt="ComfyUI"] {
  max-height: 32px;
  filter: none;
}

.ref-section-head {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, .82fr);
  gap: clamp(32px, 8vw, 140px);
  align-items: start;
  max-width: 1250px;
  margin: 0 auto;
}

.ref-section-head h2,
.ref-center-head h2 {
  margin: 0;
  color: #262b35;
  font-size: clamp(32px, 3.1vw, 52px);
  line-height: 1.35;
  font-weight: 500;
}

.ref-section-head p {
  margin: 8px 0 0;
  color: var(--ref-muted);
  font-size: 14px;
  line-height: 1.9;
}

.ref-light-head h2,
.ref-light-head p {
  color: #fff;
}

.ref-light-head p {
  color: rgba(255, 255, 255, .78);
}

.ref-intro-cards {
  max-width: 1250px;
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ref-intro-cards article {
  min-height: 255px;
  padding: 38px 34px 34px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 18px;
  color: #fff;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, .035);
}

.ref-intro-cards b {
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
}

.ref-intro-cards h3 {
  margin: auto 0 18px;
  color: #fff;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 600;
}

.ref-intro-cards p {
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 13px;
  line-height: 1.85;
}

.ref-section {
  padding: 116px clamp(28px, 5.5vw, 92px);
  background: var(--ref-bg);
}

.ref-capabilities {
  padding-top: 122px;
}

.ref-capability-layout {
  max-width: 1250px;
  margin: 84px auto 0;
  display: grid;
  grid-template-columns: minmax(250px, 390px) 1fr;
  gap: clamp(54px, 9vw, 140px);
  align-items: center;
}

.ref-capability-tabs {
  display: grid;
  gap: 18px;
}

.ref-capability-tabs article,
.ref-capability-tab {
  min-height: 82px;
  border: 1px solid rgba(18, 43, 157, .28);
  border-radius: 999px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #26324a;
  font-size: 20px;
  font-weight: 500;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.ref-capability-tabs article.active,
.ref-capability-tab.active {
  min-height: 136px;
  display: block;
  border-radius: 18px;
  padding: 32px 38px;
  color: #fff;
  background: var(--ref-blue);
  border-color: var(--ref-blue);
}

.ref-capability-tab:hover,
.ref-capability-tab:focus-visible {
  border-color: rgba(18, 43, 157, .52);
  background: rgba(18, 43, 157, .05);
  outline: none;
}

.ref-capability-tab.active:hover,
.ref-capability-tab.active:focus-visible {
  background: var(--ref-blue);
}

.ref-capability-tabs h3,
.ref-capability-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
}

.ref-capability-tabs p,
.ref-capability-desc {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  line-height: 1.75;
  display: none;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
}

.ref-capability-tabs article > span,
.ref-capability-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ref-blue);
  flex: 0 0 auto;
}

.ref-capability-tab.active {
  gap: 0;
}

.ref-capability-tab.active .ref-capability-dot {
  display: none;
}

.ref-capability-tab:not(.active) .ref-capability-title {
  margin-bottom: 0;
  color: #26324a;
  font-size: inherit;
  font-weight: inherit;
}

.ref-capability-tab.active .ref-capability-desc {
  display: block;
}

.ref-capability-visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ref-capability-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: 460px;
  border-radius: 18px;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: translateY(16px) scale(.98);
  transition: opacity .26s ease, transform .26s ease;
  pointer-events: none;
}

.ref-capability-visual img.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ref-capability-visual button {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 20px;
  border: 0;
  color: #1c2a55;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.ref-spaces {
  padding-top: 24px;
  text-align: center;
  background:
    linear-gradient(var(--ref-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ref-grid) 1px, transparent 1px),
    var(--ref-bg);
  background-size: clamp(130px, 14vw, 220px) clamp(130px, 14vw, 220px);
}

.ref-center-head {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.ref-ribbon-visual {
  width: min(920px, 84vw);
  margin: 54px auto 18px;
  object-fit: contain;
}

.ref-space-switch,
.ref-plan-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 5vw, 78px);
}

.ref-space-switch button,
.ref-plan-actions button {
  min-width: 315px;
  border: 1px solid rgba(18, 43, 157, .35);
  color: var(--ref-blue);
  background: transparent;
  border-radius: 999px;
}

.ref-space-switch button.active,
.ref-plan-actions button.active {
  color: #fff;
  background: var(--ref-blue);
  border-color: var(--ref-blue);
}

.ref-space-copy {
  max-width: 720px;
  margin: 48px auto 0;
  color: #3d4350;
  font-size: 18px;
  line-height: 1.9;
}

.ref-market {
  margin-top: 28px;
  padding: 114px clamp(28px, 8.6vw, 150px) 132px;
  border-top-left-radius: 54px;
  border-top-right-radius: 54px;
  border-bottom-right-radius: 54px;
}

.ref-market-layout {
  position: relative;
  max-width: 1250px;
  margin: 58px auto 0;
  min-height: 520px;
  display: grid;
  grid-template-columns: 350px 1fr 56px;
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
}

.ref-market-icons {
  height: 520px;
  overflow: hidden;
  mask-image: linear-gradient(#000 74%, transparent);
}

.ref-market-icons img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.ref-market-copy h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
}

.ref-market-copy p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  line-height: 1.95;
}

.ref-market-stats {
  display: flex;
  gap: 54px;
  margin-top: 42px;
}

.ref-market-stats b {
  display: block;
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.ref-market-stats span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.ref-market-arrows {
  display: grid;
  gap: 22px;
}

.ref-market-arrows button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  background: transparent;
}

.ref-plan {
  padding-top: 126px;
  padding-bottom: 126px;
}

.ref-plan-actions {
  margin-top: 42px;
}

.ref-footer {
  margin: 0;
  padding: 0 clamp(20px, 5vw, 76px);
  background: var(--ref-bg);
}

.ref-footer-inner {
  max-width: 1460px;
  min-height: 255px;
  margin: 0 auto;
  padding: 72px clamp(36px, 7vw, 108px);
  display: grid;
  grid-template-columns: 1.5fr repeat(3, .62fr) 120px;
  gap: 44px;
  align-items: start;
  background: var(--ref-blue);
  border-top-left-radius: 64px;
  border-top-right-radius: 64px;
}

.ref-footer-logo img {
  width: 160px;
  filter: brightness(0) invert(1);
}

.ref-footer nav {
  display: grid;
  gap: 10px;
}

.ref-footer b {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.ref-footer a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  font-size: 13px;
}

.ref-qr {
  width: 86px;
  height: 86px;
  background: #fff;
  justify-self: end;
}

@media (max-width: 1050px) {
  .reference-home .site-header {
    height: 72px;
  }

  .reference-home .site-header .main-nav.open {
    background: rgba(238, 241, 246, .98);
  }

  .ref-hero {
    min-height: 760px;
  }

  .ref-hero-inner {
    padding-top: 90px;
  }

  .ref-hero-copy {
    width: 70vw;
  }

  .ref-hero-copy p {
    top: 344px;
    width: min(560px, 62vw);
  }

  .ref-hero-actions {
    top: 492px;
  }

  .ref-hero-object {
    right: -120px;
    top: 150px;
    width: min(610px, 62vw);
  }

  .ref-section-head,
  .ref-capability-layout,
  .ref-market-layout,
  .ref-footer-inner {
    grid-template-columns: 1fr;
  }

  .ref-model-logos {
    grid-template-columns: repeat(5, 1fr);
    padding-bottom: 78px;
  }

  .ref-capability-layout {
    gap: 40px;
  }

  .ref-market-layout {
    min-height: auto;
  }

  .ref-market-icons {
    width: min(320px, 70vw);
    height: 420px;
    margin: 0 auto;
  }

  .ref-market-arrows {
    display: none;
  }

  .ref-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .ref-qr {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .reference-home .site-header {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .reference-home .site-header .brand-mark {
    width: 118px;
  }

  .ref-hero {
    min-height: 710px;
  }

  .ref-hero-inner {
    min-height: 620px;
    padding: 86px 22px 0;
  }

  .ref-hero-copy {
    width: 100%;
  }

  .ref-hero-copy h1 {
    max-width: 360px;
    font-size: 46px;
  }

  .ref-hero-copy p {
    top: 320px;
    width: calc(100vw - 44px);
    font-size: 13px;
  }

  .ref-hero-actions {
    top: 475px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .ref-solid-button,
  .ref-outline-button,
  .ref-space-switch button,
  .ref-plan-actions button {
    min-height: 44px;
    padding: 0 22px;
    font-size: 13px;
  }

  .ref-hero:after {
    height: 380px;
    border-top-right-radius: 38px;
  }

  .ref-hero-object {
    top: 218px;
    right: -145px;
    width: 480px;
    opacity: .92;
  }

  .ref-overview,
  .ref-market,
  .ref-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .ref-overview {
    padding-bottom: 78px;
    border-bottom-left-radius: 36px;
    border-bottom-right-radius: 36px;
  }

  .ref-model-logos {
    grid-template-columns: repeat(2, 1fr);
    padding: 34px 0 58px;
  }

  .ref-section-head h2,
  .ref-center-head h2 {
    font-size: 30px;
  }

  .ref-intro-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 38px;
  }

  .ref-intro-cards article {
    min-height: 210px;
  }

  .ref-capability-tabs article,
  .ref-capability-tab {
    min-width: 0;
    min-height: 66px;
    padding: 0 26px;
    font-size: 16px;
  }

  .ref-capability-tabs article.active,
  .ref-capability-tab.active {
    min-height: 132px;
    padding: 28px 26px;
  }

  .ref-capability-visual {
    min-height: 260px;
  }

  .ref-ribbon-visual {
    width: 118vw;
    margin-left: -18vw;
  }

  .ref-space-switch,
  .ref-plan-actions {
    flex-direction: column;
    gap: 14px;
  }

  .ref-space-switch button,
  .ref-plan-actions button {
    width: min(100%, 310px);
    min-width: 0;
  }

  .ref-space-copy {
    font-size: 15px;
  }

  .ref-market {
    border-top-left-radius: 36px;
    border-top-right-radius: 36px;
    border-bottom-right-radius: 36px;
  }

  .ref-market-stats {
    gap: 26px;
    flex-wrap: wrap;
  }

  .ref-footer {
    padding: 0;
  }

  .ref-footer-inner {
    border-top-left-radius: 42px;
    border-top-right-radius: 42px;
    grid-template-columns: 1fr;
    padding: 48px 32px;
  }
}

/* Compact tuning requested for the reference homepage */
.reference-home .site-header {
  height: 72px;
}

.reference-home .site-header.is-scrolled,
.reference-home .site-header.nav-open {
  height: 66px;
}

.reference-home .site-header .brand-mark {
  width: 128px;
  height: 32px;
}

.reference-home .main-nav {
  gap: clamp(22px, 3.4vw, 48px) !important;
}

.reference-home .main-nav a {
  font-size: 12px;
}

.ref-hero {
  min-height: 710px;
  padding-top: 72px;
}

.ref-hero-grid {
  inset: 72px 0 -120px;
}

.ref-hero-inner {
  max-width: 1340px;
  min-height: 638px;
  padding-top: 82px;
}

.ref-hero-copy {
  width: min(610px, 50vw);
}

.ref-hero-copy h1 {
  font-size: clamp(46px, 4.8vw, 82px);
  line-height: 1.16;
}

.ref-hero-copy p {
  top: 244px;
  width: min(540px, 42vw);
  font-size: 13px;
}

.ref-hero-actions {
  top: 348px;
}

.ref-solid-button,
.ref-outline-button,
.ref-space-switch button,
.ref-plan-actions button {
  min-height: 42px;
  padding: 0 26px;
  border-radius: 8px;
  font-size: 13px;
}

.ref-hero:after {
  height: 342px;
}

.ref-hero-object {
  right: clamp(-34px, -2vw, -18px);
  top: 36px;
  width: min(540px, 42vw);
}

.ref-overview {
  padding-bottom: 104px;
}

.ref-model-logos {
  max-width: 1040px;
  padding: 30px 0 76px;
}

.ref-model-logos img {
  max-width: 112px;
  max-height: 31px;
}

.ref-model-logos img[alt="ComfyUI"] {
  max-height: 28px;
}

.ref-section-head {
  max-width: 1120px;
  gap: clamp(28px, 7vw, 112px);
}

.ref-section-head h2,
.ref-center-head h2 {
  font-size: clamp(28px, 2.6vw, 44px);
}

.ref-section-head p {
  font-size: 13px;
}

.ref-intro-cards {
  max-width: 1120px;
  margin-top: 46px;
  gap: 22px;
}

.ref-intro-cards article {
  min-height: 218px;
  padding: 30px 28px 28px;
  border-radius: 14px;
}

.ref-intro-cards h3 {
  font-size: 21px;
}

.ref-section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.ref-capabilities {
  padding-top: 92px;
}

.ref-capability-layout {
  max-width: 1120px;
  margin-top: 58px;
  grid-template-columns: minmax(230px, 330px) 1fr;
  gap: clamp(42px, 7vw, 98px);
}

.ref-capability-tabs {
  gap: 14px;
}

.ref-capability-tabs article,
.ref-capability-tab {
  min-height: 68px;
  padding: 0 30px;
  font-size: 17px;
}

.ref-capability-tabs article.active,
.ref-capability-tab.active {
  min-height: 118px;
  padding: 26px 30px;
}

.ref-capability-tabs h3,
.ref-capability-tab.active .ref-capability-title {
  font-size: 20px;
}

.ref-capability-visual {
  min-height: 360px;
}

.ref-capability-visual img {
  max-height: 380px;
}

.ref-ribbon-visual {
  width: min(760px, 78vw);
  margin-top: 42px;
}

.ref-space-switch button,
.ref-plan-actions button {
  min-width: 270px;
}

.ref-space-copy {
  max-width: 640px;
  margin-top: 34px;
  font-size: 16px;
}

.ref-market {
  padding-top: 86px;
  padding-bottom: 102px;
}

.ref-market-layout {
  max-width: 1120px;
  min-height: 440px;
  margin-top: 44px;
  grid-template-columns: 285px 1fr 46px;
  gap: clamp(36px, 6vw, 80px);
}

.ref-market-icons {
  position: relative;
  height: 430px;
}

.ref-market-icons img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: translateY(12px) scale(.98);
  transition: opacity .24s ease, transform .24s ease;
}

.ref-market-icons img.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ref-market-slider {
  position: relative;
  min-height: 330px;
}

.ref-market-copy {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
}

.ref-market-copy.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.ref-market-copy h3 {
  font-size: 24px;
}

.ref-market-copy p {
  max-width: 680px;
  font-size: 13px;
  line-height: 1.85;
}

.ref-market-stats {
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 30px;
}

.ref-market-stats b {
  font-size: 24px;
}

.ref-market-stats span {
  font-size: 12px;
}

.ref-market-arrows {
  gap: 18px;
}

.ref-market-arrows button {
  width: 38px;
  height: 38px;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.ref-market-arrows button:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .62);
  transform: translateY(-1px);
}

.ref-plan {
  padding-top: 92px;
  padding-bottom: 92px;
}

.ref-plan-actions {
  margin-top: 32px;
}

.ref-footer-inner {
  max-width: 1320px;
  min-height: 220px;
  padding-top: 56px;
  padding-bottom: 56px;
  border-top-left-radius: 52px;
  border-top-right-radius: 52px;
}

.ref-footer-logo img {
  width: 138px;
}

@media (max-width: 1050px) {
  .ref-hero-copy p {
    top: 236px;
    width: min(520px, 62vw);
  }

  .ref-hero-actions {
    top: 340px;
  }

  .ref-hero-object {
    top: 128px;
    width: min(480px, 54vw);
  }

  .ref-market-slider {
    min-height: 300px;
  }
}

@media (max-width: 700px) {
  .ref-hero {
    min-height: 650px;
  }

  .ref-hero-inner {
    min-height: 578px;
    padding-top: 70px;
  }

  .ref-hero-copy h1 {
    font-size: 40px;
  }

  .ref-hero-copy p {
    top: 216px;
    width: calc(100vw - 44px);
  }

  .ref-hero-actions {
    top: 332px;
  }

  .ref-hero-object {
    top: 198px;
    width: 360px;
  }

  .ref-market-slider {
    min-height: 440px;
  }
}

/* Homepage shaped blue panels and visual cards */
.reference-home {
  --ref-notch-bg: var(--ref-bg);
}

.reference-home .ref-blue-panel {
  overflow: visible;
  isolation: isolate;
}

.reference-home .ref-overview,
.reference-home .ref-market {
  background: var(--ref-blue);
  border-radius: 54px;
}

.reference-home .ref-overview::before,
.reference-home .ref-market::before,
.reference-home .ref-market::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background: var(--ref-notch-bg);
}

.reference-home .ref-overview::before {
  left: 52%;
  top: -1px;
  width: 240px;
  height: 74px;
  border-bottom-left-radius: 54px;
  transform: skewX(-36deg);
  transform-origin: top left;
}

.reference-home .ref-market::before {
  left: 36%;
  top: -1px;
  width: 260px;
  height: 74px;
  border-bottom-right-radius: 54px;
  transform: skewX(38deg);
  transform-origin: top right;
}

.reference-home .ref-market::after {
  left: 48%;
  bottom: -1px;
  width: 240px;
  height: 76px;
  border-top-left-radius: 54px;
  transform: skewX(38deg);
  transform-origin: bottom left;
}

.reference-home .ref-capability-layout {
  grid-template-columns: minmax(250px, 390px) minmax(420px, 1fr);
  gap: clamp(52px, 8vw, 128px);
}

.reference-home .ref-capability-visual {
  min-height: 430px;
  padding: 34px;
  overflow: visible;
  border-radius: 44px;
  background: var(--ref-blue);
  clip-path: polygon(0 0, 63% 0, 72% 9%, 100% 9%, 100% 100%, 22% 100%, 14% 91%, 0 91%);
  box-shadow: 0 28px 54px rgba(13, 29, 105, .16);
}

.reference-home .ref-capability-visual::before {
  content: "";
  position: absolute;
  inset: 20px;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 28px;
  pointer-events: none;
}

.reference-home .ref-capability-visual img {
  inset: 34px;
  z-index: 1;
  width: calc(100% - 68px);
  height: calc(100% - 98px);
  max-height: none;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(7, 17, 64, .18);
}

.reference-home .ref-capability-visual button {
  right: 46px;
  bottom: 38px;
  z-index: 3;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--ref-blue);
  background: #fff;
  box-shadow: 0 12px 24px rgba(7, 17, 64, .16);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.reference-home .ref-capability-visual button span {
  margin-left: 0;
}

@media (max-width: 1050px) {
  .reference-home .ref-overview::before {
    left: 48%;
    width: 180px;
  }

  .reference-home .ref-market::before {
    left: 28%;
    width: 210px;
  }

  .reference-home .ref-market::after {
    left: 42%;
    width: 190px;
  }

  .reference-home .ref-capability-layout {
    grid-template-columns: 1fr;
  }

  .reference-home .ref-capability-visual {
    min-height: 380px;
  }
}

@media (max-width: 700px) {
  .reference-home .ref-overview,
  .reference-home .ref-market {
    border-radius: 34px;
  }

  .reference-home .ref-overview::before,
  .reference-home .ref-market::before,
  .reference-home .ref-market::after {
    width: 120px;
    height: 44px;
    border-radius: 28px;
  }

  .reference-home .ref-overview::before {
    left: 46%;
  }

  .reference-home .ref-market::before {
    left: 22%;
  }

  .reference-home .ref-market::after {
    left: 40%;
  }

  .reference-home .ref-capability-visual {
    min-height: 310px;
    padding: 22px;
    border-radius: 28px;
    clip-path: polygon(0 0, 58% 0, 70% 8%, 100% 8%, 100% 100%, 24% 100%, 12% 92%, 0 92%);
  }

  .reference-home .ref-capability-visual img {
    inset: 22px;
    width: calc(100% - 44px);
    height: calc(100% - 82px);
    border-radius: 18px;
  }

  .reference-home .ref-capability-visual button {
    right: 32px;
    bottom: 28px;
  }
}

/* Larger folded-panel cuts matching the supplied homepage block reference */
.reference-home .ref-overview > *,
.reference-home .ref-market > * {
  position: relative;
  z-index: 2;
}

.reference-home .ref-overview::before {
  z-index: 1;
  left: 0;
  top: 0;
  width: 58%;
  height: 82px;
  border-radius: 0 0 54px 0;
  transform: none;
  clip-path: polygon(0 0, 100% 0, calc(100% - 118px) 100%, 0 100%);
}

.reference-home .ref-overview::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;
  width: 46%;
  height: 78px;
  background: var(--ref-notch-bg);
  border-radius: 0 54px 0 0;
  clip-path: polygon(0 0, calc(100% - 104px) 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.reference-home .ref-market::before {
  z-index: 1;
  right: 0;
  left: auto;
  top: 0;
  width: 58%;
  height: 82px;
  border-radius: 0 0 0 54px;
  transform: none;
  clip-path: polygon(118px 100%, 0 0, 100% 0, 100% 100%);
}

.reference-home .ref-market::after {
  z-index: 1;
  right: 0;
  left: auto;
  bottom: 0;
  width: 48%;
  height: 78px;
  border-radius: 54px 0 0 0;
  transform: none;
  clip-path: polygon(0 100%, 104px 0, 100% 0, 100% 100%);
}

.reference-home .ref-capability-visual img {
  height: calc(100% - 136px);
}

.reference-home .ref-capability-visual button {
  right: 56px;
  bottom: 34px;
}

@media (max-width: 700px) {
  .reference-home .ref-overview::before,
  .reference-home .ref-market::before {
    width: 64%;
    height: 54px;
  }

  .reference-home .ref-overview::after,
  .reference-home .ref-market::after {
    width: 54%;
    height: 52px;
  }

  .reference-home .ref-capability-visual img {
    height: calc(100% - 110px);
  }

  .reference-home .ref-capability-visual button {
    right: 30px;
    bottom: 26px;
  }
}

/* Keep the homepage model logos on the blue panel, not inside the white cutout. */
.reference-home .ref-overview::before {
  display: none;
}

/* Remove the white corner artifacts where the homepage blue sections connect. */
.reference-home .ref-overview {
  border-radius: 0 0 54px 54px;
}

/* Restore the capability visual to a clean image area with a separate CTA. */
.reference-home .ref-capability-visual {
  min-height: 430px;
  padding: 0 0 62px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  clip-path: none;
  box-shadow: none;
}

.reference-home .ref-capability-visual::before {
  display: none;
}

.reference-home .ref-capability-visual img {
  inset: 0 0 70px;
  width: 100%;
  height: calc(100% - 70px);
  border-radius: 18px;
  object-fit: contain;
  object-position: center;
  box-shadow: none;
}

.reference-home .ref-capability-visual button {
  right: 4px;
  bottom: 0;
  min-height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--ref-blue);
  box-shadow: 0 12px 28px rgba(19, 43, 157, .18);
}

@media (max-width: 700px) {
  .reference-home .ref-capability-visual {
    min-height: 310px;
    padding-bottom: 58px;
  }

  .reference-home .ref-capability-visual img {
    inset: 0 0 64px;
    width: 100%;
    height: calc(100% - 64px);
  }

  .reference-home .ref-capability-visual button {
    right: 0;
    bottom: 0;
  }
}

/* Remove the oversized lower cut and tighten the market panel bottom spacing. */
.reference-home .ref-market {
  padding-bottom: 76px;
}

.reference-home .ref-market::after {
  display: none;
}

.reference-home .ref-market-layout {
  min-height: 380px;
}

.reference-home .ref-market-slider {
  min-height: 270px;
}

@media (max-width: 700px) {
  .reference-home .ref-market {
    padding-bottom: 58px;
  }

  .reference-home .ref-market-layout,
  .reference-home .ref-market-slider {
    min-height: auto;
  }
}

/* Unified navigation and footer across all secondary pages */
.inner-page {
  --ref-blue: #132b9d;
  --ref-bg: #eef1f6;
  --ref-text: #2e2f36;
  --ref-muted: #566071;
  background: var(--ref-bg);
}

.inner-page .site-header {
  height: 84px;
  padding-left: clamp(22px, 5.2vw, 72px) !important;
  padding-right: clamp(22px, 5.2vw, 72px) !important;
  background: rgba(238, 241, 246, .96);
  border-bottom: 0;
  box-shadow: none;
}

.inner-page .site-header.is-scrolled,
.inner-page .site-header.nav-open {
  height: 72px;
  background: rgba(238, 241, 246, .98);
  box-shadow: 0 10px 28px rgba(26, 44, 88, .08);
}

.inner-page .site-header .brand-mark {
  width: 128px;
  height: 32px;
  background: url("assets/yuanjing-logo.png") left center / contain no-repeat;
}

.inner-page .site-header .brand > span:last-child {
  display: none;
}

.inner-page .main-nav {
  margin: auto;
  display: flex;
  gap: clamp(22px, 3.4vw, 48px) !important;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.inner-page .main-nav a {
  min-height: auto;
  padding: 0;
  color: #333a4b;
  background: transparent;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.inner-page .main-nav a:hover,
.inner-page .main-nav a.active {
  color: var(--ref-blue);
  background: transparent;
  transform: none;
}

.inner-page .main-nav a:after {
  display: none;
}

.inner-page .header-actions .text-button {
  min-height: 28px;
  padding: 0 18px;
  color: #fff;
  background: var(--ref-blue);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
}

.inner-page .header-actions .primary-button.compact {
  display: none;
}

.site-footer-unified {
  margin: 0;
  padding: 0 clamp(20px, 5vw, 76px);
  background: var(--ref-bg);
}

.site-footer-unified .ref-footer-inner {
  max-width: 1460px;
  min-height: 255px;
  margin: 0 auto;
  padding: 72px clamp(36px, 7vw, 108px);
  display: grid;
  grid-template-columns: 1.5fr repeat(3, .62fr) 120px;
  gap: 44px;
  align-items: start;
  background: var(--ref-blue);
  border-top-left-radius: 64px;
  border-top-right-radius: 64px;
}

.site-footer-unified .ref-footer-logo img {
  width: 160px;
  filter: brightness(0) invert(1);
}

.site-footer-unified nav {
  display: grid;
  gap: 10px;
}

.site-footer-unified b {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.site-footer-unified a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  font-size: 13px;
}

.site-footer-unified .ref-qr {
  width: 86px;
  height: 86px;
  background: #fff;
  justify-self: end;
}

@media (max-width: 1050px) {
  .inner-page .site-header {
    height: 72px;
  }

  .inner-page .site-header .main-nav {
    display: none;
  }

  .inner-page .site-header .main-nav.open {
    display: flex;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 70px;
    padding: 15px;
    flex-direction: column;
    gap: 4px !important;
    background: rgba(238, 241, 246, .98);
    border: 1px solid rgba(24, 43, 78, .12);
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(20, 20, 25, .12);
  }

  .inner-page .site-header .main-nav.open a {
    padding: 9px;
  }

  .inner-page .menu-button {
    display: block;
  }

  .site-footer-unified .ref-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer-unified .ref-qr {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .inner-page .site-header {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .inner-page .site-header .brand-mark {
    width: 118px;
  }

  .inner-page .header-actions {
    display: none;
  }

  .site-footer-unified {
    padding: 0 18px;
  }

  .site-footer-unified .ref-footer-inner {
    min-height: auto;
    padding: 48px 28px;
    grid-template-columns: 1fr;
    border-top-left-radius: 38px;
    border-top-right-radius: 38px;
  }
}

/* Campus lab page redesign aligned with homepage visual language */
.campus-page {
  --campus-blue: #132b9d;
  --campus-blue-2: #102891;
  --campus-bg: #eef1f6;
  --campus-grid: rgba(24, 43, 78, .095);
  --campus-text: #2e2f36;
  --campus-muted: #566071;
  background: var(--campus-bg);
  color: var(--campus-text);
}

.campus-page .campus-hero {
  min-height: 690px;
  padding: 128px clamp(28px, 6vw, 92px) 78px;
  display: grid;
  grid-template-columns: minmax(420px, .9fr) minmax(420px, 1fr);
  gap: clamp(46px, 7vw, 110px);
  align-items: center;
  background:
    linear-gradient(var(--campus-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--campus-grid) 1px, transparent 1px),
    var(--campus-bg);
  background-size: clamp(130px, 14vw, 220px) clamp(130px, 14vw, 220px);
  color: var(--campus-text);
}

.campus-page .campus-hero > div:first-child {
  position: relative;
  z-index: 1;
  padding: clamp(44px, 5.5vw, 78px);
  color: #fff;
  background: var(--campus-blue);
  border-radius: 54px;
  overflow: hidden;
}

.campus-page .campus-hero > div:first-child:after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -72px;
  width: 240px;
  height: 180px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  pointer-events: none;
}

.campus-page .campus-hero .eyebrow {
  color: rgba(255, 255, 255, .78);
}

.campus-page .campus-hero .eyebrow span {
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .14);
}

.campus-page .campus-hero h1 {
  max-width: 660px;
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(42px, 4.8vw, 72px);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 800;
}

.campus-page .campus-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.95;
}

.campus-page .campus-hero .inner-actions {
  margin-top: 34px;
}

.campus-page .campus-hero .light-button {
  min-height: 44px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  color: var(--campus-blue);
  background: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(7, 17, 64, .16);
}

.campus-page .campus-hero-image {
  height: min(480px, 42vw);
  margin: 0;
  border: 0;
  border-radius: 44px;
  overflow: hidden;
  background: #dfe6f2;
  box-shadow: 0 28px 54px rgba(13, 29, 105, .16);
}

.campus-page .campus-hero-image:after {
  background: linear-gradient(180deg, transparent 54%, rgba(19, 43, 157, .54));
}

.campus-page .campus-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campus-page .campus-hero-image figcaption {
  left: 24px;
  bottom: 22px;
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
}

.campus-page .page-section {
  padding: 92px clamp(28px, 5.5vw, 92px);
  background: var(--campus-bg);
}

.campus-page .page-section.white {
  background: var(--campus-bg);
}

.campus-page .page-heading {
  max-width: 880px;
  margin-bottom: 38px;
}

.campus-page .page-heading.center {
  margin: 0 auto 42px;
}

.campus-page .page-heading h2 {
  margin: 0 0 14px;
  color: var(--campus-text);
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.22;
  letter-spacing: 0;
}

.campus-page .page-heading p {
  max-width: 720px;
  color: var(--campus-muted);
  font-size: 14px;
  line-height: 1.85;
}

.campus-page .eyebrow {
  color: var(--campus-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.campus-page .eyebrow span {
  background: var(--campus-blue);
  box-shadow: 0 0 0 5px rgba(19, 43, 157, .12);
}

.campus-page .campus-gallery,
.campus-page .atmosphere-grid,
.campus-page .case-grid {
  gap: 18px;
}

.campus-page .campus-photo,
.campus-page .atmosphere-grid article,
.campus-page .case-grid article {
  border: 1px solid rgba(24, 43, 78, .12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(24, 43, 78, .07);
}

.campus-page .campus-photo {
  min-height: 360px;
  padding: 24px;
}

.campus-page .campus-photo:before {
  background: linear-gradient(180deg, rgba(19, 43, 157, .05), rgba(19, 43, 157, .78));
}

.campus-page .campus-photo:after {
  color: rgba(255, 255, 255, .36);
  font-size: 22px;
  letter-spacing: 0;
}

.campus-page .campus-photo > span {
  background: rgba(255, 255, 255, .86);
  color: var(--campus-blue);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.campus-page .campus-photo b {
  color: #fff;
  font-size: 22px;
}

.campus-page .campus-photo p {
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
}

.campus-page .campus-photo-1 {
  background: url("assets/campus-ai-image-lab.webp") center / cover no-repeat;
}

.campus-page .campus-photo-2 {
  background: url("assets/campus-digital-co-creation.webp") center / cover no-repeat;
}

.campus-page .campus-photo-3 {
  background: linear-gradient(145deg, #84c8c6, #102891);
}

.campus-page .atmosphere-section {
  background:
    linear-gradient(var(--campus-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--campus-grid) 1px, transparent 1px),
    var(--campus-bg);
  background-size: clamp(130px, 14vw, 220px) clamp(130px, 14vw, 220px);
}

.campus-page .atmosphere-grid article,
.campus-page .case-grid article {
  padding: 12px;
}

.campus-page .atmosphere-photo,
.campus-page .case-cover {
  height: 220px;
  border-radius: 12px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 700;
}

.campus-page .atmosphere-grid h3,
.campus-page .case-grid h3 {
  margin: 18px 10px 8px;
  color: var(--campus-text);
  font-size: 18px;
}

.campus-page .atmosphere-grid p,
.campus-page .case-grid p {
  margin: 0 10px 16px;
  color: var(--campus-muted);
  font-size: 12px;
  line-height: 1.75;
}

.campus-page .case-grid small {
  margin: 16px 10px 0;
  color: var(--campus-blue);
  font-size: 11px;
  font-weight: 800;
}

.campus-page .case-grid b {
  margin: 0 10px 14px;
  color: #697284;
  font-size: 11px;
}

.campus-page .atmosphere-1,
.campus-page .case-1 {
  background: linear-gradient(135deg, #0d1b63 0%, #132b9d 56%, #45b8ca 100%);
}

.campus-page .atmosphere-1 {
  background: url("assets/campus-mentor-workshop.webp") center / cover no-repeat;
}

.campus-page .atmosphere-2,
.campus-page .case-2 {
  background: linear-gradient(135deg, #eef1f6 0%, #8ab9d7 42%, #132b9d 100%);
}

.campus-page .atmosphere-2 {
  background: url("assets/campus-student-cocreation.webp") center / cover no-repeat;
}

.campus-page .atmosphere-3,
.campus-page .case-3 {
  background: linear-gradient(135deg, #102891 0%, #3e6ab8 48%, #d8dfef 100%);
}

.campus-page .atmosphere-3 {
  background: url("assets/campus-project-roadshow.webp") center / cover no-repeat;
}

/* IP incubation and creator support page */
.ip-support-page {
  background: #fff;
}

.ip-support-main {
  background: #fff;
  color: #243042;
}

.ip-support-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.ip-support-page .eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gradient);
  box-shadow: 0 0 0 5px rgba(46, 176, 162, .12);
}

.ip-support-page .eyebrow.light {
  color: rgba(255, 255, 255, .78);
}

.ip-support-page .eyebrow.light span {
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .14);
}

.ip-hero {
  min-height: 690px;
  padding: 146px clamp(28px, 6vw, 94px) 84px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
  background:
    linear-gradient(rgba(46, 176, 162, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 176, 162, .08) 1px, transparent 1px),
    #fff;
  background-size: clamp(120px, 13vw, 210px) clamp(120px, 13vw, 210px);
  overflow: hidden;
}

.ip-hero-copy {
  max-width: 760px;
}

.ip-hero h1 {
  margin: 20px 0 24px;
  color: #202733;
  font-size: clamp(44px, 5.3vw, 76px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.ip-hero p {
  max-width: 690px;
  margin: 0;
  color: #596577;
  font-size: 16px;
  line-height: 1.95;
}

.ip-hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ip-hero-actions a,
.ip-cta a {
  min-height: 46px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.ip-hero-actions a:first-child,
.ip-cta a {
  color: #fff;
  background: var(--brand-gradient);
  box-shadow: 0 18px 38px rgba(20, 172, 177, .18);
}

.ip-hero-actions a:last-child {
  color: var(--brand-accent);
  background: #fff;
  border: 1px solid rgba(46, 176, 162, .26);
}

.ip-hero-visual {
  position: relative;
  min-height: 480px;
  border-radius: 44px;
  background:
    radial-gradient(circle at 76% 20%, rgba(255, 255, 255, .86), transparent 22%),
    var(--brand-gradient);
  box-shadow: 0 30px 70px rgba(20, 172, 177, .22);
  overflow: hidden;
}

.ip-hero-visual:before,
.ip-hero-visual:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.ip-hero-visual:before {
  inset: 78px 48px;
}

.ip-hero-visual:after {
  inset: 134px 106px;
}

.ip-core-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 168px;
  height: 168px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #203143;
  box-shadow: 0 22px 46px rgba(30, 80, 94, .18);
}

.ip-core-mark span {
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}

.ip-core-mark small {
  margin-top: 8px;
  color: #667384;
  font-size: 12px;
  font-weight: 800;
}

.ip-orbit-card {
  position: absolute;
  z-index: 3;
  width: 172px;
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .44);
  border-radius: 18px;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  backdrop-filter: blur(14px);
}

.ip-orbit-card b {
  display: block;
  font-size: 18px;
}

.ip-orbit-card span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
}

.ip-orbit-card.card-a {
  left: 42px;
  top: 64px;
}

.ip-orbit-card.card-b {
  right: 42px;
  top: 148px;
}

.ip-orbit-card.card-c {
  left: 76px;
  bottom: 58px;
}

.ip-section {
  padding: 92px clamp(28px, 6vw, 94px);
}

.ip-section-heading {
  max-width: 1120px;
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .55fr);
  gap: 42px;
  align-items: end;
}

.ip-section-heading.compact {
  display: block;
  margin: 0;
}

.ip-section-heading h2,
.ip-market-copy h2,
.ip-loop-copy h2,
.ip-cta h2 {
  margin: 14px 0 0;
  color: #202733;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: 0;
}

.ip-section-heading p,
.ip-market-copy p,
.ip-loop-copy p,
.ip-cta p {
  margin: 0;
  color: #5f6a7a;
  font-size: 14px;
  line-height: 1.85;
}

.ip-support-cards {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ip-support-cards article,
.ip-market-grid article,
.ip-mentor-list article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgba(46, 176, 162, .18);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(32, 48, 66, .06);
}

.ip-support-cards small {
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 900;
}

.ip-support-cards h3,
.ip-market-grid h3,
.ip-mentor-list b {
  margin: 44px 0 12px;
  display: block;
  color: #202733;
  font-size: 20px;
  font-weight: 900;
}

.ip-support-cards p,
.ip-market-grid p,
.ip-mentor-list p {
  margin: 0;
  color: #626d7e;
  font-size: 13px;
  line-height: 1.78;
}

.ip-production {
  padding-top: 0;
  padding-bottom: 0;
}

.ip-production-panel {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 76px);
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: start;
  border-radius: 44px;
  background: var(--brand-gradient);
  color: #fff;
  overflow: hidden;
}

.ip-production-panel .ip-section-heading h2,
.ip-production-panel .ip-section-heading p {
  color: #fff;
}

.ip-production-panel .ip-section-heading p {
  color: rgba(255, 255, 255, .78);
  margin-top: 16px;
}

.ip-tool-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ip-tool-list article {
  min-height: 164px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
}

.ip-tool-list b {
  display: block;
  color: #fff;
  font-size: 17px;
}

.ip-tool-list span {
  display: block;
  margin-top: 16px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  line-height: 1.75;
}

.ip-market {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(290px, .62fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}

.ip-market-copy {
  position: sticky;
  top: 112px;
}

.ip-market-copy p {
  margin-top: 18px;
}

.ip-market-grid {
  display: grid;
  gap: 16px;
}

.ip-market-grid article {
  min-height: 176px;
}

.ip-market-grid h3,
.ip-mentor-list b {
  margin-top: 0;
}

.ip-ecosystem {
  background:
    linear-gradient(rgba(46, 176, 162, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 176, 162, .07) 1px, transparent 1px),
    #f7fbfb;
  background-size: 160px 160px;
}

.ip-ecosystem-layout {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr);
  gap: 18px;
}

.ip-event-card {
  min-height: 100%;
  padding: 34px;
  border-radius: 24px;
  background: var(--brand-gradient);
  color: #fff;
}

.ip-event-card span {
  display: block;
  font-size: clamp(58px, 7vw, 92px);
  line-height: 1;
  font-weight: 900;
}

.ip-event-card h3 {
  margin: 28px 0 12px;
  color: #fff;
  font-size: 24px;
}

.ip-event-card p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  line-height: 1.8;
}

.ip-mentor-list {
  display: grid;
  gap: 14px;
}

.ip-mentor-list article {
  min-height: 150px;
}

.ip-loop {
  display: grid;
  grid-template-columns: minmax(290px, .68fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  background: var(--brand-gradient);
  color: #fff;
  border-radius: 54px 54px 0 0;
}

.ip-loop-copy h2,
.ip-loop-copy p {
  color: #fff;
}

.ip-loop-copy p {
  margin-top: 18px;
  color: rgba(255, 255, 255, .78);
}

.ip-loop-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ip-loop-stats div {
  min-height: 150px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
}

.ip-loop-stats b {
  color: #fff;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
}

.ip-loop-stats span {
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  line-height: 1.65;
}

.ip-cta {
  padding: 72px clamp(28px, 6vw, 94px) 82px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  background: #fff;
}

.ip-cta h2 {
  margin-top: 0;
  font-size: clamp(30px, 3.1vw, 44px);
}

.ip-cta p {
  margin-top: 12px;
}

.ip-cta a span {
  margin-left: 10px;
}

@media (max-width: 1050px) {
  .ip-hero,
  .ip-section-heading,
  .ip-production-panel,
  .ip-market,
  .ip-ecosystem-layout,
  .ip-loop {
    grid-template-columns: 1fr;
  }

  .ip-hero-visual {
    min-height: 430px;
  }

  .ip-support-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ip-market-copy {
    position: static;
  }
}

@media (max-width: 700px) {
  .ip-hero {
    min-height: auto;
    padding: 124px 22px 62px;
  }

  .ip-hero h1 {
    font-size: 42px;
  }

  .ip-hero p {
    font-size: 14px;
  }

  .ip-hero-visual {
    min-height: 360px;
    border-radius: 28px;
  }

  .ip-core-mark {
    width: 132px;
    height: 132px;
  }

  .ip-core-mark span {
    font-size: 42px;
  }

  .ip-orbit-card {
    width: 138px;
    min-height: 78px;
    padding: 14px;
  }

  .ip-orbit-card.card-a {
    left: 18px;
    top: 28px;
  }

  .ip-orbit-card.card-b {
    right: 18px;
    top: 118px;
  }

  .ip-orbit-card.card-c {
    left: 32px;
    bottom: 28px;
  }

  .ip-section {
    padding: 62px 22px;
  }

  .ip-support-cards,
  .ip-tool-list,
  .ip-loop-stats {
    grid-template-columns: 1fr;
  }

  .ip-production-panel {
    padding: 34px 22px;
    border-radius: 30px;
  }

  .ip-loop {
    border-radius: 34px 34px 0 0;
  }

  .ip-cta {
    padding: 52px 22px 62px;
    display: block;
  }

  .ip-cta a {
    margin-top: 22px;
  }
}

/* Compact image-led IP support page */
.ip-lite-page .ip-support-main,
.ip-lite-main {
  background: #fff;
  color: #243042;
}

.ip-lite-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.ip-lite-page .eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gradient);
  box-shadow: 0 0 0 5px rgba(46, 176, 162, .12);
}

.ip-lite-page .eyebrow.light {
  color: rgba(255, 255, 255, .78);
}

.ip-lite-page .eyebrow.light span {
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .14);
}

.ip-lite-hero {
  min-height: 680px;
  padding: 146px clamp(28px, 6vw, 94px) 84px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, .82fr);
  gap: clamp(38px, 7vw, 104px);
  align-items: center;
  background:
    linear-gradient(rgba(46, 176, 162, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 176, 162, .08) 1px, transparent 1px),
    #fff;
  background-size: clamp(120px, 13vw, 210px) clamp(120px, 13vw, 210px);
}

.ip-lite-copy {
  max-width: 760px;
}

.ip-lite-hero h1,
.ip-lite-head h2,
.ip-lite-path-copy h2,
.ip-lite-loop h2 {
  margin: 16px 0 20px;
  color: #202733;
  font-size: clamp(38px, 4.7vw, 70px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0;
}

.ip-lite-head h2,
.ip-lite-path-copy h2,
.ip-lite-loop h2 {
  font-size: clamp(30px, 3.4vw, 48px);
}

.ip-lite-hero p,
.ip-lite-head p,
.ip-lite-path-copy p,
.ip-lite-loop p {
  margin: 0;
  color: #5f6a7a;
  font-size: 15px;
  line-height: 1.9;
}

.ip-lite-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ip-lite-actions a,
.ip-lite-loop a {
  min-height: 46px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.ip-lite-actions a:first-child,
.ip-lite-loop a {
  color: #fff;
  background: var(--brand-gradient);
  box-shadow: 0 18px 38px rgba(20, 172, 177, .18);
}

.ip-lite-actions a:last-child {
  color: var(--brand-accent);
  background: #fff;
  border: 1px solid rgba(46, 176, 162, .26);
}

.ip-lite-hero-image {
  position: relative;
  min-height: 460px;
  margin: 0;
  padding: 30px;
  display: grid;
  align-items: center;
  border-radius: 36px;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, .86), transparent 24%),
    var(--brand-gradient);
  box-shadow: 0 30px 70px rgba(20, 172, 177, .2);
  overflow: hidden;
}

.ip-lite-hero-image img {
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(24, 63, 70, .2));
}

.ip-lite-hero-image figcaption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 18px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  backdrop-filter: blur(14px);
}

.ip-lite-hero-image b {
  color: #fff;
  font-size: 18px;
}

.ip-lite-hero-image span {
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
}

.ip-lite-section {
  padding: 90px clamp(28px, 6vw, 94px);
}

.ip-lite-head {
  max-width: 1120px;
  margin: 0 auto 38px;
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(280px, .54fr);
  gap: 42px;
  align-items: end;
}

.ip-lite-card-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ip-lite-card-grid article {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(180px, .82fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid rgba(46, 176, 162, .18);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(32, 48, 66, .06);
}

.ip-lite-card-grid img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: contain;
  border-radius: 16px;
  background:
    radial-gradient(circle at 75% 18%, rgba(255, 255, 255, .72), transparent 26%),
    var(--brand-gradient-soft);
}

.ip-lite-card-grid article > div {
  padding: 8px 8px 8px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ip-lite-card-grid small {
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 900;
}

.ip-lite-card-grid h3,
.ip-lite-steps h3 {
  margin: 18px 0 12px;
  color: #202733;
  font-size: 21px;
  font-weight: 900;
}

.ip-lite-card-grid p,
.ip-lite-steps p {
  margin: 0;
  color: #626d7e;
  font-size: 13px;
  line-height: 1.78;
}

.ip-lite-projects {
  padding: 84px clamp(28px, 6vw, 94px) 76px;
  background:
    radial-gradient(circle at 82% 16%, rgba(46, 176, 162, .2), transparent 30%),
    #0b0e13;
  color: #fff;
}

.ip-lite-project-head {
  max-width: 1280px;
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(280px, .46fr);
  gap: 40px;
  align-items: end;
}

.ip-lite-project-head h2 {
  margin: 14px 0 0;
  color: #fff;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: 0;
}

.ip-lite-project-head p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.85;
}

.ip-lite-projects .ip-project-grid {
  max-width: 1280px;
  margin: 0 auto;
}

.ip-lite-projects .ip-project-card {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  box-shadow: none;
}

.ip-lite-projects .ip-project-body h3 {
  color: #fff;
}

.ip-lite-projects .ip-project-body p {
  color: rgba(255, 255, 255, .66);
}

.ip-lite-projects .ip-project-body button {
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.ip-lite-projects .ip-progress {
  background: rgba(255, 255, 255, .12);
}

.ip-lite-projects .ip-progress i {
  background: var(--brand-gradient);
}

.ip-lite-project-flow {
  max-width: 1280px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.ip-lite-project-flow article {
  min-height: 110px;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.ip-lite-project-flow article:last-child {
  border-right: 0;
}

.ip-lite-project-flow b {
  display: block;
  color: #fff;
  font-size: 15px;
}

.ip-lite-project-flow span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  line-height: 1.7;
}

.ip-lite-path {
  display: grid;
  grid-template-columns: minmax(280px, .58fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
  background: var(--brand-gradient);
  color: #fff;
}

.ip-lite-path h2,
.ip-lite-path p {
  color: #fff;
}

.ip-lite-path p {
  color: rgba(255, 255, 255, .78);
}

.ip-lite-steps {
  display: grid;
  gap: 14px;
}

.ip-lite-steps article {
  min-height: 130px;
  padding: 24px;
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 20px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 20px;
  background: rgba(255, 255, 255, .14);
}

.ip-lite-steps b {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--brand-accent);
  font-size: 22px;
}

.ip-lite-steps h3 {
  margin-top: 0;
  color: #fff;
}

.ip-lite-steps p {
  grid-column: 2;
  color: rgba(255, 255, 255, .78);
}

.ip-lite-loop {
  padding: 84px clamp(28px, 6vw, 94px);
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 104px);
  align-items: center;
  background: #fff;
}

.ip-lite-loop figure {
  margin: 0;
  min-height: 430px;
  padding: 30px;
  display: grid;
  place-items: center;
  border-radius: 34px;
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 255, 255, .76), transparent 24%),
    var(--brand-gradient-soft);
  overflow: hidden;
}

.ip-lite-loop figure img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.ip-lite-stats {
  margin: 28px 0 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ip-lite-stats span {
  min-height: 104px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(46, 176, 162, .18);
  border-radius: 18px;
  background: #f7fbfb;
  color: #647083;
  font-size: 12px;
  line-height: 1.5;
}

.ip-lite-stats b {
  display: block;
  color: var(--brand-accent);
  font-size: 26px;
  line-height: 1;
}

.ip-lite-loop a span {
  margin-left: 10px;
}

@media (max-width: 1050px) {
  .ip-lite-hero,
  .ip-lite-head,
  .ip-lite-project-head,
  .ip-lite-path,
  .ip-lite-loop {
    grid-template-columns: 1fr;
  }

  .ip-lite-card-grid {
    grid-template-columns: 1fr;
  }

  .ip-lite-project-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ip-lite-project-flow article:nth-child(2) {
    border-right: 0;
  }

  .ip-lite-project-flow article:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .ip-lite-card-grid article {
    grid-template-columns: minmax(220px, .52fr) minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .ip-lite-hero {
    min-height: auto;
    padding: 122px 22px 58px;
  }

  .ip-lite-hero h1 {
    font-size: 40px;
  }

  .ip-lite-hero p,
  .ip-lite-head p,
  .ip-lite-path-copy p,
  .ip-lite-loop p {
    font-size: 14px;
  }

  .ip-lite-hero-image {
    min-height: 360px;
    padding: 22px;
    border-radius: 28px;
  }

  .ip-lite-hero-image figcaption {
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: block;
  }

  .ip-lite-hero-image span {
    display: block;
    margin-top: 6px;
  }

  .ip-lite-section,
  .ip-lite-projects,
  .ip-lite-loop {
    padding: 62px 22px;
  }

  .ip-lite-card-grid article {
    grid-template-columns: 1fr;
  }

  .ip-lite-card-grid img {
    min-height: 220px;
  }

  .ip-lite-card-grid article > div {
    padding: 0;
  }

  .ip-lite-project-flow {
    grid-template-columns: 1fr;
  }

  .ip-lite-project-flow article,
  .ip-lite-project-flow article:nth-child(2) {
    border-right: 0;
  }

  .ip-lite-project-flow article:nth-child(-n+3) {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .ip-lite-steps article {
    grid-template-columns: 44px 1fr;
    padding: 20px;
  }

  .ip-lite-steps b {
    width: 44px;
    height: 44px;
  }

  .ip-lite-stats {
    grid-template-columns: 1fr;
  }

  .ip-lite-loop figure {
    min-height: 300px;
    padding: 22px;
    border-radius: 26px;
  }
}

/* Unified light visual system for the IP support page */
.ip-lite-page,
.ip-lite-main {
  background: #f6fbfb;
}

.ip-lite-hero,
.ip-lite-section,
.ip-lite-loop,
.ip-lite-projects {
  background:
    linear-gradient(rgba(46, 176, 162, .065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 176, 162, .065) 1px, transparent 1px),
    #f6fbfb;
  background-size: clamp(120px, 13vw, 210px) clamp(120px, 13vw, 210px);
}

.ip-lite-card-grid article,
.ip-lite-projects .ip-project-card,
.ip-lite-steps article,
.ip-lite-stats span {
  border-color: rgba(46, 176, 162, .16);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 38px rgba(32, 48, 66, .06);
}

.ip-lite-projects {
  color: #243042;
}

.ip-lite-project-head h2,
.ip-lite-projects .ip-project-body h3,
.ip-lite-steps h3 {
  color: #202733;
}

.ip-lite-project-head p,
.ip-lite-projects .ip-project-body p,
.ip-lite-steps p,
.ip-lite-project-flow span {
  color: #626d7e;
}

.ip-lite-projects .eyebrow.light {
  color: var(--brand-accent);
}

.ip-lite-projects .eyebrow.light span {
  background: var(--brand-gradient);
  box-shadow: 0 0 0 5px rgba(46, 176, 162, .12);
}

.ip-lite-projects .ip-card-meta span,
.ip-lite-projects .ip-card-meta b {
  border-color: rgba(46, 176, 162, .18);
  background: rgba(255, 255, 255, .82);
  color: #526073;
}

.ip-lite-projects .ip-project-body button {
  border: 0;
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 12px 26px rgba(20, 172, 177, .14);
}

.ip-lite-projects .ip-progress {
  background: rgba(46, 176, 162, .12);
}

.ip-lite-project-flow {
  border-color: rgba(46, 176, 162, .16);
}

.ip-lite-project-flow article {
  border-color: rgba(46, 176, 162, .16);
}

.ip-lite-project-flow b {
  color: #202733;
}

.ip-lite-path {
  background:
    linear-gradient(rgba(46, 176, 162, .065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 176, 162, .065) 1px, transparent 1px),
    #f6fbfb;
  background-size: clamp(120px, 13vw, 210px) clamp(120px, 13vw, 210px);
}

.ip-lite-path-copy {
  padding: clamp(30px, 4vw, 48px);
  border-radius: 34px;
  background: var(--brand-gradient);
  box-shadow: 0 24px 54px rgba(20, 172, 177, .18);
}

.ip-lite-path-copy h2,
.ip-lite-path-copy p {
  color: #fff;
}

.ip-lite-path-copy p {
  color: rgba(255, 255, 255, .78);
}

.ip-lite-steps b {
  background: var(--brand-gradient);
  color: #fff;
}

.ip-lite-loop figure,
.ip-lite-hero-image,
.ip-lite-card-grid img {
  box-shadow: 0 20px 48px rgba(32, 48, 66, .08);
}

/* Homepage capability images are supplied at 3:2. */
.reference-home .ref-capability-visual {
  --capability-image-gap: 70px;
  box-sizing: content-box;
  min-height: 0;
  aspect-ratio: 3 / 2;
  padding: 0 0 var(--capability-image-gap);
}

.reference-home .ref-capability-visual img {
  inset: 0 0 var(--capability-image-gap);
  width: 100%;
  height: calc(100% - var(--capability-image-gap));
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (max-width: 700px) {
  .reference-home .ref-capability-visual {
    --capability-image-gap: 64px;
    min-height: 0;
  }
}

.campus-page .campus-resources {
  padding-top: 96px;
  padding-bottom: 104px;
  background: var(--campus-blue);
  color: #fff;
  border-radius: 54px;
}

.campus-page .campus-resources .page-heading h2 {
  color: #fff;
}

.campus-page .campus-resources .eyebrow {
  color: rgba(255, 255, 255, .78);
}

.campus-page .campus-resources .eyebrow span {
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .14);
}

.campus-page .resource-grid {
  max-width: 1160px;
  margin: 0 auto;
  gap: 16px;
}

.campus-page .resource-grid div {
  min-height: 178px;
  padding: 24px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
}

.campus-page .resource-grid i {
  color: #fff;
  font-size: 22px;
}

.campus-page .resource-grid b {
  color: #fff;
  font-size: 16px;
}

.campus-page .resource-grid span {
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  line-height: 1.7;
}

.campus-page .page-cta {
  margin: 0;
  padding: 70px clamp(28px, 6vw, 92px);
  background: var(--campus-bg);
  color: var(--campus-text);
  border-top: 0;
}

.campus-page .page-cta h2 {
  color: var(--campus-text);
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0;
}

.campus-page .page-cta p {
  color: var(--campus-muted);
}

.campus-page .page-cta .dark-button {
  min-height: 44px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  background: var(--campus-blue);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}

@media (max-width: 1000px) {
  .campus-page .campus-hero {
    grid-template-columns: 1fr;
  }

  .campus-page .campus-hero-image {
    height: 430px;
  }
}

@media (max-width: 700px) {
  .campus-page .campus-hero {
    padding: 104px 22px 58px;
    gap: 24px;
  }

  .campus-page .campus-hero > div:first-child {
    padding: 34px 26px;
    border-radius: 34px;
  }

  .campus-page .campus-hero h1 {
    font-size: 40px;
  }

  .campus-page .campus-hero-image {
    height: 300px;
    border-radius: 28px;
  }

  .campus-page .page-section,
  .campus-page .page-cta {
    padding-left: 22px;
    padding-right: 22px;
  }

  .campus-page .campus-resources {
    border-radius: 34px;
  }
}

/* Campus page proportion refinements */
.campus-page .campus-hero {
  min-height: 560px;
  padding-top: 42px;
  padding-bottom: 46px;
}

.campus-page .campus-hero > div:first-child {
  padding: clamp(30px, 3.7vw, 48px);
}

.campus-page .campus-hero h1 {
  font-size: clamp(32px, 3.25vw, 46px);
  line-height: 1.16;
}

.campus-page .campus-hero-image {
  height: min(390px, 34vw);
}

.campus-page .resource-grid {
  width: min(100%, 1160px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.campus-page .resource-grid div {
  min-width: 0;
}

.campus-page .atmosphere-section .page-heading.center {
  text-align: center;
}

.campus-page .atmosphere-section .page-heading.center .eyebrow {
  justify-content: center;
}

.campus-page .atmosphere-section .page-heading.center p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.campus-page .campus-photo:after {
  display: none;
}

/* Final campus project case image overrides. */
.campus-page .case-cover {
  aspect-ratio: 16 / 9;
  height: auto;
  background-color: #eef9fb;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.campus-page .case-cover span {
  display: none;
}

.campus-page .case-1 {
  background: url("assets/campus-case-tourism-film.webp?v=20260702-1433") center / cover no-repeat !important;
}

.campus-page .case-2 {
  background: url("assets/campus-case-heritage-avatar.webp?v=20260702-1433") center / cover no-repeat !important;
}

.campus-page .case-3 {
  background: url("assets/campus-case-brand-video.webp?v=20260702-1433") center / cover no-repeat !important;
}

/* Final membership card polish. */
.membership-page .pricing-grid {
  align-items: stretch;
}

.membership-page .price-card {
  position: relative;
  overflow: hidden;
  padding: 32px 28px 30px;
  border: 1px solid rgba(46, 176, 162, .18);
  border-radius: 18px;
  background: rgba(255, 255, 255, .95);
  color: #202733;
  box-shadow: 0 18px 42px rgba(32, 48, 66, .07);
}

.membership-page .price-card.featured,
.membership-page .offline-featured {
  border-color: rgba(46, 176, 162, .36);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, .98) 0%, rgba(239, 252, 250, .96) 58%, rgba(218, 248, 238, .92) 100%);
  color: #202733;
  box-shadow: 0 24px 60px rgba(20, 172, 177, .14);
}

.membership-page .price-card .popular {
  position: absolute;
  top: 22px;
  right: 24px;
  left: auto;
  width: auto;
  min-width: 0;
  max-width: max-content;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0;
}

.membership-page .online-plan .online-popular {
  background: rgba(46, 176, 162, .12);
  color: var(--brand-accent);
  box-shadow: none;
}

.membership-page .offline-featured .popular {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 10px 24px rgba(20, 172, 177, .18);
}

.membership-page .price-card h3,
.membership-page .price-card .price b,
.membership-page .price-card li {
  color: #202733;
}

.membership-page .price-card > p,
.membership-page .price span {
  color: #626d7e;
}

.membership-page .price-card ul {
  border-color: rgba(46, 176, 162, .18);
}

.membership-page .price-card li::before {
  color: var(--brand-accent);
}

.membership-page .offline-featured .primary-button,
.membership-page .membership-plans .dark-button {
  border: 0;
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 16px 34px rgba(20, 172, 177, .18);
}

.membership-page .outline-button {
  border-color: rgba(46, 176, 162, .28);
  color: var(--brand-accent);
  background: rgba(255, 255, 255, .75);
}

.membership-page .membership-plans {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1280px;
}

.membership-page .membership-plans .price-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.membership-page .membership-plans .price-card:focus-visible {
  outline: 3px solid rgba(46, 176, 162, .34);
  outline-offset: 4px;
}

.membership-page .selected-plan .plan-status {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 10px 24px rgba(20, 172, 177, .18);
}

.membership-page .plan-meta {
  display: grid;
  gap: 6px;
  margin: -6px 0 18px;
  padding: 14px;
  border: 1px solid rgba(46, 176, 162, .14);
  border-radius: 12px;
  background: rgba(246, 251, 251, .72);
}

.membership-page .plan-meta b {
  color: #202733;
  font-size: 13px;
}

.membership-page .plan-meta span {
  color: #626d7e;
  font-size: 10px;
  line-height: 1.55;
}

.membership-page .price-card .full {
  margin-top: 0;
}

.membership-page .membership-plans .price-card h3 {
  min-height: 36px;
}

.membership-page .membership-plans .price-card > p {
  min-height: 52px;
}

.membership-page .membership-plans .price {
  min-height: 54px;
  margin: 10px 0 18px;
  display: flex;
  align-items: baseline;
}

.membership-page .membership-plans .plan-meta {
  min-height: 88px;
  align-content: center;
}

.membership-page .plan-meta-empty {
  visibility: hidden;
}

@media (max-width: 1180px) {
  .membership-page .membership-plans {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

.membership-page .pricing-note {
  width: min(100%, 820px);
  margin: 28px auto 0;
  text-align: center;
  color: #626d7e;
  font-size: 12px;
  line-height: 1.8;
}

/* Membership page color unification. */
.membership-page {
  background:
    linear-gradient(rgba(46, 176, 162, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 176, 162, .06) 1px, transparent 1px),
    #f6fbfb;
  background-size: clamp(120px, 13vw, 210px) clamp(120px, 13vw, 210px);
}

.membership-page .price-card {
  border-color: rgba(46, 176, 162, .16);
  background: rgba(255, 255, 255, .94);
  color: #202733;
  box-shadow: 0 18px 42px rgba(32, 48, 66, .07);
}

.membership-page .price-card.featured,
.membership-page .offline-featured {
  border: 1px solid rgba(46, 176, 162, .34);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, .98) 0%, rgba(239, 252, 250, .96) 58%, rgba(218, 248, 238, .92) 100%);
  color: #202733;
  box-shadow: 0 24px 60px rgba(20, 172, 177, .14);
}

.membership-page .offline-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 86% 12%, rgba(8, 164, 221, .16), transparent 34%);
  pointer-events: none;
}

.membership-page .price-card > * {
  position: relative;
  z-index: 1;
}

.membership-page .price-card h3,
.membership-page .price-card .price b,
.membership-page .price-card li {
  color: #202733;
}

.membership-page .price-card > p,
.membership-page .price span {
  color: #626d7e;
}

.membership-page .price-card ul {
  border-color: rgba(46, 176, 162, .18);
}

.membership-page .price-card li::before {
  color: var(--brand-accent);
}

.membership-page .offline-featured .popular {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 10px 24px rgba(20, 172, 177, .18);
}

.membership-page .offline-featured .primary-button,
.membership-page .membership-plans .dark-button {
  border: 0;
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 16px 34px rgba(20, 172, 177, .18);
}

.membership-page .outline-button {
  border-color: rgba(46, 176, 162, .28);
  color: var(--brand-accent);
  background: rgba(255, 255, 255, .75);
}

/* IP project pool cover images. */
.ip-lite-page .ip-project-cover {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.ip-lite-page .ip-project-cover::before,
.ip-lite-page .ip-project-cover::after {
  display: none;
}

.ip-lite-page .ip-cover-1 {
  background: url("assets/ip-project-mother-3am.webp?v=20260702-1715") center / cover no-repeat;
}

.ip-lite-page .ip-cover-2 {
  background: url("assets/ip-project-heir-against-wind.webp?v=20260702-1715") center / cover no-repeat;
}

.ip-lite-page .ip-cover-3 {
  background: url("assets/ip-project-cloud-store.webp?v=20260702-1715") center / cover no-repeat;
}

.ip-lite-page .ip-cover-4 {
  background: url("assets/ip-project-moon-river.webp?v=20260702-1715") center / cover no-repeat;
}

/* Center the IP support section heading. */
.ip-lite-support .ip-lite-head {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

.ip-lite-support .ip-lite-head .eyebrow {
  justify-content: center;
}

.ip-lite-support .ip-lite-head p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* IP hero uses the supplied full-background image. */
.ip-lite-page .ip-lite-hero {
  min-height: 720px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(246, 251, 251, .9) 0%, rgba(246, 251, 251, .76) 42%, rgba(246, 251, 251, .18) 72%),
    url("assets/ip-hero-background.webp?v=20260702-1526") center / cover no-repeat;
}

.ip-lite-page .ip-lite-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(46, 176, 162, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 176, 162, .055) 1px, transparent 1px);
  background-size: clamp(120px, 13vw, 210px) clamp(120px, 13vw, 210px);
  pointer-events: none;
}

.ip-lite-page .ip-lite-copy {
  position: relative;
  z-index: 1;
}

.ip-lite-page .ip-lite-hero-image {
  display: none;
}

/* Footer QR image. */
.ref-footer .ref-qr,
.site-footer-unified .ref-qr {
  width: 108px;
  height: 108px;
  display: block;
  justify-self: end;
  object-fit: cover;
  border-radius: 0;
  background: transparent;
}

/* Final campus project case image overrides. */
.campus-page .case-cover {
  aspect-ratio: 16 / 9;
  height: auto;
  background-color: #eef9fb;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.campus-page .case-cover span {
  display: none;
}

.campus-page .case-1 {
  background: url("assets/campus-case-tourism-film.webp?v=20260702-1433") center / cover no-repeat;
}

.campus-page .case-2 {
  background: url("assets/campus-case-heritage-avatar.webp?v=20260702-1433") center / cover no-repeat;
}

.campus-page .case-3 {
  background: url("assets/campus-case-brand-video.webp?v=20260702-1433") center / cover no-repeat;
}

@media (max-width: 1000px) {
  .campus-page .campus-hero {
    padding-top: 58px;
  }

  .campus-page .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .campus-page .campus-hero {
    padding-top: 34px;
  }

  .campus-page .campus-hero h1 {
    font-size: 34px;
  }

  .campus-page .campus-hero-image {
    height: 280px;
  }

  .campus-page .resource-grid {
    grid-template-columns: 1fr;
  }
}

/* Sitewide primary gradient from the latest color reference. */
:root,
.reference-home,
.inner-page,
.engine-page,
.campus-page {
  --brand-accent: #2eb0a2;
  --brand-accent-deep: #08a4dd;
  --brand-accent-green: #41b586;
  --brand-gradient: linear-gradient(135deg, #08a4dd 0%, #2cafa7 46%, #41b586 100%);
  --brand-gradient-alt: linear-gradient(135deg, #41b586 0%, #2eb0a2 52%, #08a4dd 100%);
  --brand-gradient-soft: linear-gradient(135deg, #eaf9fb 0%, #a7e6df 48%, #d9f6ea 100%);
  --blue: var(--brand-accent);
}

.reference-home {
  --ref-blue: var(--brand-accent);
  --ref-blue-2: var(--brand-accent-deep);
  --ref-grid: rgba(46, 176, 162, .14);
}

.inner-page {
  --ref-blue: var(--brand-accent);
}

.engine-page {
  --engine-blue: var(--brand-accent);
  --engine-blue-deep: var(--brand-accent-deep);
  --engine-grid: rgba(46, 176, 162, .14);
}

.campus-page {
  --campus-blue: var(--brand-accent);
  --campus-blue-2: var(--brand-accent-deep);
  --campus-grid: rgba(46, 176, 162, .14);
}

.reference-home .header-actions .text-button,
.inner-page .header-actions .text-button,
.primary-button,
.dark-button,
.page-cta .dark-button,
.engine-page .engine-primary,
.engine-page .engine-style-more,
.campus-page .page-cta .dark-button {
  background: var(--brand-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 16px 34px rgba(20, 172, 177, .18);
}

.reference-home .main-nav a:hover,
.reference-home .main-nav a.active,
.inner-page .main-nav a:hover,
.inner-page .main-nav a.active,
.engine-page .engine-eyebrow,
.engine-page .engine-pipeline .engine-section-head span,
.engine-page .engine-style-section .engine-section-head span,
.engine-page .engine-secondary,
.engine-page .engine-summary-copy > span,
.engine-page .engine-feature-tags span,
.engine-page .preview-node-list em,
.engine-page .engine-comic-stage .engine-feature-card > span,
.campus-page .eyebrow,
.campus-page .campus-photo > span,
.campus-page .case-grid small {
  color: var(--brand-accent);
}

.ref-hero:after,
.reference-home .ref-blue-panel,
.reference-home .ref-overview,
.reference-home .ref-market,
.reference-home .ref-capability-tabs article.active,
.reference-home .ref-capability-tab.active,
.reference-home .ref-space-switch button.active,
.reference-home .ref-plan-actions button.active,
.reference-home .ref-market-arrows button:hover,
.site-footer-unified .ref-footer-inner,
.campus-page .campus-hero > div:first-child,
.campus-page .campus-resources,
.campus-page .campus-photo-3,
.engine-page .engine-comic-stage .engine-feature-card.active {
  background: var(--brand-gradient);
}

.reference-home .ref-capability-tab.active:hover,
.reference-home .ref-capability-tab.active:focus-visible {
  background: var(--brand-gradient);
}

.reference-home .ref-capability-tabs article,
.reference-home .ref-capability-tab,
.reference-home .ref-space-switch button,
.reference-home .ref-plan-actions button {
  border-color: rgba(46, 176, 162, .36);
}

.reference-home .ref-capability-tab:hover,
.reference-home .ref-capability-tab:focus-visible {
  border-color: rgba(46, 176, 162, .58);
  background: rgba(46, 176, 162, .07);
}

.reference-home .ref-capability-tabs article > span,
.reference-home .ref-capability-dot,
.engine-page .engine-eyebrow span,
.engine-page .preview-topbar i,
.campus-page .eyebrow span {
  background: var(--brand-gradient);
}

.engine-style-card .style-cover,
.engine-page .preview-blue-block,
.engine-page .preview-project .preview-blue-block,
.engine-page .preview-asset .preview-blue-block,
.engine-page .preview-shot .preview-blue-block {
  background: var(--brand-gradient);
}

.engine-page .preview-consistency .preview-blue-block {
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .5) 0 16%, transparent 17%),
    var(--brand-gradient);
}

.engine-page .style-cyber,
.engine-page .style-hk,
.campus-page .atmosphere-1,
.campus-page .case-1 {
  background: var(--brand-gradient);
}

.engine-page .style-film,
.engine-page .style-anime,
.campus-page .atmosphere-2,
.campus-page .case-2 {
  background: linear-gradient(135deg, #eaf9fb 0%, #1aaac2 48%, #41b586 100%);
}

.engine-page .style-ink,
.engine-page .style-fantasy,
.engine-page .style-space,
.campus-page .atmosphere-3,
.campus-page .case-3 {
  background: linear-gradient(135deg, #08a4dd 0%, #2eb0a2 52%, #d9f6ea 100%);
}

.engine-style-card .style-cover:after {
  background: rgba(46, 176, 162, .24);
}

.engine-page .engine-eyebrow span {
  box-shadow: 0 0 0 5px rgba(46, 176, 162, .14);
}

.engine-page .engine-comic-stage .engine-feature-card:hover,
.engine-page .engine-comic-stage .engine-feature-card:focus-visible {
  border-color: rgba(46, 176, 162, .36);
}

/* Keep real campus activity photos from being replaced by the sitewide gradient. */
.campus-page .atmosphere-1 {
  background: url("assets/campus-mentor-workshop.webp") center / cover no-repeat;
}

.campus-page .atmosphere-2 {
  background: url("assets/campus-student-cocreation.webp") center / cover no-repeat;
}

.campus-page .atmosphere-3 {
  background: url("assets/campus-project-roadshow.webp") center / cover no-repeat;
}

/* Final engine preview image overrides. */
.engine-page .engine-preview-panel .preview-blue-block {
  background-color: #eef9fb;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid rgba(46, 176, 162, .14);
  box-shadow: 0 20px 38px rgba(14, 120, 144, .16);
}

.engine-page .engine-preview-panel .preview-blue-block::before,
.engine-page .engine-preview-panel .preview-blue-block::after {
  display: none;
}

.engine-page .preview-script .preview-blue-block {
  background: #eef9fb url("assets/engine-preview-script-analysis.webp?v=20260702-1322") center / cover no-repeat;
}

.engine-page .preview-project .preview-blue-block {
  background: #eef9fb url("assets/engine-preview-project-producing.webp?v=20260702-1322") center / cover no-repeat;
}

.engine-page .preview-asset .preview-blue-block {
  background: #eef9fb url("assets/engine-preview-asset-library.webp?v=20260702-1322") center / cover no-repeat;
}

.engine-page .preview-consistency .preview-blue-block {
  background: #eef9fb url("assets/engine-preview-consistency.webp?v=20260702-1322") center / cover no-repeat;
}

.engine-page .preview-shot .preview-blue-block {
  background: #eef9fb url("assets/engine-preview-shot-continuity.webp?v=20260702-1322") center / cover no-repeat;
}

/* Engine style gallery image covers. */
.engine-page .engine-style-card .style-cover {
  aspect-ratio: 16 / 9;
  height: auto;
  background-color: #eef9fb;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .58);
}

.engine-page .engine-style-card .style-cover::before,
.engine-page .engine-style-card .style-cover::after {
  display: none;
}

.engine-page .style-cyber {
  background-image: url("assets/engine-style-cyber-neon.webp?v=20260702-1411");
}

.engine-page .style-film {
  background-image: url("assets/engine-style-film-grain.webp?v=20260702-1411");
}

.engine-page .style-ink {
  background-image: url("assets/engine-style-ink-chinese.webp?v=20260702-1411");
}

.engine-page .style-anime {
  background-image: url("assets/engine-style-anime-film.webp?v=20260702-1411");
}

.engine-page .style-hk {
  background-image: url("assets/engine-style-hk-neon-street.webp?v=20260702-1411");
}

.engine-page .style-noir {
  background-image: url("assets/engine-style-noir-crime.webp?v=20260702-1411");
}

.engine-page .style-fantasy {
  background-image: url("assets/engine-style-epic-fantasy.webp?v=20260702-1411");
}

.engine-page .style-space {
  background-image: url("assets/engine-style-sci-fi-space.webp?v=20260702-1411");
}

/* Final campus partner lab image override. */
.campus-page .campus-photo-3 {
  background: url("assets/campus-ai-film-practice-base.webp?v=20260702-1420") center / cover no-repeat;
}

.campus-page .campus-photo:after {
  display: none;
}

/* Final campus project case image overrides. */
.campus-page .case-cover {
  aspect-ratio: 16 / 9;
  height: auto;
  background-color: #eef9fb;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.campus-page .case-cover span {
  display: none;
}

.campus-page .case-1 {
  background: url("assets/campus-case-tourism-film.webp?v=20260702-1433") center / cover no-repeat !important;
}

.campus-page .case-2 {
  background: url("assets/campus-case-heritage-avatar.webp?v=20260702-1433") center / cover no-repeat !important;
}

.campus-page .case-3 {
  background: url("assets/campus-case-brand-video.webp?v=20260702-1433") center / cover no-repeat !important;
}

/* Final campus hero background image. */
.campus-page .campus-hero {
  min-height: 720px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(246, 251, 251, .92) 0%, rgba(246, 251, 251, .72) 44%, rgba(246, 251, 251, .16) 78%),
    url("assets/campus-hero-background.webp?v=20260703-1108") center / cover no-repeat !important;
  background-size: auto, cover !important;
}

.campus-page .campus-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(46, 176, 162, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 176, 162, .055) 1px, transparent 1px);
  background-size: clamp(120px, 13vw, 210px) clamp(120px, 13vw, 210px);
  pointer-events: none;
}

.campus-page .campus-hero > div:first-child {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.campus-page .campus-hero-image {
  display: none !important;
}

/* Final IP campus works TV rail. */
.ip-campus-works {
  min-height: 720px;
  padding: 88px clamp(28px, 6vw, 94px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(rgba(46, 176, 162, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 176, 162, .06) 1px, transparent 1px),
    #f6fbfb;
  background-size: clamp(120px, 13vw, 210px) clamp(120px, 13vw, 210px);
}

.ip-campus-works-head {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(280px, .48fr);
  gap: 42px;
  align-items: end;
}

.ip-campus-works-head h2 {
  margin: 14px 0 0;
  color: #202733;
  font-size: 44px;
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: 0;
}

.ip-campus-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.ip-campus-more {
  margin-top: 17px;
  min-height: 34px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(46, 176, 162, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(32, 48, 66, .06);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.ip-campus-more:hover,
.ip-campus-more:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(46, 176, 162, .5);
  background: #fff;
}

.ip-campus-works-head p {
  margin: 0;
  color: #626d7e;
  font-size: 13px;
  line-height: 1.85;
}

.ip-tv-rail {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ip-tv-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(46, 176, 162, .16);
  border-radius: 22px;
  background: #0e171b;
  box-shadow: 0 20px 46px rgba(32, 48, 66, .1);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.ip-tv-card:hover,
.ip-tv-card:focus-within,
.ip-tv-card.is-previewing {
  transform: translateY(-6px);
  border-color: rgba(46, 176, 162, .42);
  box-shadow: 0 26px 58px rgba(16, 91, 103, .18);
}

.ip-tv-card a {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.ip-tv-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #10242a 0%, #20363b 100%);
}

.ip-tv-poster img,
.ip-tv-poster video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ip-tv-poster img {
  transform: scale(1.01);
  transition: transform .45s ease, filter .45s ease, opacity .24s ease;
}

.ip-tv-poster video {
  opacity: 0;
  transition: opacity .24s ease;
}

.ip-tv-card.is-playing .ip-tv-poster video {
  opacity: 1;
}

.ip-tv-card.is-playing .ip-tv-poster img {
  opacity: 0;
}

.ip-tv-card:hover .ip-tv-poster img,
.ip-tv-card:focus-within .ip-tv-poster img,
.ip-tv-card.is-previewing:not(.is-playing) .ip-tv-poster img {
  animation: ipPosterPreview 2.2s ease-in-out infinite alternate;
  filter: saturate(1.08) contrast(1.04);
}

.ip-tv-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(9, 18, 22, .06) 0%, rgba(9, 18, 22, .12) 45%, rgba(9, 18, 22, .78) 100%);
  pointer-events: none;
}

.ip-tv-poster::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  height: 3px;
  border-radius: 999px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.8s linear;
}

.ip-tv-card:hover .ip-tv-poster::after,
.ip-tv-card:focus-within .ip-tv-poster::after,
.ip-tv-card.is-previewing .ip-tv-poster::after {
  transform: scaleX(1);
}

.ip-tv-play {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 3;
  min-height: 30px;
  padding: 0 11px 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(8, 18, 22, .44);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.ip-tv-play i {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-gradient);
}

.ip-tv-play i::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #fff;
}

.ip-tv-info {
  min-height: 132px;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0)),
    #0e171b;
}

.ip-tv-info small {
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
  line-height: 1.45;
}

.ip-tv-info h3 {
  margin: 12px 0 8px;
  color: #fff;
  font-size: 20px;
  line-height: 1.22;
  font-weight: 900;
}

.ip-tv-info p {
  margin: 0;
  color: rgba(255, 255, 255, .64);
  font-size: 12px;
  line-height: 1.7;
}

@keyframes ipPosterPreview {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.14) translate3d(-2%, -1%, 0);
  }
}

@media (max-width: 1050px) {
  .ip-campus-works {
    min-height: auto;
  }

  .ip-campus-works-head {
    grid-template-columns: 1fr;
  }

  .ip-tv-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .ip-campus-works {
    padding: 64px 22px;
  }

  .ip-campus-works-head h2 {
    font-size: 34px;
  }

  .ip-tv-rail {
    grid-template-columns: 1fr;
  }

  .ip-tv-info {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ip-tv-card,
  .ip-tv-poster img,
  .ip-tv-poster video,
  .ip-tv-poster::after {
    transition: none;
  }

  .ip-tv-card:hover .ip-tv-poster img,
  .ip-tv-card:focus-within .ip-tv-poster img,
  .ip-tv-card.is-previewing:not(.is-playing) .ip-tv-poster img {
    animation: none;
  }
}

.ip-tv-play {
  display: none !important;
}

/* Campus work player page. */
.work-player-shell,
.work-player-page {
  background: #f6fbfb;
}

.work-player-page {
  padding-top: 92px;
}

.work-player-hero {
  min-height: calc(100vh - 92px);
  padding: 52px clamp(28px, 5.5vw, 86px) 70px;
  display: grid;
  grid-template-columns: minmax(280px, .42fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
  background:
    linear-gradient(rgba(46, 176, 162, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 176, 162, .06) 1px, transparent 1px),
    #f6fbfb;
  background-size: clamp(120px, 13vw, 210px) clamp(120px, 13vw, 210px);
}

.work-back-link {
  width: max-content;
  min-height: 34px;
  margin-bottom: 22px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(46, 176, 162, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.work-player-meta h1 {
  margin: 18px 0 18px;
  color: #202733;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.work-player-meta p {
  max-width: 520px;
  margin: 0;
  color: #626d7e;
  font-size: 15px;
  line-height: 1.9;
}

.work-tags {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.work-tags span {
  min-height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(46, 176, 162, .18);
  border-radius: 999px;
  background: #fff;
  color: #516173;
  font-size: 12px;
  font-weight: 800;
}

.work-player-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(46, 176, 162, .18);
  border-radius: 28px;
  background: #0e171b;
  box-shadow: 0 26px 64px rgba(32, 48, 66, .14);
}

.work-player-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #0e171b;
}

.work-related {
  padding: 72px clamp(28px, 5.5vw, 86px) 86px;
  background: #fff;
}

.work-related-head {
  max-width: 1280px;
  margin: 0 auto 24px;
}

.work-related-head h2 {
  margin: 12px 0 0;
  color: #202733;
  font-size: 34px;
  line-height: 1.16;
}

.work-related-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.work-related-grid a {
  overflow: hidden;
  border: 1px solid rgba(46, 176, 162, .16);
  border-radius: 18px;
  background: #0e171b;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(32, 48, 66, .08);
}

.work-related-grid a.active {
  border-color: rgba(46, 176, 162, .6);
  box-shadow: 0 0 0 3px rgba(46, 176, 162, .12);
}

.work-related-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.work-related-grid span,
.work-related-grid b {
  display: block;
  padding: 0 15px;
}

.work-related-grid span {
  margin-top: 14px;
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
}

.work-related-grid b {
  padding-bottom: 16px;
  margin-top: 8px;
  font-size: 17px;
}

/* Real covers for the student work showcase. */
.community-cover.has-image {
  background: #f6fbfb;
}

.community-cover.has-image::before,
.community-cover.has-image::after {
  display: none;
}

.community-cover.has-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: transform .45s ease;
}

.work-community-card:hover .community-cover.has-image img {
  transform: scale(1.045);
}

.community-cover.has-image span {
  left: 12px;
  top: 12px;
  background: rgba(8, 16, 24, .72);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .24);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(7, 20, 32, .18);
}

@media (max-width: 1050px) {
  .work-player-hero {
    grid-template-columns: 1fr;
  }

  .work-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .work-player-page {
    padding-top: 82px;
  }

  .work-player-hero,
  .work-related {
    padding-left: 22px;
    padding-right: 22px;
  }

  .work-player-frame {
    border-radius: 20px;
  }

  .work-related-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile homepage readability and stacking fix. */
@media (max-width: 700px) {
  .reference-home {
    overflow-x: hidden;
  }

  .reference-home .site-header {
    height: 70px;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .reference-home .site-header .brand-mark {
    width: 126px;
    min-width: 126px;
    height: 34px;
  }

  .reference-home .menu-button {
    width: 42px;
    height: 42px;
    margin-left: auto;
    display: grid;
    place-items: center;
    border: 1px solid rgba(32, 48, 66, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 8px 20px rgba(32, 48, 66, .08);
    line-height: 1;
  }

  .reference-home .main-nav.open {
    top: 76px;
    left: 16px;
    right: 16px;
    width: auto;
    padding: 14px;
    border-radius: 18px;
    background: rgba(247, 251, 252, .98) !important;
    box-shadow: 0 18px 42px rgba(32, 48, 66, .14);
  }

  .ref-hero {
    min-height: auto !important;
    padding-top: 70px;
    padding-bottom: 34px;
    background: #f6fbfb;
    overflow: hidden;
  }

  .ref-hero-grid {
    inset: 70px 0 0;
    mask-image: none;
    opacity: .8;
  }

  .ref-hero::after {
    display: none;
  }

  .ref-hero-inner {
    min-height: auto !important;
    padding: 52px 22px 0 !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .ref-hero-copy {
    width: 100% !important;
    max-width: none;
    display: flex;
    flex-direction: column;
  }

  .ref-hero-copy.reveal,
  .ref-hero-object.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ref-hero-copy h1 {
    max-width: 12em;
    color: #202733;
    font-size: clamp(38px, 11vw, 44px) !important;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 0;
  }

  .ref-hero-copy p {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    max-width: none;
    margin-top: 22px;
    color: #526173;
    font-size: 14px;
    line-height: 1.85;
  }

  .ref-hero-actions {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100%;
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ref-hero-actions .ref-solid-button,
  .ref-hero-actions .ref-outline-button {
    width: 100%;
    min-height: 46px;
    border-radius: 999px;
  }

  .ref-hero-actions .ref-solid-button {
    background: var(--brand-gradient);
    color: #fff;
    border: 0;
    box-shadow: 0 14px 28px rgba(31, 167, 181, .18);
  }

  .ref-hero-actions .ref-outline-button {
    background: rgba(255, 255, 255, .86);
    color: var(--brand-accent);
    border-color: rgba(46, 176, 162, .28);
  }

  .ref-hero-object {
    position: relative !important;
    z-index: 1;
    top: auto !important;
    right: auto !important;
    width: min(268px, 72vw) !important;
    margin: 28px auto 0;
    align-self: center;
    opacity: 1;
    filter: drop-shadow(0 18px 28px rgba(18, 44, 157, .16));
  }

  .ref-overview {
    margin-top: 0;
    padding-top: 0;
  }

  .ref-model-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 28px;
    padding: 30px 0 54px;
  }

  .ref-model-logos img {
    max-width: 112px;
    max-height: 34px;
  }

  .ref-ribbon-visual {
    width: 100%;
    max-width: 330px;
    margin: 20px auto 0;
  }
}

@media (max-width: 430px) {
  .ref-hero-copy h1 {
    font-size: 38px !important;
  }

  .ref-hero-copy p {
    font-size: 13px;
  }

  .ref-hero-object {
    width: min(248px, 68vw) !important;
  }
}
