/* ElectroSpotmatic — marketing pages (Home + SpotmaticMagic). Loaded after site.css. */

.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; border-bottom: 1px solid var(--fg-on-light); }
.hero__text { padding: clamp(36px, 5vw, 68px) clamp(20px, 5vw, 60px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 6.6vw, 90px); line-height: 0.94; letter-spacing: -0.035em; margin: 26px 0 0; color: var(--fg-on-light); text-wrap: balance; }
.hero__lead { font-family: var(--font-text); font-weight: 300; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--fg-on-light-2); max-width: 46ch; margin: 0 0 24px; }

.eyebrow { font-family: var(--font-cond); font-weight: 700; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-on-light-3); margin: 0; }
.eyebrow--blue { color: var(--brand-blue); }
.eyebrow--yellow { color: var(--accent-yellow); }
.eyebrow--cyan { color: var(--brand-cyan); }

.panel { background: #000; overflow: hidden; position: relative; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center 42%; display: block; }
.hero .panel img, .statement .panel img { object-fit: cover; }
.panel--stage { background: radial-gradient(120% 90% at 50% 0%, var(--brand-lens) 0%, #0a0d16 70%); }
.panel--contain img { object-fit: contain; object-position: center; }

.hero .panel { border-left: 1px solid var(--fg-on-light); min-height: 460px; }
.hero--magic .panel { min-height: 560px; padding: 26px 0; }

.badge { display: inline-block; transition: transform var(--dur-base) var(--ease-standard); }
.badge img { height: 52px; width: auto; display: block; }
.badge:hover { transform: scale(1.04); }

/* Statement band */
.statement { position: relative; background: #000; }
.statement .panel { min-height: 460px; }
.statement .panel img { opacity: 0.92; }
.statement .panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.62) 42%, rgba(0,0,0,0.12) 100%); }
.statement__copy { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(20px, 6vw, 64px); }
.statement__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 5vw, 60px); line-height: 1.0; letter-spacing: -0.03em; color: #fff; margin: 16px 0 0; max-width: 16ch; text-shadow: 0 2px 40px rgba(0,0,0,0.55); }

/* Generic section */
.section { max-width: 1280px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) clamp(20px, 5vw, 60px); border-bottom: 1px solid var(--fg-on-light); }
.section__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.section__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.02em; margin: 0; }
.section__meta { font-family: var(--font-mono); font-size: 13px; color: var(--fg-on-light-3); letter-spacing: 0.02em; }

/* Feature index */
.index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.index-item { border-top: 2px solid var(--fg-on-light); padding-top: 16px; }
.index-item__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.index-item h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; margin: 0; letter-spacing: -0.01em; }
.index-item__no { font-family: var(--font-mono); font-size: 13px; color: var(--fg-on-light-3); }
.index-item p { font-size: 15px; line-height: 1.55; color: var(--fg-on-light-2); margin: 10px 0 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.gallery .panel { aspect-ratio: 9 / 16; border-radius: 4px; }

/* Home SpotmaticMagic spread */
.magic { display: grid; grid-template-columns: 0.9fr 1.1fr; border-bottom: 1px solid var(--fg-on-light); }
.magic .panel { min-height: 460px; border-right: 1px solid var(--fg-on-light); background: #0c0c0e; }
.magic .panel img { object-fit: contain; object-position: center; }
.magic__copy { padding: clamp(36px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.magic__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 50px); line-height: 0.98; letter-spacing: -0.03em; margin: 16px 0 18px; color: var(--fg-on-light); }
.magic__copy p { font-size: 18px; line-height: 1.55; color: var(--fg-on-light-2); max-width: 46ch; margin: 0 0 18px; font-weight: 300; }
.magic__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 26px; }
.chip { font-family: var(--font-cond); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-on-light-2); border: 1px solid var(--hairline-light); border-radius: var(--radius-pill); padding: 8px 14px; background: var(--bg-elev); }

/* Magic page dark adjustments band */
.adjust { background: var(--brand-lens); color: #fff; }
.adjust__inner { max-width: 1280px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) clamp(20px, 5vw, 60px); }
.adjust h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.025em; margin: 16px 0 28px; max-width: 18ch; }
.adjust .chip { color: #fff; border-color: var(--surface-glass-stroke); background: rgba(255,255,255,0.06); font-size: 13px; padding: 9px 16px; }
.adjust .guide-note { margin-top: 26px; max-width: 62ch; color: rgba(255,255,255,0.78); font-weight: 300; }
.adjust .guide-note a { color: var(--brand-cyan); }

/* Download */
.download { max-width: 1280px; margin: 0 auto; padding: clamp(48px, 6vw, 84px) clamp(20px, 5vw, 60px); display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 32px; }
.download__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6.2vw, 72px); letter-spacing: -0.035em; line-height: 0.92; margin: 14px 0 0; }
.download__cta { display: flex; align-items: center; gap: 20px; }
.download__cta img.qr { width: 84px; height: 84px; border-radius: 8px; display: block; }

@media (max-width: 860px) {
  .hero, .magic { grid-template-columns: 1fr; }
  .hero .panel, .magic .panel { border-left: none; border-right: none; border-top: 1px solid var(--fg-on-light); min-height: 380px; }
  .index-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) { .index-grid { grid-template-columns: 1fr; } .gallery { grid-template-columns: repeat(2, 1fr); } }

.textlink { font-family: var(--font-cond); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-blue); text-decoration: none; align-self: flex-start; }
.textlink:hover { text-decoration: underline; }
