/* ============================================================================
   led.ages.productions — page styles.
   Foundation (tokens, type, buttons, focus) lives in brand.css.
   This file is layout only. Do not redefine brand tokens here.
   ========================================================================== */

/* Let the browser choose sensible break points in all body copy, and avoid
   stranding a single word on the final line. Ignored where unsupported. */
p, li, dd, figcaption { text-wrap: pretty; }

/* ══ HEADER ═══════════════════════════════════════════════════════════════ */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,17,21,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.site-header__inner {
  max-width: var(--max); margin: 0 auto; padding: 14px var(--pad);
  display: flex; align-items: center; gap: 28px;
}
.site-header__brand { display: inline-flex; align-items: center; gap: 12px; }
.site-header__brand img { height: 26px; width: auto; filter: brightness(0) invert(1); }
.site-header__unit {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--blue-soft);
  padding-left: 12px; border-left: 1px solid rgba(255,255,255,0.2);
}
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.8);
  padding: 4px 0; transition: color 0.2s;
}
.site-nav a:hover { color: #fff; }
.site-header__actions { display: flex; gap: 10px; }
.site-header__actions .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.site-header__actions .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.site-header__call[hidden] { display: none; }

/* Header CTAs stay out of the way while the hero is on screen — the hero already
   carries them. visibility (not opacity alone) also takes them out of the tab
   order while hidden, so keyboard focus never lands on an invisible button. */
.site-header__actions[data-reveal-on-scroll] {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.site-header[data-scrolled="true"] .site-header__actions[data-reveal-on-scroll] {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
}
/* Without JS the reveal can never fire, so show them permanently. */
.no-js .site-header__actions[data-reveal-on-scroll] {
  opacity: 1; visibility: visible; transform: none;
}

.site-header__toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.site-header__toggle span { display: block; width: 22px; height: 1.5px; background: #fff; }

.mobile-nav { display: none; }

@media (max-width: 900px) {
  .site-nav, .site-header__actions { display: none; }
  .site-header__toggle { display: inline-flex; }
  .mobile-nav {
    display: block;
    max-height: 0; overflow: hidden;
    border-top: 0 solid rgba(255,255,255,0.1);
    transition: max-height 0.3s ease;
  }
  .mobile-nav[data-open="true"] { max-height: 420px; border-top-width: 1px; }
  .mobile-nav a {
    display: block; padding: 15px var(--pad);
    color: rgba(255,255,255,0.85); font-size: 17px; font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
}
/* No-JS fallback: the toggle can't work, so always show the mobile nav links. */
.no-js .mobile-nav { max-height: none; border-top-width: 1px; }
.no-js .site-header__toggle { display: none; }

/* ══ HERO ═════════════════════════════════════════════════════════════════ */

.hero { position: relative; background: var(--led-ground); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(14,17,21,0.96) 0%, rgba(14,17,21,0.78) 48%, rgba(14,17,21,0.45) 100%),
    linear-gradient(180deg, rgba(14,17,21,0.5) 0%, rgba(14,17,21,0.2) 40%, rgba(14,17,21,0.85) 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(72px, 11vw, 148px) var(--pad) clamp(64px, 9vw, 120px);
}
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; }
.hero__eyebrow .dot { width: 7px; height: 7px; background: var(--blue-bright); display: inline-block; }
.hero__title {
  font-size: clamp(38px, 6vw, 76px); font-weight: 600;
  line-height: 1.02; letter-spacing: -0.025em;
  margin: 0 0 20px; max-width: 16ch; text-wrap: balance;
}
.hero__spec {
  font-family: var(--font-mono); font-size: clamp(13px, 1.5vw, 15px);
  letter-spacing: 0.1em; color: var(--blue-soft);
  margin: 0 0 14px;
}
.hero__price { font-size: clamp(17px, 2vw, 21px); margin: 0 0 24px; color: rgba(255,255,255,0.92); }
.hero__price strong { color: #fff; font-weight: 600; }
.hero__lede {
  font-size: clamp(15px, 1.7vw, 17px); line-height: 1.65;
  color: rgba(255,255,255,0.78); max-width: 56ch; margin: 0 0 36px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ══ SPECS ════════════════════════════════════════════════════════════════ */

.specs { padding: clamp(72px, 10vw, 130px) 0; background: var(--white); }
.specs .section-label { display: block; margin: 0 0 18px; }
.spec-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px; background: var(--gray-line); border: 1px solid var(--gray-line);
  margin: 40px 0 0;
}
.spec { background: var(--white); padding: 28px 26px; margin: 0; }
.spec dt {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-mute); margin: 0 0 10px;
}
.spec dd {
  margin: 0 0 12px; font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 600; letter-spacing: -0.01em; color: var(--charcoal-1);
}
.spec p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--charcoal-2); }
/* Footnote under the spec grid. No max-width: it should reflow with the section
   rather than stopping at a fixed measure and breaking mid-phrase.
   text-wrap: pretty lets the browser pick better break points and avoids a
   stranded last word (ignored by browsers that don't support it). */
.specs__note {
  margin: 28px 0 0;
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.6;
  text-wrap: pretty;
}
.specs__note-mark { color: var(--blue); font-weight: 500; margin-right: 5px; }

/* ══ GALLERY ══════════════════════════════════════════════════════════════ */

.gallery { padding: clamp(72px, 10vw, 130px) 0; background: var(--charcoal-1); color: #fff; }
.gallery .section-label { display: block; margin: 0 0 18px; }
.gallery__title { color: #fff; margin-bottom: 16px; }
/* No fixed measure — reflows with the section instead of breaking at a set
   character count regardless of screen width. */
.gallery__lede { color: rgba(255,255,255,0.72); line-height: 1.65; margin: 0 0 44px; }
.gallery__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px;
}
.gallery__item { margin: 0; }
.gallery__item img {
  width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  border: 1px solid rgba(255,255,255,0.12);
}
.gallery__item figcaption {
  margin-top: 10px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6);
}

/* ══ PACKAGE ══════════════════════════════════════════════════════════════ */

.package { padding: clamp(72px, 10vw, 130px) 0; background: var(--gray-paper); }
.package__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .package__inner { grid-template-columns: 1fr; } }
.package__copy .section-label { display: block; margin: 0 0 18px; }
.package__copy p { font-size: 16px; line-height: 1.7; color: var(--charcoal-2); margin: 0 0 16px; max-width: 54ch; }
.package__card { background: var(--white); border: 1px solid var(--gray-line); padding: 32px 30px; }
.package__tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--ink-mute); margin: 0 0 8px; }
.package__price { font-size: clamp(40px, 5vw, 56px); font-weight: 600; letter-spacing: -0.03em; margin: 0; color: var(--charcoal-1); }
.package__unit { font-size: 14px; color: var(--charcoal-2); margin: 4px 0 20px; }
.package__disclaimer {
  font-size: 13.5px; line-height: 1.6; color: var(--charcoal-2);
  padding: 12px 14px; background: var(--gray-paper);
  border-left: 2px solid var(--blue); margin: 0 0 22px;
}
.package__factors-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--ink-mute); margin: 0 0 10px; text-transform: uppercase; }
.package__factors { list-style: none; margin: 0 0 26px; padding: 0; }
.package__factors li {
  position: relative; padding: 0 0 8px 20px;
  font-size: 14px; line-height: 1.55; color: var(--charcoal-2);
}
.package__factors li::before { content: "—"; position: absolute; left: 0; color: var(--blue); }
.package__cta { width: 100%; justify-content: center; }

