:root {
  color-scheme: light dark;
  font-family: Inter, "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  background: #050505;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #050505;
  color: #f7fff9;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.lang-switch {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 82%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
}

.lang-switch button {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.lang-switch button.is-active {
  color: var(--buttonText);
  background: var(--accent);
  transform: translateY(-1px);
}

.industry-gallery {
  --bg: #050505;
  --text: #f7fff9;
  --muted: #b9d8cf;
  --panel: rgba(9, 24, 19, 0.9);
  --line: rgba(64, 255, 184, 0.26);
  --accent: #40ffb8;
  --accent2: #7dfcff;
  --buttonText: #03110c;
  min-height: 100vh;
  padding: 28px clamp(18px, 4vw, 58px) 76px;
  background:
    radial-gradient(circle at 18% 8%, rgba(64, 255, 184, 0.18), transparent 28%),
    radial-gradient(circle at 84% 16%, rgba(125, 252, 255, 0.14), transparent 30%),
    linear-gradient(180deg, #050505 0%, #07100d 52%, #050505 100%);
  color: var(--text);
}

.industry-gallery {
  padding-top: 124px;
}

.gallery-nav,
.site-top {
  width: min(1480px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.gallery-nav {
  position: fixed;
  top: 18px;
  right: clamp(18px, 4vw, 58px);
  left: clamp(18px, 4vw, 58px);
  z-index: 90;
  width: auto;
  max-width: 1480px;
  padding: 10px 12px;
  border: 1px solid rgba(64, 255, 184, 0.24);
  border-radius: 24px;
  background: rgba(5, 5, 5, 0.68);
  box-shadow:
    0 20px 58px rgba(0, 0, 0, 0.34),
    0 0 26px rgba(64, 255, 184, 0.08);
  backdrop-filter: blur(18px);
  transition:
    top 0.3s ease,
    padding 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.is-industry-scrolled .gallery-nav {
  top: 10px;
  padding-top: 8px;
  padding-bottom: 8px;
  border-color: rgba(64, 255, 184, 0.18);
  background: rgba(5, 5, 5, 0.54);
  box-shadow:
    0 14px 42px rgba(0, 0, 0, 0.28),
    0 0 20px rgba(64, 255, 184, 0.06);
}

.gallery-brand,
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
}

.gallery-brand-mark,
.site-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--buttonText);
  background: var(--accent);
  box-shadow: 0 16px 44px color-mix(in srgb, var(--accent) 25%, transparent);
}

.gallery-brand-mark {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 48%, transparent);
  background: #102d2d;
}

.gallery-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-brand strong {
  color: var(--text);
}

.gallery-hero {
  width: min(1480px, 100%);
  min-height: 470px;
  margin: 48px auto 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  align-items: center;
  gap: clamp(24px, 6vw, 92px);
}

.gallery-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(46px, 7vw, 104px);
  line-height: 0.96;
  letter-spacing: 0;
  color: var(--text);
  text-shadow: 0 0 28px rgba(64, 255, 184, 0.18);
}

.gallery-hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.65;
}

.gallery-preview-stack {
  position: relative;
  min-height: 470px;
}

.gallery-sheet,
.gallery-polaroid {
  position: absolute;
  border-radius: 28px;
  background: rgba(8, 22, 18, 0.96);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(64, 255, 184, 0.22);
}

.gallery-sheet {
  inset: 12% 12% 14% 4%;
  display: grid;
  place-items: center;
  color: rgba(64, 255, 184, 0.2);
  font-size: 70px;
  transform: rotate(-5deg);
}

.gallery-polaroid {
  width: 44%;
  aspect-ratio: 4 / 5;
  padding: 12px 12px 48px;
  overflow: hidden;
}

