/* Flat orange / black / white — no gradients */
:root {
  --bg0: #ffffff;
  --bg1: #ffffff;
  --card: rgba(255, 255, 255, .06);
  --card2: rgba(255, 255, 255, .08);
  --stroke: rgba(0, 0, 0, .12);
  --stroke2: rgba(0, 0, 0, .18);
  --text70: rgba(0, 0, 0, .70);
  --text60: rgba(0, 0, 0, .60);
  --text80: rgba(0, 0, 0, .82);
  --orange: #ff6a00;
  --orange2: #ff8a2a;
  --shadow: 0 18px 60px rgba(0, 0, 0, .14);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg0);
  color: #000;
}

.text-white-70 {
  color: var(--text70) !important;
}

.text-white-60 {
  color: var(--text60) !important;
}

.text-white-80 {
  color: var(--text80) !important;
}

.border-white-10 {
  border-color: var(--stroke) !important;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.text-balance {
  text-wrap: balance;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  background: #000;
  border: 1px solid var(--stroke2);
  border-radius: 999px;
  z-index: 9999;
}

/* Nav */
.site-header {
  backdrop-filter: saturate(140%) blur(10px);
}

.glass-nav {
  background: rgba(255, 255, 255, .90);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .08);
}

.navbar .nav-link {
  color: rgba(0, 0, 0, .74);
  border-radius: 999px;
  padding: .5rem .9rem;
}

.navbar .nav-link:hover {
  background: rgba(0, 0, 0, .04);
  color: #000;
}

.navbar .nav-link.active {
  background: rgba(255, 106, 0, .14);
  color: #000;
}

.navbar-brand {
  user-select: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--stroke);
  box-shadow: 0 16px 45px rgba(0, 0, 0, .35);
}

.brand-mark svg {
  width: 18px;
  height: 18px;
}

.brand-mark.sm {
  width: 32px;
  height: 32px;
  border-radius: 11px;
}

.brand-name {
  font-weight: 700;
  letter-spacing: .2px;
}

.brand-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, .64);
}

.brand-sub {
  color: rgba(0, 0, 0, .56);
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--stroke2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

/* Sections */
.section-pad {
  padding: 72px 0;
}

@media (max-width: 991.98px) {
  .section-pad {
    padding: 58px 0;
  }
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

@media (max-width: 767.98px) {
  .section-head {
    flex-direction: column;
    align-items: start;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -2px;
  background: transparent;
  pointer-events: none;
  filter: none;
}

.eyebrow {
  padding: .45rem .7rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255, 106, 0, .08);
  color: rgba(0, 0, 0, .78);
}

.eyebrow svg {
  width: 16px;
  height: 16px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 420px) {
  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

.metric {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 12px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: #fff;
}

.metric-icon {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke);
  background: rgba(255, 106, 0, .10);
}

.metric-icon svg {
  width: 18px;
  height: 18px;
}

.metric-value {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .2px;
}

.metric-label {
  font-size: 12px;
  color: var(--text60);
}

.card-glow {
  position: relative;
  border-radius: 22px;
}

.hero-carousel {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero-slide {
  height: 360px;
  position: relative;
  display: flex;
  align-items: end;
  padding: 16px;
  background: #fff;
}

@media (max-width: 991.98px) {
  .hero-slide {
    height: 320px;
  }
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 65%, rgba(0,0,0,0) 100%);
}

.hero-slide-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.hero-slide-content h3 {
  color: #fff !important;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.badge.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .45rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: #fff;
  color: rgba(0, 0, 0, .80);
  font-weight: 600;
}

.badge.pill svg {
  width: 16px;
  height: 16px;
}

/* “AIGC” slide art (no local images required) */
.slide-mall {
  background-image: url('../../images/hero/mall.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(0, 0, 0, .10);
}

.slide-street {
  background-image: url('../../images/hero/street.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(0, 0, 0, .10);
}

.slide-window {
  background-image: url('../../images/hero/window.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(0, 0, 0, .10);
}

.slide-exhibition {
  background-image: url('../../images/hero/exhibition.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(0, 0, 0, .10);
}

.logo-note {
  font-size: 12px;
  color: rgba(255, 255, 255, .60);
  display: flex;
  align-items: center;
}

.logo-note svg {
  width: 14px;
  height: 14px;
}

/* Buttons */
.btn-primary {
  background: var(--orange);
  color: #000;
  border: 1px solid rgba(0, 0, 0, .12);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .10);
}

.btn-primary:hover {
  filter: saturate(110%) brightness(1.02);
}

.btn-outline-light {
  border-color: rgba(0, 0, 0, .18) !important;
}

.btn-outline-dark {
  border-color: rgba(0, 0, 0, .18) !important;
}

/* Button text should always be black */
.btn {
  color: #000 !important;
}

.btn:hover,
.btn:focus,
.btn:active {
  color: #000 !important;
}

.btn:disabled,
.btn.disabled {
  color: #000 !important;
  opacity: .55;
}

/* Feature cards */
.feature-card {
  height: 100%;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke);
  background: rgba(255, 106, 0, .10);
  margin-bottom: 10px;
}

.feature-icon svg {
  width: 18px;
  height: 18px;
}

/* Cases */
.case-card {
  height: 100%;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.case-top {
  padding: 16px;
}

.case-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .35rem .6rem;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: #fff;
  color: rgba(0, 0, 0, .74);
  font-size: 12px;
  margin-bottom: 10px;
}

.case-tag svg {
  width: 14px;
  height: 14px;
}

.case-media {
  padding: 0 16px 16px;
}

.media-tile {
  height: 190px;
  position: relative;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--stroke);
  border-radius: 14px;
}

.media-label {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, .60);
}

/* Tile variants (pure CSS placeholders) */
.tile-aigc {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .10);
}

.tile-real {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .10);
}

