/* Site layer on top of the trades template. */


.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark-demo { width: 42px; height: 42px; flex: none; display: grid; place-items: center; background: var(--gold); color: #fff; border-radius: 10px; }
.brand-mark-demo svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 32ch; }

.hero-demo {
  min-height: 560px;
  background:
    radial-gradient(120% 90% at 85% 15%, color-mix(in srgb, var(--gold) 55%, transparent) 0%, transparent 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px),
    linear-gradient(160deg, var(--walnut) 0%, color-mix(in srgb, var(--walnut) 80%, #000) 100%);
}
.hero-art { position: absolute; right: -4vw; top: 50%; transform: translateY(-50%); width: min(62vw, 640px); aspect-ratio: 1; color: rgba(255,255,255,.08); pointer-events: none; }
.hero-art svg { width: 100%; height: 100%; stroke-width: 1.1; }
.hero-inner { padding-top: 110px; }

.about-card { aspect-ratio: 4 / 4.2; max-width: 520px; width: 100%; justify-self: center; display: grid; place-items: center; align-content: center; gap: 20px; border-radius: 4px; color: var(--gold);
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--gold) 8%, transparent) 0 2px, transparent 2px 18px), var(--cream); border: 1px solid var(--line); }
.about-card svg { width: 38%; height: auto; stroke-width: 1.4; }
.about-card p { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--brown); text-align: center; padding: 0 20px; }

.svc-ic { width: 130px; height: 92px; display: grid; place-items: center; color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, var(--white)); border-radius: 4px; }
.svc-ic .ic { width: 38px; height: 38px; }

.work { background: var(--white); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.work-slot { aspect-ratio: 4 / 3; border: 1.5px dashed color-mix(in srgb, var(--gold) 55%, transparent); border-radius: 6px; display: grid; place-items: center; align-content: center; gap: 12px; color: var(--mid); font-size: .85rem; text-align: center; padding: 16px;
  background: color-mix(in srgb, var(--gold) 5%, var(--white)); }
.work-slot .ic { width: 40px; height: 40px; color: var(--gold); }
.work-note { margin-top: 22px; color: var(--mid); font-size: .9rem; max-width: 60ch; }

.details a { overflow-wrap: anywhere; }
.contact-grid { align-items: center; }

@media (max-width: 1000px) {
  .svc-ic { grid-column: 3; grid-row: 1 / span 2; width: 110px; height: 110px; }
}
@media (max-width: 760px) {
  .brand-mark-demo { width: 36px; height: 36px; }
  .brand-text strong { font-size: .8rem; max-width: 17ch; }
  .brand-text em { font-size: .7rem; }
  .svc-ic { display: none; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-grid .work-slot:last-child { display: none; }
  .hero-art { width: 90vw; right: -30vw; top: 38%; }
  .hero-inner { padding-top: 96px; }
  .phone { font-size: clamp(1.8rem, 9vw, 2.6rem); }
}

/* LEDIONELECTRIC client layer: real logo, photos and lightbox */
.brand-logo { width: 42px; height: 42px; flex: none; border-radius: 10px; }
.service img { border-radius: 4px; }
.about-media img { border-radius: 4px; }
.about-media .img-b { border-radius: 8px; overflow: hidden; }
.work .section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.g-item { padding: 0; border: 0; border-radius: 4px; }
.footer-logo { height: 34px; width: auto; }
.footer-credit:hover { color: var(--gold-soft); }

.lightbox { background: rgba(12, 14, 18, .95); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; }
.lightbox img { max-width: min(84vw, 1300px); max-height: calc(100svh - 120px); border-radius: 4px; }
.lightbox figcaption { color: rgba(255,255,255,.82); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
@media (max-width: 760px) {
  .brand-logo { width: 36px; height: 36px; }
  .lightbox img { max-width: 100vw; }
  .lb-nav { top: auto; bottom: 18px; transform: none; }
  .footer-logo { height: 28px; }
}

/* Shared stock photos (Unsplash License), same on every demo */
.hero-demo .hero-media img { object-position: 50% 55%; }
.hero-demo .hero-shade { background: linear-gradient(180deg, rgba(10,12,14,.62) 0%, rgba(10,12,14,.5) 40%, color-mix(in srgb, var(--walnut) 82%, transparent) 72%, var(--walnut) 100%); }
.about-photo { margin: 0; width: 100%; max-width: 560px; justify-self: center; aspect-ratio: 4 / 4.6; overflow: hidden; border-radius: 4px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.work-photo { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--sand); }
.work-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-photo:hover img { transform: scale(1.04); }
.work-photo figcaption { position: absolute; left: 10px; bottom: 10px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(0,0,0,.55); color: #fff; padding: 4px 9px; border-radius: 999px; }
@media (max-width: 760px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-grid .work-photo:last-child { display: block; grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}