.gallery-polaroid i,
.gallery-polaroid img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.gallery-polaroid i {
  background:
    radial-gradient(circle at 32% 30%, var(--c1), transparent 28%),
    radial-gradient(circle at 74% 64%, var(--c2), transparent 32%),
    linear-gradient(135deg, #fff, #f9f2ea);
}

.gallery-polaroid img {
  object-fit: cover;
  object-position: top center;
  background: #fff7f1;
}

.gallery-polaroid:nth-child(2) {
  right: 6%;
  top: 0;
  transform: rotate(8deg);
  --c1: #ffd1e1;
  --c2: #b8f5d9;
}

.gallery-polaroid:nth-child(3) {
  left: 12%;
  bottom: 2%;
  transform: rotate(-11deg);
  --c1: #cff0ff;
  --c2: #ffe9a8;
}

.gallery-polaroid:nth-child(4) {
  right: 0;
  bottom: 8%;
  transform: rotate(4deg);
  --c1: #f7c9ff;
  --c2: #c3ffd8;
}

.gallery-grid {
  width: min(1480px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  min-height: 340px;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  text-decoration: none;
  border-radius: 26px;
  color: #f7fff9;
  background: #07110d;
  border: 1px solid rgba(64, 255, 184, 0.2);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
  transition: transform 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-8px);
  border-color: var(--card-accent);
  box-shadow: 0 26px 80px color-mix(in srgb, var(--card-accent) 24%, rgba(0, 0, 0, 0.35));
}

.gallery-thumb {
  position: relative;
  aspect-ratio: 3 / 2;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 26% 22%, color-mix(in srgb, var(--card-accent) 36%, transparent), transparent 32%),
    linear-gradient(135deg, var(--card-bg), #0a0f0c);
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.8s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card-body {
  background: linear-gradient(180deg, #07110d, #050807);
  padding: 18px;
}

.gallery-card small,
.site-eyebrow,
.section-kicker {
  display: block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gallery-card h2 {
  margin: 10px 0 0;
  color: #f7fff9;
  font-size: 26px;
  line-height: 1.12;
}

.gallery-card p {
  margin: 12px 0 0;
  color: rgba(247, 255, 249, 0.88);
  line-height: 1.55;
}

.industry-site {
  --bg: #fff8f2;
  --bg2: #ffffff;
  --text: #241a1e;
  --muted: #6f6268;
  --panel: rgba(255, 255, 255, 0.78);
  --paper: #ffffff;
  --line: rgba(36, 26, 30, 0.12);
  --accent: #ff6f9f;
  --accent2: #6be8c8;
  --buttonText: #13080d;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 28%),
    radial-gradient(circle at 86% 14%, color-mix(in srgb, var(--accent2) 16%, transparent), transparent 30%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x: hidden;
}

.industry-site.dark {
  --bg: #040706;
  --bg2: #0b1111;
  --text: #f4fff9;
  --muted: rgba(244, 255, 249, 0.68);
  --panel: rgba(255, 255, 255, 0.07);
  --paper: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.14);
  --buttonText: #04100b;
}

.site-top {
  min-height: 92px;
  padding: 18px 0;
}

.site-top-wrap {
  width: min(1480px, calc(100% - 36px));
  margin: 0 auto;
  position: sticky;
  top: 14px;
  z-index: 90;
}

.site-top {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  box-shadow: 0 20px 58px color-mix(in srgb, var(--text) 8%, transparent);
  backdrop-filter: blur(18px);
  transition:
    min-height 0.3s ease,
    padding 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.is-industry-scrolled .site-top {
  min-height: 66px;
  background: color-mix(in srgb, var(--bg) 64%, transparent);
  box-shadow: 0 14px 42px color-mix(in srgb, var(--text) 6%, transparent);
}

.site-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 30px);
  color: var(--muted);
  font-size: 15px;
}

.site-links a {
  text-decoration: none;
}

.site-top-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.industry-back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 96;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 72%, transparent);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.86);
  color: var(--accent);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    0 0 24px color-mix(in srgb, var(--accent) 18%, transparent);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.96);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.industry-back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.industry-back-top:hover,
.industry-back-top:focus-visible {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 16%, #050505);
  outline: none;
}

.industry-back-top span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}

.industry-back-top strong {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
}

.site-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  background: var(--panel);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn.primary,
.site-cta {
  color: var(--buttonText);
  background: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 72%, #fff);
  box-shadow: 0 18px 60px color-mix(in srgb, var(--accent) 22%, transparent);
}

.site-cta.site-cta-secondary {
  color: var(--text);
  background: color-mix(in srgb, var(--panel) 86%, transparent);
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
  box-shadow: 0 14px 42px color-mix(in srgb, var(--accent) 10%, transparent);
}

