/* Aurora Innovations LLC: page CSS. Only the fonts (served from this site), what sits inside a visual
   (the hero window and its card, the Artbase app frame, the card panels) and the company rows. */

@font-face {
  font-family: "Host Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/host-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Host Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/host-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------------------------------------------------------------- hero: the Artbase window and its card */
.hero__proof { font-size: var(--t-small); color: color-mix(in oklab, var(--ink) 80%, var(--bg)); }
.d-win { background: #fff; color: #16181a; border-radius: 12px; overflow: hidden; font: 400 14px/1.4 var(--font-text);
         box-shadow: 0 0 0 1px rgb(0 0 0 / .07), 0 24px 60px -28px rgb(0 0 0 / .35); text-align: left; }
.d-win__bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-bottom: 1px solid rgb(0 0 0 / .07); font-size: 13px; color: #5d6268; }
.d-win__bar img { width: 18px; height: 18px; border-radius: 4px; }
.d-win__dots { display: flex; gap: 6px; } .d-win__dots i { width: 10px; height: 10px; border-radius: 50%; background: #dcdfe2; }
.d-win__body { display: grid; grid-template-columns: 160px 1fr; min-height: 420px; }
.d-side { padding: 14px 10px; border-right: 1px solid rgb(0 0 0 / .07); display: grid; align-content: start; gap: 2px; font-size: 13px; color: #4d5257; }
.d-side > span { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: 7px; white-space: nowrap; }
.d-side > span.is-on { background: rgb(0 0 0 / .05); color: #16181a; font-weight: 500; }
.d-side > span i { width: 14px; height: 14px; border-radius: 4px; background: currentColor; opacity: .3; flex: none; }
.d-side .d-side__label { font-size: 13px; color: #6b7076; height: 26px; margin-top: 8px; }
.d-main { padding: 16px var(--ly-cut-room, 18px) 16px 18px; display: grid; align-content: start; gap: 12px; min-width: 0; }
.d-main__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.d-main__head h4 { font: 500 16px/1.2 var(--font-text); letter-spacing: -0.01em; margin: 0; color: inherit; }
.d-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 7px; background: #16181a; color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; }
.d-tabs { display: flex; gap: 4px; font-size: 13px; } .d-tabs span { padding: 4px 10px; border-radius: 99px; color: #5d6268; } .d-tabs span.is-on { background: rgb(0 0 0 / .06); color: #16181a; font-weight: 500; }
.d-rows { display: grid; border-top: 1px solid rgb(0 0 0 / .07); }
.d-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 84px; align-items: center; gap: 12px; padding: 8px 2px; border-bottom: 1px solid rgb(0 0 0 / .07); font-size: 13px; }
.d-row img, .d-row .d-thumb { width: 64px; height: 36px; border-radius: 6px; object-fit: cover; background: #eceeed; display: block; }
.d-row > div { min-width: 0; }
.d-row b { display: block; font-weight: 500; color: #16181a; }
.d-row small { display: block; color: #5d6268; font-size: 13px; }
.d-chip { justify-self: end; display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 99px; font-size: 13px; font-weight: 500; background: #e7f4ec; color: #17673f; white-space: nowrap; }
.d-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.d-chip--work { background: #eef1f4; color: #3d4752; }
.d-chip--wait { background: transparent; color: #5d6268; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .1); }
.d-card { background: #fff; color: #16181a; border-radius: 12px; padding: 14px 16px; font: 400 14px/1.4 var(--font-text); text-align: left;
          box-shadow: 0 0 0 1px rgb(0 0 0 / .07), 0 18px 44px -20px rgb(0 0 0 / .35); }
.d-card h5 { margin: 0 0 4px; font: 500 14px/1.3 var(--font-text); }
.d-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.d-note__line { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; color: #3d4247; border-top: 1px solid rgb(0 0 0 / .06); }
.d-note__line:first-of-type { border-top: 0; }
.d-note__line i { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #e7f4ec; color: #17673f; font-style: normal; font-size: 13px; font-weight: 500; }
.d-note__line b { font-weight: 500; color: #16181a; }
.hero__art > .ly-piece--note { left: var(--s-6); bottom: var(--s-6); width: 300px; z-index: 2; }
@media (max-width: 1279px) { .hero__art .d-win__body { grid-template-columns: 1fr; } .hero__art .d-side { display: none; } }
/* below 1024 the frame is shorter: the window shows its first four scenes whole */
@media (max-width: 1023px) { .hero__art .d-row:nth-child(n+5) { display: none; } }
@media (max-width: 1023px) { .hero__art > .ly-piece--note { left: var(--s-4); bottom: var(--s-4); width: 270px; } }
@media (max-width: 639px) {
  .d-win__body { grid-template-columns: 1fr; } .d-side { display: none; }
  .hero__art .d-tabs, .hero__art .d-main__head .d-btn, .hero__art .d-row:nth-child(n+3) { display: none; }
  .d-row { grid-template-columns: 56px minmax(0, 1fr) 84px; } .d-row img, .d-row .d-thumb { width: 56px; height: 32px; }
}

/* ---------------------------------------------------------------- the three areas: three open cards */
.areas .panel { --p-h: 340px; }
.areas > .card { grid-column: 1 / -1; }
@media (min-width: 1024px) { .areas > .card { grid-column: auto / span 4; } }
@media (min-width: 640px) and (max-width: 1023px) {
  .areas > .card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: min-content; column-gap: var(--s-6); align-content: start; }
  .areas > .card > :not(.panel) { grid-column: 1; }
  .areas > .card > .panel { grid-column: 2; grid-row: 1 / span 4; --p-h: 220px; margin-top: 0; }
}
@media (max-width: 639px) { .areas .panel { --p-h: 280px; } .areas > .card > .panel { margin-top: var(--s-5); } }
.areas .ab-field-mark { width: 20px; height: 20px; border-radius: 5px; flex: none; }
/* a smaller panel (tablet, phone) shows the search field and its first two results, whole */
@media (max-width: 1023px) { .areas .ui-search__foot, .areas .ui-search__group, .areas .ui-search__row:nth-child(3) { display: none; } }

/* ---------------------------------------------------------------- Artbase: the app frame (sections-library app-frame) */
.app.ui { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-7); background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow); }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app > .app__pane + .app__pane { border-left: 1px solid var(--u-line); }
.app > .app__pane > .ui-panel { width: 100%; border: 0; border-radius: 0; box-shadow: none; }
.app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--u-bg)); pointer-events: none; }
@media (min-width: 1024px) and (max-width: 1279px) { .app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
@media (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .app > .app__pane--list { max-height: 252px; }
  .app > .app__pane--list::after { display: none; }
  .app .ui-win__side { display: none; }
  .app .ui-win__body { grid-template-columns: minmax(0, 1fr); }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--u-line); }
}
@media (max-width: 639px) {
  .app.ui { grid-template-rows: minmax(0, 1fr); }
  .app > .app__pane--list { display: none; }
  .app > .app__pane + .app__pane { border-top: 0; }
}
/* the open item: shorts cut from one long video, written as Artbase's own screen */
.app > .app__pane--open::after { display: none; }
.ab-shorts { height: 100%; display: flex; flex-direction: column; gap: 16px; padding: 20px 24px; font: 400 13px/1.4 var(--font-text); color: var(--u-ink); }
.ab-shorts__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ab-shorts__head h4 { margin: 0; font: 500 16px/1.25 var(--font-text); letter-spacing: -0.01em; }
.ab-shorts__src { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--u-line); border-radius: 10px; color: var(--u-muted); }
.ab-shorts__src b { color: var(--u-ink); font-weight: 500; }
.ab-shorts__src .ab-yt { width: 20px; height: 20px; flex: none; }
.ab-shorts__src img:not(.ab-yt) { width: 72px; height: 40px; object-fit: cover; border-radius: 6px; flex: none; }
.ab-shorts__grid { flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ab-short { display: grid; grid-template-rows: minmax(0, 1fr); justify-items: start; gap: 8px; min-width: 0; min-height: 0; }
.ab-short__frame { position: relative; justify-self: stretch; min-height: 0; border-radius: 10px; overflow: hidden; background: #eceeed; }
.ab-short__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-short__time { position: absolute; right: 8px; bottom: 8px; padding: 2px 6px; border-radius: 6px; background: rgb(255 255 255 / .92); color: #16181a; font-size: 13px; font-variant-numeric: tabular-nums; }
.ab-short b { max-width: 100%; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 639px) { .ab-shorts { padding: 16px; } .ab-shorts__grid { gap: 8px; } .ab-shorts__src img:not(.ab-yt) { display: none; } }

/* ---------------------------------------------------------------- company details */
.company__rows { margin-top: var(--s-7); }
.company__rows > li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s-5); padding-block: var(--s-5); font-size: var(--t-lead); line-height: 1.45; }
.company__rows > li:first-child { padding-top: 0; }
.company__rows .rows__value { white-space: normal; text-align: left; max-width: none; }
.company__rows address { font-style: normal; }
@media (max-width: 639px) { .company__rows > li { grid-template-columns: minmax(0, 1fr); font-size: var(--t-body); padding-block: var(--s-2); gap: 0; } .company__rows .rows__value { grid-column: 1; grid-row: auto; text-align: left; max-width: none; } }

/* footer: the registered address in the company block */
.footer__reg { font-style: normal; font-size: var(--t-small); line-height: 1.6; color: var(--ink); }

/* ---------------------------------------------------------------- privacy notice (privacy.html) */
.notice { display: grid; gap: var(--s-6); max-width: 720px; }
.notice h2 { font-size: var(--t-h3); }
.notice p, .notice li { max-width: 62ch; }
.notice ul { display: grid; gap: var(--s-2); padding-left: 1.2em; list-style: disc; }

/* tablet: the list pane shows its first four rows whole; the company rows breathe a step more */
@media (max-width: 1023px) { .app .ui-win__row:nth-child(n+5) { display: none; } }
@media (min-width: 640px) and (max-width: 1023px) {
  .company__rows > li { padding-block: var(--s-6); }
  .footer .footer__col.footer__col--addr { grid-column: auto / span 6; }
}
