body.heritage-site[data-site="lighting"] {
  --paper: #f9f6ef;
  --panel: #fffcf6;
  --ink: #302722;
  --muted: #62584f;
  --accent: #843b2a;
  --wash: #eee5d6;
  --line: #ddcab5;
  --deep: #472b24;
  --lighting-paper: radial-gradient(ellipse at 16% 5%, #fffdf6bd, transparent 62%), repeating-linear-gradient(108deg, #7c5b3510 0px, transparent 1px, transparent 6px), repeating-linear-gradient(13deg, #fffcf542 0px, transparent 1px, transparent 9px);
}

body.heritage-site[data-site="lighting"] .nav-inner { gap: clamp(10px, 1.4vw, 22px); }
body.heritage-site[data-site="lighting"] .nav-item > a { padding-inline: 8px; }
.lighting-carousel [hidden], .lighting-archive [hidden] { display: none !important; }
body.heritage-site[data-site="lighting"] .lighting-carousel {
  padding: 0;
  position: relative;
  background: #eee4d4;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.lighting-slide {
  background-color: var(--lighting-slide-base,#eee4d4);
  background-image: var(--lighting-paper);
}
.lighting-slide-shell { --lighting-slide-base: #edddd7; }
.lighting-slide-solar { --lighting-slide-base: #e2e8df; }
body.heritage-site[data-site="lighting"] .lighting-hero-grid {
  min-height: clamp(440px, 39vw, 650px);
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(24px, 5vw, 88px);
  padding-block: clamp(36px, 5vw, 76px);
  padding-right: clamp(10px, 2vw, 35px);
}
body.heritage-site[data-site="lighting"] .lighting-hero-grid::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 15% 5% 13% auto;
  width: 38%;
  border: 1px solid #925a3933;
  border-radius: 48% 48% 0 0;
  pointer-events: none;
}
body.heritage-site[data-site="lighting"] .lighting-carousel .lighting-eyebrow {
  margin: 0;
  padding-bottom: 11px;
  color: var(--accent);
  font-size: .72rem;
  letter-spacing: .14em;
}
body.heritage-site[data-site="lighting"] .lighting-carousel :is(h1,h2) {
  margin: 17px 0 18px;
  max-width: 14ch;
  font-size: clamp(40px, 5vw, 78px);
  line-height: .99;
  text-wrap: pretty;
}
body.heritage-site[data-site="lighting"][data-language="zh"] .lighting-carousel :is(h1,h2) {
  font-size: clamp(35px, 4.3vw, 68px);
  line-height: 1.12;
}
body.heritage-site[data-site="lighting"] .lighting-carousel .hero-buttons { margin-top: 24px; }
body.heritage-site[data-site="lighting"] .lighting-carousel .lighting-hero-photo {
  position: relative;
  margin: 0;
  padding: 0;
  border: 1px solid #e7d5be;
  border-radius: 22% 2px 22% 2px;
  background: #e1ceba;
  box-shadow: 15px 17px 0 -9px #f9f1e4, 15px 17px 0 -8px #a26c4d60;
  overflow: hidden;
}
body.heritage-site[data-site="lighting"] .lighting-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}
body.heritage-site[data-site="lighting"] .lighting-hero-photo figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 5px 11px;
  background: #fffcf3ec;
  color: #5e4b41;
  border-radius: 0 8px 0 0;
  font-size: .69rem;
}
.lighting-carousel-controls {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}
.lighting-carousel-controls button {
  border: 1px solid #9b735b71;
  color: var(--deep);
  background: #fffaf0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  line-height: 1;
  font-size: 1.05rem;
  cursor: pointer;
  pointer-events: auto;
}
.lighting-carousel-controls button:hover,
.lighting-carousel-controls button:focus-visible { background: var(--deep); color: #fffaf0; }
.lighting-carousel-controls [data-rotation="paused"] span { font-size: 0; }
.lighting-carousel-controls [data-rotation="paused"] span::after { content:"▶"; font-size: .85rem; }
.lighting-carousel-controls .lighting-next {
  position: absolute;
  top: 50%;
  right: clamp(9px, 2.1vw, 38px);
  transform: translateY(-50%);
  width: clamp(46px, 4vw, 60px);
  height: clamp(46px, 4vw, 60px);
  font-size: 1.45rem;
  box-shadow: 0 5px 20px #53382124;
}
.lighting-carousel-nav {
  position: absolute;
  bottom: 12px;
  right: max(5%, calc((100% - 1320px) / 2));
  display: flex;
  align-items: center;
  gap: 10px;
}
.lighting-slide-count { font-size: .75rem; color: #614939; font-variant-numeric: tabular-nums; }

.lighting-search-strip { background: #f4ebdc; padding: 16px 0; border-bottom: 1px solid var(--line); }
.lighting-query-form { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; }
.lighting-query-inline { align-items: center; }
.lighting-field { display: grid; gap: 6px; flex: 1 1 260px; min-width: 0; }
.lighting-field label { font-size: .88rem; font-weight: 700; color: var(--ink); }
.lighting-query-inline .lighting-field { grid-template-columns: auto minmax(0,1fr); align-items: center; gap: clamp(10px,2vw,24px); }
.lighting-field :is(input,select) {
  min-width: 0;
  width: 100%;
  min-height: 46px;
  padding: 9px 14px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid #c2a68a;
  border-radius: 4px;
  font: inherit;
}
.lighting-field :is(input,select):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lighting-query-form .button { gap: 7px; min-height: 46px; }
.lighting-clear { align-self: end; padding: 12px 3px; color: var(--accent); font-weight: 700; }
.lighting-search-status { margin: 16px 0; }
.lighting-search-results { display: grid; gap: 10px; padding: 0; margin: 15px 0 22px; list-style: none; }
.lighting-search-result { padding: 16px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 5px; }
.lighting-search-label { display: block; color: var(--accent); margin-bottom: 3px; font-size: .78rem; font-weight: 700; }
.lighting-search-link { display: inline-block; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.lighting-search-result p { margin: 5px 0 0; }
.lighting-search-links { display: flex; flex-wrap: wrap; gap: 22px; }

.lighting-collections { background: #fbf7ee; }
.lighting-collection-heading,.lighting-archive-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px 30px; margin-bottom: 24px; }
.lighting-collection-heading h2,.lighting-archive-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 55px); text-align: left; }
.lighting-collection-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: clamp(16px,3vw,36px); }
.lighting-collection-card { display: grid; grid-template-rows: auto 1fr; min-width: 0; border: 1px solid var(--line); background: var(--panel); border-radius: 7px; overflow: hidden; }
.lighting-collection-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #eadfd1; }
.lighting-collection-solar .lighting-collection-media { background: #e5e8df; }
.lighting-collection-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lighting-collection-copy { padding: clamp(16px,3vw,32px); }
body.heritage-site[data-site="lighting"] .editorial-catalog .vertical-card .vertical-card-media {
  aspect-ratio: 4 / 3;
}
body.heritage-site[data-site="lighting"] .editorial-catalog .vertical-card .vertical-card-media img {
  object-fit: cover;
}
.lighting-collection-copy h3 { margin: 0; font-size: clamp(20px,2.2vw,30px); }
.lighting-collection-copy p { margin: 6px 0 13px; }
body.heritage-site[data-site="lighting"] .model-detail figure img { max-height: none; }
body.heritage-site[data-site="lighting"] .model-section-featured { background: linear-gradient(180deg,#eee4d5,#f9f6ef); }
body.heritage-site[data-site="lighting"] .model-section-featured .model-card { border-radius: 5px 24px 5px 5px; }
body.heritage-site[data-site="lighting"] .visual-gallery-group :is(.model-card, .model-card-image){ scroll-margin-top: 120px; }

body.heritage-site[data-site="lighting"] :is(.editorial-inner,.model-hero) { background-image: var(--lighting-paper); }
body.heritage-site[data-site="lighting"] .editorial-inner { padding-block: clamp(28px,4vw,63px); }
body.heritage-site[data-site="lighting"] .editorial-inner .editorial-inner-media {
  grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr);
  align-items: center;
  gap: clamp(22px, 5vw, 70px);
}
body.heritage-site[data-site="lighting"] :is(.editorial-inner,.model-hero) h1 { font-size: clamp(34px,4.5vw,62px); text-wrap: pretty; }
.lighting-banner-art { margin: 0; background: #e9e1d4; border: 1px solid var(--line); border-radius: 5px 34px 5px 5px; overflow: hidden; }
body.heritage-site[data-site="lighting"] .lighting-banner-art img {
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio:4 / 3;
  object-fit:cover;
  object-position:center;
}
body.heritage-site[data-site="lighting"] .lighting-banner-workshop img {
  aspect-ratio:3 / 2;
  object-position:68% 55%;
}
body.heritage-site[data-site="lighting"] .lighting-banner-building img {
  aspect-ratio:16 / 9;
  object-position:75% center;
}
.lighting-banner-art figcaption { padding: 6px 12px; background: var(--panel); color: var(--muted); font-size: .72rem; }
body.heritage-site[data-site="lighting"] .lighting-workshop { margin: 0; overflow: hidden; border-radius: 7px 30px 7px 7px; }
body.heritage-site[data-site="lighting"] .lighting-workshop button { display: grid; place-items: center; border: 0; border-radius: 0; width: 100%; padding: 0; aspect-ratio: 3 / 2; }
body.heritage-site[data-site="lighting"] .lighting-workshop button img { width: 100%; height: 100%; max-height: none; min-height: 0; object-fit: cover; }
body.heritage-site[data-site="lighting"] .lighting-workshop .vertical-play { background:#fffcf2ed; color:#843b2a; }
body.heritage-site[data-site="lighting"] .lighting-workshop-copy .section-head { text-align: left; margin-inline: 0; }

.lighting-home-guide { border-top: 1px solid var(--line); background: #f3eadb; }
.lighting-archive-form { padding: clamp(15px,2.3vw,26px); border: 1px solid var(--line); background: var(--panel); border-radius: 6px; margin-bottom: 33px; }
.lighting-archive-form .lighting-field:nth-child(2) { flex: 0 1 195px; }
.lighting-archive-list { display: grid; gap: 18px; }
.lighting-article-card { display: grid; grid-template-columns: minmax(160px,.45fr) minmax(0,1fr); align-items: center; gap: clamp(16px,4vw,48px); padding: clamp(15px,2.5vw,34px); border: 1px solid var(--line); background: var(--panel); border-radius: 6px 24px 6px 6px; }
.lighting-article-card figure { margin: 0; }
.lighting-article-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.lighting-article-card time { color: var(--accent); font-size: .88rem; font-weight: 700; }
.lighting-article-card h3 { margin: 7px 0; font-size: clamp(20px,3vw,32px); }
.lighting-article-card p { margin: 6px 0 10px; }

@media (max-width: 1100px) and (min-width: 901px) {
  body.heritage-site[data-site="lighting"] .vertical-brand img { width: 88px; }
  body.heritage-site[data-site="lighting"] .nav-item > a { padding-inline: 5px; font-size: .82rem; }
}
@media (max-width: 800px) {
  body.heritage-site[data-site="lighting"] .lighting-hero-grid,
  body.heritage-site[data-site="lighting"] .editorial-inner .editorial-inner-media { grid-template-columns: minmax(0,1fr); }
  body.heritage-site[data-site="lighting"] .lighting-hero-grid { min-height: 0; padding: 28px 10px 72px 0; gap: 18px; }
  body.heritage-site[data-site="lighting"] .lighting-carousel :is(h1,h2) { font-size: clamp(34px, 8vw, 53px); margin: 12px 0; }
  body.heritage-site[data-site="lighting"][data-language="zh"] .lighting-carousel :is(h1,h2) { font-size: clamp(32px, 7vw, 49px); }
  body.heritage-site[data-site="lighting"] .lighting-carousel .hero-buttons { margin-top: 14px; }
  .lighting-carousel-nav { right: 5%; }
  .lighting-carousel-controls .lighting-next { top: 58%; right: 7px; }
  .lighting-query-inline .lighting-field { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .lighting-collection-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 480px) {
  .lighting-article-card { grid-template-columns: minmax(0,1fr); }
  .lighting-article-card img { max-height: 220px; }
  .lighting-query-inline .lighting-field { flex-basis: 200px; }
  .lighting-query-form { gap: 8px; }
  .lighting-archive-form .lighting-field:nth-child(2) { flex-basis: 100%; }
}
