/* FTP Concepts
   One family (Archivo), width as the display device.
   One bold moment: the LED matrix. Everything else stays quiet. */

:root {
  /* White page; the LED panels stay dark, like real screens on a wall */
  --bg: #FFFFFF;
  --bg-2: #F3F5F8;
  --ink: #0A0E14;
  --ink-2: #2A3240;
  --muted: #5B6576;
  --rule: rgba(10, 14, 20, 0.12);
  --field: rgba(10, 14, 20, 0.3);
  --cyan: #007A96;
  --amber: #FFB020;
  --warn: #B54708;
  --screen: #06090D;
  --screen-ink: #F2F5F9;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 56px);
  --space: clamp(96px, 13vw, 176px);
  --ease: cubic-bezier(.32, .72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { left: 12px; }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
.display, h2 {
  font-stretch: 125%;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
h2 { font-size: clamp(2.5rem, 6.4vw, 5.75rem); margin-bottom: clamp(48px, 6vw, 88px); max-width: 15ch; }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.1; }
.muted { color: var(--muted); }

/* ---------- Links and buttons ---------- */
.btn {
  display: inline-block;
  font: inherit; font-weight: 600; font-size: 1rem; font-stretch: 112%;
  padding: 16px 26px;
  border-radius: 3px;
  background: var(--ink); color: var(--bg);
  text-decoration: none;
  border: 0; cursor: pointer;
  transition: background .25s var(--ease), transform .12s ease-out;
}
.btn:hover { background: var(--cyan); }
.btn:active { transform: scale(.97); }
.text-link {
  font-weight: 600; font-stretch: 112%;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .32em;
  text-decoration-color: var(--muted);
  transition: text-decoration-color .2s, color .2s;
}
.text-link:hover { color: var(--cyan); text-decoration-color: var(--cyan); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.125rem; letter-spacing: -0.01em; }
.wordmark b { font-weight: 800; font-stretch: 125%; }
.wordmark span { font-weight: 400; color: var(--muted); }
.wordmark i { width: 8px; height: 8px; background: var(--amber); display: inline-block; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { text-decoration: none; font-size: .9375rem; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .nav-cta { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: .32em; text-decoration-color: var(--cyan); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font: inherit; font-weight: 600; padding: 8px 0; cursor: pointer; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 24px;
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav a { font-size: 1.5rem; font-stretch: 112%; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav .nav-cta { border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero h1 { margin: 0 0 clamp(40px, 5vw, 64px); background: var(--screen); color: var(--screen-ink); padding: clamp(14px, 2.4vw, 32px); }
.led-wrap { position: relative; }
.led { width: 100%; height: auto; }
.led-fallback { font-stretch: 125%; font-size: clamp(3rem, 9vw, 8rem); line-height: .95; letter-spacing: -0.04em; display: block; }
.js .led-ready .led-fallback { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.no-js .led { display: none; }

.hero-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 96px); align-items: end; }
.hero-sub { font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.4; letter-spacing: -0.01em; max-width: 34ch; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; justify-self: end; }
.hero-foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(56px, 8vw, 104px); padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: var(--muted); font-size: .9375rem;
}
@media (max-width: 820px) {
  .hero-body { grid-template-columns: 1fr; }
  .hero-actions { justify-self: start; }
}

/* ---------- Sections ---------- */
.section { padding: var(--space) 0; }
.section + .section { padding-top: 0; }

/* Statement */
.statement { font-stretch: 125%; font-weight: 600; font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 18ch; margin: 0 0 clamp(40px, 5vw, 64px); text-wrap: balance; }
.statement-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 96px); }
.statement-body p { margin: 0; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.55; color: var(--muted); max-width: 46ch; }
.statement-body p b { color: var(--ink); font-weight: 500; }
@media (max-width: 820px) { .statement-body { grid-template-columns: 1fr; } }

/* Services: a ruled list, not cards */
.rows { border-top: 1px solid var(--rule); }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 16px clamp(40px, 6vw, 96px);
  padding: clamp(36px, 4.5vw, 56px) 0;
  border-bottom: 1px solid var(--rule);
}
.row h3 { font-size: clamp(2rem, 4vw, 3.25rem); font-stretch: 125%; letter-spacing: -0.035em; line-height: 1; }
.row .strap { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.4; margin-bottom: 12px; letter-spacing: -0.01em; }
.row p:last-child { color: var(--muted); margin: 0; max-width: 52ch; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; } }
.platforms { margin-top: 32px; color: var(--muted); font-size: .9375rem; }
.platforms b { color: var(--ink); font-weight: 500; }

/* Work */
.work { display: grid; gap: clamp(72px, 9vw, 128px); }
.project { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px clamp(40px, 5vw, 80px); align-items: end; text-decoration: none; }
.project .panel { background: var(--screen); padding: clamp(14px, 2vw, 24px); }
.project .panel canvas { width: 100%; height: auto; }
.project .panel-caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; color: var(--muted); font-size: .875rem; }
.project h3 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); font-stretch: 125%; letter-spacing: -0.035em; line-height: 1.02; margin: 10px 0 18px; }
.project .client { color: var(--muted); font-size: .9375rem; }
.project p { color: var(--muted); max-width: 42ch; }
.project:hover h3 { color: var(--cyan); }
.project h3 { transition: color .25s; }
@media (max-width: 860px) { .project { grid-template-columns: 1fr; } }

