/* ==========================================================
   Oris OS feature reel (hero) and bento modules.
   Product UI carries two accents, used as light; the site stays monochrome.
   The stage is laid out at 1200×700 and scaled to fit.
   ========================================================== */

:root {
  --ui-blue: #0A95FF;
  --ui-blue-soft: #7CC6FF;
  --ui-violet: #9B6BFF;
}

.showcase { margin-top: clamp(3rem, 5vw, 4rem); }
.showcase__cap {
  margin-top: .85rem;
  font-size: .8125rem;
  color: var(--muted);
  text-align: right;
}

.film {
  --fit: 1;
  position: relative;
  aspect-ratio: 1200 / 700;
  overflow: hidden;
  background: #000;
  border-radius: var(--radius);
  isolation: isolate;
}
.film__fit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1200px;
  height: 700px;
  transform: translate(-50%, -50%) scale(var(--fit));
}
@media (max-width: 699px) {
  .film { aspect-ratio: 1 / 1.05; }
}

/* ---------- Stage: two sets, shot by a camera ---------- */

.stage {
  position: relative;
  width: 1200px;
  height: 700px;
  overflow: hidden;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.4;
  color: #EDEDED;
  letter-spacing: -0.01em;
}
.stage .i { width: 18px; height: 18px; flex: none; }
.world { position: absolute; inset: 0; }
.cam { position: absolute; left: 0; top: 0; width: 1200px; height: 700px; transform-origin: 0 0; }
html:not(.film-on) .world[data-world="b"] { display: none; }

/* Neon: the active element is lit, nothing else */
.lit {
  border-color: var(--ui-blue) !important;
  box-shadow: 0 0 0 1px rgb(10 149 255 / .55), 0 0 26px rgb(10 149 255 / .5), inset 0 0 26px rgb(10 149 255 / .16) !important;
}