.tile-detail {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .10);
}

.tile-aigc.alt-1 {
  box-shadow: inset 0 0 0 1px rgba(255, 106, 0, .26);
}

.tile-real.alt-1 {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.tile-detail.alt-1 {
  box-shadow: inset 0 0 0 1px rgba(255, 106, 0, .16);
}

.tile-aigc.alt-2 {
  box-shadow: inset 0 0 0 1px rgba(255, 106, 0, .24);
}

.tile-real.alt-2 {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}

.tile-detail.alt-2 {
  box-shadow: inset 0 0 0 1px rgba(255, 106, 0, .14);
}

.tile-aigc.alt-3 {
  box-shadow: inset 0 0 0 1px rgba(255, 106, 0, .22);
}

.tile-real.alt-3 {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}

.tile-detail.alt-3 {
  box-shadow: inset 0 0 0 1px rgba(255, 106, 0, .14);
}

.tile-aigc.alt-4 {
  box-shadow: inset 0 0 0 1px rgba(255, 106, 0, .20);
}

.tile-real.alt-4 {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}

.tile-detail.alt-4 {
  box-shadow: inset 0 0 0 1px rgba(255, 106, 0, .12);
}

.tile-aigc.alt-5 {
  box-shadow: inset 0 0 0 1px rgba(255, 106, 0, .18);
}

.tile-real.alt-5 {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}

.tile-detail.alt-5 {
  box-shadow: inset 0 0 0 1px rgba(255, 106, 0, .12);
}

/* Gallery */
/* Gallery (flat, bright) */
.gallery-card {
  width: 100%;
  text-align: left;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: #fff;
  padding: 0;
  overflow: hidden;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.gallery-card:focus-visible {
  outline: 2px solid rgba(255, 106, 0, .65);
  outline-offset: 2px;
}

.gallery-card:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 0, 0, .22);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .10);
}

.gallery-media {
  position: relative;
  aspect-ratio: 16/9;
  height: auto;
  min-height: 180px;
  background: #fff;
  border-bottom: 1px solid var(--stroke);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  background: #fff;
}

.gallery-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #fff;
}

.thumb-flat-1,
.thumb-flat-2,
.thumb-flat-3,
.thumb-flat-4,
.thumb-flat-5,
.thumb-flat-6,
.thumb-flat-7 {
  background: #fff;
}

.gallery-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}

.media-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .35rem .55rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .16);
  color: #000;
  font-size: 12px;
}

.media-badge svg {
  width: 14px;
  height: 14px;
}

.gallery-meta {
  padding: 12px 12px 14px;
}

.gallery-meta .title {
  font-weight: 700;
  letter-spacing: .1px;
  color: #000;
}

.gallery-meta .tags {
  color: rgba(0, 0, 0, .62);
  font-size: 12px;
  margin-top: 2px;
}

.gallery-meta .note {
  color: rgba(0, 0, 0, .62);
  font-size: 13px;
  margin-top: 8px;
  line-height: 1.3;
}

/* Preview modal */
.preview-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 12px 0;
}

.preview-note {
  color: rgba(0, 0, 0, .70);
  font-size: 14px;
  line-height: 1.35;
}

.preview-sub {
  color: rgba(0, 0, 0, .55);
  font-size: 12px;
  white-space: nowrap;
}

.preview-carousel {
  margin-top: 10px;
}

.preview-frame {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.preview-img-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-variation-label {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(0, 0, 0, .60);
}

.preview-video-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .12);
  background: #fff;
}

.preview-video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 70vh;
  object-fit: contain;
  background: #fff;
}

.preview-controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .16);
  background: #fff;
  color: #000;
  display: grid;
  place-items: center;
}

.icon-btn:hover {
  border-color: rgba(0, 0, 0, .24);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.empty-state {
  margin-top: 18px;
  padding: 16px;
  border: 1px dashed rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .80);
}