/* About + quote */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 96px); }
.about-grid p { color: var(--muted); font-size: 1.125rem; margin: 0; max-width: 46ch; }
.about-grid p b { color: var(--ink); font-weight: 500; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

.quote { margin: 0; max-width: 1040px; }
.quote blockquote { margin: 0; font-stretch: 112%; font-weight: 500; font-size: clamp(1.875rem, 4vw, 3.5rem); line-height: 1.12; letter-spacing: -0.03em; text-indent: -0.42em; text-wrap: balance; }
.quote figcaption { margin-top: 28px; color: var(--muted); }
.quote figcaption b { color: var(--ink); font-weight: 500; }
.quote-second { margin-top: clamp(56px, 7vw, 88px); max-width: 640px; }
.quote-second blockquote { margin: 0 0 16px; font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); text-indent: -0.4em; }
.quote-second figcaption { color: var(--muted); font-size: .9375rem; }
.quote-second figcaption b { color: var(--ink); font-weight: 500; }

/* Contact */
.contact { border-top: 1px solid var(--rule); background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px clamp(48px, 7vw, 120px); }
.contact h2 { margin-bottom: 32px; }
.contact-lede { color: var(--muted); font-size: 1.125rem; max-width: 36ch; margin-bottom: 48px; }
.contact-details { display: grid; gap: 24px; }
.contact-details dt { color: var(--muted); font-size: .875rem; margin-bottom: 4px; }
.contact-details dd { margin: 0; }
.contact-details a { font-stretch: 112%; font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.625rem); letter-spacing: -0.015em; text-decoration: none; }
.contact-details a:hover { color: var(--cyan); }
.contact-details address { font-style: normal; color: var(--ink-2); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 28px; align-content: start; }
.form .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--muted); font-size: .875rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--field);
  border-radius: 0; padding: 10px 0 12px;
  transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--bg); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--cyan); }
.field .error { color: var(--warn); font-size: .875rem; min-height: 0; }
.form-foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form-note { color: var(--muted); font-size: .875rem; margin: 0; max-width: 32ch; }
@media (max-width: 560px) { .form .pair { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 56px 0 40px; color: var(--muted); font-size: .9375rem; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-grid nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-grid nav a { text-decoration: none; }
.footer-grid nav a:hover { color: var(--ink); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; }

/* ---------- Sub-pages ---------- */
.page-head { padding: clamp(48px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); }
.crumbs { color: var(--muted); font-size: .9375rem; margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-title { font-size: clamp(2.75rem, 7vw, 6.25rem); font-stretch: 125%; letter-spacing: -0.04em; line-height: .96; max-width: 16ch; }
.page-intro { color: var(--muted); font-size: clamp(1.125rem, 1.6vw, 1.375rem); max-width: 48ch; margin-top: 28px; }

.case-panel { background: var(--screen); padding: clamp(16px, 2.4vw, 32px); margin-top: clamp(40px, 5vw, 64px); }
.case-panel canvas { width: 100%; height: auto; }
.facts { display: flex; flex-wrap: wrap; gap: 20px clamp(32px, 5vw, 72px); margin: 32px 0 0; padding-bottom: 32px; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--muted); font-size: .875rem; margin-bottom: 2px; }
.facts dd { margin: 0; font-weight: 500; font-stretch: 112%; }

.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 16px clamp(40px, 6vw, 96px); padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--rule); }
.story h2 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-stretch: 112%; letter-spacing: -0.015em; line-height: 1.2; margin: 4px 0 0; max-width: none; }
.story .body { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.story .body p:last-child { margin-bottom: 0; }
.story ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.story li b { color: var(--ink); font-weight: 600; font-stretch: 112%; }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } }

.next { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: clamp(48px, 7vw, 88px) 0; text-decoration: none; border-bottom: 1px solid var(--rule); }
.next small { display: block; color: var(--muted); font-size: .9375rem; margin-bottom: 10px; }
.next span { font-stretch: 125%; font-weight: 700; font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -0.04em; line-height: 1; transition: color .25s; }
.next:hover span { color: var(--cyan); }