/* Workspace frame */
.frame {
  position: absolute;
  border: 1px solid rgb(10 149 255 / .3);
  border-radius: 6px;
  background: #02060D;
}
.frame__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid rgb(10 149 255 / .25);
  color: var(--ui-blue);
  font-size: 13px;
  font-weight: 500;
}
.frame__dim { color: rgb(124 198 255 / .5); font-weight: 400; }
.frame__bar .i { margin-left: auto; width: 16px; height: 16px; }
.box {
  position: absolute;
  padding: 16px 18px;
  border: 1px solid rgb(10 149 255 / .25);
  border-radius: 10px;
  background: rgb(10 50 110 / .14);
  transition: border-color .4s ease, box-shadow .4s ease;
}
.box__label { display: block; margin-bottom: 10px; color: #8fb3dc; font-size: 13px; }
.kpi { display: grid; align-content: space-between; }
.kpi span { color: #8fb3dc; font-size: 13px; }
.kpi b { font-size: 32px; font-weight: 500; letter-spacing: -0.04em; color: #fff; font-variant-numeric: tabular-nums; }
.chart svg { display: block; width: 100%; height: 160px; overflow: visible; }
.m-line { fill: none; stroke: var(--ui-blue); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgb(10 149 255 / .8)); }
.m-prev { fill: none; stroke: rgb(155 107 255 / .7); stroke-width: 1.5; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.bg-row { display: grid; grid-template-columns: 90px 1fr 48px; align-items: center; gap: 14px; height: 36px; font-size: 14px; color: #cfd8e3; }
.bg-row b { text-align: right; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.bg-bar { height: 8px; border-radius: 99px; background: rgb(255 255 255 / .06); overflow: hidden; }
.bg-bar i { display: block; height: 100%; border-radius: inherit; background: #3a3f4a; }
.bg-bar--blue i { background: linear-gradient(90deg, rgb(10 149 255 / .3), var(--ui-blue)); }
.bg-bar--violet i { background: linear-gradient(90deg, rgb(155 107 255 / .3), var(--ui-violet)); }
.pop {
  position: absolute;
  right: 16px;
  top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 7px 7px 14px;
  border: 1px solid var(--ui-blue);
  border-radius: 10px;
  background: #061224;
  box-shadow: 0 0 22px rgb(10 149 255 / .45);
  color: #cfe6ff;
  font-size: 13px;
}
.pop__btn { padding: 6px 12px; border-radius: 7px; background: var(--ui-blue); color: #fff; font-weight: 500; }
.pop__btn.is-done { background: rgb(10 149 255 / .2); color: var(--ui-blue-soft); }

/* Updates panel */
.side {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgb(255 255 255 / .08);
  border-radius: 14px;
  background: #070707;
}
.side__tabs { display: flex; gap: 4px; }
.side__tabs span { padding: 6px 12px; border-radius: 8px; color: #7a7a7a; font-weight: 500; font-size: 14px; }
.side__tabs .is-on { background: #1a1a1a; color: #fff; }
.side__select { display: flex; justify-content: space-between; align-items: center; height: 38px; padding: 0 12px; border-radius: 9px; background: #141414; font-weight: 500; font-size: 14px; }
.thread { flex: 1; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.msg--client { padding: 12px 14px; border: 1px solid rgb(255 255 255 / .08); border-radius: 12px; background: #121212; font-weight: 500; line-height: 1.45; }
.think {
  font-size: 13px;
  background: linear-gradient(90deg, #6a6a6a 0%, #e0e0e0 50%, #6a6a6a 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 1.4s linear infinite;
}
.think em { font-style: normal; }
@keyframes shimmer { to { background-position: -200% 0; } }
.reply { line-height: 1.55; color: #dcdcdc; font-size: 14.5px; }
.change { padding: 10px 12px; border: 1px solid rgb(255 255 255 / .08); border-radius: 12px; font-size: 13px; transition: border-color .4s ease, box-shadow .4s ease; }
.change p { display: flex; align-items: center; gap: 8px; }
.change p + p { margin-top: 8px; color: #cfcfcf; }
.change em { margin-left: auto; font-style: normal; color: var(--ui-blue-soft); }
.change small { margin-left: auto; color: #6f6f6f; font-size: 12px; }
.change .i { width: 16px; height: 16px; }
.input {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 132px;
  padding: 14px;
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: 14px;
  background: #0B0B0B;
  transition: border-color .4s ease, box-shadow .4s ease, background-color .4s ease;
}
.input.lit { background: #07101F; }
.input__text { font-size: 15px; line-height: 1.45; color: #fff; }
.caret { display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; background: #fff; vertical-align: -3px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.input__ph { color: #555; }
.input__foot { display: flex; align-items: center; justify-content: flex-end; font-size: 12px; color: #6a7b90; }
.input__send { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #1a2333; color: #9fb4cc; transition: background-color .3s ease, box-shadow .3s ease; }
.input__send.lit { background: var(--ui-blue); color: #fff; }
.input__send .i { width: 16px; height: 16px; }

.cursor { position: absolute; left: 0; top: 0; z-index: 5; width: 22px; height: 22px; opacity: 0; pointer-events: none; }
.cursor svg { width: 22px; height: 22px; margin: -3px 0 0 -4px; filter: drop-shadow(0 2px 6px rgb(0 0 0 / .6)); }

/* Completed work */
.tb {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .08);
  border-radius: 14px;
  background: #070707;
}
.tb__top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid rgb(255 255 255 / .06); font-size: 16px; font-weight: 500; }
.tb__head, .tb__row {
  display: grid;
  grid-template-columns: 44px 1.7fr 1fr .8fr .6fr;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid rgb(255 255 255 / .05);
  font-size: 14px;
}
.tb__head { height: 40px; color: #5f6b7a; font-size: 12px; }
.tb__row { height: 58px; transition: background-color .3s ease, box-shadow .3s ease; }
.tb__muted { color: #7a7a7a; font-weight: 400; }
.tb__pill { justify-self: start; padding: 3px 9px; border-radius: 6px; background: rgb(10 149 255 / .12); color: var(--ui-blue-soft); font-size: 12px; }
.tb__check .i { width: 22px; height: 22px; padding: 3px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px #333; color: transparent; transition: background-color .3s ease, color .3s ease; }
.tb__row.lit { background: linear-gradient(90deg, rgb(10 149 255 / .16), rgb(10 149 255 / .04)); box-shadow: inset 0 0 0 1px rgb(10 149 255 / .6), 0 0 18px rgb(10 149 255 / .25) !important; }
.tb__row.is-done .tb__check .i { background: var(--ui-blue); color: #fff; box-shadow: none; }
html:not(.film-on) .tb__check .i { background: var(--ui-blue); color: #fff; }

.doc {
  position: absolute;
  padding: 28px;
  border: 1px solid var(--ui-blue);
  border-radius: 14px;
  background: linear-gradient(180deg, #081428, #05080F 70%);
  box-shadow: 0 0 0 1px rgb(10 149 255 / .4), 0 0 50px rgb(10 149 255 / .35), 0 40px 90px rgb(0 0 0 / .8);
}
.doc__bar { display: flex; justify-content: space-between; align-items: center; color: #9fc3ea; font-size: 14px; }
.doc__ready { padding: 3px 9px; border-radius: 6px; background: rgb(10 149 255 / .16); color: var(--ui-blue-soft); font-size: 12px; }
.doc__title { margin-top: 26px; font-size: 34px; font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; color: #fff; }
.doc__p { margin-top: 14px; color: #9aa5b1; line-height: 1.55; }
.doc__bars { display: flex; align-items: flex-end; gap: 12px; height: 170px; margin-top: 28px; }
.doc__bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: rgb(255 255 255 / .07); transform-origin: bottom; }
.doc__bars i.is-now { position: relative; isolation: isolate; background: linear-gradient(180deg, var(--ui-blue), rgb(10 149 255 / .2)); }
.doc__btn { display: inline-block; margin-top: 24px; padding: 10px 16px; border-radius: 9px; background: #fff; color: #000; font-size: 14px; font-weight: 500; }


/* ==========================================================
   Bento
   ========================================================== */

.bento {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}
.bx {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 21rem;
  padding: 1.5rem;
  overflow: hidden;
  background: var(--bg);
}
.bx__ui {
  position: absolute;
  inset: 1.5rem 1.5rem 4.5rem;
  -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent);
  mask-image: linear-gradient(180deg, #000 84%, transparent);
  font-size: .8125rem;
  color: #d6d6d6;
}
.bx__label { position: relative; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.025em; }
@media (min-width: 860px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bx--wide { grid-column: span 2; }
}

.ui-title { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; font-size: .9375rem; font-weight: 500; color: #fff; }
.ui-badge { padding: .1rem .45rem; border-radius: 5px; background: rgb(10 149 255 / .12); font-size: .6875rem; font-weight: 400; color: var(--ui-blue-soft); }
.is-dim { opacity: .45; }

.ui-analytics {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
}
.ui-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.ui-kpis span { display: block; color: var(--muted); font-size: .75rem; }
.ui-kpis b { font-size: 1.25rem; font-weight: 500; color: #fff; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ui-chart { width: 100%; height: 7rem; margin-top: 1.5rem; overflow: visible; }
.ui-chart__a { fill: none; stroke: var(--ui-blue); stroke-width: 2; filter: drop-shadow(0 0 6px rgb(10 149 255 / .5)); vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.ui-chart__b { fill: none; stroke: rgb(155 107 255 / .7); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
@media (max-width: 600px) { .ui-kpis { grid-template-columns: repeat(2, 1fr); } .ui-kpis > :nth-child(n+3) { display: none; } }

.ui-big {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(175deg, #fff 40%, rgb(255 255 255 / .25) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.ui-small { color: var(--muted); font-size: .75rem; margin-bottom: .35rem; }
.ui-light {
  height: 4.5rem;
  margin: 1.1rem 0 1rem;
  border-radius: 6px;
  background: linear-gradient(90deg, #0A6CFF 0%, var(--ui-blue) 38%, rgb(10 149 255 / .22) 72%, rgb(10 149 255 / 0) 92%);
  position: relative;
  isolation: isolate;
  transform-origin: left;
}
.ui-split { display: flex; align-items: center; gap: .55rem; height: 2.1rem; border-top: 1px solid var(--border); }
.ui-split b { margin-left: auto; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.ui-dot { width: .45rem; height: .45rem; border-radius: 99px; background: var(--ui-blue); }
.ui-dot--violet { background: var(--ui-violet); }
.ui-dot--grey { background: #4a4a4a; }

.ui-chartwrap { position: relative; }
.ui-guide { position: absolute; top: 1rem; bottom: 0; left: 75%; width: 1px; background: linear-gradient(180deg, rgb(255 255 255 / .25), transparent); }
.ui-tip {
  z-index: 1;
  position: absolute;
  top: -.5rem;
  left: calc(75% + .75rem);
  display: grid;
  gap: .3rem;
  min-width: 10rem;
  padding: .6rem .75rem;
  border: 1px solid rgb(255 255 255 / .1);
  border-radius: 10px;
  background: #141414;
  box-shadow: 0 12px 30px rgb(0 0 0 / .6);
  font-size: .75rem;
}
.ui-tip p:first-child { padding-bottom: .4rem; margin-bottom: .1rem; border-bottom: 1px solid rgb(255 255 255 / .08); color: var(--text-2); }
.ui-tip p { display: flex; align-items: center; gap: .5rem; }
.ui-tip b { margin-left: auto; font-weight: 500; color: #fff; }

.ui-row, .ui-kw {
  display: flex;
  align-items: center;
  gap: .75rem;
  height: 2.6rem;
  padding: 0 .75rem;
  margin-bottom: .4rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
}
.ui-row em {
  margin-left: auto;
  padding: .1rem .5rem;
  border-radius: 6px;
  background: #161616;
  font-style: normal;
  font-size: .6875rem;
  color: var(--text-2);
}
.ui-row em.is-live { background: rgb(10 149 255 / .12); color: var(--ui-blue-soft); }
.ui-date { width: 3rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ui-kw b { margin-left: auto; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }
.ui-kw em { width: 2.25rem; font-style: normal; color: var(--ui-blue-soft); text-align: right; }

.ui-report { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; }
.ui-doc, .ui-done {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
}
.ui-doc .ui-title { margin-bottom: .2rem; }
.ui-doc__meta { color: var(--muted); font-size: .75rem; margin-bottom: 1rem; }
.ui-doc__p { line-height: 1.55; color: var(--text-2); }
.ui-done p:not(.ui-title) { display: flex; align-items: center; gap: .6rem; height: 2.1rem; color: #e6e6e6; }
.ui-done .i { width: 1.1rem; height: 1.1rem; padding: 2px; border-radius: 99px; background: rgb(10 149 255 / .14); color: var(--ui-blue); }
@media (max-width: 600px) { .ui-report { grid-template-columns: 1fr; } .ui-done { display: none; } }

.ui-thread { display: grid; align-content: start; gap: .6rem; }
.ui-msg { display: flex; gap: .6rem; align-items: flex-start; padding: .75rem .85rem; border-radius: 12px; line-height: 1.45; }
.ui-msg--client { border: 1px solid var(--border); background: var(--panel); color: #fff; font-weight: 500; }
.ui-msg svg { flex: none; width: 1rem; height: auto; margin-top: .2rem; color: #fff; }
.ui-av { flex: none; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 99px; background: #2a2a2a; color: #cfcfcf; font-size: .625rem; font-weight: 600; }
.ui-seen { padding-left: .85rem; color: var(--muted); font-size: .75rem; }

/* Close-ups isolate their subject: the surrounding chrome falls away */
.frame, .side { transition: opacity .45s ease, background-color .45s ease, border-color .45s ease; }
.world.is-isolated .frame { opacity: 0; }
.world.is-isolated .side { background-color: transparent; border-color: transparent; }
.world.is-isolated .side__tabs { opacity: 0; }



/* ---------- Oris OS grid, after Framer: hairline cells, screens bleeding off the edge ---------- */

.bento { text-decoration: none; color: inherit; }
.bx { min-height: 18rem; padding: 1.5rem; background: #000; }
.bx__ui {
  inset: 2.25rem -2.5rem 4.25rem 2.25rem;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent), linear-gradient(90deg, #000 78%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, #000 62%, transparent), linear-gradient(90deg, #000 78%, transparent);
  mask-composite: intersect;
}
.bx__label { font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: -0.5px; color: var(--text); }
.bx__label span { display: inline-block; margin-left: .15rem; transition: transform .25s ease; }
.bx:hover .bx__label span { transform: translateX(3px); }
@media (min-width: 860px) { .bx { min-height: 20rem; } .bx--wide { min-height: 22rem; } }

/* Framer-grade detail: quiet rows, small type, one highlighted line */
.bento .bx__ui { font-size: 13px; line-height: 18px; }
.bento .bx:not(.bx--wide) .bx__ui {
  inset: 2.75rem 2.75rem 4.5rem;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
  mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.bento .ui-title { margin-bottom: .75rem; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: -0.1px; }
.bento .ui-row, .bento .ui-kw {
  height: 2.125rem;
  margin-bottom: .125rem;
  padding: 0 .65rem;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #e6e6e6;
}
.bento :is(.ui-row, .ui-kw):first-of-type { background: #161616; color: #fff; }
.bento .ui-row em { background: none; padding: 0; color: var(--muted); }
.bento .ui-row em.is-live { background: none; color: var(--ui-blue-soft); }

.bento .ui-analytics, .bento .ui-doc {
  padding: 1.75rem;
  border: 1px solid rgb(255 255 255 / .06);
  border-radius: 16px;
  background: linear-gradient(180deg, #141414, #0A0A0A 70%);
}
.bento .ui-analytics > .ui-title, .bento .ui-doc .ui-title { font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: -0.4px; }
.bento .ui-kpis { border-bottom-color: rgb(255 255 255 / .08); }
.bento .ui-report { display: block; }
.bento .ui-doc { max-width: 34rem; }
.bento .ui-doc__p { max-width: 26rem; font-size: 14px; line-height: 21px; }
.ui-bars { display: flex; align-items: flex-end; gap: .5rem; height: 5.5rem; margin-top: 1.5rem; }
.ui-bars i { flex: 1; border-radius: 4px 4px 0 0; background: #1f1f1f; }
.ui-bars i.is-now { position: relative; isolation: isolate; background: linear-gradient(180deg, var(--ui-blue), rgb(10 149 255 / .2)); }

.bento .ui-msg--client { border: 0; background: #161616; }
img.ui-av { display: block; object-fit: cover; padding: 0; }

/* Glow comes from a blurred copy of the gradient, so it fades exactly where the bar fades */
.ui-light::after,
.doc__bars i.is-now::after,
.ui-bars i.is-now::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: inherit;
  filter: blur(16px);
  opacity: .55;
  pointer-events: none;
}
.ui-light::after { inset: 10% 2% -8%; filter: blur(22px); opacity: .5; }
