/* Lumously site v2: layout modelled on arbisoft.com (dark hero, stats band, numbered capabilities,
   dark work band, card grid, trust tiles, steps + form, navy footer), in Lumously's navy and amber. */
:root {
  --navy-950: #050f22;
  --navy-900: #07142a;
  --navy-800: #0b1f3f;
  --navy-700: #123a63;
  --blue: #2563eb;
  --blue-hover: #1d4fd8;
  --blue-soft: #e8f0fe;
  --amber: #f2b56b;
  --amber-ink: #b06010;
  --ink: #0d0d0d;
  --text: #2b3138;
  --muted: #5b6470;
  --line: #e4e7ec;
  --soft: #f5f7fa;
  --white: #ffffff;
  --radius: 14px;
  --head: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--white); color: var(--text); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; font-weight: 600; text-wrap: balance; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 600; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.section { padding: 110px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.section-head p { color: var(--muted); font-size: 18px; max-width: 560px; }
.eyebrow { display: inline-block; font: 600 13px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--amber-ink); background: #fdf1e2; padding: 8px 12px; border-radius: 6px; margin-bottom: 18px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1 var(--head); padding: 15px 22px; border-radius: 8px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn-small { padding: 11px 16px; font-size: 15px; }
.btn svg { width: 16px; height: 16px; }

/* header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .2s, box-shadow .2s; }
.site-header.solid { background: rgba(7,20,42,.97); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav { display: flex; align-items: center; gap: 36px; height: 76px; }
.logo { font: 800 27px/1 var(--head); letter-spacing: -.03em; color: var(--white); text-decoration: none; }
.logo span { color: var(--amber); }
.nav-links { display: flex; gap: 30px; margin-left: auto; list-style: none; padding: 0; }
.nav-links a { color: rgba(255,255,255,.86); text-decoration: none; font: 500 15.5px/1 var(--head); }
.nav-links a:hover { color: var(--white); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; width: 44px; height: 44px; color: var(--white); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }

/* hero */
.hero { position: relative; min-height: min(100vh, 880px); display: flex; align-items: center; color: var(--white); background: var(--navy-900); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("/assets/hero-code.webp") right center / cover no-repeat; opacity: .8; filter: blur(.6px); transform: scale(1.04); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900) 0%, rgba(7,20,42,.92) 40%, rgba(7,20,42,.45) 100%), linear-gradient(0deg, var(--navy-900) 0%, rgba(7,20,42,0) 30%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: 90px; }
.tagline { display: inline-block; border-left: 3px solid var(--blue); background: rgba(255,255,255,.07); padding: 9px 16px; font: 500 16px/1.2 var(--head); color: rgba(255,255,255,.92); }
.slides { display: grid; margin-top: 26px; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.slide.on { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.slide h1, .slide .h1 { font-family: var(--head); margin: 0; color: var(--white); font-size: clamp(46px, 7vw, 92px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; }
.slide h1 span, .slide .h1 span { display: block; color: var(--amber); }
.hero-sub { margin-top: 28px; max-width: 610px; font-size: 19px; color: rgba(255,255,255,.8); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.dots { display: flex; gap: 10px; margin-top: 54px; }
.dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.3); cursor: pointer; }
.dots button[aria-current="true"] { background: var(--white); box-shadow: 0 0 0 4px rgba(255,255,255,.18); }

.hero-shot { position: absolute; right: -110px; top: 95px; width: 600px; margin: 0; transform: perspective(1600px) rotateY(-13deg) rotateX(3deg); transform-origin: right center; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 50px 100px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.12); opacity: .95; }
.hero-shot .bar { height: 30px; background: #eef0f3; display: flex; align-items: center; gap: 7px; padding: 0 12px; }
.hero-shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5d9df; }
@media (max-width: 1240px) { .hero-shot { width: 520px; right: -170px; top: 120px; } }
@media (max-width: 1100px) { .hero-shot { display: none; } }

/* tools strip */
.tools { background: var(--navy-900); color: rgba(255,255,255,.72); border-top: 1px solid rgba(255,255,255,.08); }
.tools .wrap { display: flex; align-items: center; gap: 40px; padding-top: 26px; padding-bottom: 26px; }
.tools p { font: 500 15px/1.4 var(--head); white-space: nowrap; color: rgba(255,255,255,.88); }
.tool-row { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; }
.tool { display: inline-flex; align-items: center; gap: 9px; font: 600 15px/1 var(--head); color: rgba(255,255,255,.78); }
.tool i { width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }

/* why band */
.why { background: linear-gradient(120deg, var(--navy-800) 0%, var(--navy-700) 60%, #1a4b8c 100%); color: var(--white); }
.why h2 { color: var(--white); }
.why .lead { margin-top: 18px; max-width: 760px; font-size: 19px; color: rgba(255,255,255,.82); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 64px; }
.stat { border-top: 1px solid rgba(255,255,255,.25); padding-top: 22px; }
.stat b { display: block; font: 600 clamp(44px, 5vw, 64px)/1 var(--head); letter-spacing: -.03em; }
.stat span { display: block; margin-top: 12px; color: rgba(255,255,255,.78); font-size: 16px; }

/* capabilities */
.caps { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.caps-intro p { color: var(--muted); margin-top: 14px; font-size: 18px; }
.caps-visual { margin-top: 34px; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); aspect-ratio: 16 / 11; box-shadow: 0 30px 60px -30px rgba(7,20,42,.5); }
.caps-visual > * { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.caps-visual > .on { opacity: 1; }
.caps-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.caps-visual .flowpic { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 34px; background: linear-gradient(140deg, var(--navy-800), var(--navy-700)); }
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: grid; grid-template-columns: 52px 1fr 40px; align-items: center; gap: 6px; padding: 24px 0; background: none; border: 0; cursor: pointer; text-align: left; font: 500 clamp(21px, 2.2vw, 26px)/1.2 var(--head); color: var(--ink); letter-spacing: -.01em; }
.acc-btn .n { color: #9aa3ad; font-size: 20px; }
.acc-btn .ic { width: 38px; height: 38px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; transition: transform .2s, background .2s; }
.acc-btn .ic svg { width: 16px; height: 16px; }
.acc-btn[aria-expanded="true"] .n { color: var(--ink); }
.acc-btn[aria-expanded="true"] .ic { transform: rotate(180deg); background: var(--blue-soft); }
.acc-panel { padding: 0 0 26px 58px; color: var(--muted); }
.acc-panel p + p { margin-top: 10px; }
.acc-panel .stack { font: 600 14px/1.5 var(--head); color: var(--navy-700); }
.acc-panel img { display: none; }

/* work band */
.work { background: var(--navy-900); color: var(--white); }
.work h2 { color: var(--white); }
.work .section-head p { color: rgba(255,255,255,.72); }
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.case { background: var(--white); color: var(--text); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.case-visual { background: linear-gradient(150deg, var(--navy-800), var(--navy-700)); padding: 22px 18px; min-height: 236px; display: flex; align-items: center; }
.case-visual .flow { width: 100%; }
.flow { display: flex; flex-direction: column; gap: 8px; }
.flow div { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 9px; padding: 9px 11px; color: var(--white); font: 600 13.5px/1.25 var(--head); }
.flow div em { font: 700 11px/1 var(--head); font-style: normal; color: var(--amber); }
.case-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.case-tag { font: 600 12.5px/1.3 var(--head); color: var(--muted); letter-spacing: .02em; }
.case h3 { margin-top: 8px; font-size: 20px; }
.case p { margin-top: 10px; font-size: 15.5px; color: var(--muted); }
.case .more { margin-top: auto; padding-top: 18px; font: 600 15px/1 var(--head); color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.case .more:hover { text-decoration: underline; }
.case .more.none { color: #9aa3ad; font-weight: 500; }

/* agents */
.agents { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.agent { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.agent:hover { box-shadow: 0 20px 40px -24px rgba(7,20,42,.35); transform: translateY(-2px); }
.agent button.shot { border: 0; padding: 0; background: var(--soft); cursor: zoom-in; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); }
.agent button.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.agent-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.chip { align-self: flex-start; font: 600 12px/1 var(--head); color: var(--amber-ink); background: #fdf1e2; border-radius: 5px; padding: 6px 9px; }
.agent h3 { margin-top: 12px; font-size: 18.5px; }
.agent p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.guard { margin-top: auto; padding-top: 14px; font-size: 14px; color: var(--navy-700); display: flex; gap: 8px; }
.guard svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--blue); }
.note { margin-top: 26px; font-size: 15px; color: var(--muted); }

/* trust tiles */
.trust { background: var(--soft); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.tile .badge { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-800); color: var(--amber); }
.tile .badge svg { width: 26px; height: 26px; }
.tile h3 { margin-top: 18px; font-size: 19px; }
.tile p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* engagement */
.models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.model { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; }
.model .when { font: 600 13px/1 var(--head); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.model h3 { margin-top: 14px; }
.model p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.model .price { margin-top: auto; padding-top: 22px; font: 600 22px/1.2 var(--head); color: var(--ink); letter-spacing: -.01em; }
.model .price small { display: block; font: 500 14px/1.4 var(--body); color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.model.featured { border-color: var(--navy-700); box-shadow: inset 0 3px 0 var(--navy-700); }
.models-foot { margin-top: 24px; color: var(--muted); font-size: 15.5px; }

/* contact */
.contact { background: linear-gradient(180deg, var(--white) 0%, var(--soft) 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.steps { margin-top: 34px; display: flex; flex-direction: column; gap: 24px; }
.step b { display: block; font: 600 19px/1.3 var(--head); color: var(--blue); }
.step p { margin-top: 6px; color: var(--muted); }
.alt { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15.5px; }
.alt a { color: var(--navy-700); font-weight: 700; }
.form { background: var(--white); border-radius: 16px; padding: 36px; box-shadow: 0 30px 70px -30px rgba(7,20,42,.3), 0 0 0 1px var(--line); }
.form h3 { font-size: 24px; }
.form h3 span { color: var(--blue); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.fields .full { grid-column: 1 / -1; }
.field label { display: block; font: 600 13.5px/1 var(--head); color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; font: 16px/1.4 var(--body); color: var(--ink); background: var(--white); border: 1px solid #cfd5dd; border-radius: 8px; padding: 12px 13px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.18); }
.check { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-size: 15px; color: var(--text); }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.form .btn { width: 100%; justify-content: center; margin-top: 20px; font-size: 17px; padding: 16px; }
.form-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); text-align: center; }
.form-error { margin-top: 12px; color: #b42318; font-size: 14.5px; min-height: 1em; }

/* footer */
.site-footer { background: radial-gradient(120% 140% at 85% 0%, #123a63 0%, var(--navy-900) 55%, var(--navy-950) 100%); color: rgba(255,255,255,.78); padding: 80px 0 34px; }
.foot-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.foot-slogan { margin-top: 26px; font: 500 clamp(30px, 3.4vw, 42px)/1.15 var(--head); color: var(--white); letter-spacing: -.02em; }
.foot-slogan span { color: var(--amber); font-weight: 700; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-cols h4 { color: var(--white); font-size: 16px; margin-bottom: 14px; letter-spacing: 0; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-cols a { text-decoration: none; font-size: 15px; }
.foot-cols a:hover { color: var(--white); }
.foot-where { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.12); }
.foot-where h4 { color: var(--white); font-size: 17px; letter-spacing: 0; }
.foot-where p { margin-top: 8px; font-size: 15px; }
.foot-where a { color: var(--white); }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; color: var(--white); }
.social a:hover { background: rgba(255,255,255,.1); }
.social svg { width: 16px; height: 16px; }

/* lightbox */
dialog.lightbox { border: 0; padding: 0; max-width: min(1200px, 94vw); background: transparent; }
dialog.lightbox::backdrop { background: rgba(5,15,34,.85); }
dialog.lightbox img { border-radius: 10px; max-height: 86vh; width: auto; margin: 0 auto; }
dialog.lightbox p { color: var(--white); text-align: center; margin-top: 12px; font: 500 15px/1.4 var(--head); }
dialog.lightbox button { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(5,15,34,.75); color: var(--white); font-size: 22px; cursor: pointer; }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--navy-900); color: var(--white); padding: 40px 16px; }
.notfound h1 { color: var(--white); font-size: clamp(40px, 6vw, 72px); }
.notfound p { margin: 16px 0 28px; color: rgba(255,255,255,.75); }

/* responsive */
@media (max-width: 1100px) {
  .cases, .agents, .models { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .section { padding: 80px 0; }
  .nav-links, .nav .btn { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .site-header.open { background: var(--navy-900); }
  .site-header.open .nav-links { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--navy-900); padding: 8px 20px 20px; border-top: 1px solid rgba(255,255,255,.1); }
  .site-header.open .nav-links a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .section-head, .caps, .contact-grid, .foot-top { grid-template-columns: 1fr; }
  .section-head { gap: 16px; margin-bottom: 40px; }
  .tools .wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .caps-visual { display: none; }
  .acc-panel img { display: block; margin-top: 16px; border-radius: 10px; border: 1px solid var(--line); }
  .foot-where { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero .wrap { padding-top: 110px; padding-bottom: 70px; }
  .hero-sub { font-size: 17px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .cases, .agents, .models, .tiles, .stats { grid-template-columns: 1fr; }
  .stats { gap: 22px; margin-top: 44px; }
  .acc-btn { grid-template-columns: 40px 1fr 40px; padding: 20px 0; }
  .acc-panel { padding-left: 0; }
  .fields { grid-template-columns: 1fr; }
  .form { padding: 26px 20px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .caps-visual > *, .agent, .acc-btn .ic { transition: none; }
}