.empty-state svg {
  width: 18px;
  height: 18px;
}

/* Profiles, steps, about */
.profile-card,
.step-card,
.content-card,
.form-card,
.contact-card {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: #fff;
}

.profile-card {
  padding: 16px;
}

.profile-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke);
  background: rgba(255, 106, 0, .10);
  margin-bottom: 10px;
}

.profile-icon svg {
  width: 18px;
  height: 18px;
}

.step-card {
  padding: 16px;
}

.step-no {
  font-weight: 800;
  letter-spacing: .6px;
  color: rgba(255, 106, 0, .95);
}

.step-title {
  font-weight: 650;
  margin-top: 6px;
  margin-bottom: 4px;
}

.content-card {
  padding: 16px;
}

.mini-title {
  font-weight: 650;
  color: rgba(255, 255, 255, .86);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: .45rem .7rem;
  font-size: 12px;
  color: rgba(0, 0, 0, .74);
  background: #fff;
}

.pill-chip svg {
  width: 14px;
  height: 14px;
}

.hr-glow {
  height: 1px;
  background: rgba(255, 255, 255, .14);
}

.list-tight {
  display: grid;
  gap: 10px;
}

.list-tight .li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(0, 0, 0, .82);
}

.list-tight .li svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 106, 0, .92);
}

/* Exhibitions */
.exhibit-card {
  border: 1px solid var(--stroke);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.exhibit-visual {
  height: 320px;
  background-image: url('../../images/hero/exhibition_visual.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .10);
}

.exhibit-overlay {
  padding: 16px;
  border-top: 1px solid var(--stroke);
  background: #fff;
}

/* Contact */
.contact-card {
  padding: 14px;
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #fff;
}

.contact-item+.contact-item {
  margin-top: 10px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(255, 106, 0, .10);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.form-card {
  padding: 16px;
}

.form-control,
.form-select {
  border-radius: 14px;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(255, 106, 0, .60) !important;
  box-shadow: 0 0 0 .25rem rgba(255, 106, 0, .12) !important;
}

.form-select option {
  color: #0b1020;
}

/* Modal preview */
.preview-body {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.preview-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .preview-img {
    width: auto;
    max-width: 100%;
    max-height: 52vh;
  }

  #previewModal .modal-dialog {
    max-width: 1140px;
  }
}

/* Grid preview structures */
.preview-frame-grid {
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: #fff;
  height: 100%;
}

.preview-frame-grid .preview-img-wrap,
.preview-frame-grid .preview-video-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .08);
}

.preview-frame-grid .preview-img,
.preview-frame-grid .preview-video {
  width: 100%;
  height: auto;
  max-height: 50vh;
  object-fit: contain;
}

.preview-frame-grid .preview-variation-label {
  margin-top: 10px;
  font-weight: 600;
  font-size: 13px;
  color: rgba(0, 0, 0, .75);
}

.preview-fallback {
  padding: 18px;
  color: rgba(255, 255, 255, .78);
}

/* Footer */
.footer {
  background: #fff;
}

.footer-card {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.footer-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .5rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .16);
  background: #fff;
  color: #000;
  text-decoration: none;
  font-size: 13px;
}

.footer-link:hover {
  border-color: rgba(0, 0, 0, .24);
  color: #000;
}

.footer-link svg {
  width: 16px;
  height: 16px;
}

.footer-divider {
  height: 1px;
  background: rgba(0, 0, 0, .10);
  margin: 12px 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(0, 0, 0, .70);
  font-size: 13px;
}

.footer-mini svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 106, 0, .92);
}

.footer-copy {
  margin-left: auto;
}

/* Mobile alignment polish (navbar + footer) */
@media (max-width: 767.98px) {
  .navbar .container {
    flex-wrap: nowrap;
  }

  .navbar .navbar-brand {
    min-width: 0;
    max-width: calc(100% - 56px);
  }

  /* Keep brand + hamburger perfectly on one row */
  .navbar .navbar-toggler {
    flex: 0 0 auto;
  }

  /* Mobile: keep only name on the top row (prevents wrapping) */
  .navbar .brand-sub {
    display: none;
  }

  .footer-top {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-actions {
    width: 100%;
    justify-content: center;
  }

  .footer-brand {
    justify-content: center;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-copy {
    margin-left: 0;
  }

  .footer .link-light {
    display: inline-block;
  }
}

/* Links (avoid Bootstrap blue) */
a {
  color: #000;
}

a:hover {
  color: #000;
}

.link-light {
  color: #000 !important;
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, .25);
}

.link-light:hover {
  color: #000 !important;
  text-decoration-color: rgba(255, 106, 0, .55);
}

/* Bootstrap overrides for light theme */
.navbar-dark .navbar-toggler {
  border-color: rgba(0, 0, 0, .18);
}

.navbar-toggler-icon {
  filter: invert(0);
}