/* ══ APPLICATIONS ═════════════════════════════════════════════════════════ */

.apps { padding: clamp(72px, 10vw, 130px) 0; background: var(--charcoal-4); color: #fff; }
.apps .section-label { display: block; margin: 0 0 18px; }
.apps__title { color: #fff; margin-bottom: 44px; }
.apps__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.10); }
.app { background: var(--led-panel); padding: 26px 24px; }
.app h3 { font-size: 17px; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.01em; }
.app p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.72); }

/* ══ PROCESS ══════════════════════════════════════════════════════════════ */

.process { padding: clamp(72px, 10vw, 130px) 0; background: var(--white); }
.process .section-label { display: block; margin: 0 0 18px; }
.process__list { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; }
.process__list li { border-top: 2px solid var(--charcoal-1); padding-top: 18px; }
.process__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--blue); display: block; margin-bottom: 12px; }
.process__list h3 { font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.process__list p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--charcoal-2); }

/* ══ FAQ ══════════════════════════════════════════════════════════════════ */

.faq { padding: clamp(72px, 10vw, 130px) 0; background: var(--gray-paper); }
.faq__inner { max-width: 860px; }
.faq .section-label { display: block; margin: 0 0 18px; }
.faq__list { margin-top: 40px; border-top: 1px solid var(--gray-line); }
.faq__item { border-bottom: 1px solid var(--gray-line); }
.faq__item summary {
  cursor: pointer; padding: 20px 40px 20px 0; position: relative; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { display: inline; font-size: 17px; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 6px; top: 17px;
  font-family: var(--font-mono); font-size: 20px; color: var(--blue); line-height: 1;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item p { margin: 0 0 22px; font-size: 15px; line-height: 1.7; color: var(--charcoal-2); max-width: 66ch; }

/* ══ QUOTE FORM ═══════════════════════════════════════════════════════════ */

.quote { padding: clamp(72px, 10vw, 130px) 0; background: var(--charcoal-1); color: #fff; }
.quote__inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 1000px) { .quote__inner { grid-template-columns: 1fr; } }
.quote__copy .section-label { display: block; margin: 0 0 18px; }
.quote__title { color: #fff; }
.text-blue-light { color: var(--blue-soft); }
.quote__copy p { color: rgba(255,255,255,0.75); line-height: 1.7; max-width: 44ch; }
.quote__phone a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.quote-form { background: var(--led-panel); border: 1px solid rgba(255,255,255,0.12); padding: clamp(24px, 3vw, 36px); }
.quote-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
@media (max-width: 640px) { .quote-form__grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin: 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
}
.field__opt { text-transform: none; letter-spacing: 0.04em; color: rgba(255,255,255,0.45); }

/* Required marker. Colour alone can't carry meaning (WCAG 1.4.1), so the
   asterisk is a shape as well as a colour, the inputs also carry
   aria-required, and the email/phone pair has a written note. */
.req { color: #FF8E8E; font-weight: 600; margin-left: 2px; }
.field__group-note {
  margin: 4px 0 -4px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.field input, .field select, .field textarea {
  font-family: var(--font-sans); font-size: 15px; color: #fff;
  background: rgba(255,255,255,0.04);
  /* 0.38 puts the field boundary at ~3.5:1 against its own fill (WCAG 1.4.11) */
  border: 1px solid rgba(255,255,255,0.38);
  padding: 12px 13px; width: 100%;
  border-radius: 0; -webkit-appearance: none; appearance: none;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 108px; line-height: 1.5; }
.field select { cursor: pointer; }
.field option { background: var(--charcoal-1); color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.55); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue-soft); background: rgba(255,255,255,0.06);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #E58A8A; background: rgba(229,84,84,0.07);
}
.field__err {
  font-family: var(--font-mono); font-size: 11.5px; line-height: 1.45;
  color: #FFB3B3; letter-spacing: 0.04em;
}
.field__err::before { content: "! "; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.quote-form__summary:empty { display: none; }
.quote-form__summary {
  margin-bottom: 20px; padding: 11px 14px;
  background: rgba(229,84,84,0.08); border-left: 2px solid #E58A8A;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: #FFB3B3;
}
.quote-form__foot {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; margin-top: 26px;
}
.quote-form__foot .btn { min-width: 200px; justify-content: center; }
.quote-form__foot .btn:disabled { opacity: 0.6; cursor: not-allowed; }
.quote-form__notice {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.55); line-height: 1.5; max-width: 40ch;
}
.quote-form__fine {
  margin: 22px 0 0; padding-top: 18px;
  border-top: 1px dashed rgba(255,255,255,0.12);
  font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,0.62);
}
.quote-form__fine a { color: rgba(255,255,255,0.85); text-decoration: underline; text-underline-offset: 2px; }

.quote-form__success {
  border-left: 2px solid #5DCE8A; background: rgba(93,206,138,0.08);
  padding: 20px 22px;
}
.quote-form__success h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; }
.quote-form__success p { margin: 0; color: rgba(255,255,255,0.8); line-height: 1.65; }

/* ══ FOOTER ═══════════════════════════════════════════════════════════════ */

.site-footer { background: var(--charcoal-4); color: #fff; padding: clamp(56px, 7vw, 80px) 0 0; }
.site-footer__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding-bottom: 44px; }
@media (max-width: 800px) { .site-footer__inner { grid-template-columns: 1fr; } }
.site-footer__logo { height: 26px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.site-footer__tag { max-width: 40ch; line-height: 1.6; color: rgba(255,255,255,0.62); font-size: 14px; margin: 0; }
.site-footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.site-footer__cols h2 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55); margin: 0 0 14px; font-weight: 500; text-transform: uppercase;
}
.site-footer__cols a { display: block; padding: 4px 0; color: rgba(255,255,255,0.85); font-size: 14px; }
.site-footer__cols a:hover { color: var(--blue-soft); }
.site-footer__loc { display: block; padding: 4px 0; color: rgba(255,255,255,0.62); font-size: 14px; }

