/* METROMEDIA 26 — one-page client demonstration */
:root {
  color-scheme: dark;
  --white: #fbfcff;
  --muted: #b9c7d5;
  --cyan: #89e5fa;
  --line: rgba(255,255,255,.22);
  --shadow: 0 24px 70px rgba(0, 0, 0, .47);
}
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: #070f20; color: var(--white); font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.background { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #070f20; }
.background__scene { position: absolute; inset: -3%; opacity: 0; transform: scale(1.055); background-position: center center; background-size: cover; will-change: opacity; transition: opacity 1700ms ease; }
.background__scene.is-active { opacity: 1; animation: drift 13s ease-in-out both; }
.background__scene:nth-child(1) { background-image: url("assets/backdrops/01-circuits.svg"); }
.background__scene:nth-child(2) { background-image: url("assets/backdrops/02-digital-grid.svg"); }
.background__scene:nth-child(3) { background-image: url("assets/backdrops/03-fiber-optics.svg"); }
.background__scene:nth-child(4) { background-image: url("assets/backdrops/04-server-network.svg"); }
.background__veil { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(2,8,20,.83) 0%, rgba(4,12,28,.72) 45%, rgba(4,10,24,.83) 100%); }
.background__texture { position: absolute; inset: 0; opacity: .35; background-image: radial-gradient(circle at 20% 15%, rgba(142,216,255,.13), transparent 24%), radial-gradient(circle at 85% 80%, rgba(136,101,235,.11), transparent 28%); }
@keyframes drift { from { transform: scale(1.055) translate3d(0,0,0); } to { transform: scale(1.095) translate3d(-1.2%,.5%,0); } }
.site { min-height: 100svh; display: flex; flex-direction: column; width: min(100%, 1600px); margin-inline: auto; padding: 38px clamp(22px,5.2vw,85px) 24px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 17px; }
.brand__icon { display: block; width: 66px; height: 69px; object-fit: contain; filter: drop-shadow(0 3px 11px rgba(0,0,0,.35)); }
.brand__name { font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif; font-size: 16pt; line-height: 1.1; letter-spacing: .012em; font-weight: 700; color: white; }
.brand__name span { color: #a5eaf4; }
.brand__tagline { margin: 6px 0 0; font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif; font-size: 14pt; line-height: 1.2; font-style: italic; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
.header-label { display: flex; align-items: center; gap: 13px; font-size: 10px; letter-spacing: .25em; font-weight: 700; white-space: nowrap; color: rgba(225,239,255,.77); }
.header-label__line { height: 1px; width: 44px; background: rgba(186,230,253,.78); }
.main-content { width: min(100%, 1170px); margin: auto; padding: 54px 0 38px; }
.intro { text-align: center; max-width: 900px; margin: 0 auto 37px; }
.intro__eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: #b4eaf5; font-size: 11px; letter-spacing: .29em; font-weight: 700; }
.intro__eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: #4be2fe; box-shadow: 0 0 12px #6bdbfc; }
h1 { font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif; font-size: clamp(38px, 5.45vw, 76px); line-height: 1.08; letter-spacing: -.038em; font-weight: 700; text-wrap: balance; margin: 15px 0 13px; text-shadow: 0 4px 32px rgba(0,0,0,.46); }
h1 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.042em; color: #a6e6ed; }
.intro p { margin: 0 auto; color: #e1eaf2; font-size: clamp(15px,1.45vw,19px); line-height: 1.5; text-shadow: 0 2px 10px #000; }
.demos { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(18px,2.5vw,34px); }
.demo-card { position: relative; display: flex; flex-direction: column; text-decoration: none; border: 1px solid rgba(255,255,255,.28); background: rgba(6,13,29,.78); box-shadow: 0 14px 48px rgba(0,0,0,.39); border-radius: 12px; overflow: hidden; isolation: isolate; transition: transform 350ms cubic-bezier(.2,.75,.25,1), border-color 350ms ease, box-shadow 350ms ease; }
.demo-card:hover, .demo-card:focus-visible { transform: translateY(-8px); border-color: rgba(171,235,250,.95); box-shadow: 0 30px 88px rgba(0,0,0,.68), 0 0 34px rgba(81,174,239,.28); }
.demo-card:focus-visible { outline: 3px solid #c8f6ff; outline-offset: 5px; }
.demo-card__visual { position: relative; aspect-ratio: 1.93; overflow: hidden; background: #101524; }
.demo-card__visual > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 600ms cubic-bezier(.2,.75,.25,1), filter 450ms ease; }
.demo-card:hover .demo-card__visual > img, .demo-card:focus-visible .demo-card__visual > img { transform: scale(1.042); filter: brightness(.68); }
.demo-card__veil { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(1,6,16,0); transition: background 350ms ease; }
.demo-card:hover .demo-card__veil, .demo-card:focus-visible .demo-card__veil { background: rgba(1,6,16,.22); }
.demo-card__action { display: flex; justify-content: center; align-items: center; gap: 17px; opacity: 0; transform: translateY(12px); padding: 16px 22px; border-radius: 3px; background: rgba(255,255,255,.97); color: #08182c; box-shadow: var(--shadow); font-size: 12px; letter-spacing: .14em; font-weight: 800; transition: opacity 250ms ease, transform 350ms ease; }
.demo-card__action span { font-size: 20px; line-height: .7; }
.demo-card:hover .demo-card__action, .demo-card:focus-visible .demo-card__action { opacity: 1; transform: translateY(0); }
.demo-card__badge { position: absolute; top: 17px; left: 18px; padding: 8px 10px; background: rgba(0,0,0,.78); border: 1px solid rgba(255,255,255,.3); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.demo-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 19px 22px 22px; border-top: 1px solid rgba(255,255,255,.13); }
.demo-card__detail { display: flex; flex-direction: column; gap: 5px; }
.demo-card__detail small { color: #9eafc6; font-size: 10px; font-weight: 700; letter-spacing: .21em; }
.demo-card__detail strong { font-size: clamp(20px,2vw,25px); line-height: 1.2; font-weight: 700; letter-spacing: -.012em; }
.demo-card__link { display: flex; align-items: center; gap: 10px; color: #bce9f5; font-size: 10px; font-weight: 700; letter-spacing: .14em; white-space: nowrap; }
.demo-card__link span { font-size: 22px; font-weight: 400; transition: transform .3s ease; }
.demo-card:hover .demo-card__link span, .demo-card:focus-visible .demo-card__link span { transform: translate(3px,-3px); }
.demo-hint { text-align: center; margin: 21px auto 0; color: #c5d3e1; font-size: 13px; letter-spacing: .035em; }
.demo-hint span { color: #96e7fa; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: rgba(214,228,242,.7); font-size: 11px; letter-spacing: .12em; }
.scene-progress { display: flex; gap: 7px; align-items: center; }
.scene-progress__bar { display: block; height: 2px; width: 27px; background: rgba(231,247,255,.25); transition: background 700ms ease, width 700ms ease; }
.scene-progress__bar.is-active { width: 50px; background: #90e7f9; }
@media (min-width: 1700px) { .main-content { padding-top: 68px; padding-bottom: 55px; } }
@media (max-width: 880px) { .site { padding: 24px 25px 20px; } .header-label { font-size: 9px; letter-spacing: .15em; } .header-label__line { width: 24px; } .demo-card__footer { align-items: flex-start; flex-direction: column; } .demo-card__link { margin-top: 3px; } }
@media (max-width: 680px) { .site { padding: 20px 16px 16px; min-height: 100svh; } .site-header { justify-content: center; } .brand__icon { width: 52px; height: 55px; } .brand { gap: 12px; } .header-label { display: none; } .brand__name { font-size: 16pt; } .brand__tagline { font-size: 14pt; } .main-content { padding: 38px 0 31px; } .intro { margin-bottom: 25px; } h1 { font-size: clamp(35px,9vw,48px); margin: 13px 0 9px; } .intro__eyebrow { font-size: 9px; letter-spacing: .19em; } .intro p { font-size: 15px; max-width: 320px; } .demos { grid-template-columns: minmax(0,1fr); gap: 17px; max-width: 480px; margin-inline: auto; } .demo-card { border-radius: 9px; } .demo-card__footer { flex-direction: row; align-items: center; padding: 14px 16px 15px; } .demo-card__detail strong { font-size: 19px; } .demo-card__detail small { font-size: 9px; } .demo-card__link { font-size: 9px; margin-top: 0; } .demo-card__badge { top: 11px; left: 12px; } .demo-hint { font-size: 12px; } .site-footer { gap: 8px; font-size: 9px; flex-wrap: wrap; justify-content: space-around; text-align: center; } .site-footer > span:last-child { display: none; } }
@media (max-width: 420px) { .demo-card__link { gap: 5px; letter-spacing: .04em; } .demo-card__detail strong { font-size: 17px; } .demo-card__detail small { font-size: 8px; letter-spacing: .15em; } .scene-progress__bar { width: 18px; } .scene-progress__bar.is-active { width: 30px; } }
@media (hover: none) { .demo-card__visual > img { filter: brightness(.93); } .demo-card__action { opacity: 1; transform: none; padding: 10px 12px; font-size: 9px; background: rgba(255,255,255,.94); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }
