/* AMOU unified technology-blue theme. Color-only overrides for current user pages. */
:root {
  --amou-bg-deep: #050f1b;
  --amou-bg: #061626;
  --amou-bg-edge: #071c30;
  --amou-panel: #0b243b;
  --amou-card: #091c30;
  --amou-border: #0c4f82;
  --amou-blue: #159fe5;
  --amou-cyan: #35c7ff;
  --amou-button-gradient: linear-gradient(105deg, #0b5f98 0%, #159fe5 54%, #35c7ff 100%);
  --amou-button-gradient-hover: linear-gradient(105deg, #1179b8 0%, #28b5f1 54%, #68d8ff 100%);
  --amou-page-gradient: radial-gradient(980px 720px at 50% 42%, rgba(2, 8, 16, .98) 0%, rgba(5, 15, 27, .9) 44%, transparent 78%), linear-gradient(90deg, var(--amou-bg-edge) 0%, #061626 23%, var(--amou-bg-deep) 50%, #061626 77%, var(--amou-bg-edge) 100%);
  --amou-ink: #eaf6ff;
  --amou-muted: #91afc4;
  --bg: var(--amou-bg);
  --bg-soft: var(--amou-panel);
  --panel: rgba(11, 36, 59, .78);
  --panel-strong: rgba(6, 19, 33, .95);
  --ink: var(--amou-ink);
  --muted: var(--amou-muted);
  --dim: #66839a;
  --line: rgba(101, 177, 220, .18);
  --lime: var(--amou-blue);
  --lime-soft: var(--amou-cyan);
  --violet: #245b96;
  --navy-950: var(--amou-bg-deep);
  --navy-900: #0a2038;
  --navy-800: #104a7a;
  --blue-600: var(--amou-blue);
  --blue-400: var(--amou-cyan);
  --electric-blue: var(--amou-cyan);
  --ice-200: #b9eaff;
  --ice-100: #eaf6fc;
  --graphite: #637d91;
  --white: #f3f9ff;
}

html,
body {
  background: var(--amou-page-gradient) !important;
}

body {
  color: var(--amou-ink);
}

body::before {
  background: var(--amou-page-gradient) !important;
}

body.home-page,
body.ai-tools-page,
body.portfolio-browser-page,
body.portfolio-project-page {
  background: var(--amou-page-gradient) !important;
}

body.home-page::before,
body.ai-tools-page::before,
body.portfolio-browser-page::before,
body.portfolio-project-page::before {
  background: var(--amou-page-gradient) !important;
}

.site-header {
  border-color: rgba(12, 79, 130, .76) !important;
  background:
    linear-gradient(90deg, rgba(12, 79, 130, .25), rgba(6, 19, 33, .94) 30%, rgba(6, 19, 33, .94) 70%, rgba(12, 79, 130, .2)) !important;
  box-shadow: 0 16px 52px rgba(0, 0, 0, .34), 0 0 28px rgba(21, 159, 229, .1) !important;
}

.brand-wordmark {
  filter: brightness(0) invert(1) !important;
}

.brand-pill,
.site-nav a.is-active,
.showcase-filter.is-active,
.contact-pill:hover,
.contact-pill:focus-visible {
  color: #fff !important;
  background: var(--amou-button-gradient) !important;
  border-color: var(--amou-cyan) !important;
  box-shadow: 0 0 20px rgba(53, 199, 255, .22) !important;
}

/* All user-facing action controls share one restrained blue gradient. */
.button,
.project-end-return__button,
.prompt-search button,
.prompt-dialog button,
.showcase-video-dialog__header button,
.showcase-image-dialog__header > button,
.work-card button,
.portfolio-showcase__control,
.showcase-filter {
  --control-gradient: var(--amou-button-gradient);
  --control-gradient-hover: var(--amou-button-gradient-hover);
}

.showcase-filter {
  color: rgba(234, 246, 255, .72) !important;
  border-color: rgba(12, 79, 130, .72) !important;
  background: linear-gradient(110deg, rgba(11, 95, 152, .34), rgba(6, 22, 38, .86)) !important;
}

.button.primary,
.project-end-return__button,
.prompt-search button:not([hidden]),
.prompt-dialog button.primary,
.showcase-video-dialog__header button:hover,
.showcase-video-dialog__header button:focus-visible,
.showcase-image-dialog__header > button:hover,
.showcase-image-dialog__header > button:focus-visible,
.work-card:hover button,
.work-card:focus-within button,
.portfolio-showcase__control:hover,
.portfolio-showcase__control:focus-visible,
.showcase-filter.is-active,
.showcase-filter:hover,
.showcase-filter:focus-visible {
  color: #061321 !important;
  background: var(--amou-button-gradient) !important;
  border-color: var(--amou-cyan) !important;
  box-shadow: 0 0 18px rgba(21, 159, 229, .2) !important;
}

.button.primary:hover,
.button.primary:focus-visible,
.project-end-return__button:hover,
.project-end-return__button:focus-visible,
.prompt-search button:hover,
.prompt-search button:focus-visible,
.prompt-dialog button.primary:hover,
.prompt-dialog button.primary:focus-visible,
.showcase-video-dialog__header button:hover,
.showcase-video-dialog__header button:focus-visible,
.showcase-image-dialog__header > button:hover,
.showcase-image-dialog__header > button:focus-visible,
.work-card:hover button:hover,
.work-card:focus-within button:hover,
.portfolio-showcase__control:hover,
.portfolio-showcase__control:focus-visible,
.showcase-filter:hover,
.showcase-filter:focus-visible {
  background: var(--amou-button-gradient-hover) !important;
}

.showcase-video-dialog__process-link {
  color: var(--amou-cyan) !important;
  border-color: rgba(53, 199, 255, .28) !important;
  background: rgba(21, 159, 229, .06) !important;
}

.site-nav {
  border-color: rgba(12, 79, 130, .68) !important;
  background: rgba(6, 19, 33, .84) !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .32), 0 0 24px rgba(21, 159, 229, .08) !important;
}

.site-nav a:hover:not(.is-active) {
  color: var(--amou-ink) !important;
  background: rgba(53, 199, 255, .08) !important;
}

.site-nav a:focus-visible,
.contact-pill:focus-visible,
.skip-link:focus-visible {
  outline-color: var(--amou-cyan) !important;
}

.gooey-effect,
.gooey-effect.filter::after,
.nav-particle {
  background: var(--amou-cyan) !important;
}

.gooey-effect.filter::after {
  box-shadow: 0 0 0 1px rgba(53, 199, 255, .9), 0 0 20px rgba(53, 199, 255, .36) !important;
}

.page-scroll-progress i,
.opening-loader-bar i,
.opening-scroll-mouse i {
  background: var(--amou-cyan) !important;
  box-shadow: 0 0 6px rgba(53, 199, 255, .36) !important;
}

.content-cover {
  border-top-color: rgba(12, 79, 130, .56) !important;
  background: var(--amou-page-gradient) !important;
}

.portfolio-showcase,
.works,
.experience,
.portfolio-categories,
.strengths,
.contact,
.ai-tools-showcase,
.prompt-library {
  color: var(--amou-ink);
}

.section-label,
.hero-kicker,
.section-label > span:not(.shiny-text),
.detail-kicker,
.career-log-label,
.education-history__icon,
.identity-symbol,
.experience-role-primary strong,
.experience-keyword,
.career-entry time,
.ai-tools-page .showcase-filter.is-active,
.ai-tools-page .prompt-library__eyebrow {
  color: var(--amou-cyan) !important;
}

.section-heading,
.experience .section-heading,
.identity-meta,
.education-history,
.education-history__heading,
.education-history__item,
.identity-line,
.skill-strip,
.career-entry,
.project-case-section,
.project-detail-pane__header,
.prompt-library__toolbar {
  border-color: rgba(101, 177, 220, .18) !important;
}

.profile-card,
.skill-strip,
.career-entry,
.ai-tool-card__media,
.portfolio-showcase__card,
.project-motion-card__frame,
.prompt-library__panel {
  background-color: var(--amou-card) !important;
}

.profile-card,
.skill-strip,
.career-entry:hover,
.career-entry:focus-visible,
.career-entry.is-active,
.portfolio-showcase__card:hover,
.portfolio-showcase__card:focus-visible,
.ai-tool-card:hover .ai-tool-card__media,
.project-motion-card:hover .project-motion-card__frame {
  border-color: rgba(53, 199, 255, .68) !important;
  box-shadow: 0 0 24px rgba(21, 159, 229, .12) !important;
}

.career-track,
.career-track i,
.career-node,
.career-entry-details li::before,
.career-entry-more-cue i {
  background-color: var(--amou-cyan) !important;
  border-color: var(--amou-cyan) !important;
  box-shadow: 0 0 10px rgba(53, 199, 255, .34) !important;
}

.career-entry::before,
.career-entry-more-cue::before {
  background: linear-gradient(90deg, transparent, rgba(53, 199, 255, .18), var(--amou-cyan), rgba(53, 199, 255, .18), transparent) !important;
  box-shadow: 0 0 10px rgba(53, 199, 255, .24) !important;
}

.career-entry.is-current {
  background: linear-gradient(90deg, rgba(21, 159, 229, .08), transparent 48%), var(--amou-card) !important;
}

.profile-card-glow {
  background: radial-gradient(circle at var(--profile-shine-x) var(--profile-shine-y), rgba(53, 199, 255, .2), transparent 34%), linear-gradient(145deg, rgba(12, 79, 130, .2), rgba(53, 199, 255, .08) 58%, rgba(6, 19, 33, .06)) !important;
}

.profile-card-shine {
  background: radial-gradient(circle at var(--profile-shine-x) var(--profile-shine-y), rgba(255, 255, 255, .42), rgba(185, 234, 255, .12) 16%, transparent 42%), linear-gradient(112deg, transparent 28%, rgba(234, 246, 255, .12) 47%, transparent 66%) !important;
}

.portfolio-showcase__card,
.portfolio-showcase__carousel:focus-visible,
.showcase-filter:focus-visible,
.ai-tool-card:focus-visible,
.prompt-library button:focus-visible,
.case-progress,
.category-card:focus-visible,
.project-scroll-top:focus-visible {
  outline-color: var(--amou-cyan) !important;
}

.portfolio-showcase__card,
.category-card,
.project-case-meta__type,
.project-case-meta__tool {
  --showcase-card-accent: var(--amou-blue) !important;
}

.portfolio-showcase__card-number {
  color: #061321 !important;
  background: var(--amou-button-gradient) !important;
  box-shadow: 0 0 20px rgba(21, 159, 229, .24) !important;
}

.portfolio-showcase__card-copy small,
.portfolio-showcase__card-copy i {
  color: var(--amou-cyan) !important;
  text-shadow: 0 0 12px rgba(53, 199, 255, .2) !important;
}

.portfolio-showcase__card.is-active:hover .portfolio-showcase__card-number,
.portfolio-showcase__card.is-active:focus-visible .portfolio-showcase__card-number {
  background: var(--amou-button-gradient-hover) !important;
}

.portfolio-showcase__control:hover,
.portfolio-showcase__control:focus-visible,
.showcase-filter:hover,
.showcase-filter:focus-visible,
.prompt-library button:hover,
.prompt-library button:focus-visible {
  color: #061321 !important;
  border-color: var(--amou-cyan) !important;
  background: var(--amou-button-gradient-hover) !important;
}

/* Product detail page shell: keep A+ white surfaces and product images intact. */
.site-header,
.store-nav,
.poster-nav {
  color: var(--amou-ink) !important;
}

.store-nav,
.poster-nav {
  background: rgba(6, 19, 33, .94) !important;
  border-bottom-color: rgba(12, 79, 130, .76) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .24), 0 0 24px rgba(21, 159, 229, .1) !important;
}

.nav-links a:hover,
.back-link:hover,
.button:hover,
.detail-scroll-top:hover,
.detail-scroll-top:focus-visible,
.store-nav__link:hover,
.store-nav__link:focus-visible,
.poster-nav__link:hover,
.poster-nav__link:focus-visible {
  color: var(--amou-cyan) !important;
  border-color: var(--amou-cyan) !important;
}

.button.primary,
.detail-scroll-top,
.store-nav__link--home,
.poster-nav__link--home {
  color: #061321 !important;
  border-color: var(--amou-cyan) !important;
  background: var(--amou-button-gradient) !important;
  box-shadow: 0 0 24px rgba(53, 199, 255, .22) !important;
}

.button.primary:hover,
.button.primary:focus-visible,
.detail-scroll-top:hover,
.detail-scroll-top:focus-visible,
.store-nav__link--home:hover,
.store-nav__link--home:focus-visible,
.poster-nav__link--home:hover,
.poster-nav__link--home:focus-visible {
  background: var(--amou-button-gradient-hover) !important;
}

.hero,
.stats,
.scene-section,
.listing-section,
.final,
.product-car .hero,
.product-waist .hero,
.product-folding .hero,
.product-desk .hero,
.product-warmer .hero {
  background: var(--amou-page-gradient) !important;
}

.scene-card,
.stat,
.detail-card,
.analysis-panel,
.typography-panel {
  border-color: rgba(101, 177, 220, .18) !important;
  background-color: var(--amou-card) !important;
}

/* Interactive portrait page. */
html.ip-page-root,
html.ip-page-root body,
html.ip-page-root body main > :not(.portrait) {
  background: var(--amou-page-gradient) !important;
}

.page-scroll-progress i,
.ip-page-root .back-to-top,
.ip-page-root .portrait__signal,
.ip-page-root .closing-return-cue i {
  background: var(--amou-cyan) !important;
  color: var(--amou-cyan) !important;
  border-color: var(--amou-cyan) !important;
}

.ip-page-root .back-to-top:hover,
.ip-page-root .back-to-top:focus-visible,
.ip-page-root .closing-return-cue:hover,
.ip-page-root .closing-return-cue:focus-visible,
.ip-page-root .expression-item:focus-visible,
.ip-page-root .motion-card__media:focus-visible {
  outline-color: var(--amou-cyan) !important;
  box-shadow: 0 0 18px rgba(53, 199, 255, .16) !important;
}

.ip-page-root .motion-card__meta {
  color: var(--amou-cyan) !important;
}

/* Fallback page. */
body:has(> main > a[href="/"]) {
  background: var(--amou-bg-deep) !important;
}

body:has(> main > a[href="/"]) main {
  border-color: rgba(53, 199, 255, .4) !important;
  background: rgba(11, 36, 59, .78) !important;
}

body:has(> main > a[href="/"]) small {
  color: var(--amou-cyan) !important;
}

body:has(> main > a[href="/"]) a {
  color: #061321 !important;
  background: var(--amou-cyan) !important;
}

/* Homepage mode: show the resume content immediately without the opening film. */
.home-page.opening-disabled .opening-hero {
  display: none !important;
}

.home-page.opening-disabled .content-cover {
  margin-top: 0 !important;
}

.home-page.opening-disabled .site-header {
  visibility: visible !important;
  pointer-events: auto !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Keep homepage small interactive controls on one blue border system. */
.home-page .works-3d-controls,
.home-page .portfolio-showcase__controls {
  border-color: rgba(53, 199, 255, .42) !important;
  box-shadow:
    0 14px 38px rgba(0, 0, 0, .32),
    0 0 24px rgba(53, 199, 255, .1),
    inset 0 0 0 1px rgba(255, 255, 255, .035) !important;
}

.home-page .works-3d-control,
.home-page .portfolio-showcase__control,
.home-page .showcase-filter,
.home-page .skill-strip-item,
.home-page .opening-skip,
.home-page .case-arrow,
.home-page .showcase-image-dialog__arrow,
.home-page [data-showcase-video-close],
.home-page [data-showcase-image-close],
.home-page .case-close {
  border-color: rgba(53, 199, 255, .42) !important;
}

.home-page .works-3d-control:hover,
.home-page .works-3d-control:focus-visible,
.home-page .portfolio-showcase__control:hover,
.home-page .portfolio-showcase__control:focus-visible,
.home-page .showcase-filter:hover,
.home-page .showcase-filter:focus-visible,
.home-page .skill-strip-item:hover,
.home-page .skill-strip-item:focus-visible,
.home-page .opening-skip:hover,
.home-page .opening-skip:focus-visible,
.home-page .case-arrow:hover,
.home-page .case-arrow:focus-visible,
.home-page .showcase-image-dialog__arrow:hover,
.home-page .showcase-image-dialog__arrow:focus-visible,
.home-page [data-showcase-video-close]:hover,
.home-page [data-showcase-video-close]:focus-visible,
.home-page [data-showcase-image-close]:hover,
.home-page [data-showcase-image-close]:focus-visible,
.home-page .case-close:hover,
.home-page .case-close:focus-visible {
  border-color: var(--amou-cyan) !important;
}

/* Keep both homepage segmented navigations on one blue interaction system.
   Scope every visual state explicitly so older lime rules in styles.css cannot
   leak into either the AIGC switch or the ecommerce detail switch. */
.home-page .aigc-mode-switch,
.home-page [data-showcase-ecommerce-filters] .showcase-mode-switch {
  --segmented-blue: #159fe5;
  --segmented-cyan: #35c7ff;
  --segmented-deep: #071a2b;
}

.home-page .aigc-mode-switch::after,
.home-page [data-showcase-ecommerce-filters] .showcase-mode-switch::after {
  background: linear-gradient(90deg, transparent, rgba(53, 199, 255, .72) 22%, rgba(21, 159, 229, .18) 68%, transparent) !important;
}

.home-page .aigc-mode-switch .showcase-filter,
.home-page [data-showcase-ecommerce-filters] .showcase-filter {
  color: rgba(234, 246, 255, .72) !important;
  background: linear-gradient(110deg, rgba(11, 95, 152, .34), rgba(6, 22, 38, .9)) !important;
  border-color: rgba(53, 199, 255, .34) !important;
}

.home-page .aigc-mode-switch .showcase-filter::before,
.home-page [data-showcase-ecommerce-filters] .showcase-filter::before {
  background:
    linear-gradient(90deg, rgba(53, 199, 255, .2), rgba(21, 159, 229, .07)),
    var(--segmented-deep) !important;
  box-shadow: inset 0 -3px 0 var(--segmented-cyan) !important;
}

.home-page .aigc-mode-switch .showcase-filter:hover,
.home-page .aigc-mode-switch .showcase-filter:focus-visible,
.home-page [data-showcase-ecommerce-filters] .showcase-filter:hover,
.home-page [data-showcase-ecommerce-filters] .showcase-filter:focus-visible {
  color: #061321 !important;
  background: linear-gradient(110deg, #159fe5, #35c7ff) !important;
  border-color: var(--segmented-cyan) !important;
  box-shadow: 0 0 18px rgba(53, 199, 255, .2) !important;
}

.home-page .aigc-mode-switch .showcase-filter[aria-current="page"],
.home-page .aigc-mode-switch .showcase-filter[aria-pressed="true"],
.home-page [data-showcase-ecommerce-filters] .showcase-filter[aria-current="page"],
.home-page [data-showcase-ecommerce-filters] .showcase-filter[aria-pressed="true"] {
  color: #fff !important;
  background: rgba(7, 26, 43, .94) !important;
  border-color: var(--segmented-cyan) !important;
  box-shadow: 0 0 20px rgba(53, 199, 255, .16) !important;
}

.home-page .aigc-mode-switch .showcase-filter[aria-current="page"] .showcase-filter__index,
.home-page .aigc-mode-switch .showcase-filter[aria-current="page"] .showcase-filter__label,
.home-page .aigc-mode-switch .showcase-filter[aria-pressed="true"] .showcase-filter__index,
.home-page .aigc-mode-switch .showcase-filter[aria-pressed="true"] .showcase-filter__label,
.home-page [data-showcase-ecommerce-filters] .showcase-filter[aria-current="page"] .showcase-filter__index,
.home-page [data-showcase-ecommerce-filters] .showcase-filter[aria-current="page"] .showcase-filter__label,
.home-page [data-showcase-ecommerce-filters] .showcase-filter[aria-pressed="true"] .showcase-filter__index,
.home-page [data-showcase-ecommerce-filters] .showcase-filter[aria-pressed="true"] .showcase-filter__label {
  color: #fff !important;
}

.home-page .aigc-mode-switch .showcase-filter[aria-current="page"] .showcase-filter__marker,
.home-page .aigc-mode-switch .showcase-filter[aria-pressed="true"] .showcase-filter__marker,
.home-page [data-showcase-ecommerce-filters] .showcase-filter[aria-current="page"] .showcase-filter__marker,
.home-page [data-showcase-ecommerce-filters] .showcase-filter[aria-pressed="true"] .showcase-filter__marker {
  color: var(--segmented-cyan) !important;
  border-color: var(--segmented-cyan) !important;
}

/* The category pager should float over the scene instead of reading as a
   second viewport. Keep the controls legible, but remove the hard rail/frame
   that competes with the cards above it. */
.home-page #portfolio-categories .category-swap__controls {
  border-color: transparent !important;
  background: radial-gradient(
    ellipse 34% 90% at 50% 50%,
    rgba(53, 199, 255, .055),
    transparent 100%
  ) !important;
  box-shadow: none !important;
}

/* Unify all TVC video detail dialogs with the technology-blue palette. */
.showcase-video-dialog {
  color: var(--amou-ink) !important;
  background: rgba(2, 8, 16, .9) !important;
}

.showcase-video-dialog__shell {
  border-color: rgba(53, 199, 255, .42) !important;
  background: #030e1a !important;
  box-shadow: 0 36px 110px rgba(0, 0, 0, .72), 0 0 34px rgba(21, 159, 229, .12) !important;
}

.showcase-video-dialog__header {
  border-bottom-color: rgba(53, 199, 255, .2) !important;
}

.showcase-video-dialog__header [data-showcase-video-eyebrow] {
  color: var(--amou-cyan) !important;
}

.showcase-video-dialog__header h2 {
  color: var(--amou-ink) !important;
}

.showcase-video-dialog__production-note {
  border-left-color: rgba(53, 199, 255, .28) !important;
  color: rgba(234, 246, 255, .72) !important;
}

.showcase-video-dialog__header button {
  border-color: rgba(53, 199, 255, .42) !important;
  color: var(--amou-ink) !important;
}

.showcase-video-dialog__header button:hover,
.showcase-video-dialog__header button:focus-visible {
  border-color: var(--amou-cyan) !important;
  color: #fff !important;
  background: var(--amou-button-gradient-hover) !important;
}

.showcase-video-controls button {
  border-color: rgba(53, 199, 255, .48) !important;
}

.showcase-video-controls button:focus-visible,
.showcase-video-controls input:focus-visible {
  outline-color: var(--amou-cyan) !important;
}

.showcase-video-controls__timeline input {
  accent-color: var(--amou-cyan) !important;
}

.showcase-video-dialog__process-link {
  border-top-color: rgba(53, 199, 255, .28) !important;
  color: var(--amou-cyan) !important;
  background: rgba(21, 159, 229, .06) !important;
}

/* Complete the blue treatment for the poster-detail top navigation. */
.poster-nav__index,
.poster-nav__arrow,
.poster-nav__brand:hover,
.poster-nav__brand:focus-visible,
.poster-nav__link:hover,
.poster-nav__link:focus-visible {
  color: var(--amou-cyan) !important;
}

.poster-nav__index::before,
.poster-nav__index::after,
.poster-nav__link--home::before,
.poster-nav__link--home::after {
  background-color: transparent !important;
  border-color: var(--amou-cyan) !important;
}

.poster-nav__link--home:hover::before,
.poster-nav__link--home:hover::after,
.poster-nav__link--home:focus-visible::before,
.poster-nav__link--home:focus-visible::after {
  border-color: var(--amou-cyan) !important;
}

.poster-nav .detail-scroll-top {
  border-color: var(--amou-cyan) !important;
  color: #061321 !important;
  background: var(--amou-button-gradient) !important;
  box-shadow: 0 0 24px rgba(53, 199, 255, .2) !important;
}

.poster-nav .detail-scroll-top:hover,
.poster-nav .detail-scroll-top:focus-visible {
  box-shadow: 0 0 0 4px rgba(53, 199, 255, .16), 0 0 30px rgba(53, 199, 255, .32) !important;
}

/* Apply the same blue treatment to the 1688 store-detail navigation. */
.store-nav__index,
.store-nav__arrow,
.store-nav__brand:hover,
.store-nav__brand:focus-visible,
.store-nav__link:hover,
.store-nav__link:focus-visible {
  color: var(--amou-cyan) !important;
}

.store-nav__index::before,
.store-nav__index::after,
.store-nav__link::after,
.store-nav__link--home::before,
.store-nav__link--home::after {
  background-color: transparent !important;
  border-color: var(--amou-cyan) !important;
}

.store-nav__link::after {
  background: var(--amou-cyan) !important;
}

.store-nav__link--home:hover::before,
.store-nav__link--home:hover::after,
.store-nav__link--home:focus-visible::before,
.store-nav__link--home:focus-visible::after {
  border-color: var(--amou-cyan) !important;
}

.store-nav .detail-scroll-top {
  border-color: var(--amou-cyan) !important;
  color: #061321 !important;
  background: var(--amou-button-gradient) !important;
  box-shadow: 0 0 24px rgba(53, 199, 255, .2) !important;
}

.store-nav .detail-scroll-top:hover,
.store-nav .detail-scroll-top:focus-visible {
  box-shadow: 0 0 0 4px rgba(53, 199, 255, .16), 0 0 30px rgba(53, 199, 255, .32) !important;
}

/* Recolor the homepage strength-card SVG icons to the blue/cyan system. */
.home-page .strength-card {
  --strength-icon-line: rgba(169, 214, 236, .72);
  --strength-icon-panel: rgba(25, 58, 78, .9);
  --strength-icon-panel-soft: rgba(53, 199, 255, .12);
  --strength-icon-detail: rgba(234, 246, 255, .8);
  --strength-icon-lime: var(--amou-cyan);
  --strength-icon-violet: var(--amou-blue);
}

@media (hover: hover) and (pointer: fine) {
  .home-page .strength-card:hover .strength-card__icon {
    filter:
      drop-shadow(0 10px 20px rgba(0, 0, 0, .34))
      drop-shadow(0 0 13px rgba(53, 199, 255, .16)) !important;
  }

  .home-page .strength-card:hover .strength-icon__rail {
    stroke: rgba(185, 234, 255, .9) !important;
  }
}

/* Recolor the portfolio-category card interaction glow. */
.home-page .category-swap::before {
  background:
    radial-gradient(circle at 68% 52%, rgba(53, 199, 255, .18), transparent 34%),
    radial-gradient(circle at 52% 44%, rgba(21, 159, 229, .14), transparent 42%) !important;
}

.home-page .category-card::before {
  background:
    linear-gradient(0deg, rgba(1, 5, 12, .88) 0%, rgba(1, 5, 12, .42) 46%, rgba(1, 5, 12, .08) 100%),
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, .18), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, .13), transparent 32%, rgba(53, 199, 255, .08)) !important;
}

.home-page .category-card:hover,
.home-page .category-card:focus-visible {
  border-color: var(--amou-cyan) !important;
  box-shadow:
    0 34px 96px rgba(0, 0, 0, .44),
    0 0 38px rgba(53, 199, 255, .16),
    inset 0 0 0 1px rgba(255, 255, 255, .12) !important;
}

/* Unify the prompt-library background, controls, cards, and typography. */
.ai-tools-page {
  background: var(--amou-page-gradient) !important;
}

.ai-tools-page .prompt-library {
  --prompt-library-bg-start: #06182a;
  --prompt-library-bg-mid: #061a2d;
  --prompt-library-bg-end: #071b2e;
  border-top-color: rgba(53, 199, 255, .2) !important;
  background:
    linear-gradient(rgba(53, 199, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 199, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, var(--prompt-library-bg-start) 0%, var(--prompt-library-bg-mid) 58%, var(--prompt-library-bg-end) 100%) !important;
  background-size: 42px 42px, 42px 42px, 100% 100% !important;
}

.ai-tools-page .prompt-library::before {
  background: none !important;
}

@media (min-width: 761px) {
  .ai-tools-page .prompt-library__sticky::before {
    background:
      linear-gradient(rgba(53, 199, 255, .028) 1px, transparent 1px),
      linear-gradient(90deg, rgba(53, 199, 255, .028) 1px, transparent 1px),
      linear-gradient(90deg, var(--prompt-library-bg-start) 0%, var(--prompt-library-bg-mid) 58%, var(--prompt-library-bg-end) 100%) !important;
    background-size: 42px 42px, 42px 42px, 100% 100% !important;
    box-shadow: 0 20px 26px rgba(6, 24, 42, .82) !important;
  }
}

.ai-tools-page .prompt-library__title,
.ai-tools-page .prompt-card__title,
.ai-tools-page .prompt-dialog h2 {
  color: var(--amou-ink) !important;
}

.ai-tools-page .prompt-library__title [data-prompt-library-sticky-anchor] {
  color: rgba(234, 246, 255, .62) !important;
}

.ai-tools-page .prompt-library__eyebrow,
.ai-tools-page .prompt-library__meta output,
.ai-tools-page .prompt-card__meta span:first-child,
.ai-tools-page .prompt-card__action i,
.ai-tools-page .prompt-dialog__eyebrow,
.ai-tools-page .ai-tools-footer a {
  color: var(--amou-cyan) !important;
}

.ai-tools-page .prompt-search {
  background: linear-gradient(105deg, rgba(53, 199, 255, .62), rgba(53, 199, 255, .1) 55%, rgba(234, 246, 255, .16)) !important;
}

.ai-tools-page .prompt-search::after {
  background: linear-gradient(90deg, var(--amou-cyan), rgba(53, 199, 255, 0)) !important;
}

.ai-tools-page .prompt-search input,
.ai-tools-page .prompt-search button {
  color: var(--amou-ink) !important;
  background: var(--amou-card) !important;
}

.ai-tools-page .prompt-search__icon {
  border-color: var(--amou-cyan) !important;
}

.ai-tools-page .prompt-search__icon::after {
  background: var(--amou-cyan) !important;
}

.ai-tools-page .prompt-search input:focus-visible,
.ai-tools-page .prompt-search button:focus-visible,
.ai-tools-page .prompt-card__copy:focus-visible {
  outline-color: var(--amou-cyan) !important;
}

.ai-tools-page .prompt-library__filters {
  scrollbar-color: rgba(53, 199, 255, .4) transparent !important;
}

.ai-tools-page .prompt-filter {
  border-color: rgba(53, 199, 255, .24) !important;
  color: rgba(234, 246, 255, .68) !important;
  background: rgba(9, 28, 48, .82) !important;
}

.ai-tools-page .prompt-filter b {
  color: rgba(234, 246, 255, .42) !important;
}

.ai-tools-page .prompt-filter:hover,
.ai-tools-page .prompt-filter:focus-visible {
  border-color: var(--amou-cyan) !important;
  color: var(--amou-ink) !important;
  background: rgba(21, 159, 229, .12) !important;
}

.ai-tools-page .prompt-filter[aria-pressed="true"] {
  border-color: var(--amou-cyan) !important;
  color: #fff !important;
  background: var(--amou-button-gradient) !important;
  box-shadow: 0 0 26px rgba(53, 199, 255, .18) !important;
}

.ai-tools-page .prompt-filter[aria-pressed="true"] b {
  color: rgba(255, 255, 255, .78) !important;
}

.ai-tools-page .prompt-filter:focus-visible,
.ai-tools-page .prompt-card__open:focus-visible,
.ai-tools-page .prompt-dialog button:focus-visible {
  outline-color: var(--amou-cyan) !important;
}

.ai-tools-page .prompt-card {
  border-color: rgba(53, 199, 255, .22) !important;
  background: rgba(9, 28, 48, .96) !important;
}

.ai-tools-page .prompt-card:hover {
  border-color: rgba(53, 199, 255, .72) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .3), 0 0 26px rgba(53, 199, 255, .12) !important;
}

