/* =========================================================
   LUMINOS78 — Homepage styles
   Dark-first, single theme (the brand lives in the dark).
   ========================================================= */

/* Scene palette — animatable so light "fades" between moods */
@property --c1 { syntax: '<color>'; inherits: true; initial-value: #FFB26B; }
@property --c2 { syntax: '<color>'; inherits: true; initial-value: #FF5FB0; }
@property --c3 { syntax: '<color>'; inherits: true; initial-value: #6A5CFF; }
@property --up { syntax: '<color>'; inherits: true; initial-value: #FFD29A; }
@property --tint { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --lvl { syntax: '<number>'; inherits: true; initial-value: 1; }

:root {
  color-scheme: dark;
  --lm-bg: #0B0F19;
  --lm-bg-alt: #0E1322;
  --lm-surface: #1A1F2E;
  --lm-surface-2: #2A2F45;
  --lm-line: rgba(255, 255, 255, .12);
  --lm-text: #F5F7FA;
  --lm-text-soft: rgba(245, 247, 250, .82);
  --lm-text-muted: #9AA3B5;
  --lm-cyan: #22D3EE;
  --lm-blue: #6366F1;
  --lm-violet: #A855F7;
  --lm-magenta: #FF2D9B;
  --lm-gradient: linear-gradient(90deg, #22D3EE 0%, #6366F1 35%, #A855F7 65%, #FF2D9B 100%);

  --font-en: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-th: 'IBM Plex Sans Thai', 'Inter Tight', 'Leelawadee UI', 'Thonburi', sans-serif;
  --font-display: 'Playfair Display', 'Bodoni 72', 'Didot', Georgia, serif;
  --font-script: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
  --lm-gold: #EEDD82;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fade: 1400ms;
  --gutter: clamp(16px, 5vw, 72px);
  --section-y: clamp(88px, 11vw, 160px);
  --max: 1280px;
  --radius: 14px;

  /* type scale */
  --fs-label: 11px;
  --fs-small: 13px;
  --fs-body: 16px;
  --fs-lead: clamp(17px, 1.5vw, 20px);
  --fs-h3: clamp(20px, 1.8vw, 24px);
  --fs-h2: clamp(30px, 4vw, 52px);
  --fs-h1: clamp(32px, 5.2vw, 68px);

  --img-ratio: 1.7768; /* hero-villa.webp = 1672 × 941 */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--lm-bg); color: var(--lm-text); }
body { font-family: var(--font-en); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.th { font-family: var(--font-th); }
:focus-visible { outline: 1px solid #fff; outline-offset: 4px; }

/* ---------- shared blocks ---------- */
.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--lm-bg-alt); }
.eyebrow { margin: 0 0 18px; font-size: var(--fs-label); letter-spacing: .34em; text-transform: uppercase; color: var(--lm-text-muted); }
.h2 { margin: 0; font-weight: 300; font-size: var(--fs-h2); line-height: 1.12; letter-spacing: .08em; text-transform: uppercase; text-wrap: balance; }
.lead { margin: 22px 0 0; font-family: var(--font-th); font-weight: 300; font-size: var(--fs-lead); line-height: 1.75; color: var(--lm-text-soft); max-width: 58ch; }
.en-note { margin: 10px 0 0; font-size: var(--fs-small); color: var(--lm-text-muted); max-width: 60ch; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head > div { max-width: 720px; }

.btn-primary {
  display: inline-block; color: #fff; text-decoration: none; font-size: 14px; letter-spacing: .02em;
  background: var(--lm-gradient); border: 0; border-radius: 999px; padding: 13px 26px; cursor: pointer;
  font-family: var(--font-th);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px -10px var(--lm-violet); }
.btn-line {
  color: var(--lm-text); text-decoration: none; font-size: 13px; letter-spacing: .04em;
  border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; padding: 9px 20px; white-space: nowrap;
  transition: border-color .3s, background .3s;
}
.btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.link { color: var(--lm-text); text-decoration: none; font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 3px; transition: border-color .3s; font-family: var(--font-th); }
.link:hover { border-color: #fff; }

/* scroll reveal — content is visible unless JS opts in */
.js-reveal .reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-reveal .reveal:not(.in) { opacity: 0; transform: translateY(24px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .5s var(--ease), backdrop-filter .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(11, 15, 25, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--lm-line); }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gutter); }
.site-header.scrolled .inner { padding-block: 14px; }
.logo { font-weight: 300; font-size: 18px; letter-spacing: .42em; color: var(--lm-text); text-decoration: none; }
.header-right { display: flex; align-items: center; gap: 36px; }
.site-nav { display: flex; gap: 32px; }
.site-nav a { color: var(--lm-text-muted); text-decoration: none; font-size: 13px; letter-spacing: .06em; transition: color .3s; }
.site-nav a:hover { color: var(--lm-text); }

/* =========================================================
   HERO — interactive mood light
   ========================================================= */
.hero {
  position: relative; height: 100svh; min-height: 600px; overflow: hidden;
  display: grid; grid-template-rows: 1fr auto; isolation: isolate;
  padding-top: 88px;
  transition: --c1 var(--fade) var(--ease), --c2 var(--fade) var(--ease), --c3 var(--fade) var(--ease),
              --up var(--fade) var(--ease), --tint var(--fade) var(--ease), --lvl 600ms var(--ease);
}
.stage {
  position: absolute; z-index: -2; right: 0; top: 50%;
  width: max(100vw, calc(max(100svh, 600px) * var(--img-ratio)));
  aspect-ratio: 1672 / 941; transform: translateY(-50%);
}
.drift { position: absolute; inset: 0; transform-origin: 78% 55%; animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.045); } }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; }
.light {
  position: absolute; inset: 0; display: none;
  -webkit-mask-image: var(--mask); mask-image: var(--mask);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.stage.ready .light { display: block; }
.light.tint { background: linear-gradient(105deg, var(--c1) 50%, var(--c2) 76%, var(--c3) 100%); mix-blend-mode: color; opacity: var(--tint); }
.light.bloom {
  -webkit-mask-image: var(--bloom-mask); mask-image: var(--bloom-mask);
  background: linear-gradient(105deg, var(--c1) 50%, var(--c2) 76%, var(--c3) 100%);
  mix-blend-mode: screen; opacity: calc(var(--tint) * var(--lvl) * 0.45);
}
.light.dim { background: #05070d; opacity: calc((1 - var(--lvl)) * 0.8); }

/* Added landscape lighting (positions are % of the photo) */
.fx { position: absolute; pointer-events: none; mix-blend-mode: screen; }
.fx-tree {
  left: calc(var(--x) - 2.6%); top: calc(var(--y) - 24%); width: 5.2%; height: 24%;
  background: radial-gradient(50% 100% at 50% 100%, var(--up) 0%, color-mix(in srgb, var(--up) 35%, transparent) 45%, transparent 75%);
  opacity: calc(var(--lvl) * 0.75);
}
.fx-tree::after { /* fixture hotspot at the trunk base */
  content: ''; position: absolute; left: 30%; right: 30%; bottom: -1.2%; height: 5%; border-radius: 50%;
  background: radial-gradient(closest-side, #fff, var(--up) 45%, transparent);
}
.fx-pool-line, .fx-pool-wash { left: 39.2%; width: 61.4%; transform: rotate(7.73deg); transform-origin: left top; }
.fx-pool-line {
  top: 78.6%; height: .7%; border-radius: 99px; filter: blur(1px);
  background: linear-gradient(90deg, transparent, var(--c1) 6%, var(--c2) 55%, var(--c3));
  box-shadow: 0 0 22px 5px color-mix(in srgb, var(--c2) 80%, transparent), 0 6px 40px 8px color-mix(in srgb, var(--c1) 50%, transparent);
  opacity: var(--lvl);
}
.fx-pool-wash {
  top: 79%; height: 13%; filter: blur(8px);
  background: linear-gradient(90deg, var(--c1), var(--c2) 55%, var(--c3));
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 40%, transparent);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 40%, transparent);
  opacity: calc(var(--lvl) * 0.6);
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 11, 20, .78) 0%, rgba(8, 11, 20, .35) 34%, rgba(8, 11, 20, 0) 55%),
    linear-gradient(0deg, rgba(11, 15, 25, 1) 0%, rgba(8, 11, 20, 0) 30%),
    linear-gradient(180deg, rgba(8, 11, 20, .55) 0%, rgba(8, 11, 20, 0) 16%);
}
.hero-copy { align-self: center; padding: 0 var(--gutter); max-width: 860px; }
/* SEO: the <h1> is the Thai keyword line; the big English line is display text */
.hero .hero-kicker { margin: 0 0 18px; font-family: var(--font-th); font-weight: 400; font-size: clamp(14px, 1.15vw, 16px); line-height: 1.5; letter-spacing: .03em; color: var(--lm-text-soft); max-width: 36ch; }
.hero .hero-display { margin: 0; font-family: var(--font-display); font-weight: 400; letter-spacing: -.005em; line-height: 1.02; font-size: clamp(44px, 6vw, 88px); }
.hero-script { margin: 10px 0 0; font-family: var(--font-script); font-weight: 500; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.2; color: var(--lm-gold); letter-spacing: .02em; }
.hero-sub { margin: 24px 0 0; font-weight: 300; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.75; color: var(--lm-text-soft); max-width: 520px; }
.hero-ctas { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }

.mood { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 0 var(--gutter) 36px; flex-wrap: wrap; }
.mood-label { font-size: 10px; letter-spacing: .36em; color: var(--lm-text-muted); margin-bottom: 14px; }
.swatches { display: flex; gap: 14px; flex-wrap: wrap; }
.sw { width: 26px; height: 26px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; position: relative; transition: transform .4s var(--ease); }
.sw::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid transparent; transition: border-color .4s var(--ease); }
.sw:hover { transform: scale(1.12); }
.sw[aria-pressed="true"]::after { border-color: rgba(255, 255, 255, .9); }
.sw:focus-visible { outline-offset: 8px; }
.scene-name { margin-top: 18px; min-height: 20px; font-size: 13px; }
.scene-name span { color: var(--lm-text-muted); margin-left: 8px; letter-spacing: .08em; font-family: var(--font-en); font-size: 12px; }
.dimmer { display: grid; gap: 12px; width: 180px; }
.dimmer label { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .36em; color: var(--lm-text-muted); }
.dimmer output { letter-spacing: .08em; color: var(--lm-text); font-variant-numeric: tabular-nums; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 1px; background: rgba(255, 255, 255, .35); margin: 8px 0; cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.range::-moz-range-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; background: #fff; }

/* =========================================================
   SERVICES STRIP
   ========================================================= */
.services { border-bottom: 1px solid var(--lm-line); }
.services ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.services li { display: flex; align-items: center; gap: 16px; padding: 34px 24px; border-left: 1px solid var(--lm-line); }
.services li:first-child { border-left: 0; padding-left: 0; }
.services svg { flex: none; width: 30px; height: 30px; stroke: url(#lm-stroke); fill: none; stroke-width: 1.2; }
.services b { display: block; font-weight: 400; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.services span { font-family: var(--font-th); font-size: 14px; color: var(--lm-text-muted); }

/* Trusted By: endless logo slider. Two identical lists; the track moves by one list width (-50%). */
.clients { padding-block: 56px 60px; border-bottom: 1px solid var(--lm-line); overflow: hidden; }
.clients-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 30px; }
.clients-head .eyebrow { margin: 0; }
.clients-title { margin: 0; font-family: var(--font-th); font-weight: 300; font-size: 15px; color: var(--lm-text-muted); }
.clients-marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.clients-track { display: flex; width: max-content; animation: clients-scroll 40s linear infinite; }
.clients-marquee:hover .clients-track { animation-play-state: paused; }
.clients-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.clients-list li { flex: none; display: flex; align-items: center; height: 56px; padding-inline: clamp(28px, 4vw, 56px); }
.clients-list span {
  font-size: 13px; font-weight: 400; letter-spacing: .28em; text-transform: uppercase; white-space: nowrap;
  color: var(--lm-text-muted); transition: color .3s;
}
.clients-list span.th { font-family: var(--font-th); font-size: 15px; letter-spacing: .08em; }
/* Logo files: any colour in, white out (needs a transparent background). */
.clients-list img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; filter: brightness(0) invert(1); opacity: .6; transition: opacity .3s; }
.clients-list li:hover span { color: var(--lm-text); }
.clients-list li:hover img { opacity: 1; }
@keyframes clients-scroll { to { transform: translateX(-50%); } }

/* =========================================================
   STATEMENT
   ========================================================= */
.statement .grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.statement .actions { margin-top: 36px; }
.figure { margin: 0; position: relative; }
.figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.figure::before {
  content: ''; position: absolute; inset: 8% -4% -4% 8%; z-index: -1; border-radius: 40px;
  background: radial-gradient(closest-side, rgba(168, 85, 247, .45), transparent); filter: blur(30px);
}
.figure figcaption { margin-top: 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--lm-text-muted); }

/* =========================================================
   LIGHT EXPERIENCES — expanding panels
   ========================================================= */
.panels { display: flex; gap: 12px; height: clamp(440px, 48vw, 560px); }
.panel {
  position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: var(--radius);
  transition: flex-grow .8s var(--ease); cursor: pointer; outline-offset: 4px;
}
.panel.is-active { flex-grow: 2.2; }
.panel:not(.is-active) h3 { font-size: 17px; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; filter: brightness(.7) saturate(.9); }
.panel.is-active img { transform: scale(1.03); filter: brightness(.9) saturate(1.05); }
.panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 11, 20, .92) 0%, rgba(8, 11, 20, .1) 55%); }
.panel-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px; }
.panel h3 { margin: 0; font-family: var(--font-th); font-weight: 400; font-size: var(--fs-h3); line-height: 1.35; }
.panel .en { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--lm-text-muted); }
.panel p { margin: 14px 0 0; font-family: var(--font-th); font-size: 15px; line-height: 1.7; color: var(--lm-text-soft); max-width: 42ch; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.panel.is-active p { opacity: 1; transform: none; transition-delay: .25s; }

/* =========================================================
   SPACES — bento grid
   ========================================================= */
.spaces-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.space { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 300px; text-decoration: none; color: var(--lm-text); background: var(--lm-surface); }
.space--lg { grid-column: span 7; min-height: 460px; }
.space--md { grid-column: span 5; min-height: 460px; }
.space--sm { grid-column: span 4; }
.space img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.78); transition: transform 1.2s var(--ease), filter .6s; }
.space:hover img, .space:focus-visible img { transform: scale(1.04); filter: brightness(.95); }
.space::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 11, 20, .9) 0%, rgba(8, 11, 20, 0) 55%); }
.space-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 26px 28px; display: grid; gap: 6px; }
.space-body .en { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--lm-text-muted); }
.space-body h3 { margin: 0; font-family: var(--font-th); font-weight: 400; font-size: var(--fs-h3); line-height: 1.35; }
.space-body p { margin: 0; font-family: var(--font-th); font-size: 14px; color: var(--lm-text-soft); max-width: 44ch; }
.space .arrow { position: absolute; top: 22px; right: 22px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); display: grid; place-items: center; font-size: 15px; transition: background .4s, border-color .4s, color .4s; }
.space:hover .arrow { background: #fff; color: #0B0F19; border-color: #fff; }
/* placeholder until real showroom photos arrive */
.space--placeholder { background:
  linear-gradient(180deg, transparent 18%, rgba(34, 211, 238, .9) 18.4%, transparent 19%),
  linear-gradient(180deg, transparent 30%, rgba(168, 85, 247, .7) 30.4%, transparent 31%),
  radial-gradient(60% 40% at 50% 20%, rgba(99, 102, 241, .35), transparent 70%),
  linear-gradient(180deg, #121827, #0B0F19); }
.tag { display: inline-block; justify-self: start; font-family: var(--font-th); font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, .4); color: var(--lm-text-muted); margin-bottom: 6px; }

/* =========================================================
   PROCESS
   ========================================================= */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 28px; position: relative; }
.steps::before { content: ''; position: absolute; top: 7px; left: 0; right: 0; height: 1px; background: var(--lm-line); }
.steps .track-fill { position: absolute; top: 6px; left: 0; right: 0; height: 3px; background: var(--lm-gradient); border-radius: 3px; transform-origin: left; transition: transform 2.2s var(--ease); box-shadow: 0 0 18px rgba(168, 85, 247, .6); }
.js-reveal .steps:not(.in) .track-fill { transform: scaleX(0); }
.step { position: relative; padding-top: 44px; }
.step::before { content: ''; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--lm-bg-alt); border: 1px solid rgba(255, 255, 255, .7); }
.step-no { font-size: 12px; letter-spacing: .24em; color: var(--lm-text-muted); font-variant-numeric: tabular-nums; }
.step h3 { margin: 10px 0 2px; font-family: var(--font-th); font-weight: 400; font-size: var(--fs-h3); }
.step .en { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--lm-text-muted); }
.step p { margin: 14px 0 0; font-family: var(--font-th); font-size: 15px; line-height: 1.75; color: var(--lm-text-soft); }
.step strong { color: var(--lm-text); font-weight: 400; }

