/* Smash Media Innovation - premium static front-end */

:root {
  --ink: #050806;
  --ink-2: #0b100d;
  --ink-3: #101713;
  --paper: #f7f8f4;
  --paper-2: #e8eee5;
  --muted: #9ca79d;
  --muted-2: #647067;
  --line: rgba(247, 248, 244, .14);
  --line-dark: rgba(5, 8, 6, .14);
  --green: #00b333;
  --green-2: #18ee6a;
  --green-3: #86f7ad;
  --steel: #7aa1a4;
  --maxw: 1240px;
  --pad-x: clamp(1rem, 4vw, 2.75rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 8px;
  --scroll-progress: 0;
  --hero-shift: 0px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(180deg, rgba(255,255,255,.018) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--ink);
  font: 400 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 28%, rgba(0, 179, 51, .14) 44%, transparent 62%),
    linear-gradient(180deg, rgba(5, 8, 6, .1), rgba(5, 8, 6, .88));
  transform: translateY(calc(var(--hero-shift) * -.5));
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green-2);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  padding: .65rem .9rem;
  background: var(--green-2);
  color: var(--ink);
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 90;
  width: 100%;
  height: 3px;
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
  background: linear-gradient(90deg, var(--green), var(--green-2), var(--steel));
}

.wrap {
  width: min(100%, var(--maxw));
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

section {
  padding-block: var(--section-y);
  scroll-margin-top: 86px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--green-2);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  letter-spacing: 0;
  line-height: .98;
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.25rem;
  max-width: 13ch;
  font-size: clamp(2.85rem, 6vw, 5.6rem);
  font-weight: 900;
}

h2 {
  margin-bottom: 1rem;
  max-width: 12ch;
  font-size: clamp(2.25rem, 5.4vw, 5.2rem);
  font-weight: 900;
}

h3 {
  margin-bottom: .75rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 850;
}

p {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .82rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.btn::after {
  content: "";
  width: .48rem;
  height: .48rem;
  margin-left: .65rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover::after {
  transform: translateX(3px) rotate(45deg);
}

.btn-primary {
  background: var(--green-2);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(24, 238, 106, .14);
}

.btn-primary:hover {
  background: var(--paper);
}

.btn-secondary {
  background: transparent;
  color: var(--paper);
  border-color: rgba(247, 248, 244, .32);
}

.btn-secondary:hover {
  border-color: var(--green-2);
  color: var(--green-2);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

.btn-dark:hover {
  background: #000;
}

.btn-lg {
  min-height: 54px;
  padding-inline: 1.25rem;
  font-size: 1.02rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  border-bottom: 1px solid rgba(247, 248, 244, .09);
  background: rgba(5, 8, 6, .76);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(.75rem, 2vw, 2rem);
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  min-width: 0;
  color: var(--paper);
  font-weight: 900;
}

.brand img {
  width: 140px;
  height: auto;
}

.brand span {
  max-width: 14rem;
  font-size: .95rem;
  line-height: 1.05;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(.85rem, 2.4vw, 2rem);
  color: var(--muted);
  font-size: .88rem;
  font-weight: 750;
}

.nav-links a {
  transition: color .2s ease;
}

.nav-links a:hover {
  color: var(--green-2);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(24, 238, 106, .2), transparent 16% 84%, rgba(122, 161, 164, .16)),
    linear-gradient(180deg, transparent 68%, var(--ink));
  opacity: .7;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, .76fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.lede {
  max-width: 43rem;
  margin-bottom: 2rem;
  color: #cbd5cc;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 720px;
  margin-top: clamp(1.4rem, 3vw, 2.6rem);
  border: 1px solid var(--line);
  background: var(--line);
}

.hero-proof span {
  min-height: 82px;
  padding: .9rem;
  background: rgba(5, 8, 6, .78);
  color: var(--muted);
  font-size: .9rem;
}

.hero-proof strong {
  display: block;
  margin-bottom: .35rem;
  color: var(--paper);
  font-size: clamp(1.05rem, 2vw, 1.55rem);
}

.hero-visual {
  position: relative;
  min-height: clamp(340px, 42vw, 540px);
}

.signal-frame {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(24, 238, 106, .42);
  overflow: hidden;
  background: #0c110e;
  transform: translateY(var(--hero-shift));
}

.signal-frame::before,
.signal-frame::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  pointer-events: none;
  border: 2px solid rgba(24, 238, 106, .55);
  mix-blend-mode: screen;
}

.signal-frame::after {
  inset: auto 0 14%;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(24,238,106,.82), transparent);
  animation: scan 5.5s linear infinite;
}

.signal-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(.86) contrast(1.08) brightness(.78);
  transform: scale(1.02);
}

.signal-stack {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  z-index: 2;
  display: grid;
  gap: .4rem;
}

