/* Proweb Motion — design tokens */
:root {
  --ink: #07173a; --ink-2: #0e2a5c; --paper: #f3f8fe; --card: #ffffff; --line: #d9e5f3; --muted: #5b6b85;
  --accent: #3fb6ff; --accent-d: #0b7ac7; --ok: #12805c; --warn: #b7791f; --bad: #c0352b; --live: #1d4ed8;
  --radius: 14px; --shadow: 0 1px 2px rgba(7, 23, 58, .06), 0 8px 24px rgba(7, 23, 58, .06);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 16px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); } h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 1.6em; } h3, .h3 { font-size: 1.15rem; margin-top: 1.2em; }
p { margin: 0 0 1em; } a { color: var(--accent-d); } a:hover { color: var(--ink); }
img, video { max-width: 100%; height: auto; border-radius: 10px; } video { width: 100%; background: #000; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 99; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; } .narrow-sm { max-width: 460px; } .center-block { text-align: center; padding-block: 64px; }
.muted { color: var(--muted); } .fine { font-size: .85rem; color: var(--muted); } .lead { font-size: 1.15rem; color: #34343f; max-width: 60ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--accent-d); margin-bottom: .6rem; }
.hl { background: linear-gradient(transparent 62%, rgba(63, 182, 255, .35) 62%); }
.section { padding-block: clamp(36px, 6vw, 72px); } .section-head { margin-bottom: 24px; } .section-head h2 { margin-top: 0; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; } .page-head h1 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.app-main { padding-block: 28px 64px; min-height: 60vh; }

/* header */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 20; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; display: inline-flex; align-items: center; gap: 10px; letter-spacing: -.02em; }
.logo em { color: var(--accent); font-style: normal; }
.logo-mark { width: 22px; height: 22px; border-radius: 6px; background: conic-gradient(from 210deg, var(--accent), #9fdcff, var(--accent)); position: relative; }
.logo-mark::after { content: ""; position: absolute; inset: 7px 6px 7px 8px; background: var(--ink); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav-link { color: #d7d7e0; text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: .92rem; } .nav-link:hover, .nav-link.active { color: #fff; background: var(--ink-2); }
.nav-actions { display: inline-flex; gap: 8px; align-items: center; margin-left: 8px; }
.nav-toggle { display: none; background: var(--ink-2); color: #fff; border: 0; padding: 8px 14px; border-radius: 8px; font: inherit; }
@media (max-width: 1000px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--ink); padding: 12px 16px 20px; flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; } .nav-actions { margin: 8px 0 0; }
}
.area-admin .site-header { border-bottom: 3px solid var(--accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2; transition: transform .08s, background .15s; }
.btn:active { transform: translateY(1px); } .btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: var(--ink); } .btn-primary:hover { background: #7dd0ff; color: var(--ink); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; } .site-header .btn-ghost { color: #fff; border-color: #44445a; } .btn-ghost:hover { background: rgba(127, 127, 140, .15); color: inherit; }
.btn-sm { padding: 7px 12px; font-size: .88rem; } .btn-lg { padding: 15px 26px; font-size: 1.05rem; } .btn-block { width: 100%; }
form.inline { display: inline; margin: 0; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(63, 182, 255, .28), transparent), var(--ink); color: #fff; padding-block: clamp(40px, 8vw, 96px); }
.hero .lead { color: #c9c9d6; } .hero .fine { color: #9a9aab; } .hero a:not(.btn) { color: #9fdcff; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 12px; }
.hero-panel { background: var(--ink-2); border: 1px solid #2c2c3c; border-radius: 18px; padding: 24px; }
.panel-title { font-weight: 700; margin-bottom: 14px; }
.timeline { list-style: none; margin: 0 0 12px; padding: 0 0 0 22px; border-left: 2px dashed #3a3a50; }
.timeline li { position: relative; padding: 6px 0 14px 14px; color: #9a9aab; } .timeline li::before { content: ""; position: absolute; left: -29px; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink-2); border: 2px solid #3a3a50; }
.timeline li.done { color: #e8e8f0; } .timeline li.done::before { background: var(--ok); border-color: var(--ok); }
.timeline li.now { color: #fff; font-weight: 700; } .timeline li.now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(63, 182, 255, .25); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* layout helpers */
.grid-3 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; } @media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px; }
.card h3:first-child { margin-top: 0; }
.service-card { display: flex; flex-direction: column; gap: 6px; margin: 0; } .service-card .btn { margin-top: auto; align-self: flex-start; }
.service-card.is-paused { opacity: .75; }
.price-line { margin: .4rem 0; } .price-from { color: var(--muted); font-size: .85rem; margin-right: 6px; } .price { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; } .price-note { font-weight: 800; font-size: 1.3rem; }
.ticks, .crosses, .plain { padding: 0; list-style: none; margin: 0 0 1em; } .ticks li, .crosses li { position: relative; padding-left: 26px; margin-bottom: 6px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; } .crosses li::before { content: "–"; position: absolute; left: 6px; color: var(--muted); font-weight: 800; }
.plain { list-style: decimal; padding-left: 20px; }
.notice { background: #fff6e5; border: 1px solid #f0d9a8; border-radius: 10px; padding: 10px 14px; color: #6b4a07; font-size: .92rem; }
.notice-strong { background: #eaf6ff; border: 2px solid var(--accent); border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; } .notice-strong a { display: block; }
.promise { display: flex; gap: 24px; align-items: center; background: var(--ink); color: #fff; border-radius: 20px; padding: 28px; margin-bottom: 18px; } .promise .muted { color: #a8a8b8; }
.promise h3 { margin-top: 0; } .promise-hours { flex: 0 0 auto; font-size: 4rem; font-weight: 900; color: var(--accent); line-height: 1; letter-spacing: -.05em; } .promise-hours small { font-size: 1.6rem; }
@media (max-width: 600px) { .promise { flex-direction: column; align-items: flex-start; } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; } .steps li h3 { margin-top: 8px; }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; }
.steps-col { grid-template-columns: 1fr; } .steps-col li { display: flex; gap: 14px; align-items: flex-start; } .steps-col h3 { margin: 0 0 4px; }
.empty { border: 2px dashed var(--line); border-radius: var(--radius); padding: 24px; text-align: center; color: var(--muted); }
.cta-band { display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; background: linear-gradient(120deg, var(--ink-2), var(--ink)); border: 1px solid rgba(63, 182, 255, .45); color: #fff; border-radius: 20px; padding: 32px; } .cta-band h2 { margin: 0 0 6px; } .cta-band p { margin: 0; max-width: 56ch; } .cta-band .btn-primary { background: var(--accent); color: var(--ink); } .cta-band .btn-primary:hover { background: #7dd0ff; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; } .faq summary { cursor: pointer; font-weight: 700; } .faq p { margin: 10px 0 0; color: #34343f; }
.prose h2 { font-size: 1.3rem; } .prose p { max-width: 70ch; }
.portfolio-item img, .thumb-ph { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: linear-gradient(135deg, #222233, #3b2a22); border-radius: 10px; }

/* forms */
.form { display: flex; flex-direction: column; gap: 14px; } .field { display: flex; flex-direction: column; gap: 6px; }
label { font-weight: 600; font-size: .93rem; } .req { color: var(--accent-d); } .help { color: var(--muted); font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=url], input[type=number], input[type=search], select, textarea { width: 100%; padding: 11px 13px; border: 1.5px solid #cfc9be; border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(63, 182, 255, .2); } textarea { resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; } .check input { margin-top: 5px; flex: none; }
.options { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; } .option { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; font-weight: 400; } .option span { flex: 1; } .option small { display: block; color: var(--muted); } .option:has(input:checked) { border-color: var(--accent); background: #eaf6ff; }
.option-list { list-style: none; padding: 0; } .option-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); } .option-list small { display: block; color: var(--muted); }
.total-box { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: #fff; padding: 16px 20px; border-radius: 12px; } .total-box strong { font-size: 1.6rem; color: var(--accent); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-foot { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; } .save-state { font-size: .88rem; color: var(--muted); }
.progress { height: 10px; background: #dfeaf7; border-radius: 6px; overflow: hidden; } .progress-bar { height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; } .inline-form.wide input[type=text], .inline-form.wide select { flex: 1 1 200px; width: auto; } .inline-form input[type=number] { width: 110px; } .inline-label { font-weight: 400; display: inline-flex; gap: 6px; align-items: center; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; } .filters input, .filters select { width: auto; flex: 1 1 180px; }

/* flash, badges */
.flash { padding: 12px 16px; margin: 12px auto; width: min(1160px, 100% - 32px); border-radius: 10px; font-weight: 600; } .flash-ok { background: #e6f6ef; color: #0a5c41; border: 1px solid #b7e3d1; } .flash-error { background: #fdeceb; color: #8f2219; border: 1px solid #f3bcb7; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #e3edf9; color: #3a3a46; white-space: nowrap; }
.badge-ok { background: #dcf3e8; color: #0a5c41; } .badge-warn { background: #fdf0d2; color: #7a5200; } .badge-bad { background: #fbdcd9; color: #8f2219; } .badge-live { background: #dde7ff; color: #14379a; }
.countdown { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--live); } .countdown.late { color: var(--bad); } .countdown.soon { color: var(--warn); }
.eta { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; background: #eef3ff; border: 1px solid #cddafb; border-radius: 12px; padding: 14px 18px; margin: 12px 0 20px; } .eta.ok { background: #e6f6ef; border-color: #b7e3d1; } .eta.pending { background: #fff6e5; border-color: #f0d9a8; } .eta-label { color: var(--muted); font-size: .88rem; }

/* lists & tables */
.order-list { display: grid; gap: 10px; } .order-row { display: flex; justify-content: space-between; gap: 14px; align-items: center; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; text-decoration: none; color: inherit; } .order-row:hover { border-color: var(--accent); } .order-row small { display: block; color: var(--muted); } .order-row.unread { border-left: 5px solid var(--accent); }
.order-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.pay-card { display: flex; gap: 20px; justify-content: space-between; align-items: center; flex-wrap: wrap; border: 2px solid var(--accent); } .pay-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; } .row-actions form { margin: 0; }
.table-wrap { overflow-x: auto; } .table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 12px; overflow: hidden; } .table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .93rem; } .table th { background: #efeae0; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; } .table td small { display: block; color: var(--muted); }
.num { text-align: right !important; font-variant-numeric: tabular-nums; white-space: nowrap; } .total td { font-weight: 800; } .row-blocked { background: #eaf6ff; }
.events { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); } .events li { padding: 8px 0 8px 18px; position: relative; display: flex; gap: 14px; flex-wrap: wrap; } .events li::before { content: ""; position: absolute; left: -6px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); } .events time { color: var(--muted); font-size: .85rem; min-width: 150px; } .events .internal { background: #f3f0ff; } .events .internal::before { background: #7c5cff; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 12px; } .kv dt { color: var(--muted); } .kv dd { margin: 0; }
.brief-view dt { font-weight: 700; margin-top: 12px; } .brief-view dd { margin: 2px 0 0; white-space: pre-wrap; }
.file-list { list-style: none; padding: 0; margin: 0 0 12px; } .file-list li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.delivery video { margin-bottom: 10px; } .reply { background: #eef3ff; border-radius: 8px; padding: 8px 12px; }
.messages { display: grid; gap: 10px; margin-bottom: 14px; } .msg { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; } .msg-admin { background: #eef3ff; } .msg p { margin: 4px 0 0; white-space: pre-wrap; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 8px; } .stat { display: block; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; } a.stat:hover { border-color: var(--accent); } .stat span { display: block; font-size: .8rem; color: var(--muted); } .stat strong { font-size: 1.6rem; letter-spacing: -.02em; }
.stat.ok strong { color: var(--ok); } .stat.warn strong { color: var(--warn); } .stat.bad strong { color: var(--bad); } .stat.bad { border-color: #f3bcb7; background: #fff7f6; }

/* footer */
.site-footer { background: var(--ink); color: #c9c9d6; padding-top: 40px; margin-top: 40px; } .foot-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } .foot-grid a { display: block; color: #c9c9d6; text-decoration: none; padding: 3px 0; } .foot-grid a:hover { color: #fff; } .foot-grid strong { color: #fff; display: block; margin-bottom: 8px; } .foot-grid .muted { color: #8d8da0; }
.legal-line { border-top: 1px solid #2c2c3c; margin-top: 28px; padding-block: 16px; font-size: .85rem; } .legal-line a { color: #c9c9d6; }
@media print { .site-header, .site-footer, .nav-toggle { display: none; } body { background: #fff; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* order chooser */
.center { text-align: center; } .section-head.center .lead { margin-inline: auto; }
.choice-grid { align-items: stretch; } .choice-card { display: flex; flex-direction: column; gap: 6px; margin: 0; transition: transform .2s, box-shadow .2s, border-color .2s; border: 1.5px solid var(--line); }
.choice-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 14px 40px rgba(63, 182, 255, .22); }
.choice-card h2 { font-size: 1.35rem; margin: 0 0 .3em; } .choice-card .btn { margin-top: auto; }

/* ---------- landing motion ---------- */
.hero { position: relative; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 2; }
.hero-fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.o1 { width: 520px; height: 520px; background: #3fb6ff; right: -120px; top: -160px; animation: drift1 14s ease-in-out infinite alternate; }
.o2 { width: 420px; height: 420px; background: #1f6fe0; left: -140px; bottom: -180px; animation: drift2 17s ease-in-out infinite alternate; }
.o3 { width: 260px; height: 260px; background: #9fdcff; left: 46%; top: 8%; opacity: .25; animation: drift1 11s ease-in-out infinite alternate-reverse; }
.grid-fx { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(159,220,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(159,220,255,.35) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); animation: gridmove 10s linear infinite; }
@keyframes drift1 { to { transform: translate(-60px, 70px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(80px, -60px) scale(1.2); } }
@keyframes gridmove { to { background-position: 56px 56px, 56px 56px; } }
.rise span { display: inline-block; opacity: 0; transform: translateY(.6em); animation: rise .7s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: .1s; }
.rise span:nth-child(2) { animation-delay: .22s; } .rise span:nth-child(3) { animation-delay: .34s; } .rise span:nth-child(4) { animation-delay: .46s; } .rise span:nth-child(6) { animation-delay: .8s; }
.rise .h1-sub { font-size: .42em; font-weight: 600; letter-spacing: 0; color: #c9d8f0; display: inline-block; margin-top: .6em; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero .cta-row .btn-primary { position: relative; animation: glow 2.6s ease-in-out infinite; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(63,182,255,.55); } 50% { box-shadow: 0 0 0 16px rgba(63,182,255,0); } }
.hero .lead, .hero .cta-row, .hero .fine { opacity: 0; animation: rise .8s ease forwards; animation-delay: .9s; }
.hero .cta-row { animation-delay: 1.1s; } .hero .fine { animation-delay: 1.3s; }
.floaty { position: relative; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(.6deg); } }
.hero-panel { backdrop-filter: blur(6px); background: rgba(14, 42, 92, .75); border-color: rgba(63,182,255,.35); }
.timeline li.now::before { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(63,182,255,.7); } 50% { box-shadow: 0 0 0 9px rgba(63,182,255,0); } }
.timeline li { opacity: 0; animation: rise .6s ease forwards; } .timeline li:nth-child(1) { animation-delay: .6s; } .timeline li:nth-child(2) { animation-delay: .9s; } .timeline li:nth-child(3) { animation-delay: 1.2s; } .timeline li:nth-child(4) { animation-delay: 1.5s; } .timeline li:nth-child(5) { animation-delay: 1.8s; }
.chip-float { position: absolute; background: var(--accent); color: var(--ink); font-weight: 800; font-size: .85rem; padding: 6px 12px; border-radius: 999px; box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.c-a { top: -14px; right: 18px; animation: floaty 4.5s ease-in-out infinite; } .c-b { bottom: -14px; left: 18px; animation: floaty 5.5s ease-in-out infinite reverse; background: #fff; }
.marquee { overflow: hidden; background: var(--accent); padding: 16px 0; box-shadow: 0 -1px 0 rgba(255,255,255,.35) inset; }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { color: var(--ink); font-weight: 900; letter-spacing: .06em; text-transform: uppercase; font-size: 1.15rem; white-space: nowrap; } .marquee span::after { content: "✦"; margin-left: 44px; color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }
.js-reveal [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js-reveal [data-reveal].in { opacity: 1; transform: none; }
.card { transition: transform .25s, box-shadow .25s; } .service-card:hover, .portfolio-item:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(63,182,255,.2); }

/* portfolio reel */
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 270px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; -webkit-overflow-scrolling: touch; }
.reel .portfolio-item { scroll-snap-align: start; margin: 0; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.vid { aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #07173a; } .vid video { width: 100%; height: 100%; object-fit: cover; border-radius: 0; display: block; }
.portfolio-item h3 { margin: .4em 0 0; font-size: 1.05rem; } .portfolio-item p { margin: 0 0 .4em; font-size: .92rem; }
.tagline { text-transform: uppercase; letter-spacing: .12em; font-size: .7rem !important; font-weight: 800; color: var(--accent-d); margin-top: 10px !important; }
.demo-note { margin: 4px 0 16px; max-width: 70ch; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rise span, .hero .lead, .hero .cta-row, .hero .fine, .timeline li { opacity: 1 !important; transform: none !important; } .js-reveal [data-reveal] { opacity: 1; transform: none; } }
.hero .eyebrow, .cta-band .eyebrow { color: #9fdcff; }

/* portfolio carousel: obvious, swipeable, with a play affordance */
.reel-wrap { position: relative; }
.reel-wrap::after { content: ""; position: absolute; top: 0; right: 0; bottom: 70px; width: 56px; background: linear-gradient(90deg, rgba(243,248,254,0), var(--paper)); pointer-events: none; }
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: 260px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; padding: 6px 2px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.reel::-webkit-scrollbar { display: none; }
.reel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-bottom: 14px; }
.reel-grid .portfolio-item, .reel .portfolio-item { margin: 0; padding: 12px; display: flex; flex-direction: column; gap: 4px; scroll-snap-align: start; }
.reel .portfolio-item p:not(.tagline):not(.fine) { display: block; }
.reel-btn { position: absolute; top: 160px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--accent); color: var(--ink); font-size: 2rem; line-height: 1; font-weight: 800; cursor: pointer; box-shadow: 0 8px 24px rgba(7,23,58,.35); z-index: 3; display: flex; align-items: center; justify-content: center; padding-bottom: 4px; }
.reel-btn[hidden] { display: none; } .reel-btn:hover { background: #7dd0ff; } .reel-btn:disabled { opacity: .35; cursor: default; }
.reel-btn.prev { left: -10px; } .reel-btn.next { right: -10px; }
.reel-dots { display: flex; justify-content: center; gap: 8px; margin: 2px 0 8px; } .reel-dots i { width: 9px; height: 9px; border-radius: 50%; background: #b9d3ee; transition: width .25s, background .25s; } .reel-dots i.on { width: 26px; border-radius: 6px; background: var(--accent-d); }
.swipe-hint { text-align: center; font-weight: 700; color: var(--accent-d); margin: 4px 0 14px; font-size: .98rem; }
.swipe-arrow { display: inline-block; animation: nudge 1.2s ease-in-out infinite; } .swipe-hand { display: inline-block; animation: nudge 1.2s ease-in-out infinite; font-family: "Noto Color Emoji", system-ui, sans-serif; }
@keyframes nudge { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(8px); } }
.vid { position: relative; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #0e2a5c, #07173a); }
.vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; background: transparent; }
.vid-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: linear-gradient(180deg, rgba(7,23,58,0) 55%, rgba(7,23,58,.45)); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: opacity .25s; z-index: 2; }
.vid-play[hidden] { display: none; } .vid-play span { width: 74px; height: 74px; border-radius: 50%; background: rgba(63,182,255,.95); box-shadow: 0 10px 30px rgba(0,0,0,.4); position: relative; } .vid-play span::after { content: ""; position: absolute; left: 29px; top: 22px; border-left: 24px solid var(--ink); border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.vid.playing .vid-play { opacity: 0; pointer-events: none; }
.vid.has-js video::-webkit-media-controls { display: none !important; }
@media (max-width: 640px) { .reel-btn { top: 140px; width: 42px; height: 42px; } .reel-btn.prev { left: 2px; } .reel-btn.next { right: 2px; } .reel { grid-auto-columns: 78%; } }
@media (prefers-reduced-motion: reduce) { .swipe-arrow, .swipe-hand { animation: none !important; } }