/* =========================================================
   FEATURED PROJECTS
   ========================================================= */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.project { text-decoration: none; color: var(--lm-text); display: grid; gap: 18px; align-content: start; }
.project .ph { overflow: hidden; border-radius: var(--radius); }
.project img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover img { transform: scale(1.04); }
.project .meta { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--lm-text-muted); }
.project h3 { margin: 6px 0 0; font-weight: 300; font-size: var(--fs-h3); letter-spacing: .04em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--lm-line); color: var(--lm-text-soft); }

/* =========================================================
   SMART CONTROL
   ========================================================= */
.control .grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.control .figure img { aspect-ratio: 1 / 1; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--lm-line); }
.trio b { display: block; font-weight: 200; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; background: var(--lm-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trio .en { display: block; margin-top: 12px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.trio span.th { display: block; margin-top: 6px; font-size: 14px; color: var(--lm-text-muted); line-height: 1.6; }
.works-with { margin-top: 32px; font-size: 13px; color: var(--lm-text-muted); }
.works-with b { font-weight: 400; color: var(--lm-text); letter-spacing: .04em; }

/* =========================================================
   WHY LUMINOS78
   ========================================================= */
.why { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--lm-line); }
.why li { padding: 36px 32px 40px 0; border-bottom: 1px solid var(--lm-line); }
.why li:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--lm-line); }
.why h3 { margin: 0; font-family: var(--font-th); font-weight: 400; font-size: 19px; line-height: 1.45; }
.why .en { display: block; margin-top: 8px; font-size: 13px; color: var(--lm-text-muted); }
.why i { display: block; width: 28px; height: 2px; margin-bottom: 22px; background: var(--lm-gradient); border-radius: 2px; }