.signal-stack span {
  width: fit-content;
  justify-self: end;
  padding: .5rem .65rem;
  border: 1px solid rgba(24, 238, 106, .28);
  background: rgba(5, 8, 6, .82);
  color: var(--paper);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

@keyframes scan {
  0% { transform: translateY(-280px); opacity: 0; }
  16%, 72% { opacity: 1; }
  100% { transform: translateY(280px); opacity: 0; }
}

.ticker-band {
  overflow: hidden;
  padding-block: 1rem;
  border-block: 1px solid rgba(247, 248, 244, .1);
  background: var(--green);
  color: var(--ink);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  animation: ticker 34s linear infinite;
}

.ticker-track span {
  font-size: clamp(.85rem, 1.4vw, 1.05rem);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
  white-space: nowrap;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.intro,
.services,
.method,
.faq {
  background: var(--paper);
  color: var(--ink);
}

.intro p,
.services p,
.method p,
.faq p {
  color: var(--muted-2);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .75fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.intro-copy {
  padding-top: .4rem;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .7fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-head .eyebrow {
  grid-column: 1;
  grid-row: 1;
}

.section-head h2 {
  grid-column: 1;
  grid-row: 2;
}

.section-head p:last-child {
  grid-column: 2;
  grid-row: 2;
  max-width: 43rem;
  margin-bottom: .2rem;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.section-head.inverse h2,
.section-head.inverse p {
  color: var(--paper);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
  gap: 1px;
}

.service,
.step,
.faq-item,
.case {
  position: relative;
  min-width: 0;
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
  border-radius: 0;
  background: var(--paper);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.service:hover,
.step:hover,
.faq-item:hover {
  background: #f0f6ed;
  transform: translateY(-3px);
}

.service .num,
.step .num {
  display: inline-flex;
  margin-bottom: 1.4rem;
  color: var(--green);
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .14em;
}

.service h3 {
  min-height: 3.8rem;
}

.service p,
.step p,
.faq-item p,
.case p {
  margin-bottom: 0;
}

.work {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(24, 238, 106, .11), transparent 28% 72%, rgba(122, 161, 164, .12)),
    var(--ink-2);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.case {
  min-height: 300px;
  background: rgba(247, 248, 244, .045);
  color: var(--paper);
}

.case::after {
  content: "";
  position: absolute;
  inset: auto 1.25rem 1.25rem;
  height: 2px;
  background: linear-gradient(90deg, var(--green-2), transparent);
  transform: scaleX(.35);
  transform-origin: left center;
  transition: transform .25s ease;
}

.case:hover::after {
  transform: scaleX(1);
}

.case p {
  color: #b9c4ba;
}

.case-label {
  margin-bottom: 1.3rem;
  color: var(--green-2) !important;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.showreel {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(320px, 1.05fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
  margin-top: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(24, 238, 106, .24);
  background: rgba(247, 248, 244, .045);
}

.showreel-copy {
  padding: clamp(1.4rem, 3vw, 2.5rem);
}

.showreel-copy h3 {
  max-width: 11ch;
  font-size: clamp(2rem, 4vw, 4rem);
}

.showreel-copy p {
  max-width: 34rem;
  color: #c7d0c8;
}

.yt {
  position: relative;
  min-height: 320px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}

.yt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  filter: saturate(.8) contrast(1.08);
  transition: opacity .2s ease, transform .4s ease;
}

.yt:hover img {
  opacity: .9;
  transform: scale(1.02);
}

.yt button {
  position: absolute;
  inset: 0;
  display: grid;
  width: 82px;
  height: 82px;
  margin: auto;
  place-items: center;
  border: 1px solid rgba(247, 248, 244, .22);
  border-radius: 50%;
  background: var(--green-2);
  color: var(--ink);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.yt button:hover {
  transform: scale(1.06);
  background: var(--paper);
}

.yt button svg {
  width: 34px;
  height: 34px;
  transform: translateX(2px);
}

.yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.step {
  min-height: 310px;
}

.step h3 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.investor-note {
  background:
    linear-gradient(135deg, rgba(5, 8, 6, .62), rgba(5, 8, 6, .96)),
    url("/assets/img/logo-full.png") center / cover no-repeat;
}

.investor-inner {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(280px, .7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  min-height: 420px;
}

.investor-inner p:last-child {
  color: #d4ddd5;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.faq-item h3 {
  font-size: clamp(1.35rem, 2vw, 2.2rem);
}

.final-cta {
  overflow: hidden;
  background: var(--green-2);
  color: var(--ink);
  text-align: center;
}

.final-inner {
  position: relative;
}

.final-inner::before,
.final-inner::after {
  content: "SMASH";
  position: absolute;
  z-index: 0;
  color: rgba(5, 8, 6, .09);
  font-size: clamp(6rem, 18vw, 18rem);
  font-weight: 950;
  line-height: .8;
  pointer-events: none;
}

.final-inner::before {
  left: -8vw;
  top: -1rem;
}

.final-inner::after {
  right: -10vw;
  bottom: -3rem;
}

.final-inner > * {
  position: relative;
  z-index: 1;
}

.final-cta .eyebrow {
  color: var(--ink);
}

.final-cta h2 {
  max-width: 13ch;
  margin-inline: auto;
}

.final-cta p {
  max-width: 44rem;
  margin-inline: auto;
  margin-bottom: 2rem;
  color: rgba(5, 8, 6, .72);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.site-footer {
  padding-block: clamp(3rem, 7vw, 5rem) 2rem;
  background: #030503;
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(180px, .55fr) minmax(180px, .75fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.footer-brand {
  margin-bottom: 1.1rem;
}

.site-footer p {
  max-width: 35rem;
  color: var(--muted);
}

.site-footer h2 {
  margin-bottom: 1rem;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.site-footer a {
  transition: color .2s ease;
}

.site-footer a:hover {
  color: var(--green-2);
}

.socials {
  display: flex;
  gap: .6rem;
  margin-top: 1.4rem;
}

.socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(247, 248, 244, .14);
  background: rgba(247, 248, 244, .05);
}

.socials svg {
  width: 17px;
  height: 17px;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 4rem);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(247, 248, 244, .1);
  color: #7c887f;
  font-size: .85rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

.service[data-reveal],
.step[data-reveal],
.faq-item[data-reveal],
.case[data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .7s ease, transform .7s ease;
}

.services-grid [data-reveal],
.method-grid [data-reveal],
.faq-grid [data-reveal],
.work-grid [data-reveal] {
  transition-delay: calc(min(var(--i, 0), 5) * 60ms);
}

/* Link/contact routes */
.linkcard {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 7vw, 5rem) var(--pad-x);
  background:
    linear-gradient(90deg, rgba(24, 238, 106, .12), transparent 38% 72%, rgba(122, 161, 164, .14)),
    linear-gradient(180deg, var(--ink), #070d09);
}

.link-shell {
  width: min(100%, 520px);
}

.link-logo {
  width: min(260px, 74vw);
  margin: 0 auto 2rem;
}

.link-panel {
  border: 1px solid rgba(247, 248, 244, .14);
  background: rgba(247, 248, 244, .045);
  padding: clamp(1.1rem, 4vw, 1.7rem);
}

.linkcard .avatar {
  width: 112px;
  height: 112px;
  margin: 0 auto 1.4rem;
  border: 2px solid var(--green-2);
  background: var(--paper);
  object-fit: cover;
}

.linkcard .brand-avatar {
  padding: .75rem;
  background: #020302;
  object-fit: contain;
}

.linkcard h1 {
  max-width: none;
  margin-bottom: .5rem;
  text-align: center;
  font-size: clamp(2.35rem, 10vw, 4.5rem);
}

.linkcard .role {
  max-width: 24rem;
  margin: 0 auto 1.8rem;
  color: var(--green-2);
  text-align: center;
  font-weight: 800;
}

.linkcard .links {
  display: grid;
  gap: .7rem;
}

.linkcard .link {
  display: grid;
  gap: .25rem;
  padding: 1rem;
  border: 1px solid rgba(247, 248, 244, .14);
  background: rgba(5, 8, 6, .7);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.linkcard .link:hover {
  transform: translateY(-2px);
  border-color: rgba(24, 238, 106, .6);
  background: rgba(24, 238, 106, .08);
}

.linkcard .title {
  color: var(--paper);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.linkcard .sub {
  color: var(--muted);
  font-size: .92rem;
}

.linkcard .back {
  display: table;
  margin: 1.2rem auto 0;
  color: var(--muted);
  font-weight: 750;
}

.linkcard .back:hover {
  color: var(--green-2);
}

@media (max-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .split,
  .section-head,
  .investor-inner {
    grid-template-columns: 1fr;
  }

  .section-head .eyebrow,
  .section-head h2,
  .section-head p:last-child {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-visual {
    min-height: 460px;
  }

  .nav-links {
    display: none;
  }

  .nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15.5px;
  }

  section {
    padding-block: clamp(3.5rem, 12vw, 5rem);
  }

  .brand img {
    width: 112px;
  }

  .brand span {
    display: none;
  }

  .nav-cta {
    min-height: 42px;
    padding-inline: .8rem;
    font-size: .82rem;
  }

  .hero {
    padding-top: 4rem;
  }

  h1 {
    max-width: 8.8ch;
  }

  .hero-proof,
  .work-grid,
  .method-grid,
  .faq-grid,
  .showreel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof span {
    min-height: auto;
  }

  .hero-visual {
    min-height: 360px;
  }

  .signal-stack {
    right: .7rem;
    bottom: .7rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service h3 {
    min-height: 0;
  }

  .case,
  .step {
    min-height: auto;
  }

  .yt {
    min-height: 230px;
  }

  .legal {
    display: grid;
  }
}

@media (max-width: 420px) {
  .ctas .btn {
    width: 100%;
  }

  .nav-cta {
    max-width: 168px;
    text-align: center;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