.site-cta.site-cta-secondary:hover,
.site-cta.site-cta-secondary:focus-visible {
  background: color-mix(in srgb, var(--accent) 14%, var(--panel));
  border-color: color-mix(in srgb, var(--accent) 68%, #fff);
}

.btn:hover,
.site-cta:hover,
.btn:focus-visible,
.site-cta:focus-visible {
  transform: translateY(-3px);
}

.site-hero {
  width: min(1480px, calc(100% - 36px));
  margin: 0 auto;
  min-height: calc(100vh - 110px);
  display: grid;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: 54px 0 86px;
}

.site-hero h1,
.site-hero .hero-title {
  display: block;
  max-width: 760px;
  margin: 0;
  color: var(--text);
  font-size: clamp(40px, 4.8vw, 68px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
}

.site-hero p {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.7;
}

.hero-actions,
.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.proof-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  font-weight: 800;
}

.content-section {
  width: min(1480px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(34px, 5vw, 74px);
  line-height: 0.98;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cards article,
.wide-card,
.form-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  padding: 24px;
  box-shadow: 0 24px 70px color-mix(in srgb, var(--text) 8%, transparent);
}

.cards h3,
.wide-card h3,
.form-panel h3 {
  margin: 10px 0 0;
  font-size: 24px;
}

.cards p,
.wide-card p,
.form-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.split-wide {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.fake-form {
  display: grid;
  gap: 12px;
}

.fake-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.fake-form span,
.fake-form strong {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--paper);
}

.industry-interactive {
  display: grid;
  gap: 20px;
}

.industry-interactive > p {
  margin-bottom: 0;
}

.interaction-controls {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.interaction-group {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 66%, transparent);
}

.interaction-group > strong {
  color: var(--text);
  font-size: 15px;
}

.interaction-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.interaction-options button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--text);
  background: var(--paper);
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.interaction-options button:hover,
.interaction-options button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.interaction-options button.is-active {
  color: var(--buttonText);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 12px 34px color-mix(in srgb, var(--accent) 24%, transparent);
}

.interaction-summary .fake-form span {
  justify-content: space-between;
  color: var(--text);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 13%, transparent), color-mix(in srgb, var(--accent2) 12%, transparent)),
    var(--paper);
}

.interaction-result {
  color: var(--buttonText) !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 22%, transparent);
}