/* =========================================================
   CONTACT / FINAL CTA
   ========================================================= */
.contact { position: relative; isolation: isolate; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
/* taller than the section and top-anchored so the photo's bottom watermark is cropped away */
.contact-bg img { width: 100%; height: 125%; object-fit: cover; object-position: center top; filter: brightness(.35) saturate(1.1); }
.contact-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 15, 25, .92) 0%, rgba(11, 15, 25, .6) 50%, rgba(11, 15, 25, .85) 100%); }
.contact .grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.channels { list-style: none; padding: 0; margin: 40px 0 0; display: grid; border-top: 1px solid var(--lm-line); }
.channels li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--lm-line); font-size: 14px; }
.channels span { color: var(--lm-text-muted); letter-spacing: .12em; text-transform: uppercase; font-size: 11px; align-self: center; }
.channels b { font-weight: 400; user-select: all; }

.form-card { background: rgba(26, 31, 46, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--lm-line); border-radius: 20px; padding: clamp(24px, 3vw, 40px); }
.form-card h3 { margin: 0 0 24px; font-family: var(--font-th); font-weight: 400; font-size: var(--fs-h3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-th); font-size: 13px; color: var(--lm-text-soft); }
.field label small { color: var(--lm-text-muted); font-family: var(--font-en); letter-spacing: .04em; }
.input { width: 100%; font: 15px var(--font-th); color: var(--lm-text); background: rgba(11, 15, 25, .6); border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; padding: 12px 14px; transition: border-color .3s, box-shadow .3s; }
.input:focus { outline: none; border-color: var(--lm-violet); box-shadow: 0 0 0 3px rgba(168, 85, 247, .25); }
.input:user-invalid { border-color: #FF6B8A; }
textarea.input { min-height: 110px; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9AA3B5 50%), linear-gradient(135deg, #9AA3B5 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
select.input option { background: var(--lm-surface); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-family: var(--font-th); font-size: 13px; color: var(--lm-text-soft); line-height: 1.6; }
.consent input { margin-top: 4px; accent-color: var(--lm-violet); width: 16px; height: 16px; flex: none; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form-status { font-family: var(--font-th); font-size: 14px; color: var(--lm-cyan); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { border-top: 1px solid var(--lm-line); padding-block: 72px 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-grid h4 { margin: 0 0 18px; font-weight: 400; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--lm-text-muted); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.footer-grid a { text-decoration: none; color: var(--lm-text-soft); transition: color .3s; }
.footer-grid a:hover { color: var(--lm-text); }
.footer-tagline { margin: 18px 0 0; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--lm-text-muted); }
.footer-note { margin: 12px 0 0; font-family: var(--font-th); font-size: 14px; color: var(--lm-text-muted); max-width: 36ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--lm-line); font-size: 12px; color: var(--lm-text-muted); }
.footer-bottom .bar { height: 2px; width: 120px; background: var(--lm-gradient); border-radius: 2px; align-self: center; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .services ul { grid-template-columns: repeat(2, 1fr); }
  .services li:nth-child(3) { border-left: 0; padding-left: 0; }
  .services li:nth-child(n + 3) { border-top: 1px solid var(--lm-line); }
  .space--lg, .space--md { grid-column: span 12; min-height: 380px; }
  .space--sm { grid-column: span 6; }
  .space--sm.span-full-md { grid-column: span 12; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .why li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .why li:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--lm-line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .site-nav { display: none; }
  .statement .grid, .control .grid, .contact .grid { grid-template-columns: 1fr; }
  .control .figure { order: 2; }
  .panels { flex-direction: column; height: auto; }
  .panel, .panel.is-active { flex: none; height: 300px; }
  .panel p { opacity: 1; transform: none; }
  .steps { grid-auto-flow: row; grid-template-columns: 1fr; gap: 36px; padding-left: 36px; }
  .steps::before { top: 0; bottom: 0; left: 7px; right: auto; width: 1px; height: auto; }
  .steps .track-fill { top: 0; bottom: 0; left: 6px; right: auto; width: 3px; height: auto; transform-origin: top; }
  .js-reveal .steps:not(.in) .track-fill { transform: scaleY(0); }
  .step { padding-top: 0; }
  .step::before { left: -36px; top: 4px; }
  .projects { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 600px) {
  .site-header .inner { padding-block: 16px; }
  .logo { font-size: 15px; letter-spacing: .34em; }
  .btn-line { padding: 8px 14px; font-size: 12px; }
  .hero { padding-top: 76px; }
  .hero-shade { background:
    linear-gradient(180deg, rgba(8, 11, 20, .8) 0%, rgba(8, 11, 20, .35) 45%, rgba(8, 11, 20, 0) 60%),
    linear-gradient(0deg, rgba(11, 15, 25, 1) 0%, rgba(8, 11, 20, 0) 35%); }
  .hero-copy { align-self: start; padding-top: 12px; }
  .mood { padding-bottom: 24px; gap: 20px; }
  .dimmer { width: 100%; }
  .services ul { grid-template-columns: 1fr; }
  .services li, .services li:nth-child(3), .services li:first-child { border-left: 0; padding: 22px 0; }
  .services li + li { border-top: 1px solid var(--lm-line); }
  .space--sm, .space--sm.span-full-md { grid-column: span 12; }
  .trio { grid-template-columns: 1fr; gap: 20px; }
  .why { grid-template-columns: 1fr; }
  .why li, .why li:nth-child(even), .why li:not(:nth-child(3n + 1)) { padding: 28px 0; border-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drift { animation: none; }
  .clients-marquee { -webkit-mask-image: none; mask-image: none; }
  .clients-track { animation: none; width: auto; }
  .clients-list { flex-wrap: wrap; justify-content: center; }
  .clients-list[aria-hidden="true"] { display: none; }
  .hero, .panel, .panel img, .space img, .project img, .steps .track-fill { transition: none; }
  .js-reveal .reveal:not(.in) { opacity: 1; transform: none; }
}