.cta { padding: var(--space) 0; }
.cta h2 { margin-bottom: 32px; }
.cta p { color: var(--muted); font-size: 1.125rem; max-width: 40ch; margin-bottom: 40px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Broadsign and Scala reseller push */
.platforms-section { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--bg-2); padding-top: var(--space) !important; }
.platforms-section h2 { max-width: 18ch; margin-bottom: 32px; }
.platforms-intro { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.5; color: var(--ink-2); max-width: 50ch; margin-bottom: clamp(56px, 7vw, 96px); }
.platform-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(40px, 6vw, 96px); }
.platform { border-top: 2px solid var(--amber); padding-top: 28px; }
.platform-name { font-stretch: 125%; font-weight: 800; font-size: clamp(3rem, 8vw, 7rem); letter-spacing: -0.045em; line-height: .9; margin: 0 0 36px; }
.platform ul { list-style: none; margin: 0; padding: 0; }
.platform li { padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.platforms-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 80px); }
.platforms-foot p { color: var(--muted); max-width: 52ch; margin: 0; }
@media (max-width: 760px) { .platform-pair { grid-template-columns: 1fr; gap: 56px; } }

/* Logo */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 40px; width: auto; }
.site-footer .logo img { height: 44px; }
@media (max-width: 560px) { .logo img { height: 34px; } }

/* Est 2010 beside the logo */
.brand { display: flex; align-items: center; gap: 16px; }
.est { font-size: .875rem; font-weight: 500; font-stretch: 112%; color: var(--muted); padding-left: 16px; border-left: 1px solid var(--rule); line-height: 1.2; white-space: nowrap; }

/* ---------- Rotating hero ---------- */
.hero { padding-top: 0; }
.stage { position: relative; height: clamp(400px, 70vh, 820px); overflow: hidden; background: var(--screen); isolation: isolate; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.05); transition: transform 9s cubic-bezier(.2, .6, .2, 1); }
.slide.is-active img { transform: scale(1); }
.stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 9, 13, .62) 0%, rgba(6, 9, 13, 0) 26%); }
.stage-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; color: #fff; }
.stage-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; }
.now { margin: 0; font-size: .875rem; color: rgba(255, 255, 255, .78); }
.now a { color: #fff; font-weight: 600; font-stretch: 112%; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); text-underline-offset: .3em; margin-left: 6px; }
.now a:hover { text-decoration-color: #fff; }
.stage-controls { display: flex; align-items: center; gap: 6px; }
.seg { position: relative; width: 36px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.seg::before, .seg::after { content: ""; position: absolute; left: 0; top: 11px; height: 2px; }
.seg::before { right: 0; background: rgba(255, 255, 255, .35); }
.seg::after { width: 0; background: #fff; }
.seg.is-active::after { width: 100%; transition: width var(--slide-dur, 6.5s) linear; }
.is-paused .seg.is-active::after { transition: none; }
.seg:focus-visible, .pause:focus-visible { outline-color: #fff; }
.pause { margin-left: 10px; font: inherit; font-size: .8125rem; font-weight: 600; color: #fff; background: rgba(6, 9, 13, .45); border: 1px solid rgba(255, 255, 255, .35); border-radius: 3px; padding: 5px 10px; cursor: pointer; }
.pause:hover { background: rgba(6, 9, 13, .7); }
.hero-inner h1 { position: relative; z-index: 3; margin-top: calc(-1 * clamp(28px, 3.5vw, 52px)); }
@media (max-width: 760px) {
  .stage { height: 58vh; min-height: 340px; }
  .now { font-size: .8125rem; }
  .now a { display: block; margin: 2px 0 0; }
  .seg { width: 24px; }
}

/* ---------- Client photos ---------- */
.photo-panel { aspect-ratio: 16 / 10; overflow: hidden; background: var(--screen); }
.photo-panel img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.project:hover .photo-panel img { transform: scale(1.025); }
.case-photo { margin: clamp(40px, 5vw, 64px) 0 0; aspect-ratio: 16 / 8; overflow: hidden; background: var(--screen); }
.case-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) { .case-photo { aspect-ratio: 4 / 3; } }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--rule); }
.gallery figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--screen); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Filmstrip ---------- */
.strip-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.strip-head h2 { margin: 0; }
.strip-controls { display: flex; gap: 8px; flex: none; }
.strip-btn { font: inherit; font-size: .9375rem; font-weight: 600; color: var(--ink); background: none; border: 1px solid var(--rule); border-radius: 3px; padding: 10px 16px; cursor: pointer; transition: border-color .2s; }
.strip-btn:hover { border-color: var(--ink); }
.filmstrip { overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; overscroll-behavior-x: contain; }
.filmstrip:focus-visible { outline-offset: -2px; }
.filmstrip-track { display: flex; gap: 12px; width: max-content;
  padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 12px; }
.filmstrip img { height: clamp(220px, 28vw, 380px); width: auto; max-width: none; display: block; scroll-snap-align: start;
  scroll-margin-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
@media (max-width: 560px) { .strip-controls { display: none; } }