.site-footer {
  width: min(1480px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 60px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.layout-polaroid .site-hero {
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
}

.polaroid-scene {
  min-height: 620px;
  position: relative;
}

.polaroid-card {
  position: absolute;
  width: 44%;
  aspect-ratio: 4 / 5;
  padding: 14px 14px 58px;
  border-radius: 20px;
  background: #fff;
  color: #514247;
  box-shadow: 0 28px 80px rgba(80, 40, 58, 0.2);
}

.polaroid-card i {
  display: block;
  height: 100%;
  border-radius: 14px;
  background:
    radial-gradient(circle at 28% 26%, color-mix(in srgb, var(--accent) 42%, #fff), transparent 34%),
    radial-gradient(circle at 76% 62%, color-mix(in srgb, var(--accent2) 42%, #fff), transparent 32%),
    linear-gradient(135deg, #fff7fb, #fff);
}

.polaroid-card strong {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  text-align: center;
}

.polaroid-card:nth-child(1) {
  right: 8%;
  top: 0;
  transform: rotate(9deg);
}

.polaroid-card:nth-child(2) {
  left: 8%;
  top: 34%;
  transform: rotate(-8deg);
}

.polaroid-card:nth-child(3) {
  right: 18%;
  bottom: 0;
  transform: rotate(3deg);
}

.layout-salon .site-hero {
  grid-template-columns: minmax(350px, 0.52fr) minmax(0, 1fr);
}

.salon-board {
  min-height: 600px;
  display: grid;
  grid-template-columns: 0.68fr 1fr;
  gap: 18px;
}

.salon-board aside,
.salon-board article {
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent),
    var(--panel);
  padding: 24px;
}

.salon-photo {
  border-radius: 30px;
  min-height: 100%;
  background:
    linear-gradient(145deg, transparent 0 36%, color-mix(in srgb, var(--accent) 55%, transparent) 37% 41%, transparent 42%),
    radial-gradient(circle at 45% 30%, color-mix(in srgb, var(--accent2) 38%, transparent), transparent 28%),
    #151515;
}

.layout-menu .site-hero {
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
}

.menu-board {
  padding: 34px;
  min-height: 620px;
  border-radius: 38px;
  color: #3a281a;
  background:
    linear-gradient(90deg, rgba(58, 40, 26, 0.08) 1px, transparent 1px) 0 0 / 42px 42px,
    #fff8eb;
  box-shadow: 0 28px 80px rgba(68, 43, 22, 0.18);
  border: 1px solid rgba(58, 40, 26, 0.12);
}

.menu-board h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 92px);
}

.menu-list {
  margin-top: 30px;
  display: grid;
  gap: 18px;
}

.menu-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(58, 40, 26, 0.3);
}

.layout-restaurant .site-hero {
  grid-template-columns: 1fr;
  min-height: 850px;
  text-align: center;
}

.layout-restaurant .site-hero h1,
.layout-restaurant .site-hero p {
  margin-left: auto;
  margin-right: auto;
}

.plate-scene {
  position: relative;
  min-height: 360px;
}

.plate-scene span {
  position: absolute;
  border-radius: 999px;
  background:
    radial-gradient(circle at 38% 35%, color-mix(in srgb, var(--accent) 42%, #fff), transparent 24%),
    radial-gradient(circle at 62% 62%, color-mix(in srgb, var(--accent2) 36%, #fff), transparent 26%),
    #fff8e8;
  box-shadow: 0 30px 90px rgba(30, 15, 8, 0.16);
}

.plate-scene span:nth-child(1) {
  width: 360px;
  height: 360px;
  left: calc(50% - 180px);
  top: 0;
}

.plate-scene span:nth-child(2) {
  width: 190px;
  height: 190px;
  left: 18%;
  top: 74px;
}

.plate-scene span:nth-child(3) {
  width: 220px;
  height: 220px;
  right: 15%;
  top: 118px;
}

.layout-dashboard .site-hero {
  grid-template-columns: minmax(0, 0.75fr) minmax(460px, 1fr);
}

.metric-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metric-wall article,
.app-frame article,
.terminal-panel {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
  background: var(--panel);
}

.metric-wall strong {
  display: block;
  margin-top: 18px;
  font-size: 42px;
}

.bar-chart {
  grid-column: 1 / -1;
  min-height: 260px;
  display: flex;
  align-items: end;
  gap: 12px;
}

.bar-chart i {
  flex: 1;
  min-height: 28%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent2) 55%, var(--accent)));
}

.bar-chart i:nth-child(2) { min-height: 64%; }
.bar-chart i:nth-child(3) { min-height: 46%; }
.bar-chart i:nth-child(4) { min-height: 86%; }
.bar-chart i:nth-child(5) { min-height: 72%; }

.layout-calm .site-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
}

.orbit-scene {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
}

.orbit-scene::before,
.orbit-scene::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
}

.orbit-scene::before {
  width: 520px;
  height: 520px;
}

.orbit-scene::after {
  width: 320px;
  height: 320px;
  border-color: color-mix(in srgb, var(--accent2) 38%, transparent);
}

.orbit-scene span {
  width: 190px;
  height: 190px;
  border-radius: 44% 56% 48% 52%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 32px 100px color-mix(in srgb, var(--accent) 28%, transparent);
}

.layout-photo .site-hero {
  grid-template-columns: minmax(0, 0.62fr) minmax(520px, 1fr);
}

.masonry-scene {
  display: grid;
  grid-template-columns: 0.72fr 1fr 0.82fr;
  grid-auto-rows: 130px;
  gap: 14px;
}

.masonry-scene span {
  border-radius: 24px;
  background:
    radial-gradient(circle at 45% 30%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 34%),
    linear-gradient(135deg, #101010, #343434);
  border: 1px solid var(--line);
}

.masonry-scene span:nth-child(1) { grid-row: span 3; }
.masonry-scene span:nth-child(2) { grid-row: span 2; }
.masonry-scene span:nth-child(3) { grid-row: span 4; }
.masonry-scene span:nth-child(4) { grid-row: span 2; }
.masonry-scene span:nth-child(5) { grid-row: span 3; }

.layout-timeline .site-hero {
  grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1fr);
}

.timeline-ribbon {
  min-height: 620px;
  display: grid;
  align-content: center;
  gap: 16px;
}

.timeline-ribbon article {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.timeline-ribbon span {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--buttonText);
  background: var(--accent);
  font-weight: 950;
}

.layout-booking .site-hero {
  grid-template-columns: minmax(0, 0.8fr) minmax(430px, 1fr);
}

.booking-board {
  min-height: 620px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  padding: 24px;
  border-radius: 34px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.booking-board span {
  min-height: 76px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.booking-board span:nth-child(4n),
.booking-board span:nth-child(7n) {
  background: color-mix(in srgb, var(--accent) 28%, var(--paper));
}

.layout-bloom .site-hero {
  grid-template-columns: minmax(0, 0.68fr) minmax(480px, 1fr);
}

.bloom-scene {
  position: relative;
  min-height: 620px;
}

.bloom-scene span {
  position: absolute;
  width: 190px;
  height: 260px;
  border-radius: 100px 100px 22px 22px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 65%, #fff), color-mix(in srgb, var(--accent2) 50%, #fff));
  box-shadow: 0 26px 70px color-mix(in srgb, var(--accent) 18%, transparent);
  transform-origin: 50% 100%;
}

.bloom-scene span:nth-child(1) { left: 24%; top: 8%; transform: rotate(-26deg); }
.bloom-scene span:nth-child(2) { left: 44%; top: 10%; transform: rotate(12deg); }
.bloom-scene span:nth-child(3) { left: 33%; top: 28%; transform: rotate(-4deg); }
.bloom-scene span:nth-child(4) { left: 54%; top: 30%; transform: rotate(28deg); }

.layout-blueprint .site-hero {
  grid-template-columns: minmax(430px, 1.05fr) minmax(0, 0.75fr);
}

.blueprint {
  min-height: 620px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 20%, transparent) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(0deg, color-mix(in srgb, var(--accent) 20%, transparent) 1px, transparent 1px) 0 0 / 42px 42px,
    var(--panel);
  position: relative;
}

.blueprint span {
  position: absolute;
  border: 3px solid var(--accent);
  border-radius: 6px;
}

.blueprint span:nth-child(1) { left: 10%; top: 12%; width: 40%; height: 34%; }
.blueprint span:nth-child(2) { right: 12%; top: 18%; width: 26%; height: 58%; }
.blueprint span:nth-child(3) { left: 18%; bottom: 12%; width: 58%; height: 24%; }

.layout-map .site-hero {
  grid-template-columns: minmax(0, 0.7fr) minmax(520px, 1fr);
}

.map-scene {
  min-height: 620px;
  border-radius: 38px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 54px 54px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 54px 54px,
    var(--panel);
  position: relative;
  overflow: hidden;
}

.map-scene span {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 999px 999px 999px 0;
  transform: rotate(-45deg);
  background: var(--accent);
}

.map-scene span:nth-child(1) { left: 24%; top: 22%; }
.map-scene span:nth-child(2) { left: 62%; top: 30%; }
.map-scene span:nth-child(3) { left: 44%; top: 68%; }

.layout-board .site-hero {
  grid-template-columns: minmax(430px, 1fr) minmax(0, 0.74fr);
}

.study-board {
  min-height: 620px;
  border-radius: 34px;
  padding: 28px;
  color: #f8fff9;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 36px 36px,
    #18312d;
  border: 12px solid #b9894b;
  box-shadow: 0 26px 80px rgba(20, 12, 5, 0.2);
}

.study-board div {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.study-board span {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.layout-editorial .site-hero {
  grid-template-columns: minmax(0, 0.64fr) minmax(520px, 1fr);
}

.editorial-spread {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 18px;
  min-height: 620px;
}

.editorial-spread article {
  border-radius: 32px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.editorial-spread article:first-child {
  align-self: stretch;
}

.editorial-spread article:last-child {
  align-self: center;
  transform: rotate(3deg);
}

.layout-clinic .site-hero {
  grid-template-columns: minmax(0, 0.75fr) minmax(520px, 1fr);
}

.clinic-panel {
  min-height: 620px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.clinic-panel article {
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 24px;
}

.clinic-panel article:first-child {
  grid-row: span 2;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, var(--panel)), var(--panel));
}

.layout-doc .site-hero {
  grid-template-columns: minmax(450px, 1fr) minmax(0, 0.72fr);
}

.document-stack {
  position: relative;
  min-height: 620px;
}

.document-stack article {
  position: absolute;
  width: 58%;
  min-height: 360px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: 0 26px 70px color-mix(in srgb, var(--text) 10%, transparent);
}

.document-stack article:nth-child(1) { left: 4%; top: 0; transform: rotate(-4deg); }
.document-stack article:nth-child(2) { right: 6%; top: 84px; transform: rotate(3deg); }
.document-stack article:nth-child(3) { left: 20%; bottom: 0; transform: rotate(-1deg); }

.layout-scrapbook .site-hero {
  grid-template-columns: minmax(0, 0.68fr) minmax(520px, 1fr);
}

.scrapbook-scene {
  min-height: 620px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  transform: rotate(-1deg);
}

.scrapbook-scene span {
  border-radius: 24px;
  background:
    radial-gradient(circle at 32% 28%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 34%),
    var(--paper);
  border: 1px solid var(--line);
}

.scrapbook-scene span:nth-child(2n) {
  transform: translateY(36px) rotate(3deg);
}

.layout-shop .site-hero {
  grid-template-columns: minmax(0, 0.7fr) minmax(520px, 1fr);
}

.shop-wall {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  gap: 18px;
  min-height: 620px;
}

.shop-wall article {
  border-radius: 30px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.shop-wall article:first-child {
  grid-row: span 2;
}

.shop-img {
  min-height: 260px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 38% 32%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 34%),
    linear-gradient(135deg, var(--paper), color-mix(in srgb, var(--accent2) 14%, var(--paper)));
}

.layout-app .site-hero {
  grid-template-columns: minmax(0, 0.7fr) minmax(520px, 1fr);
}

.app-frame {
  min-height: 620px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
  border-radius: 34px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.app-frame article:nth-child(4) {
  grid-column: 1 / -1;
  min-height: 270px;
}

.layout-terminal .site-hero {
  grid-template-columns: minmax(0, 0.68fr) minmax(520px, 1fr);
}

.terminal-screen {
  min-height: 620px;
  padding: 24px;
  border-radius: 32px;
  color: #a8ffd0;
  background:
    radial-gradient(circle at 80% 20%, rgba(69, 184, 255, 0.16), transparent 28%),
    repeating-linear-gradient(0deg, rgba(54, 255, 154, 0.06) 0 1px, transparent 1px 18px),
    #020604;
  border: 1px solid rgba(54, 255, 154, 0.28);
  box-shadow: inset 0 0 80px rgba(54, 255, 154, 0.08), 0 30px 100px rgba(0, 0, 0, 0.38);
}

.terminal-screen header {
  display: flex;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(54, 255, 154, 0.2);
}

.terminal-screen header i {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
}

.terminal-lines {
  margin-top: 28px;
  display: grid;
  gap: 14px;
  font-family: "Cascadia Mono", Consolas, monospace;
}

.terminal-lines span {
  padding: 14px;
  border-radius: 14px;
  background: rgba(54, 255, 154, 0.08);
  border: 1px solid rgba(54, 255, 154, 0.14);
}

.terminal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.terminal-grid strong {
  display: block;
  padding: 18px;
  border-radius: 18px;
  background: rgba(69, 184, 255, 0.08);
  border: 1px solid rgba(69, 184, 255, 0.18);
}

@media (max-width: 1180px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-hero,
  .layout-polaroid .site-hero,
  .layout-salon .site-hero,
  .layout-menu .site-hero,
  .layout-dashboard .site-hero,
  .layout-calm .site-hero,
  .layout-photo .site-hero,
  .layout-timeline .site-hero,
  .layout-booking .site-hero,
  .layout-bloom .site-hero,
  .layout-blueprint .site-hero,
  .layout-map .site-hero,
  .layout-board .site-hero,
  .layout-editorial .site-hero,
  .layout-clinic .site-hero,
  .layout-doc .site-hero,
  .layout-scrapbook .site-hero,
  .layout-shop .site-hero,
  .layout-app .site-hero,
  .layout-terminal .site-hero,
  .gallery-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .industry-gallery {
    padding-left: 14px;
    padding-right: 14px;
  }

  .gallery-grid,
  .cards,
  .split-wide,
  .metric-wall,
  .terminal-grid,
  .clinic-panel,
  .shop-wall,
  .editorial-spread {
    grid-template-columns: 1fr;
  }

  .gallery-nav,
  .site-top,
  .site-footer,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .gallery-nav {
    right: 14px;
    left: 14px;
    top: 12px;
    flex-direction: row;
    align-items: center;
  }

  .gallery-brand strong {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-top {
    min-height: 0;
    align-items: stretch;
  }

  .site-top-wrap {
    width: calc(100% - 28px);
    top: 12px;
  }

  .site-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .site-top-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .site-cta {
    min-width: 0;
    padding-inline: 12px;
  }

  .gallery-hero h1,
  .site-hero h1,
  .site-hero .hero-title {
    font-size: clamp(34px, 10vw, 54px);
  }

  .polaroid-scene,
  .salon-board,
  .menu-board,
  .orbit-scene,
  .masonry-scene,
  .timeline-ribbon,
  .booking-board,
  .bloom-scene,
  .blueprint,
  .map-scene,
  .study-board,
  .document-stack,
  .scrapbook-scene,
  .app-frame,
  .terminal-screen {
    min-height: 430px;
  }

  .salon-board,
  .masonry-scene,
  .scrapbook-scene,
  .app-frame,
  .booking-board {
    grid-template-columns: 1fr 1fr;
  }

  .polaroid-card {
    width: 58%;
  }
}