.ai-tools-page .prompt-card__media {
  background:
    linear-gradient(135deg, rgba(53, 199, 255, .1), transparent 42%),
    #0b2038 !important;
}

.ai-tools-page .prompt-card__media.is-error::before {
  color: rgba(53, 199, 255, .62) !important;
}

.ai-tools-page .prompt-card__meta,
.ai-tools-page .prompt-card__action {
  color: rgba(234, 246, 255, .62) !important;
}

.ai-tools-page .prompt-dialog {
  border-color: rgba(53, 199, 255, .42) !important;
  color: var(--amou-ink) !important;
  background: #030e1a !important;
}

.ai-tools-page .prompt-dialog__close,
.ai-tools-page .prompt-dialog__prompt-heading button {
  border-color: rgba(53, 199, 255, .42) !important;
  color: var(--amou-ink) !important;
  background: rgba(6, 22, 38, .9) !important;
}

.ai-tools-page .prompt-dialog__close:hover,
.ai-tools-page .prompt-dialog__close:focus-visible,
.ai-tools-page .prompt-dialog__prompt-heading button:hover,
.ai-tools-page .prompt-dialog__prompt-heading button:focus-visible {
  border-color: var(--amou-cyan) !important;
  color: #fff !important;
  background: var(--amou-button-gradient-hover) !important;
}

.ai-tools-page .prompt-dialog__close span {
  color: var(--amou-cyan) !important;
}

.ai-tools-page .prompt-dialog__media {
  background: #0b2038 !important;
}

.ai-tools-page .prompt-dialog__meta span,
.ai-tools-page .prompt-dialog__tags span {
  border-color: rgba(53, 199, 255, .24) !important;
  color: rgba(234, 246, 255, .66) !important;
}

.ai-tools-page .prompt-dialog__prompt {
  border-top-color: rgba(53, 199, 255, .24) !important;
}

.ai-tools-page .prompt-dialog__prompt-heading {
  color: rgba(234, 246, 255, .68) !important;
}

.ai-tools-page .prompt-dialog pre {
  border-color: rgba(53, 199, 255, .18) !important;
  color: rgba(234, 246, 255, .82) !important;
  background: rgba(6, 22, 38, .78) !important;
}

.ai-tools-page .ai-tools-footer {
  border-top-color: rgba(53, 199, 255, .18) !important;
  color: rgba(234, 246, 255, .58) !important;
}

.ai-tools-page .ai-tools-scroll-top {
  border-color: var(--amou-cyan) !important;
  color: #061321 !important;
  background: var(--amou-button-gradient) !important;
  box-shadow: 0 0 24px rgba(53, 199, 255, .2) !important;
}

.ai-tools-page .ai-tools-scroll-top:hover,
.ai-tools-page .ai-tools-scroll-top:focus-visible {
  box-shadow: 0 0 0 4px rgba(53, 199, 255, .16), 0 0 30px rgba(53, 199, 255, .32) !important;
}

/* Match the secondary-page return button's lower edge glow to the blue theme. */
.portfolio-project-page .detail-back,
.portfolio-browser-page .detail-back {
  border-color: rgba(53, 199, 255, .52) !important;
  box-shadow: 0 0 28px rgba(53, 199, 255, .18) !important;
}

.portfolio-project-page .detail-back:hover,
.portfolio-project-page .detail-back:focus-visible,
.portfolio-browser-page .detail-back:hover,
.portfolio-browser-page .detail-back:focus-visible {
  border-color: var(--amou-cyan) !important;
  box-shadow: 0 0 42px rgba(53, 199, 255, .28) !important;
}

/* Use the same cyan accent for secondary-page card hover emphasis. */
.portfolio-browser-page .detail-work-card:hover,
.portfolio-browser-page .portfolio-media-card:hover,
.portfolio-browser-page .portfolio-media-card:focus-visible,
.portfolio-project-page .detail-work-card:hover,
.portfolio-project-page .portfolio-media-card:hover,
.portfolio-project-page .portfolio-media-card:focus-visible,
.portfolio-project-page.is-case-study .project-case-video:hover,
.portfolio-project-page.is-case-study .project-case-video:focus-visible,
.portfolio-project-page.is-case-study .project-motion-card:hover {
  border-color: var(--amou-cyan) !important;
  box-shadow: 0 34px 92px rgba(0, 0, 0, .36), 0 0 34px rgba(53, 199, 255, .14) !important;
}