.site-footer__fulfillment {
  max-width: var(--max); margin: 0 auto; padding: 20px var(--pad);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.75);
}
.site-footer__fulfillment strong { color: #fff; font-weight: 600; }

.site-footer__bar {
  max-width: var(--max); margin: 0 auto;
  padding: 22px var(--pad) 34px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55);
}
.site-footer__legal { display: inline-flex; align-items: center; gap: 12px; }
.site-footer__legal a { color: rgba(255,255,255,0.72); }
.site-footer__legal a:hover { color: var(--blue-soft); }

/* ══ LEGAL / SIMPLE PAGES ═════════════════════════════════════════════════ */

.legal { padding: clamp(90px, 11vw, 150px) 0 clamp(64px, 8vw, 110px); background: var(--white); }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 10px; }
.legal__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-mute); margin: 0 0 40px; text-transform: uppercase; }
.legal h2 { font-size: clamp(19px, 2.2vw, 23px); font-weight: 600; margin: 36px 0 12px; letter-spacing: -0.01em; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.72; color: var(--charcoal-2); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 0; list-style: none; }
.legal li { position: relative; padding: 0 0 8px 22px; }
.legal li::before { content: "—"; position: absolute; left: 0; color: var(--blue); }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* Mobile menu call link. The header's Call button is display:none below 900px,
   and mobile is where tap-to-call actually converts. */
.mobile-nav__call { color: var(--blue-soft) !important; font-weight: 600 !important; }