/* Unify image-hover cursors and the interactive image edge glow. */
.works-3d-cursor,
.portfolio-showcase__wheel-cursor {
  border-color: rgba(53, 199, 255, .72) !important;
  color: rgba(234, 246, 255, .94) !important;
  background: rgba(6, 22, 38, .82) !important;
  box-shadow:
    0 12px 34px rgba(0, 0, 0, .3),
    0 0 24px rgba(53, 199, 255, .16),
    inset 0 0 0 1px rgba(255, 255, 255, .05) !important;
}

.works-3d-cursor i,
.portfolio-showcase__wheel-cursor {
  color: var(--amou-cyan) !important;
}

.works-3d.is-cursor-pressed .works-3d-cursor {
  border-color: var(--amou-cyan) !important;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, .36),
    0 0 30px rgba(53, 199, 255, .28),
    inset 0 0 0 1px rgba(255, 255, 255, .1) !important;
}

.works-3d-card.is-hovered::after,
.works-3d-card:hover::after {
  border-color: rgba(53, 199, 255, .72) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 0 24px rgba(53, 199, 255, .14) !important;
}

@media (prefers-reduced-motion: reduce) {
  .gooey-effect.filter::after,
  .nav-particle,
  .career-node,
  .career-entry-more-cue,
  .profile-card-glow,
  .profile-card-shine {
    box-shadow: none !important;
  }
}
